WoW:MACRO castrandom: Difference between revisions

m
Move page script moved page MACRO castrandom to WoW:MACRO castrandom without leaving a redirect
mNo edit summary
m (Move page script moved page MACRO castrandom to WoW:MACRO castrandom without leaving a redirect)
 
(5 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'''.
 


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


== Notes ==
== Notes ==
[[MACRO_userandom|userandom]] and [[MACRO_castrandom|castrandom]] can be used interchangeably. <sup>[http://wowcompares.com/3039183/FrameXML/ChatFrame.lua]</sup>
* 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.
Anonymous user