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