Update `getEffectTargets` to accept a `sourceEntityKey`. This allows "self" targets to correctly resolve to the entity triggering the effect (e.g., a player or a specific enemy) rather than defaulting to a hardcoded player reference. |
||
|---|---|---|
| .. | ||
| effects.test.ts | ||
| triggers.test.ts | ||