private static void evadeGrabADCMode(Skillshot skillShot, Obj_AI_Hero mate) { if (((skillShot.SpellData.MissileSpellName == "RocketGrabMissile") & (generalMenu.Item("blitzok").GetValue<bool>())) | ((skillShot.SpellData.MissileSpellName == "ThreshQMissile") & (generalMenu.Item("threshok").GetValue<bool>())) | ((skillShot.SpellData.MissileSpellName == "DarkBindingMissile") & (generalMenu.Item("morganaok").GetValue<bool>())) | ((skillShot.SpellData.MissileSpellName == "SadMummyBandageToss") & (generalMenu.Item("amumuok").GetValue<bool>()))) { if (!skillShot.IsSafe(mate.ServerPosition.To2D())) { if (champion.ChampionName == "Zyra") { W.Cast(mate.Position.Extend(skillShot.Unit.Position, +75), skillShot.Unit.Position); E.Cast(mate.Position.Extend(skillShot.Unit.Position, +75), skillShot.Unit.Position); } else if (champion.ChampionName == "Heimerdinger") { Q.Cast(mate.Position.Extend(skillShot.Unit.Position, +75), skillShot.Unit.Position); } else if (champion.ChampionName == "Shaco") { W.Cast(mate.Position.Extend(skillShot.Unit.Position, +50), skillShot.Unit.Position); } else if (champion.ChampionName == "Yorick") { W.Cast(mate.Position.Extend(skillShot.Unit.Position, +75), skillShot.Unit.Position); } else if (champion.ChampionName == "Yasuo") { W.Cast(mate.Position.Extend(skillShot.Unit.Position, +75), skillShot.Unit.Position); } else if (champion.ChampionName == "Morgana") { E.CastOnUnit(mate); } else if (champion.ChampionName == "Annie") { R.Cast(mate.Position.Extend(skillShot.Unit.Position, +50), skillShot.Unit.Position); } else if (champion.ChampionName == "Thresh") { var prediction = Q.GetPrediction(skillShot.Unit); Q.Cast(prediction.CastPosition); } else if (champion.ChampionName == "Blitzcrank") { var prediction = Q.GetPrediction(skillShot.Unit); Q.Cast(prediction.CastPosition); } } DetectedSkillshots.Clear(); } }
private static void evadeGrabADCMode(Skillshot skillShot, AIHeroClient mate) { if (((skillShot.SpellData.MissileSpellName == "RocketGrabMissile") & (generalMenu.Item("blitzok").GetValue <bool>())) | ((skillShot.SpellData.MissileSpellName == "ThreshQMissile") & (generalMenu.Item("threshok").GetValue <bool>())) | ((skillShot.SpellData.MissileSpellName == "DarkBindingMissile") & (generalMenu.Item("morganaok").GetValue <bool>())) | ((skillShot.SpellData.MissileSpellName == "SadMummyBandageToss") & (generalMenu.Item("amumuok").GetValue <bool>()))) { if (!skillShot.IsSafe(mate.ServerPosition.To2D())) { if (champion.ChampionName == "Zyra") { W.Cast(mate.Position.Extend(skillShot.Unit.Position, +75), skillShot.Unit.Position); E.Cast(mate.Position.Extend(skillShot.Unit.Position, +75), skillShot.Unit.Position); } else if (champion.ChampionName == "Heimerdinger") { Q.Cast(mate.Position.Extend(skillShot.Unit.Position, +75), skillShot.Unit.Position); } else if (champion.ChampionName == "Shaco") { W.Cast(mate.Position.Extend(skillShot.Unit.Position, +50), skillShot.Unit.Position); } else if (champion.ChampionName == "Yorick") { W.Cast(mate.Position.Extend(skillShot.Unit.Position, +75), skillShot.Unit.Position); } else if (champion.ChampionName == "Yasuo") { W.Cast(mate.Position.Extend(skillShot.Unit.Position, +75), skillShot.Unit.Position); } else if (champion.ChampionName == "Morgana") { E.CastOnUnit(mate); } else if (champion.ChampionName == "Annie") { R.Cast(mate.Position.Extend(skillShot.Unit.Position, +50), skillShot.Unit.Position); } else if (champion.ChampionName == "Thresh") { var prediction = Q.GetPrediction(skillShot.Unit); Q.Cast(prediction.CastPosition); } else if (champion.ChampionName == "Blitzcrank") { var prediction = Q.GetPrediction(skillShot.Unit); Q.Cast(prediction.CastPosition); } } DetectedSkillshots.Clear(); } }
private static void evadeGrabSelfMode(Skillshot skillShot) { if (((skillShot.SpellData.MissileSpellName == "RocketGrabMissile") & (generalMenu.Item("blitzok").GetValue <bool>())) | ((skillShot.SpellData.MissileSpellName == "ThreshQMissile") & (generalMenu.Item("threshok").GetValue <bool>())) | ((skillShot.SpellData.MissileSpellName == "DarkBindingMissile") & (generalMenu.Item("morganaok").GetValue <bool>())) | ((skillShot.SpellData.MissileSpellName == "SadMummyBandageToss") & (generalMenu.Item("amumuok").GetValue <bool>()))) { if (!skillShot.IsSafe(champion.ServerPosition.To2D())) { if (champion.ChampionName == "Zyra") { W.Cast(champion.Position.Extend(skillShot.Unit.Position, +75), skillShot.Unit.Position); E.Cast(champion.Position.Extend(skillShot.Unit.Position, +75), skillShot.Unit.Position); } else if (champion.ChampionName == "Heimerdinger") { Q.Cast(champion.Position.Extend(skillShot.Unit.Position, +75), skillShot.Unit.Position); } else if (champion.ChampionName == "Shaco") { W.Cast(champion.Position.Extend(skillShot.Unit.Position, +50), skillShot.Unit.Position); } else if (champion.ChampionName == "Yorick") { W.Cast(champion.Position.Extend(skillShot.Unit.Position, +75), skillShot.Unit.Position); } else if (champion.ChampionName == "Yasuo") { W.Cast(champion.Position.Extend(skillShot.Unit.Position, +75), skillShot.Unit.Position); } else if (champion.ChampionName == "Sivir") { E.Cast(); } else if (champion.ChampionName == "Nocturne") { W.Cast(); } else if (champion.ChampionName == "Morgana") { E.CastOnUnit(champion); } else if (champion.ChampionName == "Fizz") { E.Cast(Game.CursorPos); } else if (champion.ChampionName == "Annie") { R.Cast(champion.Position.Extend(skillShot.Unit.Position, +50), skillShot.Unit.Position); } else if (champion.ChampionName == "Thresh") { var prediction = Q.GetPrediction(skillShot.Unit); Q.Cast(prediction.CastPosition); } else if (champion.ChampionName == "Blitzcrank") { var prediction = Q.GetPrediction(skillShot.Unit); Q.Cast(prediction.CastPosition); } else if (champion.ChampionName == "Ezreal") { E.Cast(Game.CursorPos); } else if (champion.ChampionName == "Trundle") { Console.Write("gogogogogogogog"); LeagueSharp.Common.Utility.DelayAction.Add((int)champion.Distance(skillShot.Unit) / 2, () => E.Cast(champion.Position.Extend(skillShot.Unit.Position, +50), skillShot.Unit.Position)); } } DetectedSkillshots.Clear(); } }