public override void Active() { updatespells(); if (NewInsec) { var rpos = user.ServerPosition.Extend(insectpos(), R.Range).To3D(); var qtime = Game.Time - insecqtime; if ((qtime > 0.1f && qtime < 0.1) || TargetSelector.SelectedTarget != null && TargetSelector.SelectedTarget.IsKillable(R.Range - 75)) { R.Cast(rpos); } } if (HarassMenu.keybind("toggle")) { this.Harass(); } if (JumperMenu.keybind("jump")) { Jump(Game.CursorPos); } if (JumperMenu.keybind("normal") && TargetSelector.SelectedTarget != null) { Normal(TargetSelector.SelectedTarget); } if (JumperMenu.keybind("new")) { New(); } if (AutoMenu.checkbox("tower")) { var azirtower = ObjectManager.Get <GameObject>().FirstOrDefault(o => o != null && o.Name.ToLower().Contains("towerclicker") && user.Distance(o) < 500); if (azirtower != null && azirtower.CountEnemeis(800) >= AutoMenu.slider("Tenemy")) { Player.UseObject(azirtower); } } NormalInsec = JumperMenu.keybind("normal"); NewInsec = JumperMenu.keybind("new"); }
public override void Active() { UpdateSpells(); RAOE(AutoMenu.checkbox("Raoe"), AutoMenu.slider("Rhits")); foreach (var obj in ObjectManager.Get <Obj_AI_Base>().OrderBy(o => o.EndPos().Distance(Game.CursorPos)).Where(o => o.IsValidTarget(E.Range) && !o.isWard() && o.CanDash() && E.IsReady())) { if (JumperMenu.keybind("flee") && !obj.EndPos().IsWall() && new Geometry.Polygon.Sector(user.ServerPosition, Game.CursorPos, (float)(60 * Math.PI / 180), 475).IsInside(obj)) { E.Cast(obj); return; } } if (JumperMenu.keybind("wall")) { WallJump(); } }