WoW:MACRO castrandom: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (→‎Arguments: I mixed up bold and itallic.)
m (Move page script moved page MACRO castrandom to MACRO castrandom without leaving a redirect)
 
(3 intermediate revisions by 3 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
Line 13: Line 13:


== Examples ==
== Examples ==
  /castrandom Polymorph,Polymorph(Turtle),Polymorph(Serpent),Polymorph(Black Cat)
  /castrandom Crusader strike,judgment,Divine Storm
  /castrandom Hearthstone,Astral Recall,Scroll of Recall
  /castrandom Hearthstone,Astral Recall,Scroll of Recall


== Notes ==
== Notes ==
* 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.
* 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.