From 5c0ff2544b2dcfa4f10daba45ce16ca57e73b7da Mon Sep 17 00:00:00 2001 From: Alexander Date: Thu, 20 Aug 2015 21:04:27 -0400 Subject: [PATCH] Update resources and pull code from master. --- resources | 2 +- toontown/battle/BattleCalculatorAI.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/resources b/resources index 8e276dce..78d0c91b 160000 --- a/resources +++ b/resources @@ -1 +1 @@ -Subproject commit 8e276dce36ce41ecdc9d3182174edc7116610591 +Subproject commit 78d0c91b2ab38ea4132a7a032be9446e804e71bc 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)