FANDOM


GetPlayerBuffLeftTime(idx)

Used to determine the amount of time remaining for a certain buff (= effect duration time left).

Parameters Edit

Arguments Edit

idx
number - The index can be retrieved by calling [[API:GetPlayerBuff]|GetPlayerBuff].

Returns Edit

number
number - Time left.

Example Edit

   DEFAULT_CHAT_FRAME:AddMessage( GetPlayerBuffLeftTime( GetPlayerBuff(0, "HELPFUL") )/60);

Notes Edit


Related Functions Edit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.