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); } } }
public static void DeathFollowMode() { if (Ptarget != null) { Player.IssueOrder(GameObjectOrder.MoveTo, Ptarget.ServerPosition - 100); } else { var kstarget = TargetManager.GetChampionTarget(SpellManager.Q.Range, DamageType.True, false, false, SpellManager.PDamage()); if (kstarget != null) { Ptarget = kstarget; } else { var target = TargetManager.GetChampionTarget(SpellManager.Q.Range, DamageType.True); if (target != null) { Ptarget = target; } else { var ksminion = TargetManager.GetMinionTarget(SpellManager.Q.Range, DamageType.True, false, false, false, SpellManager.PDamage()); if (ksminion != null) { Ptarget = ksminion; } else { var minion = TargetManager.GetMinionTarget(SpellManager.Q.Range, DamageType.True); if (minion != null) { Ptarget = minion; } } } } } }
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); } } }