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)); }
public static bool HasIgniteReady(this Obj_AI_Hero target) { var spell = target.GetIniteSpell(); return(spell != null && spell.Slot != SpellSlot.Unknown && spell.State == SpellState.Ready); }