Example #1
0
        private static void ks()
        {
            if (Player.IsDead)
            {
                return;
            }

            var target = TargetSelector.GetTarget(W.Range, TargetSelector.DamageType.Magical);

            if (Menu.Item("ksW").GetValue <bool>() && W.IsReady() && target.IsValidTarget(W.Range) && W.IsReady() && W.IsKillable(target))
            {
                W.CastIfHitchanceEquals(target, HitChance.VeryHigh);
            }

            if (Menu.Item("ksWR").GetValue <bool>() && R.IsReady() && W.IsReady() && target.IsValidTarget(W1.Range) && W1.IsKillable(target))
            {
                R.Cast();
                W1.CastIfHitchanceEquals(target, HitChance.VeryHigh);
            }
        }