WoWInterface SVN AbilitySayings

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /AbilitySayings
    from Rev 23 to Rev 24
    Reverse comparison

Rev 23 → Rev 24

Shaman/AstrallRecall.lua New file
0,0 → 1,18
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