public static void Game_OnGameLoad(EventArgs args) { if (ObjectManager.Player.BaseSkinName != "Kalista") { return; } Console.WriteLine("Enjekte Edildi."); Notifications.AddNotification("jQuery 'ElKalista'", 5000); spells[Spells.Q].SetSkillshot(0.25f, 30f, 1700f, true, SkillshotType.SkillshotLine); ElKalistaMenu.Initialize(); Game.OnUpdate += OnGameUpdate; Drawing.OnDraw += Drawings.Drawing_OnDraw; }
public static void Game_OnGameLoad() { if (ObjectManager.Player.ChampionName != "Kalista") { return; } Console.WriteLine("Injected"); Notifications.AddNotification(String.Format("ElKalista by jQuery v{0}", ScriptVersion), 10000); spells[Spells.Q].SetSkillshot(0.25f, 40f, 1700f, true, SkillshotType.SkillshotLine); ElKalistaMenu.Initialize(); Game.OnUpdate += OnGameUpdate; Drawing.OnDraw += Drawings.Drawing_OnDraw; Spellbook.OnCastSpell += OnCastSpell; Orbwalking.OnNonKillableMinion += Orbwalking_OnNonKillableMinion; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; }