示例#1
0
 /// <summary>
 /// Note: does NOT check the menu options
 /// </summary>
 /// <param name="target"></param>
 public static void UseIgnite(Obj_AI_Hero target)
 {
     if (_ignite == null || _ignite.GetState() != SpellState.Ready)
     {
         return;
     }
     _igniteSpell.Cast(target);
     LastIgniteTarget = target;
     LastIgniteTime   = Game.Time;
 }
示例#2
0
 /// <summary>
 /// Note: does NOT check the menu options
 /// </summary>
 /// <param name="target"></param>
 public static void UseIgnite(Obj_AI_Hero target)
 {
     //Console.WriteLine("usiong ingote");
     if (_ignite == null || _ignite.GetState() != SpellState.Ready)
     {
         return;
     }
     _igniteSpell.Cast(target);
     LastIgniteTarget = target;
     LastIgniteTime   = Game.Time;
 }