A very simple macro that will send spell critical chance, for a specific school, to chat window as “Say”
/run local crit=GetSpellCritChance(school); SendChatMessage(crit)
Where “school” is replaced by the number of desired school.
- 1 = Physical
- 2 = Holy
- 3 = Fire
- 4 = Nature
- 5 = Frost
- 6 = Shadow
- 7 = Arcane
If you prefer to have the information print to a user created channel:
Create a channel by typing into WoW chat window
/join [name]
*Replace [name] with whatever name you want
Basic Template:
/run local crit=GetSpellCritChance(#);
local print=GetChannelName(“Name”);
if (print ~= nil) then SendChatMessage(crit , “CHANNEL” , nil , print);
end
Just replace (#) with your desired magic school and (“Name”) with your user channel name.
Example Macro:
/run local crit=GetSpellCritChance(6);
local print=GetChannelName(“Stats”);
if (print ~= nil) then SendChatMessage(“SpellCrit” , “CHANNEL” , nil , print) SendChatMessage(crit , “CHANNEL” , nil , print);
end
Shadow spell crit printed to user created channel “Stats” with added chat line to name the data.