WoW:API UnitHasLFGRandomCooldown: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Created page with '{{wowapi}} Returns whether the unit is currently under the effects of the random dungeon cooldown. hasRandomCooldown = UnitHasLFGRandomCooldown("unit"); == Arguments == ; unit …')
 
m (Move page script moved page API UnitHasLFGRandomCooldown to API UnitHasLFGRandomCooldown without leaving a redirect)
 
(No difference)

Latest revision as of 04:47, 15 August 2023

WoW API < UnitHasLFGRandomCooldown

Returns whether the unit is currently under the effects of the random dungeon cooldown.

hasRandomCooldown = UnitHasLFGRandomCooldown("unit");

Arguments

unit
String (UnitId) - unit you wish to query, e.g. "player".

Returns

hasRandomCooldown
Boolean - true if the unit is currently unable to queue for random dungeons due to the random cooldown, false otherwise.

Notes

  • Players may also be prevented from using the dungeon finder entirely, as part of the dungeon finder deserter effect. Use UnitHasLFGDeserter("unit") to query that.

History