JDCalvert / FVTT-PF2e-Ranged-Combat

A module for the Foundry VTT Pathfinder 2e system that provides helper effects and macros for ranged combat.
4 stars 16 forks source link

Weapon doesn't use ammo after striking #166

Closed Copess closed 8 months ago

Copess commented 8 months ago

Hi. After the update it looks like when striking with a weapon, the "loaded" effect doesn't go away, and the ammo isn't consumed. I'll gladly give any more help or info.

Thanks in advance,

Using PF2e Ranged combat v5.1.1, foundry v11 stable 315 and pathfinder 2e 5.14.1 The module settings (configured in game settings) are all the boxes true, minimum permission "none" and hide token effects false

JDCalvert commented 8 months ago

This is caused by the system changing its weapon's requiresAmmunition function to ammoRequired. This caused the module to not know that any weapon required ammunition, so everything around using ammunition was skipped.

I'll have a fix out soon.

JDCalvert commented 8 months ago

This should now be fixed.