Skip to content

Fix Arrow Speed mods not applying to projectile speed conversions - #2608

Open
rajtik76 wants to merge 1 commit into
PathOfBuildingCommunity:devfrom
rajtik76:fix/feathered-fletching-arrow-speed
Open

rajtik76 wants to merge 1 commit into
PathOfBuildingCommunity:devfrom
rajtik76:fix/feathered-fletching-arrow-speed

Conversation

@rajtik76

@rajtik76 rajtik76 commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Fixes #2520 .

Description of the problem being solved:

increased Arrow Speed parses to ProjectileSpeed with keywordFlags = KeywordFlag.Arrow. The projectile speed conversions in CalcOffence.lua look up their source mods with a cfg that has no keyword flags, so MatchKeywordFlags drops every Arrow Speed mod. Plain increased Projectile Speed has no keyword flags and was converted fine, which is why only Arrow Speed (e.g. the Volant Quiver implicit) had no effect.

Three conversions had this problem:

  • Feathered Fletching ("Increases and Reductions to Projectile Speed also apply to Damage with Bows"): added keywordFlags = KeywordFlag.Arrow to the lookup cfg. This is the bug from the issue.
  • Arrow speed to Area of Effect (arrowSpeedAppliesToAreaOfEffect, Galvanic Arrow in PoE1): same one-line change. No PoE2 skill uses this stat at the moment, so it has no effect today; changed for consistency.
  • Projectile Acceleration III ("additive Projectile Speed modifiers also apply to Projectile Damage"): this one used an empty cfg { }, so it ignored both Arrow Speed and Bolt Speed (flags = ModFlag.Crossbow). It now looks up the mods with the skill's own skillCfg, so a bow skill picks up Arrow Speed and a crossbow skill picks up Bolt Speed, along with any other mods that apply to that skill. The converted Damage mod keeps the source mod's flags (bor(mod.flags, ModFlag.Projectile)), so a mod limited to one weapon does not turn into damage for the other weapon when dual wielding.

The Projectile Acceleration change is broader than the other two: mods with skill-specific tags or flags that match the skill are now converted as well, not only flag-less ones. I think that matches what the stat says, but happy to split it into a separate PR if you prefer.

Not changed: "X% increased Projectile Speed with this Weapon" (local weapon mods) is still not picked up by any of the three conversions, because none of the lookups carry the weapon flag or hand condition. That was already the case before and would need a per-hand lookup, so I left it out of this PR.

Steps taken to verify a working solution:

  • Added two specs to TestOffence_spec.lua, both with a Heavy Bow and Bow Shot:
    • Feathered Fletching: adding 50% increased Arrow Speed raises the skill's INC Damage by exactly 50.
    • Projectile Acceleration III: same check with the support gem instead of the passive.
  • Both specs also assert that the skill has the Bow flag and the Arrow keyword, so they can't pass with the bow unequipped.
  • Both specs fail without the fix (INC Damage stays at +0).
  • Full suite in the pathofbuilding-tests container: 913 successes / 0 failures.

Link to a build that showcases this PR:

https://pobb.in/dArRc64TCxWo (from the issue): bow build with Feathered Fletching and an Arrow Speed quiver.

Before screenshot:

N/A (changing Arrow Speed had no effect on DPS)

After screenshot:

N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

increased Arrow Speed mod no longer recognized by Feathered Fletching

1 participant