Pf2eToolsOrg/Pf2eTools

BUG-164 Failing to scale a creature

Closed this issue · 1 comments

Steps to reproduce
Try to scale Duergar Bobardier

Severity
High

Additional information
Trying to scale a creature throws "TypeError: Cannot read properties of undefined (reading 'replace')" error. This bug seems to come from the fact that the scaler function ('_scaleEliteWeak') always tries to adjust the damage of the creature's attacks, but as is the case with Duegar Bombardier Ranged attack, if that attack does not have a 'Damage' entry, the code throws the error and doesn't scale the creature.
I'm using the Pf2eTools app Version 0.8.4 with preloaded data on win10

  • SirLeon#3931
    Verification: 0

Note - vauxs (Vauxs)

Resolved - #361