PDA

View Full Version : ApplyAllEffects Not Applying



bexxpiper
May 30th, 2021, 19:27
I'm not sure if it's the way I've been writing the automation, but when I've been trying to use the ApplyAllEffects to remove the PCROLL effect, it doesn't seem to be triggering at all when I double-click it on the Combat Tracker. I tested it when I set up the automation, but it doesn't seem to work once I have actual players in the game. This has happened in multiple games I've run since the update, but both with my own added automation, so it could definitely be a user error.

An example of the automation I've written is the Acid Breath of the Caustic Wolf in Fall of Plaguestone. I know there aren't any effects to apply, but I thought that was the only way to auto-remove the PCROLL effect.

The ability is as follows:

The wolf unleashes a stream of bright green acid from its mouth, coating all creatures in a 30-foot line. All creatures in the line take 3d6 acid damage (DC 16 basic Reflex save). The caustic wolf cannot use this ability again for 1 minute.

The automation I've added is:
Save: Reflex[DC:16][BASIC][CD]
Damage: 2d6 acid
Cooldown:10
ApplyAllEffects

Trenloe
May 31st, 2021, 09:58
Please provide a screenshot of the complete NPC automation within the NPC sheet.

bexxpiper
May 31st, 2021, 10:29
Sorry, I should have included a screenshot with the initial post.

47234

I have also included another example of automation that I attempted to set up, this time for an ability that does different effects depending on the save result. When I clicked ApplyAllEffects for this ability, it removed the PCROLL effect but didn't apply the Failure effects despite some of the PCs having crit failed.

47235

Trenloe
May 31st, 2021, 10:57
Thanks for providing the info and reporting the problem.

Currently the "ApplyAllEffects" code won't apply all effects (including removing the PCROLL effect) if there isn't at least one save result. I'll update the code to remedy that - but it won't be available for a week.

In the meantime, if you need to remove PCROLL effects without a result state, use the CT menu option: Delete Effect -> Clear All PCROLL Effects

bexxpiper
May 31st, 2021, 11:09
Thanks for the help!

skester
January 19th, 2023, 01:27
How do you use the Apply All Effects from the Bestiary? It doesn't do anything for me.

Trenloe
January 19th, 2023, 08:14
How do you use the Apply All Effects from the Bestiary? It doesn't do anything for me.
ApplyAllEffects applies effects based off the resut of an action - usually a save or attack. There needs to be something to apply for it to work. The button appears if there's any automation for the ability, as it's difficult to exactly determine the exact need for the button, so sometimes pressing the button won't do anything, as there's nothing to do. Check the automation for the ability in question to see what it does - if there's a save and there's some effects with the result included in the effect, e.g. [SUCCESS] or a [PCROLL] effect, then ApplyAllEffects will have something to do.

Milke
January 23rd, 2023, 01:56
I played a game today, using creatures from the bestiary. The apply all effects didn't work any time, even after the PCs rolled a save. I had to go in and remove the PCROLL effect manually every time.

Trenloe
January 23rd, 2023, 09:08
I played a game today, using creatures from the bestiary. The apply all effects didn't work any time, even after the PCs rolled a save. I had to go in and remove the PCROLL effect manually every time.
Do you have an example of a creature you used and the ability where it didn't work?

Are you using any extensions?

BlueDrake
February 8th, 2023, 20:25
I'm experiencing the same thing. I made a new post, but maybe it's better to add to this one.

Example: I added the Gelatinous Cube from Crown of the Kobold King to the combat tracker and am trying to use its Engulf ability.

I target a PC(s) and then double click the save DC. The system correctly rolls the reflex save in the chat window. I then click the apply all button and nothing happens. It doesn't seem to matter if the PC makes or fails the save. In this case nothing should happen if they succeed, but on failure they should be engulfed (with all the relevant effects). I can manually apply the effect, but no matter what I do I can't get the apply all button to do anything.

I'm not using any extensions in FG and I have the Bestiary 1 and Crown of the Kobold King modules loaded.

Zacchaeus
February 8th, 2023, 21:18
I'm not actually sure what the Dex saving throw is for in the case of the Cube. It tells us that a creature is automatically engulfed if they don't notice the cube. There's no save mentioned; the creature is simply engulfed and so the engulfed affect should be applied at that point. So in this case the apply all effects button would not do anything because there hasn't been a save or attack which requires any adjudication. There is a save to avoid the paralysis but that's a fortitude save.

Having said all of that the effects actually haven't been set up on this NPC such that the apply all effects button will actually work. The effects should have some notification of the degree of success and what happens. It should perhaps be more correctly set as:
Save:Fort[DC:20]
Effect: Paralyzed [FAILURE][CRITFAILURE]

BlueDrake
February 8th, 2023, 21:29
Ah okay, so if the automation doesn't specify degrees of success the apply all button isn't going to work then.

The cube's engulf works two ways. As you said, if a creature doesn't notice the cube it can be automatically engulfed by walking into it, but the cube also has an active Engulf activity it can use on its turn. It's a bit tricky because the description of what the engulf does is in the appendix of Bestiary 1 and not written out in the cube's entry. Here it is for reference:

