Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[Dnd 4e] Custom Powers

I'm not entirely sure how the powers macros work. I'm using the official 4e character builder and then manually importing all the stats. The only thing I'm having issues with is getting the powers to work. I tried the custom power creator program, and it gives me a macro code, but when I plug it into Roll20 I get a syntax error. An example of the code that has been generated is below. Any help on how to modify it to work(and an explanation of why it didn't) would be greatly appreciated. !power --name|Cleave --usage|AtWill --action|Standard --target|One creature --attack|[[1d20+Strength]] vs. AC --damage|[[ +Strength modifier]] --Hit|1[W] + Strength modifier damage, and an enemy adjacent to you other than the target takes damage equal to your Strength modifier.
[[1d20+Strength]] [[ +Strength modifier]] These are what is causing your error. Try substituting the text strings "Strength" and "Strength modifier" with relevant Attribute calls, which would be something like @{strength} and @{strength_modifier}. For more information, please see: Attributes Inline Dice Rolls PowerCards
1450634869
Lithl
Pro
Sheet Author
API Scripter
The !power macro creator program is based on a very outdated version of HB's Power Cards script, too. For example, the --usage and --action flags have been deprecated in favor of --leftsub and --rightsub. You will be better-served looking at the Power Cards documentation and constructing your macros yourself.
Thanks for the advice both of you. The reason I was using it is because I was having trouble finding a place to learn the macros. I'll use your advice.
Here's what your powercard macro should look like using the latest version of  PowerCards . You'll need to replace @{Strength_Mod} with whichever attribute you are actually using on the character sheet for the strength modifier. !power {{ --name|Cleave --leftsub|At-Will --rightsub|Standard Action --Target:|One Creature --Attack:|[[1d20 + @{Strength_Mod} [Str Mod] ]] vs AC --Hit:|[[1d8 + @{Strength_Mod} [Str Mod] ]] damage and an enemy adjacent to you other than the target takes [[@{Strength_Mod}]] damage }}