public static void Init() { if (EliseMenu.CheckBox(EliseMenu.Misc, "SkinHack")) { foreach (var x in ObjectManager.Get <Obj_AI_Minion>().Where(x => x.Name.Equals("Spiderling") && x.IsValid && !x.IsDead)) { x.SetSkinId(EliseMenu.Slider(EliseMenu.Misc, "SkinID")); } Player.Instance.SetSkinId(EliseMenu.Slider(EliseMenu.Misc, "SkinID")); if (Player.Instance.GetAutoAttackRange() > 225) { if (Player.Instance.Model == "EliseSpider") { Player.Instance.SetModel("Elise"); } } else if (Player.Instance.GetAutoAttackRange() < 230) { if (Player.Instance.Model == "Elise") { Player.Instance.SetModel("EliseSpider"); } } } if (EliseMenu.Keybind(EliseMenu.Misc, "Reset")) { Player.Instance.SetModel(Player.Instance.ChampionName); } }
private static void Interrupter_OnInterruptableSpell(Obj_AI_Base sender, Interrupter.InterruptableSpellEventArgs e) { if (sender.IsEnemy && sender.IsValid) { if (EliseMenu.CheckBox(EliseMenu.Misc, "Interrupter")) { if (CheckForm()) { if (E.IsReady()) { var EPred = E.GetPrediction(sender); if (EPred.HitChancePercent >= EliseMenu.Slider(EliseMenu.Principal, "EPred")) { E.Cast(EPred.UnitPosition); } } } } } }
private static void Gapcloser_OnGapcloser(AIHeroClient sender, Gapcloser.GapcloserEventArgs e) { if (sender.IsEnemy && sender.IsValid) { if (EliseMenu.CheckBox(EliseMenu.Misc, "Gapcloser")) { if (CheckForm()) { if (E.IsReady()) { var EPred = E.GetPrediction(sender); if (EPred.HitChancePercent >= EliseMenu.Slider(EliseMenu.Principal, "EPred")) { E.Cast(EPred.UnitPosition); } } } } } }