Lichtblitz / CreatureLab

CreatureLab for Fantasy Grounds, an extension based importer.
GNU General Public License v3.0
1 stars 0 forks source link

Error when using CLab #1

Closed MasterNoMercy closed 6 months ago

MasterNoMercy commented 9 months ago

I'm trying the add the Legendary Witch from d20PFSRD and receiving a error i've never seen before.

Error when populating character record: [string "CreatureLab-v1.9.0:cgen/lua/creaturegen.lua"]:308: bad argument #2 to 'format' (number expected, got nil)

I'm trying to enter this:

Legendary Witch (CR 8)

Legendary WitchCR 8

XP 4,800 Legendary witch (death patron) 9 LN Medium [humanoid] Init +7; Senses [darkvision] 60 ft., [low-light vision]

DEFENSE

AC 15 (19 with mage armor) hp 46 (66 with greater false life) (9d6+14) Fort +6, Ref +6, Will +7; +2 vs disease and mind-affecting Defensive Abilities: resist level drain, undead resistance

OFFENSE

Speed 30 ft. Melee +4 mwk quarterstaff 1d8-1 Ranged +7 alchemist’s fire 1d6 Special Attacks channel negative energy (5d6) DC 16, hand of death Legendary Witch Spells Prepared (CL 7th)

5th—cloudkill (DC 20), greater false life, slay living (DC 20) 4th—inflict serious wounds (DC 19), masochistic shadow (DC 19), rest eternal 3rd—haste, ray of exhaustion (DC 18), speak with dead, vampiric touch 2nd—alter self, desecrate, false life, stricken heart, web 1st—cause fear (DC 16), chill touch (DC 16), inflict light wounds (DC 16), mage armor, ray of enfeeblement (DC 16) 0th—arcane mark, bleed, detect magic, daze (DC 15), grasp, read magic, resistance, touch of fatigue (DC 15) TACTICS

Before Combat This legendary witch casts greater false life and mage armor. These spells are represented in the above stat block.

During Combat This legendary witch spend their actions to support others nearby if available by casting spells such as haste, and then attempt to isolate and remove high threat targets with slay living, masochistic shadow or their hand of death ability. If surrounded or greatly outnumbered, this legendary witch will attempt to fly above enemies and use web and cloudkill to eliminate large groups.

Morale This legendary witch will rarely fight to the death but is unwilling to leave friends behind. They will use their few area control spells such as web to aid in the escape of close allies. This legendary witch begins planning or maneuvering for escape when below 20 hit points.

STATISTICS

Str 9, Dex 16, Con 12, Int 20, Wis 13, Cha 12 Base Attack +4, CMB +3, CMD 18 Feats Combat Casting, Dodge, Improved Initiative, Powerful Connection (channel negative energy), Skill Focus (Craft [alchemy]) Skills Craft (alchemy) + 19, Fly +13, Knowledge (arcana) +15, Knowledge (nature) +15, Perception +10, Spellcraft +15, Stealth +10 Languages Common, Elven, Draconic, Necril SQ dhampir racial traits (dayborn and vampiric empathy alternate traits), spells, familiar (Nox), aura of unrest, hexes (cauldron, beast of ill-omen, pale rider, flight, blight), boons, enhanced familiar Gear masterwork quarterstaff, ring of protection +1, pearl of power (1st), potion of inflict light wounds (2), potion of blur, potion of keep watch, backpack, trail rations (5), alchemist’s fire (5), bedroll, tent, waterskin, 250 gp

SPECIAL ABILITIES

Resist Level Drain (Ex) A dhampir takes no penalties from energy drain effects, though they can still be killed if they accrue more negative levels then they have Hit Dice. After 24 hours, any negative levels a dhampir takes are removed without the need for an additional saving throw.

Undead Resistance (Ex) Dhampirs gain a +2 racial bonus on saving throws against disease and mind-affecting effects.

Lichtblitz commented 6 months ago

This is a bug with the experimental RESIST effects. Will be fixed in the next release later today (v1.10.0)