public static void OnLoad() { if (Player.ChampionName != "Rengar") { return; } try { Youmuu = new Items.Item(3142); Ignite = Player.GetSpellSlot("summonerdot"); spells[Spells.E].SetSkillshot(0.25f, 70f, 1500f, true, SkillshotType.SkillshotLine); MenuInit.Initialize(); Game.OnUpdate += OnUpdate; Drawing.OnDraw += OnDraw; CustomEvents.Unit.OnDash += OnDash; Drawing.OnEndScene += OnDrawEndScene; Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast; Orbwalker.OnPostAttack += AfterAttack; Orbwalker.OnPreAttack += BeforeAttack; Game.OnWndProc += OnClick; } catch (Exception e) { Console.WriteLine(e); } }
public static void OnLoad() { if (Player.ChampionName != "Rengar") { return; } try { Youmuu = new Items.Item(3142, 0f); Ignite = Player.GetSpellSlot("summonerdot"); Chat.Print( "[00:01] <font color='#CC0000'>HEEEEEEY!</font> Use ElUtilitySuite for optimal results! xo jQuery!!"); spells[Spells.E].SetSkillshot(0.25f, 70f, 1500f, true, SkillshotType.SkillshotLine); MenuInit.Initialize(); Game.OnUpdate += OnUpdate; Drawing.OnDraw += OnDraw; CustomEvents.Unit.OnDash += OnDash; Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast; Orbwalker.OnPostAttack += AfterAttack; Orbwalker.OnPreAttack += BeforeAttack; } catch (Exception e) { Console.WriteLine(e); } }
public static void OnLoad(EventArgs args) { try { if (!Player.IsChampion("Rengar")) { return; } Ignite = Player.GetSpellSlot("summonerdot"); Game.PrintChat( "[00:01] <font color='#CC0000'>HEEEEEEY!</font> Use ElUtilitySuite for optimal results! xo jQuery!!"); spells[Spells.E].SetSkillshot(0.25f, 70f, 1500f, true, SkillshotType.SkillshotLine); MenuInit.Initialize(); Game.OnUpdate += OnUpdate; Drawing.OnDraw += OnDraw; CustomEvents.Unit.OnDash += OnDash; Drawing.OnEndScene += OnDrawEndScene; Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast; Orbwalking.AfterAttack += AfterAttack; Orbwalking.BeforeAttack += BeforeAttack; } catch (Exception e) { Console.WriteLine(e); } }