mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-10-30 16:27:54 +00:00
Ability to get back cheesy effect
This commit is contained in:
parent
2c8ac1add9
commit
9ac374656d
1 changed files with 3 additions and 4 deletions
|
@ -33,11 +33,10 @@ class DistributedEffectMgrAI(DistributedObjectAI):
|
|||
scavengerHunt.append(self.zoneId)
|
||||
av.b_setScavengerHunt(scavengerHunt)
|
||||
av.addMoney(HolidayGlobals.CAROLING_REWARD)
|
||||
|
||||
if len(scavengerHunt) == HolidayGlobals.SCAVENGER_HUNT_LOCATIONS:
|
||||
av.b_setCheesyEffect(self.effectId, 0, expireTime)
|
||||
|
||||
self.sendUpdateToAvatarId(avId, 'effectDone', [HolidayGlobals.CAROLING_REWARD])
|
||||
|
||||
if len(scavengerHunt) == HolidayGlobals.SCAVENGER_HUNT_LOCATIONS:
|
||||
av.b_setCheesyEffect(self.effectId, 0, expireTime)
|
||||
else:
|
||||
av.b_setCheesyEffect(self.effectId, 0, expireTime)
|
||||
self.sendUpdateToAvatarId(avId, 'effectDone', [0])
|
Loading…
Reference in a new issue