瀏覽代碼

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

vintage
Fen Dweller 5 年之前
父節點
當前提交
36786e6ce5
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. +1
    -1
      src/game/combat/conditions.ts
  2. +2
    -2
      src/game/creatures/dragon.ts

+ 1
- 1
src/game/combat/conditions.ts 查看文件

@@ -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 查看文件

@@ -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 }


Loading…
取消
儲存