private static void OnLoadingComplete(EventArgs args) { if (Player.ChampionName != "FiddleSticks") { return; } AbilitySequence = new[] { 2, 3, 1, 2, 2, 4, 2, 1, 2, 1, 4, 1, 1, 3, 3, 4, 3, 3 }; Chat.Print("Owlsticks Loaded!", Color.CornflowerBlue); Chat.Print("Enjoy the game and DONT AFK!", Color.Red); OwlsticksMenu.LoadMenu(); wardLocation = new WardLocation(); Game.OnTick += GameOnTick; MyActivator.LoadSpells(); Game.OnUpdate += OnGameUpdate; Obj_AI_Base.OnBuffGain += OnBuffGain; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; Obj_AI_Base.OnBuffLose += OnBuffLose; Drawing.OnDraw += GameOnDraw; DamageIndicator.Initialize(SpellDamage.GetTotalDamage); Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell; Gapcloser.OnGapcloser += AntiGapCloser; #region Skill Q = new Spell.Targeted(SpellSlot.Q, 575); W = new Spell.Targeted(SpellSlot.W, 575); E = new Spell.Targeted(SpellSlot.E, 750); E1 = new Spell.Skillshot(SpellSlot.E, 1050, SkillShotType.Linear); R = new Spell.Skillshot(SpellSlot.R, 880, SkillShotType.Circular); #endregion }
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("checkward", new CheckBox("Use AutoWard", false)); MyActivator.Add("pinkvision", new CheckBox("Use Pink Ward", false)); MyActivator.Add("greatherstealthtotem", new CheckBox("Use Greather Stealth Totem", false)); MyActivator.Add("greatervisiontotem", new CheckBox("Use Greater Vision Totem", false)); MyActivator.Add("wardingtotem", new CheckBox("Use Warding Totem", false)); MyActivator.Add("farsightalteration", new CheckBox("Use Farsight Alteration", false)); MyActivator.AddSeparator(); MyActivator.Add("zhonya", new CheckBox("Use Zhonyia's Hourglass")); MyActivator.Add("zhonya.HP", new Slider("Use Zhonyia's Hourglass if hp is lower than {0}(%)", 60)); MyActivator.Add("zhonya.Enemies", new Slider("Use Zhonyia's Hourglass if when there are {0} enemies in range", 3, 1, 5)); MyActivator.Add("bilgewater", new CheckBox("Use Bilgewater Cutlass")); MyActivator.Add("bilgewater.HP", new Slider("Use Bilgewater Cutlass if hp is lower than {0}(%)", 60)); MyActivator.AddSeparator(); MyActivator.Add("botrk", new CheckBox("Use Blade of The Ruined King")); MyActivator.Add("botrk.HP", new Slider("Use Blade of The Ruined King if hp is lower than {0}(%)", 60)); MyActivator.AddSeparator(); MyActivator.Add("youmus", new CheckBox("Use Youmus Ghostblade")); MyActivator.Add("items.Youmuss.HP", new Slider("Use Youmuss Ghostblade if hp is lower than {0}(%)", 60, 1)); MyActivator.Add("youmus.Enemies", new Slider("Use Youmus Ghostblade when there are {0} enemies in range", 3, 1, 5)); MyActivator.AddSeparator(); MyActivator.AddGroupLabel("Potion Settings"); MyActivator.Add("spells.Potions.Check", new CheckBox("Use Potions")); MyActivator.Add("spells.Potions.HP", new Slider("Use Potions when HP is lower than {0}(%)", 60, 1)); MyActivator.Add("spells.Potions.Mana", new Slider("Use Potions when Mana is lower than {0}(%)", 60, 1)); MyActivator.AddSeparator(); MyActivator.AddGroupLabel("Spells settings:"); MyActivator.AddGroupLabel("Smite settings"); MyActivator.Add("SRU_Red", new CheckBox("Smite Red Buff")); MyActivator.Add("SRU_Blue", new CheckBox("Smite Blue Buff")); MyActivator.Add("SRU_Dragon", new CheckBox("Smite Dragon")); MyActivator.Add("SRU_Baron", new CheckBox("Smite Baron")); MyActivator.Add("SRU_Gromp", new CheckBox("Smite Gromp")); MyActivator.Add("SRU_Murkwolf", new CheckBox("Smite Wolf")); MyActivator.Add("SRU_Razorbeak", new CheckBox("Smite Bird")); MyActivator.Add("SRU_Krug", new CheckBox("Smite Golem")); MyActivator.Add("Sru_Crab", new CheckBox("Smite Crab")); MyActivator.AddSeparator(); MyActivator.AddGroupLabel("Barrier settings:"); MyActivator.Add("spells.Barrier.Hp", new Slider("Use Barrier when HP is lower than {0}(%)", 30, 1)); MyActivator.AddGroupLabel("Heal settings:"); MyActivator.Add("spells.Heal.Hp", new Slider("Use Heal when HP is lower than {0}(%)", 30, 1)); MyActivator.AddGroupLabel("Ignite settings:"); MyActivator.Add("spells.Ignite.Focus", new Slider("Use Ignite when target HP is lower than {0}(%)", 10, 1)); }