toontown-just-works/toontown/coghq/BattleExperienceAggregatorAI.py
2024-07-07 18:08:39 -05:00

27 lines
912 B
Python

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