Lavaeolous / PF1-StatBlock-Converter-Module

FoundryVTT Module to convert PF1 Statblocks into Foundry Actors (PC or NPC).
MIT License
14 stars 12 forks source link

attackEffects.join is not a function #464

Closed websterguy closed 3 years ago

websterguy commented 3 years ago

Running in version 3.3.0, Foundry .8.6, pf1 .78.9

Uncaught (in promise) TypeError: attackEffects.join is not a function
    at attacksParser.parse (sbcParsers.js:2440)
    at parseOffense (sbcParsers.js:1852)
    at parseCategories (sbcParsers.js:161)
    at Function.parseInput (sbcParser.js:212)
    at async Function.prepareInput (sbcParser.js:66)
    at async http:/localhost:31000/modules/pf1-statblock-converter/scripts/sbcInput.js:110

Statblock is


Acrietia

CR 7

XP 3,200

Female dread wight human monk 6 (Advanced Bestiary 95, Pathfinder RPG Bestiary 276)

LE Medium undead (augmented humanoid)

Init +9; Senses blindsense 60 ft., darkvision 60 ft.; Perception +11

DEFENSE

AC 23, touch 19, flat-footed 17 (+5 Dex, +1 dodge, +1 monk, +2 Wis, +4 natural)

hp 60 (6d8+30)

Fort +8, Ref +10, Will +7; +2 vs. enchantment

Defensive Abilities channel resistance +4, evasion; Immune undead traits

OFFENSE

Spd 50 ft.

Melee unarmed strike +10 (1d8+4 plus energy drain) or
flurry of blows +10/+10/+5 (1d8+4 plus energy drain)

Space 5 ft.; Reach 5 ft.

Special Attacks command wights, create spawn, energy drain (1 level, DC 16), flurry of blows, stunning fist (6/day, DC 15, fatigued)

TACTICS

During Combat Acrietia uses her stunning fist attack to stun opponents so she or her disciples can use their energy drain attacks.

Morale Acrietia fights until destroyed.

STATISTICS

Str 18, Dex 20, Con -, Int 12, Wis 14, Cha 17

Base Atk +4; CMB +10 (+12 grapple); CMD 25 (27 vs. grapple)

Feats Combat Reflexes, Dodge, Improved Grapple, Improved Initiative, Improved Unarmed Strike, Stunning Fist, Toughness, Weapon Finesse, Weapon Focus (unarmed strike)

Skills Acrobatics +14 (+20 jump), Climb +11, Escape Artist +12, Intimidate +12, Knowledge (history) +8, Knowledge (religion) +6, Perception +11, Stealth +20; Racial Modifiers +8 Stealth

Languages Common, Necril

SQ fast movement, high jump, ki pool (5 points, magic), maneuver training, slow fall 30 ft.

Gear belt of giant strength +2

SPECIAL ABILITIES

Create Spawn (Su) Any creature killed by a dread wight's energy drain ability rises as a dread wight in 1d4 rounds. A dread wight created in this manner is under the command of its creator and remains so until either it or the creator is destroyed.

Command Wights (Su) A dread wight can automatically command all normal wights within 30 feet as a free action. Normal wights never attack a dread wight unless compelled.```
websterguy commented 3 years ago

Oh, looks like it was caused by the line break after "or" in the melee attacks