ソースを参照

Fix the instant kill effect not removing itself

vintage
Fen Dweller 5年前
コミット
dce420ba54
1個のファイルの変更1行の追加0行の削除
  1. +1
    -0
      src/game/combat/effects.ts

+ 1
- 0
src/game/combat/effects.ts ファイルの表示

@@ -10,6 +10,7 @@ export class InstantKillEffect extends StatusEffect {

onApply (creature: Creature) {
creature.vigors.Health = 0
creature.removeEffect(this)
return new LogLines(
new LogLine(
`${creature.name.capital} ${creature.name.conjugate(new ToBe())} killed instantly! `,


読み込み中…
キャンセル
保存