public virtual void EnableAI(bool RallyAllies) //Do if damaged or an enemy comes into range... DO NOT PROPAGATE { if (Hitbox.tag == "DeadEnemy" || AIenabled) { return; } if (RallyAllies) { facLogic.RallyAllies(factionEnum, transform, customReputation); } AIenabled = true; agent.speed = original_speed; EHealBar.Enable(); }