// Token: 0x0600006A RID: 106 RVA: 0x00006204 File Offset: 0x00004404
        public void RemoveAbility(Ability9 ability)
        {
            IRange range = this.abilities.Find((IRange x) => x.Handle == ability.Handle);

            if (range == null)
            {
                return;
            }
            range.Dispose();
            this.abilities.Remove(range);
        }
        // Token: 0x0600006D RID: 109 RVA: 0x000062EC File Offset: 0x000044EC
        private void TogglerOnValueChange(object sender, AbilityEventArgs e)
        {
            IRange range = this.abilities.Find((IRange x) => x.Name == e.Ability);

            if (range == null)
            {
                return;
            }
            if (e.NewValue)
            {
                range.Enable(this.heroMenu);
                return;
            }
            range.Dispose();
        }