mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
Remove VP cog part takeaway on death
This commit is contained in:
parent
9bc2312adc
commit
b91320d9f8
1 changed files with 0 additions and 8 deletions
|
@ -30,7 +30,6 @@ class DistributedSellbotBossAI(DistributedBossCogAI.DistributedBossCogAI, FSM.FS
|
||||||
self.bossMaxDamage = ToontownGlobals.SellbotBossMaxDamage
|
self.bossMaxDamage = ToontownGlobals.SellbotBossMaxDamage
|
||||||
self.recoverRate = 0
|
self.recoverRate = 0
|
||||||
self.recoverStartTime = 0
|
self.recoverStartTime = 0
|
||||||
self.punishedToons = []
|
|
||||||
|
|
||||||
def delete(self):
|
def delete(self):
|
||||||
return DistributedBossCogAI.DistributedBossCogAI.delete(self)
|
return DistributedBossCogAI.DistributedBossCogAI.delete(self)
|
||||||
|
@ -197,13 +196,6 @@ class DistributedSellbotBossAI(DistributedBossCogAI.DistributedBossCogAI, FSM.FS
|
||||||
return self.invokeSuitPlanner(10, 1)
|
return self.invokeSuitPlanner(10, 1)
|
||||||
|
|
||||||
def removeToon(self, avId):
|
def removeToon(self, avId):
|
||||||
av = self.air.doId2do.get(avId)
|
|
||||||
if not av is None:
|
|
||||||
if av.getHp() <= 0:
|
|
||||||
if avId not in self.punishedToons:
|
|
||||||
self.air.cogSuitMgr.removeParts(av, self.deptIndex)
|
|
||||||
self.punishedToons.append(avId)
|
|
||||||
|
|
||||||
toon = simbase.air.doId2do.get(avId)
|
toon = simbase.air.doId2do.get(avId)
|
||||||
if toon:
|
if toon:
|
||||||
toon.b_setNumPies(0)
|
toon.b_setNumPies(0)
|
||||||
|
|
Loading…
Reference in a new issue