Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration Fix and Template Changes #249

Merged
merged 3 commits into from
Oct 23, 2022

Conversation

draconas1
Copy link
Collaborator

Migration null pointed for me on line 263 as the check was using lazy or instead of lazy and, so evaluated the 2nd statement even if the first failed and hit a null.

Template changes to support Fox Lee's new mosnter sheet: -Players and monsters gain a "conditionImmunities" list. Initially this will be a list of string primarily used by the new monster sheet for monsters that are flat out immune to certain conditions. A list rather than single string to make any form of automation easier at a later date.

-Monsters get details.equipment, default empty string. Humanoid monster statblocks usually include a quick equipment list for loot / descriptive purposes. This is much easier to keep as a basic string than trying to do anything clever with the actual equipment section.

Migration null pointed for me on line 263 as the check was using lazy or instead of lazy and, so evaluated the 2nd statement even if the first failed and hit a null.

Template changes to support Fox Lee's new mosnter sheet:
-Players and monsters gain a "conditionImmunities" list.  Initially this will be a list of string primarily used by the new monster sheet for monsters that are flat out immune to certain conditions.  A list rather than single string to make any form of automation easier at a later date.

-Monsters get details.equipment, default empty string.  Humanoid monster statblocks usually include a quick equipment list for loot / descriptive purposes.  This is much easier to keep as a basic string than trying to do anything clever with the actual equipment section.
…s had, rationalised the untyped stuff to its own object with resistances, immunities and vulnerabilities.

This should be the last commit on this change as I ahve actually written the exporter code!
@EndlesNights EndlesNights merged commit 538f80e into EndlesNights:main Oct 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants