Prop accuracy

This commit is contained in:
John 2015-08-20 10:00:45 +02:00
parent a5f0d6af6a
commit bf99464dba

View file

@ -156,6 +156,7 @@ class BattleCalculatorAI:
else: else:
randChoice = random.randint(0, 99) randChoice = random.randint(0, 99)
propAcc = AvPropAccuracy[atkTrack][atkLevel] propAcc = AvPropAccuracy[atkTrack][atkLevel]
propAcc = min(propAcc * 1.3, 100)
if atkTrack == LURE: if atkTrack == LURE:
treebonus = self.__toonCheckGagBonus(attack[TOON_ID_COL], atkTrack, atkLevel) treebonus = self.__toonCheckGagBonus(attack[TOON_ID_COL], atkTrack, atkLevel)
propBonus = self.__checkPropBonus(atkTrack) propBonus = self.__checkPropBonus(atkTrack)