Index: binaries/data/mods/public/simulation/components/UnitAI.js =================================================================== --- binaries/data/mods/public/simulation/components/UnitAI.js +++ binaries/data/mods/public/simulation/components/UnitAI.js @@ -187,10 +187,6 @@ // ignore attacker }, - "HealthChanged": function(msg) { - // ignore - }, - "PackFinished": function(msg) { // ignore }, @@ -1831,10 +1827,6 @@ this.FinishOrder(); }, - "HealthChanged": function() { - this.SetSpeedMultiplier(this.GetRunMultiplier()); - }, - "leave": function() { this.ResetSpeedMultiplier(); this.StopMoving(); @@ -4242,11 +4234,6 @@ this.UnitFsm.ProcessMessage(this, {"type": "GuardedAttacked", "data": msg.data}); }; -UnitAI.prototype.OnHealthChanged = function(msg) -{ - this.UnitFsm.ProcessMessage(this, {"type": "HealthChanged", "from": msg.from, "to": msg.to}); -}; - UnitAI.prototype.OnRangeUpdate = function(msg) { if (msg.tag == this.losRangeQuery)