예제 #1
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.KsUseW)
     {
         var target = TargetManager.GetChampionTarget(SpellManager.W.Range, DamageType.Magical, false, false, SpellManager.WDamage());
         if (target != null)
         {
             SpellManager.CastW(target);
         }
     }
     if (MenuManager.KsUseE)
     {
         var target = TargetManager.GetChampionTarget(SpellManager.E.Range, DamageType.Magical, false, false, SpellManager.EDamage());
         if (target != null)
         {
             SpellManager.CastE(target);
         }
     }
 }
예제 #2
0
 public static void LastHitMode()
 {
     if (Champion.HasBuff("RyzeR") &&
         MenuManager.UltimateMode)
     {
         UltimateMode(GameObjectType.obj_AI_Minion);
         return;
     }
     if (Champion.ManaPercent < MenuManager.LastHitMana)
     {
         return;
     }
     if (Orbwalker.CanAutoAttack)
     {
         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.LastHitUseW)
     {
         var target = TargetManager.GetMinionTarget(SpellManager.W.Range, DamageType.Magical, false, false, false, SpellManager.WDamage());
         if (target != null)
         {
             SpellManager.CastW(target);
         }
     }
     if (MenuManager.LastHitUseE)
     {
         var target = TargetManager.GetMinionTarget(SpellManager.E.Range, DamageType.Magical, false, false, false, SpellManager.EDamage());
         if (target != null)
         {
             SpellManager.CastE(target);
         }
     }
 }