PDA

View Full Version : Effect text parsing question



kevininrussia
November 9th, 2020, 01:37
The text "deals +1 power bonus to melee damage rolls until the end of the encounter." parses correctly to the character sheet power but "deals 1d6 power bonus to melee damage rolls until the end of the encounter." does not. It seems the "melee" breaks it. Any ideas how to write the verbiage to get it to parse correctly with die amounts and not just static numbers while specifying "melee"?

Moon Wizard
November 9th, 2020, 03:53
At this point, the code is close to 10 years old; and I haven't looked at in many, many years. The text parsing was written to handle the specific examples in the core books. If it's not parsing the text, then most likely that particular combination of words was not part of the original powers reviewed.

At this point, I would suggest just manually fixing the power as needed.

Regards,
JPG

kevininrussia
November 9th, 2020, 05:51
That's what I figured. Thought I would ask anyway. Manual entry it is! :-)

Thanks