Open Unikatze opened 2 years ago
One more thing to consider here - you might not have warhammer equipped. So either:
I think first is preferrable, but probably harder to implement.
I'd go with the First Option.
If you select Shove and you have a Warhammer equipped, it could just come up with a toggable Item bonus to the shove (default off).
For your information, this feature is to be added in system action macros within the next release, with this MR : https://gitlab.com/hooking/foundry-vtt---pathfinder-2e/-/merge_requests/7260
As far as I understand it modifies game.pf2e.actions
to add those bonuses. Since this module uses those actions under the hood everything should work automatically in this module too.
Yep, should be good, we'll be sure on 11 Feb when new core version shall be released.
Can I close this one in light of the Feb 11 release?
I'd say wait until it arrives and let's see if it works :smile:
I tested it with my branch on the system, it works. The only thing is that the item bonus is not showed on the button. But if it's a bug, it's quite a minor one
Yeah, it's a bug since we calculate the roll modifier ourselves, not sure if it can be made to take it from PF2e. But yeah it's minor.
I'm even sure it can't be taken from PF2e yet because that specific modifier is computed in an asynch function when a check is asked : even if you have the SimpleRollActionCheckOptions, you can't see weapon modifiers in it before the roll is called and message comes in the chat.
Can't think of a way to get them dynamically... perhaps by adding a RuleElement to all weapons with athletism traits, or something like that... won't be done soon I guess
Is there also a way to integrate whether a weapon with a shove/trip/disarm trait is agile?
This may be a tricky one. But say I have a +1 Warhammer worn, which has the shove trait. Perhaps the module will add a toggle for me to add the +1 item bonus to my shove?