olistic/warriorjs

Check if unit is alive after effects

Open

#63 ouverte le 8 mai 2018

Voir sur GitHub
 (8 commentaires) (0 réactions) (0 assignés)JavaScript (528 forks)batch import
good first issuepkg: corestatus: claimedtype: enhancement

Métriques du dépôt

Stars
 (9 168 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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.

Guide contributeur