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