WoW API: SetRaidDifficulty

WoW API < SetRaidDifficulty

SetRaidDifficulty(difficulty) 

ArgumentsEdit

"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

NotesEdit

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.

ExampleEdit

CodeEdit

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

ResultEdit

"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()