WoWInterface SVN AbilitySayings

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /AbilitySayings
    from Rev 25 to Rev 26
    Reverse comparison

Rev 25 → Rev 26

AbilitySayings/Shaman/AstrallRecall.lua
1,11 → 1,11
if ( select(2, UnitClass("player")) == "SHAMAN" ) then
local f = CreateFrame("Frame")
local spellName = GetSpellInfo(556) -- Death Grip
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_SENT" then
if event == "SPELL_CAST_SUCCESS" then
 
SendChatMessage("Who Needs A HearthStone When You Can Step Through the Twisting Nether", "YELL")
 
14,6 → 14,5
end
)
 
f:RegisterEvent("UNIT_SPELLCAST_SENT")
f:RegisterEvent("UNIT_SPELLCAST_SUCCEEDED")
f:RegisterEvent("SPELL_CAST_SUCCESS")
end