olistic/warriorjs

Check if unit is alive after effects

Open

#63 创建于 2018年5月8日

在 GitHub 查看
 (8 评论) (0 反应) (0 负责人)JavaScript (528 fork)batch import
good first issuepkg: corestatus: claimedtype: enhancement

仓库指标

Star
 (9,168 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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.

贡献者指南