greedyj4ck / DEGENESIS-FoundryVTT

DEGENESIS: Rebirth system for Foundry Virtual Tabletop
26 stars 22 forks source link

Weapons with the >200m option always error due to a typo #31

Closed Mjb141 closed 3 years ago

Mjb141 commented 3 years ago

Then a bug with the >200m(0D) option. Rolling that option always errors with Error: Unresolved StringTerm NaNd6cs>3 requested for evaluation. Pretty sure this one is just a typo: actor-degenesis:211 is looking for weapon.dice.extremes which doesn't exist - weapon.dice.extreme does however, and is used in the sheet template successfully.

Guessing actor-degenesis.js:211 needs to become rollData.actionNumber = weapon.dice.extreme.