PathOfBuilding icon indicating copy to clipboard operation
PathOfBuilding copied to clipboard

Fix crash related to base cost mod parsing and overhual resource relating parsing to be more generic

Open QuickStick123 opened this issue 3 years ago • 0 comments

Fixes https://github.com/PathOfBuildingCommunity/PathOfBuilding/issues/5254 Introduced in https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/5014 + https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/5203

Description of the problem being solved:

The mod parser would crash if it tried to parse "Spells Triggered this way have 150% more Cost +1 to Strength and Dexterity" This is because it would automatically generate strength and dex as table of 3 for the value then it would try and append cost to the table.

This ensure it needs to explicitly match a valid resource and extends / simplifies the creation of these tables.

QuickStick123 avatar Dec 12 '22 12:12 QuickStick123