public static void OnLoad(EventArgs args) { if (ObjectManager.Player.CharData.BaseSkinName != "Vi") { return; } Notifications.AddNotification("ElVi by jQuery v1.0.0.1", 5000); _ignite = Player.GetSpellSlot("summonerdot"); _flash = Player.GetSpellSlot("SummonerFlash"); Spells[ElVi.Spells.Q].SetSkillshot( Spells[ElVi.Spells.Q].Instance.SData.SpellCastTime, Spells[ElVi.Spells.Q].Instance.SData.LineWidth, Spells[ElVi.Spells.Q].Instance.SData.MissileSpeed, false, SkillshotType.SkillshotLine); Spells[ElVi.Spells.Q].SetCharged("ViQ", "ViQ", 100, 860, 1f); Spells[ElVi.Spells.E].SetSkillshot( Spells[ElVi.Spells.E].Instance.SData.SpellCastTime, Spells[ElVi.Spells.E].Instance.SData.LineWidth, Spells[ElVi.Spells.E].Instance.SData.MissileSpeed, false, SkillshotType.SkillshotLine); Spells[ElVi.Spells.R].SetTargetted(0.15f, 1500f); ElViMenu.Initialize(); Game.OnUpdate += OnUpdate; Drawing.OnDraw += Drawings.Drawing_OnDraw; Orbwalking.AfterAttack += OrbwalkingAfterAttack; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget; }
public static void OnLoad() { if (ObjectManager.Player.CharData.BaseSkinName != "Vi") { return; } ignite = Player.GetSpellSlot("summonerdot"); flash = Player.GetSpellSlot("SummonerFlash"); Spells[ElVi.Spells.Q].SetCharged(100, 860, 1f, 0.5f, int.MaxValue, 75); Spells[ElVi.Spells.E].SetSkillshot(0.15f, 150f, float.MaxValue, false, SkillshotType.SkillshotLine); Spells[ElVi.Spells.R].SetTargetted(0.15f, 1500f); ElViMenu.Initialize(); Game.OnUpdate += OnUpdate; Drawing.OnDraw += Drawings.Drawing_OnDraw; Orbwalker.OnPostAttack += OrbwalkingAfterAttack; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget; }