View Single Post
04-11-06, 06:18 PM   #43
Allanth
A Kobold Labourer
Join Date: Apr 2006
Posts: 1
Gello, I was looking at your EVENT for switching gear when the target has the GOUGE debuff and I followed everything you have written down. However, it does not seem to work. Currently i am using itemrack ver 1.94 and when I attempt to use the event i recieve string errors . Any suggestions?

EDIT:

Working version below from Gello!
name: Gouge
event: UNIT_AURA
delay: 0
script:
local f
for i=1,16 do
if UnitDebuff("target",i)=="Interface\\Icons\\Ability_Gouge" then f,i = 1,17 end
end
if f and not IR_GOUGED then
EquipSet() IR_GOUGED=1
elseif not f and IR_GOUGED then
LoadSet() IR_GOUGED=nil
end
Thanks again gello!

Last edited by Allanth : 04-12-06 at 09:17 PM.
  Reply With Quote