vtta-dndbeyond
vtta-dndbeyond copied to clipboard
Monster imports have melee ranges incorrectly populated on actor sheets
Currently, when a monster is imported from D&D Beyond, and they have a melee attack, its range is parsed and put into the normal field correctly, but the max field is also populated incorrectly. Also the melee range type (feet) is not parsed and selected.
Input: Aarakocra "Talon. Melee Weapon Attack: +4 to hit, reach 5 ft., one target. Hit: 4 (1d4 + 2) slashing damage" Output to Actor Sheet: Range Normal: 5, Range Max: 5, Range Type: null (Visually on sheet shows "5/5") Expected output to Actor Sheet: Range Normal: 5, Range Max: null, Range Type: Feet (Visually on sheet shows "5 Feet")
Its not a huge deal, but causes display issues, and looks worse for creatures with reach, example: Input: Ancient White Dragon "Bite. Melee Weapon Attack: +14 to hit, reach 15 ft., one target. Hit: 19 (2d10 + 8) piercing damage plus 9 (2d8) cold damage." Output to Actor Sheet: Range Normal: 15, Range Max: 5, Range Type: Null (Visually on page shows "15/5") Expected output to Actor Sheet: Range Normal: 15, Range Max: null, Range Type: Feet (Visually on page shows "15 Feet")
Going to add to this, that ranged weapon attacks are no populating correctly either.
A monster with a ranged attack of 150/600 ends up showing: Range Normal 150/600, Range Max: 5, Type: Null