private static void OnLoadingComplete(EventArgs args) { if (Player.ChampionName != "Aatrox") { return; } AbilitySequence = new int[] { 3, 2, 3, 1, 3, 4, 3, 2, 3, 2, 4, 2, 2, 1, 1, 4, 1, 1 }; Chat.Print("AAtron Loaded!", Color.CornflowerBlue); Chat.Print("Enjoy the game and DONT BLAME!", Color.Red); AatroxMenu.loadMenu(); Game.OnTick += GameOnTick; MyActivator.loadSpells(); Game.OnUpdate += OnGameUpdate; #region Skill Q = new Spell.Skillshot(SpellSlot.Q, 650, SkillShotType.Circular, (int)0.6f, 250, 2000); W = new Spell.Active(SpellSlot.W); E = new Spell.Skillshot(SpellSlot.E, 1075, SkillShotType.Linear, (int)0.25f, 35, 1250); R = new Spell.Active(SpellSlot.R, 550); #endregion Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell; Gapcloser.OnGapcloser += AntiGapCloser; Drawing.OnDraw += GameOnDraw; DamageIndicator.Initialize(SpellDamage.GetTotalDamage); }
private static void MyActivatorPage() { MyActivator = MyMenu.AddSubMenu("Activator Settings", "Items"); MyActivator.AddGroupLabel("Auto QSS if :"); MyActivator.Add("Blind", new CheckBox("Blind", false)); MyActivator.Add("Charm", new CheckBox("Charm")); MyActivator.Add("Fear", new CheckBox("Fear")); MyActivator.Add("Polymorph", new CheckBox("Polymorph")); MyActivator.Add("Stun", new CheckBox("Stun")); MyActivator.Add("Snare", new CheckBox("Snare")); MyActivator.Add("Silence", new CheckBox("Silence", false)); MyActivator.Add("Taunt", new CheckBox("Taunt")); MyActivator.Add("Suppression", new CheckBox("Suppression")); MyActivator.AddGroupLabel("Ults"); MyActivator.Add("ZedUlt", new CheckBox("Zed Ult")); MyActivator.Add("VladUlt", new CheckBox("Vlad Ult")); MyActivator.Add("FizzUlt", new CheckBox("Fizz Ult")); MyActivator.Add("MordUlt", new CheckBox("Mordekaiser Ult")); MyActivator.Add("PoppyUlt", new CheckBox("Poppy Ult")); MyActivator.AddGroupLabel("Items usage:"); MyActivator.AddSeparator(); MyActivator.Add("items.sliderHP", new Slider("Use items when HP is lower than {0}(%)", 30, 1, 100)); MyActivator.Add("items.enemiesinrange", new Slider("Use items when there are {0} enemies in range", 3, 1, 5)); MyActivator.AddSeparator(); MyActivator.AddLabel("Items avaible to use with Activator:"); MyActivator.Add("randuin", new CheckBox("Use Randuin")); MyActivator.Add("glory", new CheckBox("Use Righteous Glory")); MyActivator.Add("bilgewater", new CheckBox("Use Bilgewater Cutlass")); MyActivator.Add("botrk", new CheckBox("Use Blade of The Ruined King")); MyActivator.Add("youmus", new CheckBox("Use Youmus Ghostblade")); MyActivator.Add("hydra", new CheckBox("Use Hydra")); MyActivator.Add("tiamat", new CheckBox("Use Tiamat")); MySpells = MyMenu.AddSubMenu("Spells Settings"); MySpells.AddGroupLabel("Smite settings"); MySpells.AddSeparator(); MySpells.Add("SRU_Red", new CheckBox("Smite Red Buff")); MySpells.Add("SRU_Blue", new CheckBox("Smite Blue Buff")); MySpells.Add("SRU_Dragon", new CheckBox("Smite Dragon")); MySpells.Add("SRU_Baron", new CheckBox("Smite Baron")); MySpells.Add("SRU_Gromp", new CheckBox("Smite Gromp")); MySpells.Add("SRU_Murkwolf", new CheckBox("Smite Wolf")); MySpells.Add("SRU_Razorbeak", new CheckBox("Smite Bird")); MySpells.Add("SRU_Krug", new CheckBox("Smite Golem")); MySpells.Add("Sru_Crab", new CheckBox("Smite Crab")); MySpells.AddSeparator(); MySpells.AddGroupLabel("Heal settings:"); MySpells.Add("spells.Heal.Hp", new Slider("Use Heal when HP is lower than {0}(%)", 30, 1, 100)); MySpells.AddGroupLabel("Ignite settings:"); MySpells.Add("spell.Ignite.Use", new CheckBox("Use Ignite for KillSteal")); MySpells.Add("spells.Ignite.Focus", new Slider("Use Ignite when target HP is lower than {0}(%)", 10, 1, 100)); MySpells.Add("spells.Ignite.Kill", new CheckBox("Use ignite if killable")); }