Poodletooth-iLand/toontown/coghq/BattleExperienceAggregatorAI.py

28 lines
912 B
Python
Raw Normal View History

2015-11-14 13:28:53 -06:00
class BattleExperienceAggregatorAI:
def __init__(self):
self.suitsKilled = []
self.suitsKilledPerFloor = []
self.toonSkillPtsGained = {}
self.toonExp = {}
self.toonOrigQuests = {}
self.toonItems = {}
self.toonOrigMerits = {}
self.toonMerits = {}
self.toonParts = {}
self.helpfulToons = []
def attachToBattle(self, battle):
battle.suitsKilled = self.suitsKilled
battle.suitsKilledPerFloor = self.suitsKilledPerFloor
battle.battleCalc.toonSkillPtsGained = self.toonSkillPtsGained
battle.toonExp = self.toonExp
battle.toonOrigQuests = self.toonOrigQuests
battle.toonItems = self.toonItems
battle.toonOrigMerits = self.toonOrigMerits
battle.toonMerits = self.toonMerits
battle.toonParts = self.toonParts
battle.helpfulToons = self.helpfulToons