PDA

View Full Version : Effect Question



huntsfromshadow
March 19th, 2020, 15:32
Hey all.

Trying to figure out how to do something with effects and I'm very new to the effects system (but not programming in general).

I'm trying to implement raise shield action.
Is their a way to trigger the shield raised variable on a character from an effect?

Trenloe
March 19th, 2020, 15:39
You can't directly trigger the raise shield option from an effect. This is all currently controlled by the check box.

You could setup an AC effect the would simulate adding to the AC. Info here: https://www.fantasygrounds.com/wiki/index.php/PFRPG2_Effects#Modifiers

huntsfromshadow
March 19th, 2020, 15:55
Okay I think I'm getting closer but having an issue with Duration.

Right now I have an effect
Self, Actn - AC: +2; Raise Shield

That works for the first attack against the target but goes away immediately.
How can I get it to stay for the entire round and vanish when the character starts their next turn?

Trenloe
March 19th, 2020, 16:07
How can I get it to stay for the entire round and vanish when the character starts their next turn?
Give it a duration of 1 round and make sure the init value to adjust on is the same as the actors initiative value.

huntsfromshadow
March 19th, 2020, 16:19
Okay sorry it's a stupid question but how do I give it a duration of 1 round?
If I click the magnifying glass to bring up the dialog I can set the units but I don't see a duration field.
If I edit the spell by clicking the red dragon button on the action (as I'm having to put this action in the spell section of the fighter) I see a field for duration but setting that doesn't seem to do it.

Trenloe
March 19th, 2020, 17:04
If I edit the spell by clicking the red dragon button on the action (as I'm having to put this action in the spell section of the fighter) I see a field for duration but setting that doesn't seem to do it.
That's the standard duration of a spell, not necessarily any effects created under that spell.


Okay sorry it's a stupid question but how do I give it a duration of 1 round?
If I click the magnifying glass to bring up the dialog I can set the units but I don't see a duration field.
In the Spell/Ability effect window you open by clicking the magnifying glass:


Make sure you have RND selected as the unit.
Enter 1 in the "Fixed" portion of the duration.
You'll see "1 rd" reflected in the Actions tab.


https://www.fantasygrounds.com/forums/attachment.php?attachmentid=32271

huntsfromshadow
March 19th, 2020, 17:09
Thanks!

I would have never figured that one out.

Milke
March 23rd, 2020, 19:37
Yea. The cool part about the effect vs using the raise shield button is if you forget, it goes away on its own.