コード例 #1
0
ファイル: ElEkko.cs プロジェクト: riwalry1/AIO
        public static void OnLoad()
        {
            if (EloBuddy.ObjectManager.Player.CharData.BaseSkinName != "Ekko")
            {
                return;
            }

            ignite = Player.GetSpellSlot("summonerdot");

            spells[Spells.Q].SetSkillshot(0.25f, 60, 1650f, false, SkillshotType.SkillshotLine);
            spells[Spells.W].SetSkillshot(2.5f, 200f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            ElEkkoMenu.Initialize();
            EloBuddy.Game.OnUpdate  += OnUpdate;
            EloBuddy.Drawing.OnDraw += Drawings.OnDraw;
            EloBuddy.Obj_AI_Base.OnProcessSpellCast += Obj_AI_Hero_OnProcessSpellCast;
            EloBuddy.GameObject.OnCreate            += Obj_AI_Base_OnCreate;
            EloBuddy.GameObject.OnDelete            += Obj_AI_Base_OnDelete;
        }
コード例 #2
0
        public static void OnLoad(EventArgs args)
        {
            if (ObjectManager.Player.CharData.BaseSkinName != "Ekko")
            {
                return;
            }

            Notifications.AddNotification("ElEkko by jQuery 1.0.0.1", 10000);
            ignite = Player.GetSpellSlot("summonerdot");

            spells[Spells.Q].SetSkillshot(0.25f, 60, 1650f, false, SkillshotType.SkillshotLine);
            spells[Spells.W].SetSkillshot(2.5f, 200f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            ElEkkoMenu.Initialize();
            Game.OnUpdate  += OnUpdate;
            Drawing.OnDraw += Drawings.OnDraw;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Hero_OnProcessSpellCast;
            GameObject.OnCreate            += Obj_AI_Base_OnCreate;
            GameObject.OnDelete            += Obj_AI_Base_OnDelete;
        }