Hi, I have basic question.
I want to print some return values of a function onto chat window by wow macro.
the function is UnitDebuff(). In wow-programming, Unitdebuff is defined by....
---------------------------------------------------------------------------------------------------------------
name, rank, icon, count, dispelType, duration, expires, caster, isStealable, shouldConsolidate, spellID, canApplyAura, isBossDebuff, value1, value2, value3
= UnitDebuff("unit", index [, "filter"]) or UnitDebuff("unit", "name" [, "rank" [, "filter"]])
---------------------------------------------------------------------------------------------------------------
What I want to do is printing value1, value2, value3 of UnitDebuff("target","corruption") (corruption is just example)
But, I've never study wow api, so I have no idea how to pick value1,value2,value3 from UnitDebuff(). There are so many return values.
Please help me.
Let me know the macro phrase.