/// <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; }
/// <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; }