View Full Version : help needed automation Kurshkin
Shinrei123
December 16th, 2021, 14:58
Hi all
I'm trying to further automate Stealthy Kurshkin from the thousand fists AP but I'm hitting a snag.
I really like it when the system applies effects based on the saving trow so I tried to add that in with Kurshkin in analog to the Gorila automation present in the beastiary. However it isn't working and I don't see what I'm missing. The gorila automation works perfectly but the code for Kushkin doesn't apply anything when pusing 'apply all effects'
"DC 20 Will save"|Save: Will[DC:20]
"temporarily immune to pugwampi unluck auras"|Effect: IMMUNE:Affected by Kurshkin Aura [SUCCES]
"must roll twice and take the worse result"|Effect: Affected by Kurshkin Aura; Must roll twice and take the worse result on all checks within aura [FAILURE]
Gorila automation
"DC 20 Will save"|Save: Will[DC:20]
"flat-footed"|Effect: Frightening Display; Flat-footed[D:1][END]
"frightened 1"|Effect: Frightening Display; Frightened: 1[FAILURE]
"frightened 2"|Effect: Frightening Display; Frightened: 2[CRITFAILURE]
"temporarily immune for 1 minute"|Effect: IMMUNE: Frightening Display[D:10][CRITSUCCESS]
Your help is appreciated!
sciencephile
December 16th, 2021, 16:49
Hi Shinrei123,
I'm assuming you mean the Strength of Thousands AP (I think you are merging this with the Fists of the Ruby Phoenix AP to get Thousand Fists).
Looks like I forgot to put the [FAILURE][SUCCESS] indicators on the effects for that one. I will fix it but it won't be LIVE likely until Tuesday, 12/21.
If you want to fix it sooner, just make sure the block has the following:
"DC 20 Will save"|Save: Will[DC:20]
"temporarily immune to pugwampi unluck auras"|Effect: IMMUNE:Affected by Kurshkin Aura [SUCCESS][CRITSUCCESS]
"must roll twice and take the worse result"|Effect: Affected by Kurshkin Aura; Must roll twice and take the worse result on all checks within aura [FAILURE][CRITFAILURE]
-Danny
PS. Your original block *might* have worked for most cases, except that you misspelled success [SUCCES] -> [SUCCESS], however to be more complete, it should have the explicit conditions for critical success and failure, as well.
Shinrei123
December 16th, 2021, 17:41
Hi Danny
Indeed I get those two APs mixed up in my head all the time unfortunately. I have updated the entry and tested it. However pressing 'apply all effects' button in the combat tracker (nor other 'apply all effects') seem to work for this block. I have a attached a screenshot in the hope it helps.
50356
sciencephile
December 16th, 2021, 19:11
Hi Shinrei123,
I'm afraid I am not an expert with the automation. I modified it on my end and tested it and it did work. I don't see any obvious reasons why it did not work on your end. Unless you really need to run the game before Tuesday, you might just wait until the update occurs on Tuesday.
For the record, the automation button only worked for me once I selected the "Players roll PC targeted saves" option (in the options). Then when tested it, I triggered the save. That put the code on the target for the target to roll the save. Once the target rolled the save and the result was displayed, then I clicked "apply all effects" and it worked.
As I said, I'm not an expert on the automation as I don't actually run or play in any PF2 games. I mainly spend all my time coding the adventure modules in order for others to have fun with it :)
Shinrei123
December 17th, 2021, 07:33
Hi Sciencephile
Well first of: thank you for spending the time so that my group and I can have fun with it.
I have proceeded to test the automation further because I believe that something has been broken during the patch yesterday.
As you say when you set the "Player roll PC targeted saves" option on it seems to work. However I do not believe this to be intended so I went ahead and did some tests:
1) create test creature
Copy over Gorila ability "Frightening display" , Kurshkin's unlucky aura (in both offensive and automatic) and add create custom code:
Save: Will[DC:20]
Effect: success; Flat-footed[SUCCESS]
Effect: crits[CRITSUCCESS]
Effect: Frightening Display; Frightened: 1[FAILURE]
Effect: critf;Frightened:1[CRITFAILURE]
2) add Kurshkin and Test to combat tracker (currently "Player roll PC targeted saves" is OFF)
3) trigger all abilities one by one
when triggerin unlucky aura the test worked, Kurshkin doesn't
gorila ability works
custom code doesn't work
4) set "Player roll PC targeted saves" to ON and trigger all abilities
unlucky aura works for both test and Kurshking
gorila ability works
custom code doesn't work
Note: behavior description for "doesn't work": save state is saved after saving throw but when I click "apply all effects' the save state is removed but no effects applied
based on my tests something does seem to be off. I don't know what as the three abilities give three different behaviors.
especially the unlucky aura is an odd one.
Trenloe
December 17th, 2021, 16:11
For the Kurshkin, the issue is with the title of the ability - this is what the FG code uses to match the save result.
There's a couple of issues with it:
1) Don't use square brackets - these are used within the FG code for automation. So it's a good rule of thumb to not use square brackets unless it is for actual FG automation.
2) When doing the automation for the first bestiary, ShadeRaven and I came across some issues with data after the traits section of the header, and we had to move extra data to the description field. Refer to the Bestiary 1 dragons for examples.
So, in the case of the Kurshkin, a working statblock would be (the "20 feet" has been moved to the description).
Unluck Aura (aura, divination, mental, misfortune, primal)
20 feet. Creatures other than animals, gremlins, and gnolls in the aura become extremely unlucky ([DC 20 Will save]; a creature must roll this Will save twice and take the worse result). On a successful save, the creature is [temporarily immune to pugwampi unluck auras] for 24 hours. On a failure, the creature [must roll twice and take the worse result] on all checks as long as it remains within the aura's emanation.
If you've been doing a lot of testing with this, you may need to restart FG to clear the previous result states.
It's interesting that the result is stored and retrieved correctly for the PCROLL functionality. I'll investigate the code to see if that may have issues with the traits section I mentioned above. Notwithstanding - the comment about not using square brackets for general data still applies.
Shinrei123
December 17th, 2021, 17:25
Hi Trenloe
I removed the 20 feet as per your instructions and now Kurshkin works as intended. Thanks a lot for the help!
However I don't get my own piece of automation working. I suspect I'm making a mistake somewhere but I don't see where.
Could you help me out?
50422
Trenloe
December 17th, 2021, 17:33
Hi Trenloe
I removed the 20 feet as per your instructions and now Kurshkin works as intended. Thanks a lot for the help!
However I don't get my own piece of automation working. I suspect I'm making a mistake somewhere but I don't see where.
Could you help me out?
50422
You need to have the | in front of each automation line, even if you're not matching any text in the description.
Shinrei123
December 17th, 2021, 17:41
Hi Trenloe
Thanks a lot!
Powered by vBulletin® Version 4.2.1 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.