From e77d954d5befd793beca2355168fc88bd39dd091 Mon Sep 17 00:00:00 2001 From: Crimson Fox <43253740+CrimsonFox762@users.noreply.github.com> Date: Mon, 31 Jul 2023 13:23:19 -0400 Subject: [PATCH] Fixed Knockback for Lure --- toontown/battle/BattleCalculatorAI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toontown/battle/BattleCalculatorAI.py b/toontown/battle/BattleCalculatorAI.py index d76ea92..982b4b8 100644 --- a/toontown/battle/BattleCalculatorAI.py +++ b/toontown/battle/BattleCalculatorAI.py @@ -751,7 +751,7 @@ class BattleCalculatorAI: return tgts = self.__createToonTargetList(toonId) for currTgt in tgts: - tgtPos = self.battle.suits.index(currTgt) + tgtPos = self.battle.activeSuits.index(currTgt) attackerId = self.toonAtkOrder[attackIndex] attack = self.battle.toonAttacks[attackerId] track = self.__getActualTrack(attack)