WoW API: UnitHasLFGRandomCooldown
← WoW API < UnitHasLFGRandomCooldown
Returns whether the unit is currently under the effects of the random dungeon cooldown.
hasRandomCooldown = UnitHasLFGRandomCooldown("unit");
ArgumentsEdit
- unit
- String (UnitId) - unit you wish to query, e.g. "player".
ReturnsEdit
- hasRandomCooldown
- Boolean - true if the unit is currently unable to queue for random dungeons due to the random cooldown, false otherwise.
NotesEdit
- 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.
HistoryEdit
- Added in Patch 3.3.3