olistic/warriorjs

Check if unit is alive after effects

Open

#63 aberto em 8 de mai. de 2018

Ver no GitHub
 (8 comments) (0 reactions) (0 assignees)JavaScript (528 forks)batch import
good first issuepkg: corestatus: claimedtype: enhancement

Métricas do repositório

Stars
 (9.168 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

A negative effect could potentially kill a unit. We need to check if the unit is still alive after executing the effects and return early if the unit died. Example: a "poisoned" effect (it doesn't exist, at least yet) that damages the unit turn by turn.

Guia do colaborador