From 2e089ce95605095fb416b71f8b77b71576c6eeff Mon Sep 17 00:00:00 2001 From: Florrie Date: Fri, 24 Aug 2018 09:19:42 -0300 Subject: Don't target an enemy with Cure if the target ally was killed --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } } } -- cgit 1.3.0-6-gf8a5