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