Example #1
0
        public FlashUlt(ChoGath choGath)
        {
            this.choGath = choGath;
            flash = FlashSpell.Flash(choGath.Player);

            Game.OnUpdate += Game_OnUpdate;
        }
Example #2
0
        public static FlashStruct Flash(AIHeroClient Player)
        {
            FlashStruct flash = new FlashStruct();

            flash.Slot    = ObjectManager.Player.GetSpellSlot("SummonerFlash");
            flash.IsReady = ((flash.Slot != SpellSlot.Unknown) &&
                             (Player.Spellbook.CanUseSpell(flash.Slot) == SpellState.Ready));

            return(flash);
        }
Example #3
0
        public static FlashStruct Flash(Obj_AI_Hero Player)
        {
            FlashStruct flash = new FlashStruct();

            flash.Slot = ObjectManager.Player.GetSpellSlot("SummonerFlash");
            flash.IsReady = ((flash.Slot != SpellSlot.Unknown)
                             && (Player.Spellbook.CanUseSpell(flash.Slot) == SpellState.Ready));

            return flash;
        }