Thread Tools Display Modes
06-03-14, 06:04 AM   #1
Xully
A Cyclonian
Join Date: Jul 2010
Posts: 44
VEM addon and nazgrim msgs.

Hello, I use VEM addon (fork of DBM). its nice boss addon, but my problem with it is that during nazgrim defence stance, if I attack the boss it will spam the chat with msgs such as "My fingers slip" or "Sorry I hit the boss blah blah blah" something along these lines, I understand it was made for basic SoO raiding but our guild decides to attack the boss during defence stance, and my character will be spamming msgs, which is embarresing and annoying in the same time.

how can I remove that msg? thanks.
  Reply With Quote
06-03-14, 06:44 AM   #2
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
Open up VEM-SiegeOfOrgrimmar\GeneralNazgrim.lua, scroll to the bottom of the file and remove this part..
Lua Code:
  1. elseif (sourceGUID == UnitGUID("player")) and (destGUID == UnitGUID("boss1")) and self:AntiSpam(3, 1) then
  2.         if spellId == 148008 or spellId == 79136 then return end
  3.         local h = UnitHealth("boss1") / UnitHealthMax("boss1") * 100
  4.         if h > 40 then
  5.             if (not UnitDebuff("player", sunder)) and defensiveActive then
  6.                 saynum = saynum + 1
  7.                 if UnitGUID("target") == destGUID or UnitGUID("focus") == destGUID or UnitGUID("mouseover") == destGUID then
  8.                     if saynum == 1 then
  9.                         SendChatMessage(L.Handslipped1, "SAY")
  10.                     elseif saynum == 3 then
  11.                         SendChatMessage(L.Handslipped2, "SAY")
  12.                     elseif saynum == 7 then
  13.                         SendChatMessage(L.Handslipped3, "SAY")
  14.                     elseif saynum == 15 then
  15.                         SendChatMessage(L.Handslipped4, "SAY")
  16.                     end
  17.                 end
  18.             end
  19.         end
The function should look like this afterwards:
Lua Code:
  1. function mod:SPELL_DAMAGE(sourceGUID, _, _, _, destGUID, _, _, _, spellId)
  2.     if spellId == 143873 and destGUID == UnitGUID("player") and self:AntiSpam(3, 2) then
  3.         specWarnRavagerMove:Show()
  4.         sndWOP:Play("Interface\\AddOns\\"..VEM.Options.CountdownVoice.."\\runaway.mp3") --???
  5.     end
  6. end
  Reply With Quote
06-03-14, 07:28 AM   #3
Xully
A Cyclonian
Join Date: Jul 2010
Posts: 44
SEMLAR, I love you man...gona try it tonight and see how it works on LFR or flex to double check if i did it correctly
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » VEM addon and nazgrim msgs.


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off