Kaynağa Gözat

Fix the instant kill effect not removing itself

master
Fen Dweller 5 yıl önce
ebeveyn
işleme
dce420ba54
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. +1
    -0
      src/game/combat/effects.ts

+ 1
- 0
src/game/combat/effects.ts Dosyayı Görüntüle

@@ -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! `,


Yükleniyor…
İptal
Kaydet