public static void OnLoad(EventArgs args) { if (Player.ChampionName != "Jayce") { return; } MenuConfig.OnLoad(); //ranged Q = new Spell(SpellSlot.Q, 1050); Qe = new Spell(SpellSlot.Q, 1470); W = new Spell(SpellSlot.W, int.MaxValue); E = new Spell(SpellSlot.E, 650); // melee Qm = new Spell(SpellSlot.Q, 600); Wm = new Spell(SpellSlot.W, int.MaxValue); Em = new Spell(SpellSlot.E, 240); R = new Spell(SpellSlot.R, int.MaxValue); Q.SetSkillshot(0f, 70f, 1200, true, SkillshotType.SkillshotLine); Qe.SetSkillshot(0f, 70f, 2350, true, SkillshotType.SkillshotLine); Qm.SetTargetted(0.25f, float.MaxValue); Em.SetTargetted(0.25f, float.MaxValue); Game.OnUpdate += OnUpdate; Spellbook.OnCastSpell += OnCastSpell; Drawing.OnDraw += OnDraw; Game.OnUpdate += GeneralOnUpdate; Obj_AI_Base.OnDoCast += OnDoCastRange; Obj_AI_Base.OnDoCast += OnDoCastMelee; Obj_AI_Base.OnDoCast += LaneClear; CustomEvents.Unit.OnDash += OnDash; // Obj_AI_Base.OnProcessSpellCast += OnProcessCast; AntiGapcloser.OnEnemyGapcloser += OnGapClose; Interrupter2.OnInterruptableTarget += OnInterrupt; // GameObject.OnCreate += OnCreate; }