ai: welcome valley actually works fine
This commit is contained in:
parent
9fb9a3b94a
commit
2073f67040
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class WelcomeValleyManagerAI(DistributedObjectAI):
|
|||
if ZoneUtil.isWelcomeValley(zoneId) and not inWelcomeValley:
|
||||
self.air.districtStats.b_setNewAvatarCount(self.air.districtStats.getNewAvatarCount() + 1)
|
||||
self.accept(event, lambda newZoneId, _: self.toonSetZone(doId, newZoneId))
|
||||
self.accept(self.air.getAvatarExitEvent(doId), self.toonSetZone, extraArgs=[doId, 123])
|
||||
self.accept(self.air.getAvatarExitEvent(doId), self.toonSetZone, extraArgs=[doId, 2000])
|
||||
elif (not ZoneUtil.isWelcomeValley(zoneId)) and inWelcomeValley:
|
||||
self.air.districtStats.b_setNewAvatarCount(self.air.districtStats.getNewAvatarCount() - 1)
|
||||
self.ignore(event)
|
||||
|
|
Loading…
Reference in a new issue