WoWInterface SVN AbilitySayings

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /AbilitySayings
    from Rev 29 to Rev 30
    Reverse comparison

Rev 29 → Rev 30

AbilitySayings/DeathKnight/DeathGrip.lua
1,13 → 1,13
if ( select(2, UnitClass("player")) == "DEATHKNIGHT" ) then
local f = CreateFrame("Frame")
local spellName = GetSpellInfo(49576) -- Death Grip
 
local t = UnitName("target")
f:SetScript("OnEvent",
function(self, event, arg1, arg2)
if arg1 == "player" and strfind(arg2, spellName) then
if event == "UNIT_SPELLCAST_SENT" then
 
SendChatMessage("Get over here!", "YELL")
SendChatMessage("DeathGrip <<"..t..">>.",SAY)
 
end
end
AbilitySayings/DeathKnight/Pesilence.lua New file
0,0 → 1,19
if ( select(2, UnitClass("player")) == "DEATHKNIGHT" ) then
local f = CreateFrame("Frame")
local spellName = GetSpellInfo(50842) -- Pestilence
local t = UnitName("target")
f:SetScript("OnEvent",
function(self, event, arg1, arg2)
if arg1 == "player" and strfind(arg2, spellName) then
if event == "UNIT_SPELLCAST_SENT" then
 
SendChatMessage("Spreading My Pluge Through <<"..t..">>.",SAY)
 
end
end
end
)
 
f:RegisterEvent("UNIT_SPELLCAST_SENT")
f:RegisterEvent("UNIT_SPELLCAST_SUCCEEDED")
end
AbilitySayings/AbilitySayings.toc
3,3 → 3,4
## Notes: Various class and ability sayings.
DeathKnight\DeathGrip.lua
OnLoad.xml
DeathKnight\Pesilence.lua
\ No newline at end of file