PDA

View Full Version : Help with effects/coding please



EthanBlayde
July 16th, 2020, 19:24
If I want to create an attached that does radiant damage (2d10) and a -2 penalty on checks for a particular ability (i.e. - STR, DEX ......) how would that be accomplished. Any assistance with this would be helpful. TIA

Zacchaeus
July 16th, 2020, 19:30
Depends what it is; if it is a weapon then you can add the damage into the weapon line. If it is something which adds to damage then add an effect of DMG: 2d10, radiant - set the expend to on next action and the target to self, and apply the effect just before damage is rolled. If it is neither of those things then can you expand on what you mean.

For checks the syntax is CHECK: -2, strength (or whatever ability you want to penalise).

See here for some videos on effects https://www.fantasygrounds.com/forums/showthread.php?41478-Effects-Videos-for-5E

EthanBlayde
July 16th, 2020, 20:47
Depends what it is; if it is a weapon then you can add the damage into the weapon line. If it is something which adds to damage then add an effect of DMG: 2d10, radiant - set the expend to on next action and the target to self, and apply the effect just before damage is rolled. If it is neither of those things then can you expand on what you mean.

For checks the syntax is CHECK: -2, strength (or whatever ability you want to penalise).

See here for some videos on effects https://www.fantasygrounds.com/forums/showthread.php?41478-Effects-Videos-for-5E

TO clarify = I want to create a trap that if a character fails a DC 15 DEX check the character would take 2d10 radiant damage and a -2 penalty on any checks for a particular ability (i.e. STR, DEX, CON ......) for the next 1 hour.

Zacchaeus
July 16th, 2020, 20:57
Then set up the trap as an NPC. You can set up actions in the NPCs action section to deal with the saving throw and the damage. You can't automatically set up wording which will create the effect for the check however; so you'd need to create that effect in the effects dialog and apply it to the target from there. See the first video on this list (near the end) for how to use the effects dialog. https://www.fantasygrounds.com/forums/showthread.php?49957-Combat-Tracker-Videos&p=444203#post444203

More information on NPC actions here. https://fantasygroundsunity.atlassian.net/wiki/spaces/FGU/pages/721028/5E+NPCs+and+Encounters#NPC-Actions

EthanBlayde
July 16th, 2020, 23:10
Thanks! Those worked perfectly.