Thread Tools Display Modes
Prev Previous Post   Next Post Next
03-23-11, 01:50 PM   #1
vivi168
A Murloc Raider
Join Date: Mar 2011
Posts: 5
stun addon help

hello, i'm trying to improve the already existing addon stunbar that normaly only support one spell :

name, rank, icon, count, dispelType, duration, expires, caster, isStealable, shouldConsolidate, spellID = UnitAura("target", "Cheap Shot", nil, "HARMFUL|TARGET")

i did this :

http://codeviewer.org/view/code:189c

but i'm having some problem with line 81

i think those are the bugs : when i cast cheap shot, the stunbar is executed twice or more, when there is already an harmful spell (not necessarily one of the five predefined stuns) on the target, the stunbar doesn't appear.

when it works, it works fine (but that's not very often)

can you help me with detecting the predefined stun spells that are running on the target ?

thanks
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » stun addon help


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