items:
- type: STR_WEAPON_OR_AMMO_WITH_DAMAGE_BONUS
damageBonus:
firing: [1.0, 0.01, 0.0001]
This damage bonus will add 100% of the user's firing accuracy to the base power, along with 1% of firing accuracy squared and 0.01% of firing accuracy cubed. According to the variables, s here is firing accuracy, x, y, and z are 1.0, 0.01, and 0.0001, respectively. In other words, s is the unit stat you want the bonus to be based on, and x, y, and z are the polynomial coefficients.