def announceHealth(self, level, hp, extraId=-1):
     DistributedAvatar.announceHealth(self, level, hp, extraId)
     if level == 1:
         healthSfx = base.audio3d.loadSfx(SuitGlobals.healedSfx)
         base.audio3d.attachSoundToObject(healthSfx, self)
         SoundInterval(healthSfx, node=self).start()
         del healthSfx
     if hp < 0:
         self.doDamageFade()
 def announceHealthAndPlaySound(self, level, hp, extraId=-1):
     DistributedAvatar.announceHealth(self, level, hp, extraId)
     hpSfx = base.audio3d.loadSfx("phase_11/audio/sfx/LB_toonup.ogg")
     base.audio3d.attachSoundToObject(hpSfx, self)
     SoundInterval(hpSfx, node=self).start()
     del hpSfx