Beispiel #1
0
        public void OnLoad()
        {
            Variables.Hero = ObjectManager.LocalHero;
            this.pause     = Variables.Hero.ClassID != ClassID.CDOTA_Unit_Hero_Invoker;
            if (this.pause)
            {
                return;
            }
            Variables.MenuManager = new MenuManager(Me.Name);
            this.coldSnap         = new ColdSnap();
            this.alacrity         = new Alacrity();
            this.chaosMeteor      = new ChaosMeteor();
            this.deafeningBlast   = new DeafeningBlast();
            this.forgeSpirit      = new ForgeSpirit();
            this.ghostWalk        = new GhostWalk();
            this.iceWall          = new IceWall();
            this.sunStrike        = new SunStrike();
            this.tornado          = new Tornado();
            this.emp         = new EMP();
            Variables.Quas   = Me.Spellbook.SpellQ;
            Variables.Wex    = Me.Spellbook.SpellW;
            Variables.Exort  = Me.Spellbook.SpellE;
            Variables.Invoke = Me.Spellbook.SpellR;

            Variables.MenuManager.Menu.AddToMainMenu();
            Variables.EnemyTeam = Me.GetEnemyTeam();
            this.targetFind     = new TargetFind();
            Game.PrintMessage(
                "Invoker" + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version + " loaded",
                MessageType.LogMessage);
        }
        // Token: 0x060005E7 RID: 1511 RVA: 0x00020C40 File Offset: 0x0001EE40
        public ForgedSpirit(Unit baseUnit) : base(baseUnit)
        {
            ForgeSpirit forgeSpirit = (ForgeSpirit)EntityManager9.Abilities.FirstOrDefault((Ability9 x) => x.Id == AbilityId.invoker_forge_spirit);

            if (forgeSpirit == null)
            {
                return;
            }
            this.BaseAttackRange = forgeSpirit.ForgeSpiritAttackRange;
        }
Beispiel #3
0
        public EulsSSMeteorBlast(Hero me, Key key)
            : base(me, key)
        {
            this._euls           = new Euls(me, () => 0);
            this._sunstrike      = new Sunstrike(me, this.SunstrikeDelay);
            this._meteor         = new Meteor(me, this.MeteorDelay);
            this._deafeningBlast = new DeafeningBlast(me, this.BlastDelay);
            this._coldSnap       = new ColdSnap(me);
            this._forgeSpirit    = new ForgeSpirit(me);

            this.AbilitySequence = new List <ISequenceEntry>
            {
                new AwaitBlinkOrMove(me, () => this.EngageRange),
                this._euls,
                new AwaitModifier("modifier_eul_cyclone", 250),
                this._sunstrike,
                this._meteor,
                this._deafeningBlast,
                this._coldSnap,
                this._forgeSpirit
            };
        }