WoWInterface SVN AbilitySayings

Compare Revisions

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

Rev 30 → Rev 31

AbilitySayings/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("DeathGrip <<"..t..">>.",SAY)
SendChatMessage("DeathGrip <<"..UnitName('target')..">>.",SAY)
 
end
end
AbilitySayings/AbilitySayings/DeathKnight/Pesilence.lua
1,14 → 1,14
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)
SendChatMessage("Spreading My Diseases through <<"..UnitName('target')..">>.",SAY)
 
 
end
end
end