8 comments (8 comments)0 reactions (0 reactions)0 assignees (0 assignees)JavaScript528 forks (528 forks)batch import
good first issuepkg: corestatus: claimedtype: enhancement
Repository metrics
- Stars
- 9,168 stars (9,168 stars)
- PR merge metrics
- No merged PRs in 30d (No merged PRs in 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.
Contributor guide
- Research direction
- Inspect the linked Unit.js file around line 98 to understand how effects are executed. Trace the async method and identify where to add a check for unit's health after effects. Consider returning early if health is zero or below.
- Tech stack
- javascript
- Domain
- backend
- Issue type
- Bug
- Prerequisites
- GitJavaScript