/AbilitySayings
if ( select(2, UnitClass("player")) == "SHAMAN" ) then |
local f = CreateFrame("Frame") |
local spellName = GetSpellInfo(556) -- Astral Recall |
f:SetScript("OnEvent", |
function(self, event, arg1, arg2) |
if arg1 == "player" and strfind(arg2, spellName) then |
if event == "UNIT_SPELLCAST_START" then |
SendChatMessage("Who Needs A HearthStone When You Can Step Through the Twisting Nether", "YELL") |
end |
end |
end |
) |
f:RegisterEvent("UNIT_SPELLCAST_START") |
end |