PDA

View Full Version : NPC Action Coding for AC and Advantage



GlassGEO
November 16th, 2020, 21:17
Ive been over the DND5E effects guikd, but I cant figure out how to write abilities to do the following -

Gain a temporary +2 to AC.

Gain Advantage on [Specific type of roll], whether that be a Check, attack, save, etc

I tried just writing a spell for the +2 AC, but even copying Shield of Faith's wording doesnt have an effect to use for NPCs once I change the duration.
See below img. Ive tried it with both the Effect tag at the ottom and without. i copied that effect straight from what Shield of Faith has on the NPC sheet

41199

LordEntrails
November 16th, 2020, 21:50
See here; https://fantasygroundsunity.atlassian.net/wiki/spaces/FGU/pages/884913/5E+Effects+for+Advanced+Automation#Automating-Effects-on-NPCs
Wording/format has to be exact.

edit: also not sure you can do everything you want. Try to find an official NPC that does something similar and copy from there.

Zacchaeus
November 16th, 2020, 21:57
There is no wording which will automatically create an effect for an addition to AC or to give any kind of advantage or disadvantage to anything. Many of the spells (like Shield of Faith) have the effect hard coded into the ruleset.