Poodletooth-iLand/toontown/tutorial/DistributedBattleTutorialAI.py

16 lines
749 B
Python

from direct.directnotify.DirectNotifyGlobal import *
from toontown.battle.DistributedBattleAI import DistributedBattleAI
class DistributedBattleTutorialAI(DistributedBattleAI):
notify = directNotify.newCategory('DistributedBattleTutorialAI')
def __init__(self, air, battleMgr, pos, suit, toonId, zoneId,
finishCallback=None, maxSuits=4, tutorialFlag=1, levelFlag=0,
interactivePropTrackBonus=-1):
DistributedBattleAI.__init__(self, air, battleMgr, pos, suit, toonId,
zoneId, finishCallback=finishCallback, maxSuits=1,
tutorialFlag=1, levelFlag=0, interactivePropTrackBonus=-1)
def startRewardTimer(self):
pass # We don't want a reward timer in the tutorial.