| PvP Guides Warriors, and Druids, and Rogues, Oh my! Want to succeed in Battlegrounds? Understand Arenas better? If it involves pitting one player against another, you'll find it in here. |
![]() |
| Sponsored Links |
|
|
|
|
#30 (permalink) |
|
Character Info
Thrale 70 Undead Warlock Blackrock US PvP Profile: Blizzard Armory Talent Spec: 0/21/40 |
Re: Things a lock should be warned off in PvP.
Just a snippet from my Locknotes.lua. I had to add the first bolded bit because it would trigger when someone was stunlocking my pet. The second bolded bit onwards I added in for the kidney shot. if (arg2 == "SPELL_AURA_APPLIED") then if bit.band(arg8, COMBATLOG_OBJECT_AFFILIATION_MINE) > 0 and bit.band(arg8, COMBATLOG_OBJECT_TYPE_PLAYER) > 0 then if (arg10 == "Shadow Trance") or (arg10 == "Backlash") then ZoneTextString:SetText("Shadow Bolt!"); ZoneTextFrame.startTime = GetTime() ZoneTextFrame.fadeInTime = 0 ZoneTextFrame.holdTime = 1 ZoneTextFrame.fadeOutTime = 2 if (arg10 == "Shadow Trance") then ZoneTextString:SetTextColor(1, 0, 1); -- purple end if (arg10 == "Backlash") then ZoneTextString:SetTextColor(1, 0.5, 0); -- orange end PVPInfoTextString:SetText(""); ZoneTextFrame:Show() PlaySoundFile("Interface\\AddOns\\LockNotes\\Sound s\\ding.wav"); end if (arg10 == "Kidney Shot") or (arg10 == "Hammer of Justice") then ZoneTextString:SetText("TRINKET NOW"); ZoneTextFrame.startTime = GetTime() ZoneTextFrame.fadeInTime = 0 ZoneTextFrame.holdTime = 1 ZoneTextFrame.fadeOutTime = 2 if (arg10 == "Kidney Shot") then ZoneTextString:SetTextColor(1, 0, 0); -- red end if (arg10 == "Hammer of Justice") then ZoneTextString:SetTextColor(1, 0.5, 0); -- orange end PVPInfoTextString:SetText(""); ZoneTextFrame:Show() PlaySoundFile("Interface\\AddOns\\LockNotes\\Sound s\\SOUND38.WAV"); end end end |
|
|
|
![]() |
| Bookmarks |
| Tags |
| lock, PvP, things, warned |
| Guide Tools | |
|
|