twiceineverymoment / newera-sol366-foundry

Other
0 stars 0 forks source link

Custom melee weapons can cause an exception when opening a character sheet #59

Closed twiceineverymoment closed 4 months ago

twiceineverymoment commented 5 months ago

The Frost Guardian miniboss in the Pewter Mountain Ruins throws an error in the console when its character sheet is opened. This seems to be related to its custom club weapon causing a ReferenceError when pulling attack info.

twiceineverymoment commented 4 months ago

Testing required to confirm issue is fixed. The reason for system.attacks being undefined likely has to do with the data not being updated in the prior step correctly. The entire Item class needs to be refactored to use proper .update() operations. This is a short-term fix.

twiceineverymoment commented 4 months ago

Confirmed fixed in v0.14.22.