olistic/warriorjs

Check if unit is alive after effects

Open

#63 aperta il 8 mag 2018

Vedi su GitHub
 (8 commenti) (0 reazioni) (0 assegnatari)JavaScript (528 fork)batch import
good first issuepkg: corestatus: claimedtype: enhancement

Metriche repository

Star
 (9168 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor