Check if unit is alive after effects
Author: olisticCreated May 8, 2018Updated Jan 21, 2019
Labelsgood first issuepkg: coretype: enhancementstatus: claimed
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.
Source: olistic/warriorjs