Пример #1
0
 public static void Cast(this SSpell summoner, Obj_AI_Hero target)
 {
     ObjectManager.Player.Spellbook.CastSpell(summoner.SSpellSlot, target);
 }
Пример #2
0
 public static void Cast(this SSpell summoner)
 {
     ObjectManager.Player.Spellbook.CastSpell(summoner.SSpellSlot);
 }
Пример #3
0
 public static bool IsReady(this SSpell summoner)
 {
     return(summoner.SSpellSlot != SpellSlot.Unknown &&
            ObjectManager.Player.Spellbook.GetSpell(summoner.SSpellSlot).IsReady());
 }
Пример #4
0
 public static bool Exists(this SSpell summoner)
 {
     return(summoner.SSpellSlot != SpellSlot.Unknown);
 }
Пример #5
0
 public static void Cast(this SSpell summoner, Vector3 position)
 {
     ObjectManager.Player.Spellbook.CastSpell(summoner.SSpellSlot, position);
 }