コード例 #1
0
ファイル: Yasuo.cs プロジェクト: Burbb/Portaio
        void OnLoad(EventArgs args)
        {
            Yasuo = ObjectManager.Player;

            if (Yasuo.CharData.BaseSkinName != "Yasuo")
            {
                return;
            }
            Chat.Print("<font color='#1d87f2'>YasuoPro by Seph Loaded. Good Luck!</font>");
            Chat.Print("<font color='#1d87f2'>::::New E Mode - To try ---> Combo --> EMode --> Beta</font>");
            InitItems();
            InitSpells();
            YasuoMenu.Init(this);
            if (GetBool("Misc.Walljump", YasuoMenu.MiscM) && Game.MapId == GameMapId.SummonersRift)
            {
                WallJump.Initialize();
            }
            Valvrave_Sharp.Program.MainA();
            Game.OnUpdate  += OnUpdate;
            Drawing.OnDraw += OnDraw;
            AntiGapcloser.OnEnemyGapcloser     += OnGapClose;
            Interrupter2.OnInterruptableTarget += OnInterruptable;
            Spellbook.OnCastSpell += (sender, eventArgs) =>
            {
                if (sender.Owner.IsMe && eventArgs.Slot == SpellSlot.E)
                {
                    ETarget = (Obj_AI_Base)eventArgs.Target;
                }
            };
        }
コード例 #2
0
ファイル: Yasuo.cs プロジェクト: wade1990/PortAIO
        public void OnLoad()
        {
            Yasuo = ObjectManager.Player;

            if (Yasuo.CharData.BaseSkinName != "Yasuo")
            {
                return;
            }

            Chat.Print("<font color='#1d87f2'>YasuoPro by Seph Loaded. Good Luck!</font>");
            Chat.Print("<font color='#1d87f2'>::::Any Issues/Recommendations - Post On Topic</font>");
            InitItems();
            InitSpells();
            YasuoMenu.Init(this);
            Orbwalker.RegisterCustomMode("YasuoPro.FleeMode", "Flee", YasuoMenu.KeyCode("Z"));
            Program.Init();
            if (GetBool("Misc.Walljump") && Game.MapId == GameMapId.SummonersRift)
            {
                WallJump.Initialize();
            }
            shop            = ObjectManager.Get <Obj_Shop>().FirstOrDefault(x => x.IsAlly);
            Game.OnUpdate  += OnUpdate;
            Drawing.OnDraw += OnDraw;
            AntiGapcloser.OnEnemyGapcloser     += OnGapClose;
            Interrupter2.OnInterruptableTarget += OnInterruptable;
            Obj_AI_Base.OnSpellCast            += TargettedDanger.SpellCast;
            CustomEvents.Unit.OnDash           += UnitOnOnDash;
        }
コード例 #3
0
ファイル: Yasuo.cs プロジェクト: sadnecc/CHportcn
        void OnLoad(EventArgs args)
        {
            Yasuo = ObjectManager.Player;

            if (Yasuo.CharData.BaseSkinName != "Yasuo")
            {
                return;
            }

            InitItems();
            InitSpells();
            YasuoMenu.Init(this);
            if (GetBool("Misc.Walljump", YasuoMenu.MiscM) && Game.MapId == GameMapId.SummonersRift)
            {
                WallJump.Initialize();
            }
            Valvrave_Sharp.Program.MainA();
            Game.OnUpdate  += OnUpdate;
            Drawing.OnDraw += OnDraw;
            AntiGapcloser.OnEnemyGapcloser     += OnGapClose;
            Interrupter2.OnInterruptableTarget += OnInterruptable;
            Spellbook.OnCastSpell += (sender, eventArgs) =>
            {
                if (sender.Owner.IsMe && eventArgs.Slot == SpellSlot.E)
                {
                    ETarget = (Obj_AI_Base)eventArgs.Target;
                }
            };
        }
コード例 #4
0
ファイル: Yasuo.cs プロジェクト: chienhao10/PortAIO
        private void OnLoad(EventArgs args)
        {
            Yasuo = ObjectManager.Player;

            if (Yasuo.CharData.BaseSkinName != "Yasuo")
            {
                return;
            }

            InitItems();
            InitSpells();
            YasuoMenu.Init(this);
            //Program.Init();
            if (YasuoMenu.getCheckBoxItem(YasuoMenu.MiscA, "Misc.Walljump") && Game.MapId == GameMapId.SummonersRift)
            {
                WallJump.Initialize();
            }
            Game.OnUpdate  += OnUpdate;
            Drawing.OnDraw += OnDraw;
            AntiGapcloser.OnEnemyGapcloser     += OnGapClose;
            Interrupter2.OnInterruptableTarget += OnInterruptable;
            //Obj_AI_Base.OnProcessSpellCast += TargettedDanger.SpellCast;
        }
コード例 #5
0
ファイル: Yasuo.cs プロジェクト: geramz/PortAIO
        void OnLoad(EventArgs args)
        {
            Yasuo = ObjectManager.Player;

            if (Yasuo.CharData.BaseSkinName != "Yasuo")
            {
                return;
            }
            Chat.Print("<font color='#1d87f2'>YasuoPro by Seph Loaded. Good Luck!</font>");
            Chat.Print("<font color='#1d87f2'>::::New E Mode - To try ---> Combo --> EMode --> Beta</font>");
            InitItems();
            InitSpells();
            YasuoMenu.Init(this);
            if (GetBool("Misc.Walljump", YasuoMenu.MiscM) && Game.MapId == GameMapId.SummonersRift)
            {
                WallJump.Initialize();
            }
            Valvrave_Sharp.Program.MainA();
            Game.OnUpdate  += OnUpdate;
            Drawing.OnDraw += OnDraw;
            AntiGapcloser.OnEnemyGapcloser     += OnGapClose;
            Interrupter2.OnInterruptableTarget += OnInterruptable;
            CustomEvents.Unit.OnDash           += UnitOnOnDash;
        }