WoW API: SetRaidDifficulty

From AddOn Studio
Revision as of 04:47, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API SetRaidDifficulty to API SetRaidDifficulty without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < SetRaidDifficulty

SetRaidDifficulty(difficulty) 

Arguments

"Difficulty" may be any one of the following arguments: 1, 2, 3 or 4


Difficulty:

as of patch 6.1
3 10 players normal
4 25 players normal
5 10 players heroic
6 25 players heroic

Notes

When the change occurs a message will be shown in your default chat.
When you use this function the saved instances will no more be reset.

Example

Code

/script SetRaidDifficulty(1);
/script SetRaidDifficulty(2);
/script SetRaidDifficulty(3);
/script SetRaidDifficulty(4);

Result

"Raid difficulty set to 10 player" "Raid difficulty set to 25 player" "Raid difficulty set to 10 player (Heroic)" "Raid difficulty set to 25 player (Heroic)" will be shown in your default chat.

3.2.0: This is a new function added to be separated from API_SetDungeonDifficulty for the new split between normal/heroic and 10/25 3.2.0 : The difficulty can be seen by the GetRaidDifficulty()