Closed mkahvi closed 1 year ago
This seems to be an issue specific for the Hobgoblin, as thats using
Treasure NPC Gear (studded leather armor, light steel shield, longsword, longbow with 20 arrows, other treasure)
There's issues with that:
/(Combat Gear|Other Gear|Gear)\b/
Ecology
section, Gear in the Statistics
sectionIn that case, from a technical standpoint of the statblock, the Hobgoblin is not wearing the armor, but just carrying it around as treasure 🗡️ :)
I do not think i have an easy solution for that.
Could add special case for "Gear"/"NPC Gear" appearing there if it's not too hard, since that seems to be the intent of it there, even if it's abnormal notation.
Otherwise could add detection for it and warn users of the problems it causes and do nothing else.
There's no easy fix, sorry. Ecology parsing happens after everything with values was parsed, so i'd need to pull it in front to be parsed after statistics but before defense and offense.
I'll add a info into the error section for users, so they can copy the data to the correct section themselves.
I've added a (quite hacky) workaround for this to v4.0.2
For example, Hobgoblin: https://www.aonprd.com/MonsterDisplay.aspx?ItemName=Hobgoblin
Studded leather is not added to the sheet, but if it was, it would give 1 ACP that would together with the Dex lead to the correct final modifier, needing no adjustment in the corrective buff.
The above assumes #600 is also fixed.