Explorar el Código

Allow vore if the prey exactly fits (and increase the dragon's stomach size)

master
Fen Dweller hace 5 años
padre
commit
36786e6ce5
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. +1
    -1
      src/game/combat/conditions.ts
  2. +2
    -2
      src/game/creatures/dragon.ts

+ 1
- 1
src/game/combat/conditions.ts Ver fichero

@@ -62,7 +62,7 @@ export class HasRoomCondition implements Condition {
}

allowed (user: Creature, target: Creature): boolean {
return this.container.capacity > this.container.fullness + target.voreStats.Bulk
return this.container.capacity >= this.container.fullness + target.voreStats.Bulk
}
}



+ 2
- 2
src/game/creatures/dragon.ts Ver fichero

@@ -20,7 +20,7 @@ export class Dragon extends Creature {

this.side = Side.Monsters

const stomach = new Stomach(this, 50, new Damage(
const stomach = new Stomach(this, 200, new Damage(
{ amount: 40, type: DamageType.Acid, target: Vigor.Health },
{ amount: 20, type: DamageType.Crush, target: Vigor.Stamina },
{ amount: 20, type: DamageType.Dominance, target: Vigor.Resolve }
@@ -28,7 +28,7 @@ export class Dragon extends Creature {

this.containers.push(stomach)

const bowels = new Bowels(this, 50, new Damage(
const bowels = new Bowels(this, 200, new Damage(
{ amount: 10, type: DamageType.Crush, target: Vigor.Health },
{ amount: 25, type: DamageType.Crush, target: Vigor.Stamina },
{ amount: 50, type: DamageType.Dominance, target: Vigor.Resolve }


Cargando…
Cancelar
Guardar