foundryvtt / pf2e

A community contributed game system for Pathfinder Second Edition.
https://foundryvtt.com/packages/pf2e
Apache License 2.0
399 stars 333 forks source link

Adding SpecialStatistic rules of type "simple" doesn't actually do anything #15564

Open iconmaster5326 opened 1 month ago

iconmaster5326 commented 1 month ago

The documentation on SpecialStatistic rules states that there are three types of special statistic: https://github.com/foundryvtt/pf2e/wiki/Quickstart-guide-for-rule-elements#special-statistic

However, the simple type of special statistic doesn't actually do anything. As Tikael on Discord discovered, the code for computing simple special statistics just returns before crunching any numbers:

image

This is less than helpful when, for example, calling getStatistic on an actor and finding that it always returns null. It would be great if simple SpecialStatistics were properly supported by the system.

TikaelSol commented 1 month ago

Removed the wiki reference to it, not sure what the ideal way to go about making a non-check statistic is, like a new speed or other value.