PDA

View Full Version : onPostAttackResolve



bmos
April 1st, 2023, 21:39
A while back, Starfinder, 3.5E/PFRPG, 4E, and 5E both got some helpful extension tie-in-points (https://www.fantasygrounds.com/forums/showthread.php?74059-Beta-Release-2022-07-Ruleset-Updates&p=652892&viewfull=1#post652892) added to their onAttack function.
I'd really like to be able to have these in PFRPG2 as well.

They're ActionAttack.onPreAttackResolve(rSource, rTarget, rRoll, rMessage), ActionAttack.onAttackResolve(rSource, rTarget, rRoll, rMessage), and ActionAttack.onPostAttackResolve(rSource, rTarget, rRoll, rMessage).
and they moved the HRFC stuff into onPostAttackResolve.

I noticed this change wasn't implemented in PFRPG2 because a user asked me to port Ammunition Manager to PFRPG2 and that's the mechanism it relies on in other rulesets.

Trenloe
April 1st, 2023, 23:59
I'll look into it, but I can't promise anything...

Trenloe
April 2nd, 2023, 11:14
It'll be in release 19. onAttackResolve will have a couple of extra parameters:


ActionAttack.onPreAttackResolve(rSource, rTarget, rRoll, rMessage);
ActionAttack.onAttackResolve(rSource, rTarget, rRoll, rMessage, rAction, nMissChance);
ActionAttack.onPostAttackResolve(rSource, rTarget, rRoll, rMessage);

bmos
April 2nd, 2023, 12:38
It'll be in release 19. onAttackResolve will have a couple of extra parameters:


ActionAttack.onPreAttackResolve(rSource, rTarget, rRoll, rMessage);
ActionAttack.onAttackResolve(rSource, rTarget, rRoll, rMessage, rAction, nMissChance);
ActionAttack.onPostAttackResolve(rSource, rTarget, rRoll, rMessage);Thank you!

Bolorokenpay
April 3rd, 2023, 22:39
Any chance we can get a freeze on the scope of release 19?

Trenloe
April 3rd, 2023, 22:43
Any chance we can get a freeze on the scope of release 19?
Release 19 is going to be the next major release. If I can put good functionality that users are requesting into release 19 without too much effort then I'll do that if I can. Otherwise the scope hasn't changed in the last 4 months.