public static void OnLoad() { if (EloBuddy.ObjectManager.Player.CharData.BaseSkinName != "Ekko") { return; } ignite = Player.GetSpellSlot("summonerdot"); spells[Spells.Q].SetSkillshot(0.25f, 60, 1650f, false, SkillshotType.SkillshotLine); spells[Spells.W].SetSkillshot(2.5f, 200f, float.MaxValue, false, SkillshotType.SkillshotCircle); ElEkkoMenu.Initialize(); EloBuddy.Game.OnUpdate += OnUpdate; EloBuddy.Drawing.OnDraw += Drawings.OnDraw; EloBuddy.Obj_AI_Base.OnProcessSpellCast += Obj_AI_Hero_OnProcessSpellCast; EloBuddy.GameObject.OnCreate += Obj_AI_Base_OnCreate; EloBuddy.GameObject.OnDelete += Obj_AI_Base_OnDelete; }
public static void OnLoad(EventArgs args) { if (ObjectManager.Player.CharData.BaseSkinName != "Ekko") { return; } Notifications.AddNotification("ElEkko by jQuery 1.0.0.1", 10000); ignite = Player.GetSpellSlot("summonerdot"); spells[Spells.Q].SetSkillshot(0.25f, 60, 1650f, false, SkillshotType.SkillshotLine); spells[Spells.W].SetSkillshot(2.5f, 200f, float.MaxValue, false, SkillshotType.SkillshotCircle); ElEkkoMenu.Initialize(); Game.OnUpdate += OnUpdate; Drawing.OnDraw += Drawings.OnDraw; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Hero_OnProcessSpellCast; GameObject.OnCreate += Obj_AI_Base_OnCreate; GameObject.OnDelete += Obj_AI_Base_OnDelete; }