WoW:API SetRaidDifficulty: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Created page with '{{wowapi}} __NOTOC__ SetRaidDifficulty(difficulty) ==Arguments== "Difficulty" may be any one of the following arguments: 1, 2, 3 or 4 Difficulty: 1 10 players normal 2 25...')
 
(→‎Arguments: ids for dungeon difficulty)
Line 8: Line 8:


Difficulty:
Difficulty:
  1 10 players normal
 
  2 25 players normal
  as of patch 6.1
  3 10 players heroic
 
  4 25 players heroic
3 10 players normal
  4 25 players normal
  5 10 players heroic
  6 25 players heroic


==Notes==
==Notes==

Revision as of 21:09, 20 April 2015

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