WoW:API UnitAura: Difference between revisions

expirationTime is always returned regardless of who cast the buff/debuff
m (wrap signature; remove Parameters header; unindent lists)
(expirationTime is always returned regardless of who cast the buff/debuff)
Line 17: Line 17:
;count : Number - The number of times the debuff has been applied to the target.  Returns 0 for any debuff which doesn't stack. ( Changed in 1.11 ).
;count : Number - The number of times the debuff has been applied to the target.  Returns 0 for any debuff which doesn't stack. ( Changed in 1.11 ).
;debuffType : String - The type of the debuff: Magic, Disease, Poison, Curse, or nothing for those with out a type.
;debuffType : String - The type of the debuff: Magic, Disease, Poison, Curse, or nothing for those with out a type.
; duration : Number - The full duration of the debuff in seconds; nil if the debuff was not cast by the player.
; duration : Number - The full duration of the debuff in seconds;
; expirationTime : Number - Time in seconds when the aura will expire.
; expirationTime : Number - The time in seconds (like what returns [[API GetTime|GetTime()]]) when the aura will expire.
; unitCaster : String - [[unitId]] reference to the unit that casted the buff/debuff.
; unitCaster : String - [[unitId]] reference to the unit that casted the buff/debuff.
; isStealable : Boolean - 1 or nil depending on if the aura can be spellstolen.
; isStealable : Boolean - 1 or nil depending on if the aura can be spellstolen.
Anonymous user