public static void Heal() { if (NautibosActivator.heal.IsReady() && Player.Instance.HealthPercent <= NautibosMenu.spellsHealhp()) { NautibosActivator.heal.Cast(); } }
private static void Loading_OnLoadingComplete(EventArgs args) { if (Player.Instance.ChampionName != "Nautilus") { return; } AbilitySequence = new int[] { 3, 1, 2, 3, 3, 4, 3, 1, 3, 1, 4, 1, 1, 2, 2, 4, 2, 2 }; Chat.Print("NautiBOSS Loaded!", Color.CornflowerBlue); Chat.Print("Enjoy the game and DONT TROLL!", Color.Red); NautibosMenu.loadMenu(); NautibosActivator.loadSpells(); Game.OnTick += GameOnTick; Game.OnUpdate += OnGameUpdate; #region Skill Q = new Spell.Skillshot(SpellSlot.Q, 1100, SkillShotType.Linear); W = new Spell.Active(SpellSlot.W); E = new Spell.Active(SpellSlot.E, (uint)ObjectManager.Player.Spellbook.GetSpell(SpellSlot.E).SData.CastRange); R = new Spell.Targeted(SpellSlot.R, (uint)ObjectManager.Player.Spellbook.GetSpell(SpellSlot.R).SData.CastRange); #endregion Game.OnUpdate += OnGameUpdate; Drawing.OnDraw += Drawing_OnDraw; Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell; Gapcloser.OnGapcloser += AntiGapCloser; Orbwalker.OnPostAttack += OnPostAttack; }
private static void OnGameUpdate(EventArgs args) { if (NautibosActivator.smite != null) { smite(); } if (NautibosActivator.heal != null) { Heal(); } if (NautibosActivator.ignite != null) { ignite(); } if (NautibosActivator.exhaust != null) { exhaust(); } if (NautibosMenu.skinId() != CurrentSkin) { Player.SetSkinId(NautibosMenu.skinId()); CurrentSkin = NautibosMenu.skinId(); } }
public static void ignite() { var autoIgnite = TargetSelector.GetTarget(NautibosActivator.ignite.Range, DamageType.True); if (autoIgnite != null && autoIgnite.Health <= DamageLibrary.GetSpellDamage(Player.Instance, autoIgnite, NautibosActivator.ignite.Slot) || autoIgnite != null && autoIgnite.HealthPercent <= NautibosMenu.spellsHealignite()) { NautibosActivator.ignite.Cast(autoIgnite); } }
public static void ChangeDSkin(Object sender, EventArgs args) { Player.SetSkinId(NautibosMenu.skinId()); }
public static void Drawing_OnDraw(EventArgs args) { if (NautibosMenu.nodraw()) { return; } if (!NautibosMenu.onlyReady()) { if (NautibosMenu.drawingsQ()) { new Circle() { Color = Color.AliceBlue, Radius = Q.Range, BorderWidth = 2f }.Draw(_Player.Position); } if (NautibosMenu.drawingsW()) { new Circle() { Color = Color.OrangeRed, Radius = W.Range, BorderWidth = 2f }.Draw(_Player.Position); } if (NautibosMenu.drawingsE()) { new Circle() { Color = Color.Cyan, Radius = E.Range, BorderWidth = 2f }.Draw(_Player.Position); } if (NautibosMenu.drawingsR()) { new Circle() { Color = Color.SkyBlue, Radius = R.Range, BorderWidth = 2f }.Draw(_Player.Position); } if (NautibosMenu.Allydrawn()) { DrawHealths(); } } else { if (!Q.IsOnCooldown && NautibosMenu.drawingsQ()) { new Circle() { Color = Color.AliceBlue, Radius = 340, BorderWidth = 2f }.Draw(_Player.Position); } if (!W.IsOnCooldown && NautibosMenu.drawingsW()) { new Circle() { Color = Color.OrangeRed, Radius = 800, BorderWidth = 2f }.Draw(_Player.Position); } if (!E.IsOnCooldown && NautibosMenu.drawingsE()) { new Circle() { Color = Color.Cyan, Radius = 500, BorderWidth = 2f }.Draw(_Player.Position); } if (!R.IsOnCooldown && NautibosMenu.drawingsR()) { new Circle() { Color = Color.SkyBlue, Radius = 500, BorderWidth = 2f }.Draw(_Player.Position); } if (NautibosMenu.Allydrawn()) { DrawHealths(); } } }