2022-12-23 22:11:13 -06:00
|
|
|
from toontown.battle import DistributedBattleAI
|
2019-11-08 22:55:55 -06:00
|
|
|
from direct.directnotify import DirectNotifyGlobal
|
|
|
|
|
2022-12-23 22:11:13 -06:00
|
|
|
class DistributedBattleTutorialAI(DistributedBattleAI.DistributedBattleAI):
|
2019-11-08 22:55:55 -06:00
|
|
|
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedBattleTutorialAI')
|
2022-12-23 22:11:13 -06:00
|
|
|
|
|
|
|
def __init__(self, air, battleMgr, pos, suit, toonId, zoneId,
|
|
|
|
finishCallback=None, maxSuits=4, interactivePropTrackBonus = -1):
|
|
|
|
"""__init__(air, battleMgr, pos, suit, toonId, zoneId,
|
|
|
|
finishCallback, maxSuits)
|
|
|
|
"""
|
|
|
|
DistributedBattleAI.DistributedBattleAI.__init__(
|
|
|
|
self, air, battleMgr, pos, suit, toonId, zoneId,
|
|
|
|
finishCallback, maxSuits, tutorialFlag=1)
|
|
|
|
|
|
|
|
# There is no timer in the tutorial... The reward movie is random length.
|
|
|
|
def startRewardTimer(self):
|
|
|
|
pass
|
|
|
|
|
|
|
|
#def handleRewardDone(self):
|
|
|
|
# DistributedBattleAI.DistributedBattleAI.handleRewardDone(self)
|