Esempio n. 1
0
        public static bool CastInite(this Obj_AI_Hero source, Obj_AI_Hero target)
        {
            var spell = source.GetIniteSpell();

            return(spell != null && spell.Slot != SpellSlot.Unknown &&
                   spell.State == SpellState.Ready && source.IsMe && source.Spellbook.CastSpell(spell.Slot, target));
        }
Esempio n. 2
0
        public static bool HasIgniteReady(this Obj_AI_Hero target)
        {
            var spell = target.GetIniteSpell();

            return(spell != null && spell.Slot != SpellSlot.Unknown && spell.State == SpellState.Ready);
        }