PDA

View Full Version : Coding for a Custom Weapon



Dax Doomslayer
April 16th, 2024, 17:13
Hi Folks,
Does anyone have any input in how to code the following:

"When you score a critical hit with this weapon, it creates a thunderous boom heard in a 100' radius and the target takes an additional 2d8 thunder damage and must succeed on a DC 12 Constitution saving throw or be stunned until the end of its next turn."

Any help with this is appreciated. Thanks!

claedawg
April 16th, 2024, 17:29
Hi Folks,
Does anyone have any input in how to code the following:

"When you score a critical hit with this weapon, it creates a thunderous boom heard in a 100' radius and the target takes an additional 2d8 thunder damage and must succeed on a DC 12 Constitution saving throw or be stunned until the end of its next turn."

Any help with this is appreciated. Thanks!

For the damage part, put an effect on the effect on the character: Thunder Weapon; DMG: 2d8 thunder, critical
This will automatically apply that damage whenever the character rolls for damage on a critical hit (you will need to turn it off if the critical is from another source).

For the Save and Stunned effect:
On the actions tab, you would need to add a new Power attack with a Con save and set the DC.
Make a separate entry under that power to add the effect: Thunder Weapon; Stunned and you would need to apply it manually (by dragging the effect from the actions tab of the character sheet to the target).

You can change the Thunder Weapon to anything you want, or leave it out.

You can check out the Better Combat Effects Gold extension to see if this could be automated better. But I still haven't been able to wrap my head around all the things you can do (or its limitations) with that extension.

LordEntrails
April 16th, 2024, 18:01
edit: oops, that is for all damage not just critical... post deleted :).

Zacchaeus
April 16th, 2024, 18:07
This series of videos should help in your effects creation journey https://www.fantasygrounds.com/forums/showthread.php?74212-Updating-5e-effects-videos&p=654177#post654177

MrDDT
April 25th, 2024, 10:21
If you use Advanced Effects EXT and BCEG you can automate this greatly.

1)You put these 2 effects on the item. 2 different lines


DMG: 2d8 thunder, critical
Click the button for "ACTION ONLY" so it only applies to this weapon attacks.


ATKCADDT: ThunderFury
Click the button for "ACTION ONLY" so it only applies with this weapon attacks.

2) Make another effect in the effects list

ThunderFury; Stunned; SAVEA: 12 CON (M); SAVEE: 12 CON (M) (R)
Don't forget to set the duration, you don't need the SAVEE if you want it be removed just in the 1 turn like listed.