Rage Macro?

Show off your RPG maps, campaigns, and tokens. Share your gaming experiences and stories under General Discussion and save this forum for things you've created that may help others run their own games. Use the subforums when appropriate.

Moderators: dorpond, trevor, Azhrei, Gamerdude

Post Reply
LastRose
Kobold
Posts: 10
Joined: Fri Apr 05, 2013 8:36 am

Rage Macro?

Post by LastRose »

[if (Rage=1), CODE:
Warning: Rage has been Activated! [h:StrMod=StrMod+2][h:HP=HP+(HD*2)][h:MaxHP=MaxHP+(HD*2)][h:Will=Will+2][h:Fort=Fort+2][h:AC=AC-2])]

I have never been good at if statements, was wondering what's wrong with this?

User avatar
aliasmask
RPTools Team
Posts: 9031
Joined: Tue Nov 10, 2009 6:11 pm
Location: California

Re: Rage Macro?

Post by aliasmask »

LastRose wrote:[if (Rage=1), CODE:
Warning: Rage has been Activated! [h:StrMod=StrMod+2][h:HP=HP+(HD*2)][h:MaxHP=MaxHP+(HD*2)][h:Will=Will+2][h:Fort=Fort+2][h:AC=AC-2])]

I have never been good at if statements, was wondering what's wrong with this?
Bad syntax:

Code: Select all

[if (Rage == 1), CODE: {
   Warning: Rage has been Activated! 
   [h:StrMod=StrMod+2][h:HP=HP+(HD*2)][h:MaxHP=MaxHP+(HD*2)][h:Will=Will+2][h:Fort=Fort+2][h:AC=AC-2]
};{}]

User avatar
wolph42
Winter Wolph
Posts: 9999
Joined: Fri Mar 20, 2009 5:40 am
Location: Netherlands
Contact:

Re: Rage Macro?

Post by wolph42 »

and passive sentences are ugly and to be avoided as much as possible:
Warning: Rage is activated!
or
Warning: Rage is now active!
or
Warning: some veins just popped in your eyes and salivated froth forms in the corners of your mouth. You also have the uncanny urge to roar and your mind is overwhelmed by a four letter word, but not the one Kim Wild uses...!

Post Reply

Return to “User Creations”