def Vehicle_onHealthChanged(self, newHealth, attackerID, attackReasonID): #debug("> Vehicle_onHealthChanged: %i, %i, %i" % (newHealth, attackerID, attackReasonID)) g_xvm.updateBattleState(self)
def PlayerAvatar_vehicle_onLeaveWorld(self, vehicle): #debug("> PlayerAvatar_vehicle_onLeaveWorld: hp=%i" % vehicle.health) g_xvm.updateBattleState(vehicle)
def Vehicle_set_health(self, prev): #debug("> Vehicle_set_health: %i, %i" % (self.health, prev)) g_xvm.updateBattleState(self)