Lore archive · Warcraft Wiki, 2023 dump
MACRO castrandom
Last wiki revision 2020-02-29
Casts one random spell or uses one random item from the list. The character will attempt to perform the chosen action until it is successful. /castrandom [options] Spell, Item, Spell
This command accepts a comma-separated list of actions to perform, as understood by /cast:
- spell name : Name of the spell to cast
- item name : The name of the item to be used.
- BagID slot : The bag the item is in (0 is backpack, etc...), and the slot number containing the item, starting at 1; e.g. "0 1" would use the first item in your backpack.
- invSlotID : The slot on your character in which to use an item.
An action will be chosen from the comma-separated list uniformly at random. Until the chosen action is successful, repeated invocations of with the same arguments will attempt to perform the previously-chosen action again. Once it succeeds, the next invocation will choose a new action to perform uniformly at random.
/castrandom Polymorph,Polymorph(Turtle),Polymorph(Serpent),Polymorph(Black Cat) /castrandom Hearthstone,Astral Recall,Scroll of Recall
Source
https://warcraft.wiki.gg/wiki/MACRO_castrandom · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.