public static void OnLoad() { if (GlobalManager.GetHero.ChampionName != Champion.ChampName) { return; } Console.WriteLine(@"Loading Your Slutty Ryze"); Humanizer.AddAction("generalDelay", 35.0f); Champion.Q = new Spell(SpellSlot.Q, 865); Champion.Qn = new Spell(SpellSlot.Q, 865); Champion.W = new Spell(SpellSlot.W, 585); Champion.E = new Spell(SpellSlot.E, 585); Champion.R = new Spell(SpellSlot.R); Champion.Q.SetSkillshot(0.25f, 50f, 1700f, true, SkillshotType.SkillshotLine); Champion.Qn.SetSkillshot(0.25f, 50f, 1700f, false, SkillshotType.SkillshotLine); //assign menu from MenuManager to Config Console.WriteLine(@"Loading Your Slutty Menu..."); MenuManager.GetMenu(); Printmsg("Ryze Assembly Loaded! Make sure to test new combo!"); Printmsg1("Current Version: " + typeof(Program).Assembly.GetName().Version); Printmsg2("Don't Forget To " + "<font color='#00ff00'>[Upvote]</font> <font color='#FFFFFF'>" + "The Assembly In The Databse" + "</font>"); Game.OnUpdate += Game_OnUpdate; AntiGapcloser.OnEnemyGapcloser += Champion.OnGapClose; Interrupter2.OnInterruptableTarget += Champion.RyzeInterruptableSpell; Orbwalker.OnPreAttack += Champion.Orbwalking_BeforeAttack; ShowDisplayMessage(); }
private static void OnLoad(EventArgs args) { if (GlobalManager.GetHero.ChampionName != Champion.ChampName) { return; } Console.WriteLine(@"Loading Your Slutty Ryze"); Humanizer.AddAction("generalDelay", 35.0f); Champion.Q = new Spell(SpellSlot.Q, 865); Champion.Qn = new Spell(SpellSlot.Q, 865); Champion.W = new Spell(SpellSlot.W, 585); Champion.E = new Spell(SpellSlot.E, 585); Champion.R = new Spell(SpellSlot.R); Champion.Q.SetSkillshot(0.25f, 50f, 1700f, true, SkillshotType.SkillshotLine); Champion.Qn.SetSkillshot(0.25f, 50f, 1700f, false, SkillshotType.SkillshotLine); //assign menu from MenuManager to Config Console.WriteLine(@"Loading Your Slutty Menu..."); GlobalManager.Config = MenuManager.GetMenu(); GlobalManager.Config.AddToMainMenu(); Printmsg("Ryze Assembly Loaded! Make sure to test new combo! (IMPROVED BIG TIME! GIVE IT A TRY!"); Printmsg1("Current Version: " + typeof(Program).Assembly.GetName().Version); Printmsg2("Don't Forget To " + "<font color='#00ff00'>[Upvote]</font> <font color='#FFFFFF'>" + "The Assembly In The Databse" + "</font>"); //Other damge inficators in MenuManager ???? GlobalManager.DamageToUnit = Champion.GetComboDamage; Drawing.OnDraw += DrawManager.Drawing_OnDraw; Game.OnUpdate += Game_OnUpdate; AntiGapcloser.OnEnemyGapcloser += Champion.OnGapClose; Interrupter2.OnInterruptableTarget += Champion.RyzeInterruptableSpell; Orbwalking.BeforeAttack += Champion.Orbwalking_BeforeAttack; //CustomEvents.Unit.OnDash += Champion; ShowDisplayMessage(); }
private static void OnLoad(EventArgs args) { if (GlobalManager.GetHero.ChampionName != Champion.ChampName) { return; } Console.WriteLine(@"Loading Your Slutty Ryze"); Humanizer.AddAction("generalDelay", 35.0f); Champion.Q = new Spell(SpellSlot.Q, 865); Champion.Qn = new Spell(SpellSlot.Q, 865); Champion.W = new Spell(SpellSlot.W, 585); Champion.E = new Spell(SpellSlot.E, 585); Champion.R = new Spell(SpellSlot.R); Champion.Q.SetSkillshot(0.26f, 50f, 1700f, true, SkillshotType.SkillshotLine); Champion.Qn.SetSkillshot(0.26f, 50f, 1700f, false, SkillshotType.SkillshotLine); //assign menu from MenuManager to Config Console.WriteLine(@"Loading Your Slutty Menu..."); GlobalManager.Config = MenuManager.GetMenu(); GlobalManager.Config.AddToMainMenu(); //Other damge inficators in MenuManager ???? GlobalManager.DamageToUnit = Champion.GetComboDamage; Drawing.OnDraw += DrawManager.Drawing_OnDraw; Game.OnUpdate += Game_OnUpdate; #pragma warning disable 618 Interrupter.OnPossibleToInterrupt += Champion.RyzeInterruptableSpell; Spellbook.OnCastSpell += Champion.OnProcess; #pragma warning restore 618 Orbwalking.BeforeAttack += Champion.Orbwalking_BeforeAttack; //CustomEvents.Unit.OnDash += Champion; ShowDisplayMessage(); }