From bf99464dba04b6cd656cc33afa6d0c46d30acc32 Mon Sep 17 00:00:00 2001 From: John Date: Thu, 20 Aug 2015 10:00:45 +0200 Subject: [PATCH] Prop accuracy --- toontown/battle/BattleCalculatorAI.py | 1 + 1 file changed, 1 insertion(+) diff --git a/toontown/battle/BattleCalculatorAI.py b/toontown/battle/BattleCalculatorAI.py index b32d25f8..0cac39f5 100755 --- a/toontown/battle/BattleCalculatorAI.py +++ b/toontown/battle/BattleCalculatorAI.py @@ -156,6 +156,7 @@ class BattleCalculatorAI: else: randChoice = random.randint(0, 99) propAcc = AvPropAccuracy[atkTrack][atkLevel] + propAcc = min(propAcc * 1.3, 100) if atkTrack == LURE: treebonus = self.__toonCheckGagBonus(attack[TOON_ID_COL], atkTrack, atkLevel) propBonus = self.__checkPropBonus(atkTrack)