コード例 #1
0
ファイル: AbilityHelper.cs プロジェクト: vana41203/O9K
        public bool UseAbility(BuffAbility ability, float distance)
        {
            if (!this.CanBeCasted(ability))
            {
                return(false);
            }

            return(ability.UseAbility(this.TargetManager, this.comboSleeper, distance));
        }
コード例 #2
0
 // Token: 0x06000A09 RID: 2569 RVA: 0x00006FD2 File Offset: 0x000051D2
 public bool UseAbility(BuffAbility ability, float distance)
 {
     return(this.CanBeCasted(ability, true, true, true, true) && ability.UseAbility(this.TargetManager, this.comboSleeper, distance));
 }