Exemple #1
0
        public static void LoadStuff()
        {
            if (ObjectManager.Player.ChampionName != champName)
            {
                return;
            }

            MySpellInfo.Initialize();
            spellInfo = MySpellInfo.SpellTable;

            //Spells
            theQ = new Spell(SpellSlot.Q, spellInfo["qRange"]);
            theW = new Spell(SpellSlot.W, spellInfo["wRange"], DamageType.Magical);
            theE = new Spell(SpellSlot.E, spellInfo["eRange"], DamageType.Magical);
            theR = new Spell(SpellSlot.R, spellInfo["rRange"], DamageType.Magical);

            //Do we have ignite? I mean, you, not "we" ayy lmao
            ignite = ObjectManager.Player.GetSpellSlot("summonerdot");

            //Teh menu
            TaricMenuLoad();

            //Events
            Game.OnUpdate  += TaricUpdate;
            Drawing.OnDraw += TaricDraw;
        }
Exemple #2
0
        /*static SpellData SpellInfo(string name)
         * {
         * return SpellData.GetSpellData(name);
         * }
         */

        public static void LoadStuff()
        {
            if (ObjectManager.Player.ChampionName != champName)
            {
                return;
            }

            MySpellInfo.Initialize();
            spellInfo = MySpellInfo.SpellTable;
            //LConsole.Show();

            //#NeverForgetPrintchat
            Notifications.AddNotification("Pippy Taric Loaded!", 10).SetTextColor(pippyTaricColor);

            //Spells
            theQ = new Spell(SpellSlot.Q, spellInfo["qRange"]);
            theW = new Spell(SpellSlot.W, spellInfo["wRange"], TargetSelector.DamageType.Magical);
            theE = new Spell(SpellSlot.E, spellInfo["eRange"], TargetSelector.DamageType.Magical);
            theR = new Spell(SpellSlot.R, spellInfo["rRange"], TargetSelector.DamageType.Magical);

            //Spell type
            //theW.SetSkillshot(spellInfo["wDelay"], spellInfo["wRange"], float.PositiveInfinity, false, SkillshotType.SkillshotCircle);
            //theR.SetSkillshot(spellInfo["rDelay"], spellInfo["rRange"], float.PositiveInfinity, false, SkillshotType.SkillshotCircle);

            //Do we have ignite? I mean, you, not "we" ayy lmao
            ignite = ObjectManager.Player.GetSpellSlot("summonerdot");

            //Items
            tiamat_item = new Items.Item(3077, 400f);
            hydra_item  = new Items.Item(3074, 400f);
            youmuu_item = new Items.Item(3142);
            bc_item     = new Items.Item(3144, 550f);
            ruined_item = new Items.Item(31553, 550f);

            //Teh menu
            TaricMenuLoad();

            //Events
            Game.OnUpdate  += TaricUpdate;
            Drawing.OnDraw += TaricDraw;
            //AIHeroClient.OnPlayAnimation += TaricAnimation;
            //AIHeroClient.OnSpellCast += TaricProcessSpell;
            //Orbwalking.AfterAttack += TaricAfterAttack;
            //AIHeroClient.OnBuffGain += TaricBuffAdd;
            //Obj_AI_Base.OnBuffLose += TaricBuffRemove;
        }