Explorar el Código

Fix the instant kill effect not removing itself

master
Fen Dweller hace 5 años
padre
commit
dce420ba54
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      src/game/combat/effects.ts

+ 1
- 0
src/game/combat/effects.ts Ver fichero

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


Cargando…
Cancelar
Guardar