internal static void OnHotKey(ref object state) { ushort id = (ushort)state; Spell s = Spell.Get(id); if (s != null) { s.OnCast(new CastSpellFromMacro(id)); } }
public static void OnHotKey(ref object state) { ushort id = (ushort)state; Spell s = Spell.Get(id); if (s != null) { s.Cast(s.GetID()); } }
public static void OnHotKey(ref object state) { ushort id = (ushort)state; Spell s = Spell.Get(id); if (s != null) { s.OnCast(new CastSpellFromMacro(id)); //if ( Macros.MacroManager.AcceptActions ) // Macros.MacroManager.Action( new Macros.MacroCastSpellAction( s ) ); } }