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 @@ -3302,6 +3302,8 @@ this.lastAttacked = undefined; this.lastHealed = undefined; + this.isHealer = undefined; + this.SetStance(this.template.DefaultStance); }; @@ -3352,7 +3354,9 @@ UnitAI.prototype.IsHealer = function() { - return Engine.QueryInterface(this.entity, IID_Heal); + if (this.isHealer === undefined) + this.isHealer = Engine.QueryInterface(this.entity, IID_Heal) ? true : false; + return this.isHealer; }; UnitAI.prototype.IsIdle = function()