public bool UseKillStealAbility(NukeAbility ability, bool aoe = true) { if (!this.CanBeCasted(ability)) { return(false); } if (ability.Ability.GetDamage(this.TargetManager.Target) < this.TargetManager.Target.Health) { return(false); } return(ability.UseAbility(this.TargetManager, this.comboSleeper, aoe)); }
// Token: 0x06000A14 RID: 2580 RVA: 0x0002C02C File Offset: 0x0002A22C public bool UseKillStealAbility(NukeAbility ability, bool aoe = true) { return(this.CanBeCasted(ability, true, true, true, true) && (float)ability.Ability.GetDamage(this.TargetManager.Target) >= this.TargetManager.Target.Health && ability.UseAbility(this.TargetManager, this.comboSleeper, aoe)); }