javalent / fantasy-statblocks

Create Dungeons and Dragons style statblocks for Obsidian.md
MIT License
339 stars 68 forks source link

🐞 Plugin won`t let me add new creature. #419

Open StanislawMalecki opened 1 month ago

StanislawMalecki commented 1 month ago

Check for existing bug reports before submitting.

Expected Behavior

When i try to add my homebrew monster I made jason in 5etools Homebrew Builder it should render properly.

Current behaviour

It doeas not render properly here is the result

image

Here is expected from 5e tools. in reproduction section i added my jason file Lilith

Reproduction

I tried to use import generic data (worked great in the past), and "plus" sign on the right of "add creature"

{ "name": "Lilith", "size": [ "M" ], "type": { "type": "fiend", "note": "Succubuss" }, "source": "OCLD", "alignment": [ "N", "E" ], "ac": [ { "ac": 18, "from": [ "mage armor" ] } ], "hp": { "formula": "22d8 + 66", "average": 165 }, "speed": { "walk": 30, "fly": { "number": 60, "condition": "hover" }, "canHover": true }, "str": 14, "dex": 18, "con": 16, "int": 22, "wis": 16, "cha": 22, "passive": 20, "cr": "24", "tokenHref": { "type": "external", "url": "" }, "traitTags": [ "Death Burst", "Devil's Sight", "Magic Resistance", "Shapechanger" ], "senses": [ "truesight 120 ft.", "darkvision 300 ft." ], "senseTags": [ "U", "SD" ], "skill": { "insight": "+10", "perception": "+10", "deception": "+13", "persuasion": "+13", "arcana": "+20", "intimidation": "+13" }, "save": { "wis": "+10", "cha": "+13" }, "resist": [ "acid", "lightning", "necrotic", "poison", { "resist": [ "bludgeoning", "piercing", "slashing" ] } ], "immune": [ "cold", "fire", "poison" ], "conditionImmune": [ "charmed", "frightened" ], "spellcasting": [ { "name": "Spellcasting", "headerEntries": [ "Lilith innate spellcasting ability is charisma spell save DC: 21 she has {@hit +14} to hit" ], "will": [ "{@spell absorb elements|XGE}", "{@spell charm monster|XGE}", "{@spell counterspell} ", "{@spell darkness}", "{@spell dispel magic} (4th lvl)", "{@spell sending}", "{@spell shield}" ], "daily": { "3e": [ "{@spell circle of death}", "{@spell plane shift}", "{@spell reverse gravity}", "{@spell scrying}" ], "1e": [ "{@spell charm person} (at 7th lvl)", "{@spell crown of stars|XGE}", "{@spell feeblemind}", "{@spell forcecage}", "{@spell foresight}", "{@spell wish} (spell duplication only)" ] }, "ability": "cha", "type": "spellcasting" } ], "spellcastingTags": [ "O" ], "trait": [ { "name": "Magic Resistance", "entries": [ "The lilith has advantage on saving throws against spells and other magical effects." ] }, { "name": "Devil's Sight", "entries": [ "Magical darkness doesn't impede the lilith's darkvision." ] }, { "name": "Telepathic Bond (Succubus/Incubus)", "entries": [ "The lilith ignores the range restriction on its telepathy when communicating with a creature it has {@condition charmed}. The two don't even need to be on the same plane of existence." ] }, { "name": "Shapechanger (Succubus/Incubus)", "entries": [ "The lilith can use its action to polymorph into a Small or Medium humanoid, or back into its true form. Without wings, the lilith loses its flying speed. Other than its size and speed, its statistics are the same in each form. Any equipment it is wearing or carrying isn't transformed. It reverts to its true form if it dies." ] } ], "action": [ { "name": "Etherealness (Succubus/Incubus)", "entries": [ "The lilith enters the Ethereal Plane from the Material Plane, or vice versa." ] }, { "name": "Draining Kiss (Succubus/Incubus)", "entries": [ "The lilith kisses a creature {@condition charmed} by it or a willing creature. The target must make a {@dc 21} Constitution saving throw against this magic, taking 32 ({@damage 5d10 + 4}) psychic damage on a failed save, or half as much damage on a successful one. Lilith heals by the same amount (only if not a simulacra) ", "The target's hit point maximum is reduced by an amount equal to the damage taken. This reduction lasts until the target finishes a long rest. The target dies if this effect reduces its hit point maximum to 0." ] }, { "name": "Charm (Succubus/Incubus)", "entries": [ "One humanoid the lilith can see within 30 feet of it must succeed on a {@dc 21} Wisdom saving throw or be magically {@condition charmed} for 1 day. The {@condition charmed} target obeys the lilith's verbal or telepathic commands. If the target suffers any harm or receives a suicidal command, it can repeat the saving throw, ending the effect on a success. If the target successfully saves against the effect, or if the effect on it ends, the target is immune to this the lilith's Charm for the next 24 hours.", "The lilith can have only one target {@condition charmed} at a time. If it charms another, the effect on the previous target ends." ] } ], "miscTags": [ "HPR" ], "conditionInflict": [ "charmed" ], "legendaryHeader": [ "She has 3 legendary actions only if encountered not as simulacra" ], "legendary": [ { "name": "Cast a spell (cost 1 action)", "entries": [ "She casts a spell from at will category" ] }, { "name": "Etherealness (cost 2 actions)", "entries": [ "Lilith enters the Ethereal Plane from the Material Plane, or vice versa." ] }, { "name": "Draining Kiss (cost 2 actions)", "entries": [ "Uses Draining Kiss" ] } ], "legendaryActions": 3, "page": 100, "damageTags": [ "Y" ], "damageTagsSpell": [ "N", "R", "Y" ], "savingThrowForced": [ "constitution", "wisdom" ], "savingThrowForcedSpell": [ "charisma", "constitution", "dexterity", "intelligence", "wisdom" ] }

Which Operating Systems are you using?

Obsidian Version Check

1.5.12

Plugin Version

4.3.5

Confirmation

Possible solution

No response