WoW:API SetRaidDifficulty: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(→‎Arguments: ids for dungeon difficulty)
m (Move page script moved page API SetRaidDifficulty to API SetRaidDifficulty without leaving a redirect)
 
(No difference)

Latest revision as of 04:47, 15 August 2023

WoW API < SetRaidDifficulty

SetRaidDifficulty(difficulty) 

Arguments[edit]

"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[edit]

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[edit]

Code[edit]

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

Result[edit]

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