JDCalvert / FVTT-PF2e-Ranged-Combat

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

Custom rule elements on ammunition are ignored #183

Closed johncarney closed 4 months ago

johncarney commented 4 months ago

Custom rule elements on ammunition are ignored when the PF2e Ranged Combat module is active.

Steps to reproduce

  1. Create and launch a PF2e test world.

  2. Ensure that the PF2e Ranged Combat module is NOT active in the test world.

  3. Create an actor in the test world and equip them with a longbow and some arrows.

  4. Draw the longbow.

  5. Load the arrows onto the longbow.

  6. Add the following AdjustStrike rule element to the arrows.

    {
    "key":        "AdjustStrike",
    "mode":       "add",
    "property":   "materials",
    "value":      "cold-iron",
    "definition": ["item:id:{item|id}"]
    }
  7. Now in the action tab on the actor's sheet, click on the longbow's DAMAGE button. You should see that the damage has the COLD IRON trait as in the screenshot below.

    image
  8. Now enable the PF2e Ranged Combat module and roll the longbow's DAMAGE button again. The COLD IRON trait no longer appears on the damage card.

    image
TheGnome1 commented 4 months ago

I tested this and see the same issue. I am running Ver 12.327 Stable ... PF2e 6.0.1

JDCalvert commented 4 months ago

This should now be fixed in 6.2.1.