Пример #1
0
        public static void MyVayneLoad()
        {
            Q = new Spell(SpellSlot.Q, 300);
            E = new Spell(SpellSlot.E, 550);
            E.SetTargetted(0.25f, 1200f);
            R = new Spell(SpellSlot.R, float.MaxValue);

            VayneMenu.LoadMenuVayne();
            //Orbwalker.OnAction += Orbwalker_OnAction;
            Game.OnUpdate             += Game_OnUpdate;
            AntiGapcloser.OnGapcloser += Gapcloser_OnGapcloser;

            Orbwalker.OnAfterAttack += Orbwalker_OnAfterAttack;

            Game.OnUpdate += Game_OnUpdate1;
        }
Пример #2
0
        private static void VayneOnLoad()
        {
            VayneMenu.Config =
                new Menu("hikiMarksman:AIO - Vayne", "hikiMarksman:AIO - Vayne", true).SetFontStyle(System.Drawing.FontStyle.Bold,
                                                                                                    SharpDX.Color.Gold);
            {
                VayneSpells.Init();
                VayneMenu.OrbwalkerInit();
                VayneMenu.MenuInit();
            }

            Chat.Print("<font color='#ff3232'>hikiMarksman:AIO - Lucian: </font><font color='#00FF00'>loaded! You can rekt everyone with this assembly</font>", ObjectManager.Player.ChampionName);
            Chat.Print(string.Format("<font color='#ff3232'>hikiMarksman:AIO - </font><font color='#00FF00'>Assembly Version: </font><font color='#ff3232'><b>{0}</b></font> ", typeof(Program).Assembly.GetName().Version));
            Chat.Print("<font color='#ff3232'>If you like this assembly feel free to upvote on Assembly Database</font>");

            Notifications.AddNotification("hikiMarksman:AIO", 4000);
            Notifications.AddNotification(String.Format("{0} Loaded", ObjectManager.Player.ChampionName), 5000);
            Notifications.AddNotification("Gift From Hikigaya", 6000);

            Game.OnUpdate            += VayneOnUpdate;
            AIHeroClient.OnSpellCast += VayneOnProcessSpellCast;
            Obj_AI_Base.OnSpellCast  += VayneOnSpellCast;
            Drawing.OnDraw           += VayneOnDraw;
        }