historical/toontown-just-works.git/toontown/coghq/BattleExperienceAggregatorAI.py

28 lines
912 B
Python
Raw Normal View History

2024-01-16 11:20:27 -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