Exemplo n.º 1
0
 public void Combo()
 {
     if (ComboUseE)
     {
         var t = TargetSelector.GetTarget(Spells[E].Range + 300f, LeagueSharp.Common.TargetSelector.DamageType.Physical);
         if (t != null && Spells[E].IsReady() && Condemn.IsValidTarget(t))
         {
             Spells[E].CastOnUnit(t);
         }
     }
 }
Exemplo n.º 2
0
        public void Harass()
        {
            if (HarassUseE)
            {
                var t = TargetSelector.GetTarget(Spells[E].Range + 300, LeagueSharp.Common.TargetSelector.DamageType.Physical);
                if (t != null && Spells[E].IsReady())
                {
                    if (HarassUseE3RdW && t.IsValidTarget(Spells[E].Range) && t.GetBuffCount("vaynesilvereddebuff") == 2)
                    {
                        Spells[E].CastOnUnit(t);
                    }

                    if (Condemn.IsValidTarget(t))
                    {
                        Spells[E].CastOnUnit(t);
                    }
                }
            }
        }