Пример #1
0
 public static void JungleMode()
 {
     if (Champion.ManaPercent < MenuManager.JungleMana)
     {
         return;
     }
     if (MenuManager.JungleUseQ)
     {
         var target = TargetManager.GetMinionTarget(SpellManager.Q.Range, DamageType.Magical, false, true, true);
         if (target != null)
         {
             SpellManager.CastQ(target);
         }
     }
     if (MenuManager.JungleUseW)
     {
         var target = TargetManager.GetMinionTarget(SpellManager.W.Range, DamageType.Magical, false, true);
         if (target != null)
         {
             SpellManager.CastW(target);
         }
     }
     if (MenuManager.JungleUseR &&
         Champion.GetBuffCount("kogmawlivingartillerycost") <= MenuManager.JungleStacks)
     {
         var target = TargetManager.GetMinionTarget(SpellManager.R.Range, DamageType.Mixed, false, true);
         if (target != null)
         {
             SpellManager.CastR(target);
         }
     }
 }
Пример #2
0
 public static void LastHitMode()
 {
     if (Champion.ManaPercent < MenuManager.LastHitMana)
     {
         return;
     }
     if (Orbwalker.CanAutoAttack && Orbwalker.IsAutoAttacking)
     {
         return;
     }
     if (MenuManager.LastHitUseQ)
     {
         var target = TargetManager.GetMinionTarget(SpellManager.Q.Range, DamageType.Magical, false, false, true, SpellManager.QDamage());
         if (target != null)
         {
             SpellManager.CastQ(target);
         }
     }
     if (MenuManager.LastHitUseR &&
         Champion.GetBuffCount("kogmawlivingartillerycost") <= MenuManager.LastHitStacks)
     {
         var target = TargetManager.GetMinionTarget(SpellManager.R.Range, DamageType.Mixed, false, false, false, SpellManager.RDamage());
         if (target != null)
         {
             SpellManager.CastR(target);
         }
     }
 }
Пример #3
0
 public static void KsMode()
 {
     if (MenuManager.KsUseQ)
     {
         var target = TargetManager.GetChampionTarget(SpellManager.Q.Range, DamageType.Magical, false, true, SpellManager.QDamage());
         if (target != null)
         {
             SpellManager.CastQ(target);
         }
     }
     if (MenuManager.KsUseR)
     {
         var target = TargetManager.GetChampionTarget(SpellManager.R.Range, DamageType.Mixed, false, false, SpellManager.RDamage());
         if (target != null)
         {
             SpellManager.CastR(target);
         }
     }
 }
Пример #4
0
 public static void ComboMode()
 {
     if (MenuManager.ComboUseQ)
     {
         var target = TargetManager.GetChampionTarget(SpellManager.Q.Range, DamageType.Magical, false, true);
         if (target != null)
         {
             SpellManager.CastQ(target);
         }
     }
     if (MenuManager.ComboUseW)
     {
         var target = TargetManager.GetChampionTarget(SpellManager.W.Range, DamageType.Mixed);
         if (target != null)
         {
             SpellManager.CastW(target);
         }
     }
     if (MenuManager.ComboUseE)
     {
         var target = TargetManager.GetChampionTarget(SpellManager.E.Range, DamageType.Magical);
         if (target != null)
         {
             SpellManager.CastE(target);
         }
     }
     if (MenuManager.ComboUseR &&
         Champion.GetBuffCount("kogmawlivingartillerycost") <= MenuManager.ComboStacks)
     {
         var target = TargetManager.GetChampionTarget(SpellManager.R.Range, DamageType.Mixed);
         if (target != null)
         {
             SpellManager.CastR(target);
         }
     }
 }