public static void GetCombo(string championName) { switch (championName) { case "Ryze": Ryze.FightHard(); break; case "Garen": Ryze.FightHard(); break; case "Ahri": Ahri.FightHard(); break; case "Warwick": Warwick.FightHard(); break; case "MasterYi": MasterYi.FightHard(); break; case "Annie": Annie.FightHard(); break; } }//GetCombo
public static void Init() { var Minions = EntityManager.MinionsAndMonsters.GetLaneMinions(EntityManager.UnitTeam.Enemy, Player.Instance.Position, Annie.Q.Range); foreach (var Minion in Minions) { if (Annie.Q.IsReady() && AnnieMenu.CheckBox(AnnieMenu.Lasthit, "Q")) { if (Minion.IsValidTarget(Annie.Q.Range)) { if (Minion.Health - Damages.QDamage(Minion) <= 0) { if (AnnieMenu.CheckBox(AnnieMenu.Laneclear, "Exception")) { if (!Annie.HasStun()) { Annie.Q.Cast(Minion); } } else { Annie.Q.Cast(Minion); } } } } } }
public static void Init() { RandomWalk.Init(); BuyManager.InitItems(); Ryze.InitSpells(); Garen.InitSpells(); Warwick.InitSpells(); MasterYi.InitSpells(); Ahri.InitSpells(); Annie.InitSpells(); }
public static void Init() { if (Annie.Q.IsReady() && AnnieMenu.CheckBox(AnnieMenu.Combo, "Q")) { if (Target().IsValidTarget(Annie.Q.Range)) { Annie.Q.Cast(Target()); } } if (Annie.W.IsReady() && AnnieMenu.CheckBox(AnnieMenu.Combo, "W")) { if (Target().IsValidTarget(Annie.W.Range)) { var WPred = Annie.W.GetPrediction(Target()); if (WPred.HitChancePercent >= AnnieMenu.Slider(AnnieMenu.Principal, "WPred")) { Annie.W.Cast(Target()); } } } if (Annie.R.IsReady() && AnnieMenu.CheckBox(AnnieMenu.Combo, "R")) { if (Target().IsValidTarget(Annie.R.Range)) { var RPred = Annie.R.GetPrediction(Target()); if (RPred.HitChancePercent >= AnnieMenu.Slider(AnnieMenu.Principal, "RPred")) { if (AnnieMenu.CheckBox(AnnieMenu.Combo, "Only")) { if (Annie.HasStun()) { Annie.R.Cast(Target()); } } else { Annie.R.Cast(Target()); } } } } }
// Start is called before the first frame update void Start() { annie = GameObject.Find("Annie").GetComponent <Annie>(); bill = GameObject.Find("Bill").GetComponent <Bill>(); }