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 .
×

Customer Power Cards DDN

I'm new to D20. I have the macros figured out. However, I am still confused on DDN Custom Power Cards. I am not getting any output at all when inputting a string such as !power --ddn| --emote|Yarjet prepares... --name|Breath attack --leftsub|Acid --rightsub|Line Attack --Range|30 FT --Damage|[[1d20]] --dmgtype|acid
1418241945
The Aaron
Roll20 Production Team
API Scripter
This requires using the API, a Mentor Level feature. You then install Honey Badger's Powercards script.
Thank you!!!!!!
1418244550
The Aaron
Roll20 Production Team
API Scripter
No Problem! I'm here to help! =D
Another question: Having trouble using @{target|target_attribute|flag}. I am using this--Intiative|[[1d20+@{Yarjet Balathaar|initiative}]] vs @{target|AC} and the error thrown is: No attribute was found for targeted token by the name of AC. Clarification?
first you need to set the target @{target|token_name}, or I put the THAC0, HP, & AC into the bars, so I can use it for mooks that don't have character sheets. here is my attack macro: /em @{selected|token_name} attacks @{target|token_name} hits AC: [[@{selected|bar3} - (1d20 + ?{Total Adjustments|0})]] /w GM @{target|token_name}'s AC: @{target|bar2} here is a specific macro for an archer character: /em @{selected|token_name} draws and fires at @{target|token_name} (AC:@{target|bar2}) /em Hits AC: [[@{selected|bar3} - (1d20 +4)]] /em Damage [[1d6]] if a hit once you designate a target, it will use that throughout the macro.
Thank you! To be honest now my cards arent even working. LOL. Need to sleep on it.
1418284348
Gen Kitty
Forum Champion
I would be startled if API worked for you, as your name isn't showing a Mentor badge and you need a Mentor level subscription to use API scripts.
Well, as long as I'm in a game made by a mentor, I can make cards. xD Which I am.
1418397099
Gen Kitty
Forum Champion
When working with powercards, it is best to start small and work up in complexity. This is a good test macro to see if the script is even working: !power --Name|Test For stuff where you're pulling attributes, better to use something like this: !power --Name|@{selected|Attack}'s Awesome Attack --Attack|[[1d20+@{selected|Attack}]] vs [[@{target|Foe|AC}]] @{target|Foe|token_name}'s AC This cuts down spelling errors, and I've noticed macros can get a little twitchy about what's being referenced. I never have issues with macros that work off a @{selected|whatever}. (I put the vs in its own [[]] to help set it off and bring the eye to it, but that's just a style and formatting choice.)