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

Is it possible to double the value of an attribute with a Critical Hit?

1696660865

Edited 1696742021
Is it possible to double the value of an attribute with a Critical Hit? Hello, I'm trying to create a macro to double the damage of critical hits from an attribute when the result is "6" on the dice roll. I'm using this provisional macro, with the critical calculated: &{template:default} {{name=NORMAL ATTACK}} {{Damage = [[1d6cs>6 + "ATTRIBUTE 1 + "ATTRIBUTE 2" + 3]]}} {{In case of Critical = [[ATTRIBUTE 1 *2 + ATTRIBUTE 2 + 3 + 6]]}} However, I also need the value of the rolled die to be added to the total damage. Example: "1st Attribute 3  +  2nd Attribute 2  +  1d6  =  5  +  1d6" In case of a critical hit, the value of the "1st Attribute" is doubled (or multiplied) and added to the value of the "2nd Attribute" and the result "6" on the die: "1st Attribute 6 + 2nd Attribute 2 + 6 = 14" If you could help me, I would be very grateful!
1696782743
GiGs
Pro
Sheet Author
API Scripter
Your macro is using placeholder language (e.g. ATTRIBUTE 2). It would be better to use an actual macro from your game. Roll20 does not allow conditional calculations (e.g., "if I roll a critical, double the attribute" is a conditional calculation), but there are sometimes ways to get around this limtation. Sometimes, not always. It might be best to show your attribute separately, so when its a critical you can easily add it. By all means though, post your complete macro and we'll see if it can be tweaked.
1696783959
Gauss
Forum Champion
To add to what GiGs wrote, are you using a specific character sheet? Some of them have built in critical hit options that could be used for this sort of thing. 
1696786621

Edited 1696786926
Let's go! The macro is taking the "Strength" attribute and adding it to the "Ability" attribute, plus the die value (1d6) for the total sum of damage. &{template:default} {{name=Normal Attack}} {{Damage= [[1d6cs>6+@{Strength}+@{Ability}]]}} {{Critical Hit=[[@{Strength}*2+@{Ability}+6]]}} In the macro above I left the sum of the normal amount and as I was unable to double the value of the "Strength" attribute, I left one with the value of "6" added to the "Strength" attribute already doubled. (I don't know if I'm expressing myself correctly ^_^")
1696788325
Gauss
Forum Champion
Hi Beyonder,  Which character sheet are you using (if any)? If you don't know could you supply a screenshot of the character sheet?
1696808950

Edited 1696809395
Gauss said: Hi Beyonder,  Which character sheet are you using (if any)? If you don't know could you supply a screenshot of the character sheet? Hi! ^_^y I'm using the 3D&T Alpha System Character Sheet. When we use this Character Sheet, it already calculates and doubles the values of the attributes at the time of the critical hit, however there are advantages and skills for which I need to create individual macros, since we are using more advanced system rules.
1696813994
GiGs
Pro
Sheet Author
API Scripter
You can usually find out what macro the sheet is using, and then tweak that to fit you needs. Click one of the buttons on the sheet to have it roll a macro. Then click into the chat box and press the up arrow - that will show you the last macro run.
THANK YOU VERY MUCH! According to your instructions, I was able to see that the macro is specific to the Character Sheet, but I was still able to modify it to meet my needs. You all helped me a lot!!! (^▽^) y