WoW:MACRO castrandom: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Creation)
 
m (Move page script moved page MACRO castrandom to MACRO castrandom without leaving a redirect)
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Accuracy|Removed in {{Legion-inline}} Legion?}}
{{macroapi}} __NOTOC__
{{macroapi}} __NOTOC__


Cast a random spell from the list
Cast a random spell from the list
  /castrandom spelllist
  /castrandom spell or item list.


== Aliases ==
== Aliases ==
:none
:castrandom
 
:userandom


== Arguments ==
== Arguments ==
:;spelllist : List of spells, separated by comma
:;spell or item list : List of spells and/or items, separated by commas. You can mix items and spells if you so desire. You can also use ''bagID slotNum''. In other words, anything you can do with [[MACRO cast|cast]] you can do with '''castrandom'''.


== Examples ==
/castrandom Crusader strike,judgment,Divine Storm
/castrandom Hearthstone,Astral Recall,Scroll of Recall


== Example ==
== Notes ==
/castrandom Polymorph,Polymorph(Turtle),Polymorph(Serpent),Polymorph(Black Cat)
* Since 3.2, /castrandom selects one spell from the list on first use and tries to cast it until it is successfully cast. It cannot be used anymore to create "use first ready spell" macros.

Latest revision as of 04:48, 15 August 2023

Slash commands


Cast a random spell from the list

/castrandom spell or item list.

Aliases[edit]

castrandom
userandom

Arguments[edit]

spell or item list
List of spells and/or items, separated by commas. You can mix items and spells if you so desire. You can also use bagID slotNum. In other words, anything you can do with cast you can do with castrandom.

Examples[edit]

/castrandom Crusader strike,judgment,Divine Storm
/castrandom Hearthstone,Astral Recall,Scroll of Recall

Notes[edit]

  • Since 3.2, /castrandom selects one spell from the list on first use and tries to cast it until it is successfully cast. It cannot be used anymore to create "use first ready spell" macros.