jbhaywood / 5e-statblock-importer

A module for FoundryVTT that creates a new actor from any 5e monster or NPC statblock.
MIT License
18 stars 14 forks source link

Tried v1.5.1 - Still getting the same import issue #32

Closed Greyhart42 closed 2 years ago

Greyhart42 commented 2 years ago

I must be doing something wrong. I tried to reply to the email, but it bounced due to size.

I downloaded and unzipped v1.5.1, then copied it into my Modules directory. I deleted the old module directory and renamed the new one 5e-statblock-importer (basically removed the -1.5.1 at the end) I started Foundry and it shows v1.5.1

image

I imported the Goblin Assassin:

Goblin Assassin Small Humanoid (Goblin), Any Alignment Armor Class 15 (studded leather armor) Hit Points 16 (3d6 + 6) Speed 30 ft., climb 20 ft. STR DEX CON INT WIS CHA 8 (−1) 16 (+3) 14 (+2) 10 (+0) 10 (+0) 8 (−1) Skills Stealth +7 Senses darkvision 60 ft., passive Perception 10 Languages Common, Goblin Proficiency Bonus +2 Backstab. When the assassin has advantage on their attack roll against a creature that isn’t a Construct or Undead, their attacks deal an extra 1d6 damage and inflict a bleeding wound on the target that lasts until the bleeding creature regains at least 1 hit point. A bleeding creature loses 2 hit points for each bleeding wound they have at the start of their turn. Any creature can use an action to staunch all a target’s wounds, ending the effect. Crafty. The assassin doesn’t provoke opportunity attacks when they move out of an enemy’s reach. ACTIONS Scimitar. Melee Weapon Attack: +5 to hit, reach 5 ft., one target. Hit: 6 (1d6 + 3) slashing damage. Dagger. Melee or Ranged Weapon Attack: +5 to hit, reach 5 ft. or range 20/60 ft., one target. Hit: 5 (1d4 + 3) piercing damage. Summon Shadows (1/Day). A 10-foot-radius sphere of magical darkness emanates from a point the assassin can see for 1 minute. The assassin can see in this magical darkness. At the start of their turn, the assassin can move the darkness up to 30 feet to a point they can see. If the assassin takes damage, the effect ends. BONUS ACTIONS Sneak. The assassin takes the Hide action.

I got the same problem as before: image

It doesn't seem to parse the second language correctly, putting it along with everything after the Proficiency Bonus and before ACTIONS into the Special (Split with Semi-Colon) field. This particular Monster doesn't have a saving throw, so I also imported the Goblin Boss who, as you pointed out, has Saves, not Saving Throw. I got the same result as the Goblin Assassin.

I deleted the Goblin Boss actor and changed Saves to Saving Throw, then re-imported it. That didn't change anything.

I originally thought I must have made a mistake updating the module, but it shows correctly as v1.5.1 in Manage Modules, so I have no idea what is wrong.

Sorry for the problems,

jbhaywood commented 2 years ago

My bad. This is fixed in v1.5.3. Thanks for the detailed info. It really helps.

Greyhart42 commented 2 years ago

I’ve been a programmer for over 40 years. I’m pretty good at testing. 😊

We’re getting closer. I still see some issues. I’ll send another report.

Ken

From: James Haywood @.> Sent: Monday, August 15, 2022 8:35 PM To: jbhaywood/5e-statblock-importer @.> Cc: Greyhart42 @.>; Author @.> Subject: Re: [jbhaywood/5e-statblock-importer] Tried v1.5.1 - Still getting the same import issue (Issue #32)

My bad. This is fixed in v1.5.3. Thanks for the detailed info. It really helps.

— Reply to this email directly, view it on GitHubhttps://github.com/jbhaywood/5e-statblock-importer/issues/32#issuecomment-1216076055, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALKNWTPYEPP3OJUYATBHENTVZL45JANCNFSM56SZQEVQ. You are receiving this because you authored the thread.Message ID: @.**@.>>