Example #1
0
 public static bool CastIngite(Obj_AI_Hero target)
 {
     var igniteSlot = target.GetIngiteSlot();
     if (igniteSlot != SpellSlot.Unknown && player.GetSpell(igniteSlot).State == SpellState.Ready)
         return player.Spellbook.CastSpell(igniteSlot, target);
     return false;
 }