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