Reply
 
Thread Tools Display Modes
Old 05-03-10, 08:44 PM   #1
pauen
A Theradrim Guardian
 
pauen's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2009
Posts: 68
How to make a macro in WoW that casts random spells?

I want to have a macro that does something like
/cast.random Crusader strike
/cast.random judgement of light
/cast.random hammer of justice
something like that so it will cast any of those spells randomly, not in order
__________________
54/17/0
PvP Male Orc Arms Warrior

---------------------
Glyph of Mortal Strike
Glyph of Execution
Glyph of Rending

---------------------
Glyph of Charge
Glyph of Battle
Glyph of Bloodrage
pauen is offline   Reply With Quote
Old 05-03-10, 08:56 PM   #2
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 9,525
http://www.wowwiki.com/Making_a_macr...ells_and_items
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

Seerah is offline   Reply With Quote
Old 05-03-10, 09:11 PM   #3
pauen
A Theradrim Guardian
 
pauen's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2009
Posts: 68
thanks again
__________________
54/17/0
PvP Male Orc Arms Warrior

---------------------
Glyph of Mortal Strike
Glyph of Execution
Glyph of Rending

---------------------
Glyph of Charge
Glyph of Battle
Glyph of Bloodrage
pauen is offline   Reply With Quote
Old 05-12-10, 01:19 PM   #4
Faraque
A Theradrim Guardian
 
Faraque's Avatar
AddOn Compiler - Click to view compilations
Join Date: Nov 2005
Posts: 68
I thought they "fixed" /castrandom so it acted like /castsequence?
__________________
"imo Fara raged and gave Joker his scars" - Blueninja of Shadowmoon
Faraque is offline   Reply With Quote
Old 05-12-10, 01:24 PM   #5
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 714
Originally Posted by Faraque View Post
I thought they "fixed" /castrandom so it acted like /castsequence?
No.

BTW, /userandom is one byte shorter then /castrandom.
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
nightcracker is offline   Reply With Quote
Old 05-12-10, 01:25 PM   #6
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,025
Originally Posted by Faraque View Post
I thought they "fixed" /castrandom so it acted like /castsequence?
nah, castsequence will cast them in the order listed assuming cooldowns are finished each time you click the button.

castrandom will choose one of the items on the list at random and try and cast it.

For example. This is my mage's polymorph macro. I have had to add repeats of the spells to help randomise them more.
Code:
/castrandom [button:2, target=focus] Polymorph(Rank 4), Polymorph(Turtle),Polymorph(Pig),Polymorph(Rank 4),Polymorph(Turtle),Polymorph(Pig),Polymorph(Rank 4), Polymorph(Turtle),Polymorph(Pig)
/focus [nobutton:2]
__________________
Xrystal is offline   Reply With Quote
Old 05-12-10, 01:50 PM   #7
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 9,525
The "fix" that Faraque is probably thinking of is that a /castrandom macro will get "stuck" on a spell if it fails to cast (cooldown, etc.) until it is cast successfully.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

Seerah is offline   Reply With Quote
Reply

Go BackWoWInterface » AddOns, Compilations, Macros » Macro Help » How to make a macro in WoW that casts random spells?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off