diff options
author | Florrie <towerofnix@gmail.com> | 2018-08-24 09:19:42 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2018-08-24 09:19:42 -0300 |
commit | 2e089ce95605095fb416b71f8b77b71576c6eeff (patch) | |
tree | a313cd15194626faebc1a2889a00b8418bcf4558 | |
parent | 3bf884ced1b89d452daacb6b5127cf687e712c34 (diff) |
Don't target an enemy with Cure if the target ally was killed
-rw-r--r-- | index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js index b91faf2..d71c52b 100644 --- a/index.js +++ b/index.js @@ -906,7 +906,7 @@ class BattleCharacter extends Sprite { for (const battleCharacter of this.battle.getAllBattleCharacters()) { if (battleCharacter.targetCharacter === this) { - battleCharacter.determineNewTarget('enemy') // TODO: battleCharacter.targetType + battleCharacter.determineNewTarget(battleCharacter.targetType) } } } |