// Token: 0x06001A0F RID: 6671 RVA: 0x000D4D8C File Offset: 0x000D2F8C public override void Cancel() { if (this.m_Target != null) { AIEntity component = this.m_Target.GetComponent <AIEntity>(); if (component != null) { if (!(component is CivilianAI)) { component.StartSearch(true, this.m_Owner.transform.position); } else { component.Flee(component.transform.position + new Vector3((UnityEngine.Random.value - 0.5f) * 10f, 0f, (UnityEngine.Random.value - 0.5f) * 10f), 10f, 0f, 30f); } } } if (DebugOptions.ms_DebugEnabled) { Debug.Log("ModdedAbilityHijack: Cancel " + Utils.GetStackTrace(8)); } this.UpdateEnergyRegen(); this.m_Target = null; base.Cancel(); }