"The monster Strides up to double its Speed and can move through the spaces of any creatures in its path. Any creature of the monster’s size or smaller whose space the monster moves through can attempt a Reflex save with the listed DC to avoid being engulfed. A creature unable to act automatically critically fails this save. If a creature succeeds at its save, it can choose to be either pushed aside (out of the monster’s path) or pushed in front of the monster to the end of the monster’s movement. The monster can attempt to Engulf the same creature only once in a single use of Engulf. The monster can contain as many creatures as can fit in its space.

A creature that fails its save is pulled into the monster’s body. It is grabbed, is slowed 1, and has to hold its breath or start suffocating. The creature takes the listed amount of damage when first engulfed and at the end of each of its turns while it’s engulfed. An engulfed creature can get free by Escaping against the listed escape DC. An engulfed creature can attack the monster engulfing it, but only with unarmed attacks or with weapons of light Bulk or less. The engulfing creature is flat-footed against the attack. If the monster takes piercing or slashing damage equaling or exceeding the listed Rupture value from a single attack or spell, the engulfed creature cuts itself free. A creature that gets free by either method can immediately breathe and exits the swallowing monster’s space.

If the monster dies, all creatures it has engulfed are automatically released as the monster’s form loses cohesion."

BlueDrake
February 8th, 2023, 21:50
Confirming that when I added the [FAILURE][CRITFAILURE] to the effect the apply all button worked, so that's definitely it. Thank you for explaining Zacchaeus!

Hopefully in a future update the automation fields can be improved a bit so more of them work correctly.

Ludd_G
February 8th, 2023, 22:10
I'm just prepping the Beginners Box as my first foray into PF2e and I'm also finding that several spells, whist having the variable results coded, don't have the 'degree of success' drop-down box populated, making the 'Apply All Effects' inactive. I'm starting to go through all the spells etc. in the PFBB to correct it before we play, so don't know how extensive this is, but it could be part of the general problem people are experiencing?

Cheers,

Simon

(obviously now I'm in the module looking for instances I'm struggling to find them, but they definitely were there, as I had to work out out to fix them (coming to PG2e for the first time) or maybe it was a very peculiar dream....)

Trenloe
February 8th, 2023, 22:14
Hopefully in a future update the automation fields can be improved a bit so more of them work correctly.
Existing products won't get updated if the dev isn't made aware of the issue.

For creatures that are in the bestiaries (which the Gelatinous Cube is), questions/requests regarding NPC automation can be made in this thread: https://www.fantasygrounds.com/forums/showthread.php?64192-Pathfinder-Second-Edition-Bestiaries-and-Automation

Trenloe
February 8th, 2023, 22:20
I'm just prepping the Beginners Box as my first foray into PF2e and I'm also finding that several spells, whist having the variable results coded, don't have the 'degree of success' drop-down box populated, making the 'Apply All Effects' inactive. I'm starting to go through all the spells etc. in the PFBB to correct it before we play, so don't know how extensive this is, but it could be part of the general problem people are experiencing?
It's a different mechanism, but it's all part of the base process - it requires the dev who converts the product to make a decision on if they code in the result success for effects. Sometimes if the effect isn't applied 100% of the time, or it can't be fully automated, then the result state won't be set. And, of course, there's always the odd one that gets missed.

Looking through the effect actions for spells in the Heroes Handbook, I can see most effects that rely on a result state have the field set. It's just effects that get applied when the spell is cast that don't have that set as it's assumed the player just presses the effect button rather then the ApplyAllEffects button. If this isn't the case, please provide some examples. Thanks.

Ludd_G
February 8th, 2023, 22:36
Hi Trenloe,

I think it may just be the Fear spell for the Beginner's Box GM's Guide (as present on the Drow Priestess and Kobold Dragon Mage spell tab). I had dragged in onto a character sheet so I could play with how it worked, after watching your videos. So it seems it was really just bad luck that I grabbed that one to play with, but it did teach me a lot about how everything can be set up, so nothing lost.

Cheers,

Simon

Trenloe
February 8th, 2023, 22:50
Hi Trenloe,

I think it may just be the Fear spell for the Beginner's Box GM's Guide (as present on the Drow Priestess and Kobold Dragon Mage spell tab). I had dragged in onto a character sheet so I could play with how it worked, after watching your videos. So it seems it was really just bad luck that I grabbed that one to play with, but it did teach me a lot about how everything can be set up, so nothing lost.

Cheers,

Simon
Thanks for replying Simon. Yeah, I'd just seen a couple of fear spells in the NPC spells tabs that didn't have the result state set. I'll have a look at getting that fixed. Thanks for raising the problem.

Trenloe
February 9th, 2023, 00:47
I think it may just be the Fear spell for the Beginner's Box GM's Guide (as present on the Drow Priestess and Kobold Dragon Mage spell tab)
The NPCs in the GMs Guide were set to re-parse their actions rather than use the pre-programmed actions. I've fixed that and checked in the update in as a hotfix which should be updated within the next 24 hours.

Ludd_G
February 9th, 2023, 18:37
Thank you! :)