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