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

Swarm does not import swarm size, alignment, or creature type #24

Closed danlite closed 2 years ago

danlite commented 2 years ago

Taking the SRD's Swarm of Bats as an example:

Swarm of Bats
Medium swarm of Tiny beasts, unaligned

Armor Class 12
Hit Points 22 (5d8)
Speed 0 ft., fly 30 ft.

STR DEX CON INT WIS CHA
5 (−3)  15 (+2) 10 (+0) 2 (−4)  12 (+1) 4 (−3)
Damage Resistances bludgeoning, piercing, slashing
Condition Immunities charmed, frightened, grappled, paralyzed, petrified, prone, restrained, stunned
Senses blindsight 60 ft., passive Perception 11
Languages --
Challenge 1/4 (50 XP)

Echolocation. The swarm can't use its blindsight while deafened.
Keen Hearing. The swarm has advantage on Wisdom (Perception) checks that rely on hearing.
Swarm. The swarm can occupy another creature's space and vice versa, and the swarm can move through any opening large enough for a Tiny bat. The swarm can't regain hit points or gain temporary hit points.

Actions
Bite. Melee Weapon Attack: +4 to hit, reach 0 ft., one creature in the swarm's space. Hit: 5 (2d4) piercing damage, or 2 (1d4) piercing damage if the swarm has half of its hit points or fewer.

The imported statblock looks like this:

Screen Shot 2022-05-02 at 8 51 18 PM

The desired statblock would look like this:

Screen Shot 2022-05-02 at 8 56 00 PM
jbhaywood commented 2 years ago

This is fixed in V1.4.4. About the swarm size, that was already correct. The swarm itself is medium, even though the creatures are tiny.