I just wanted to first say thanks for working to improve this macro. I've been using the Pathfinder framework for a while now to run a Runelords campaign, but I've only started to use the statblock import macro and I'm going through some growing pains as I learn how to tweak the stat blocks.
I'm trying to understand the difference between two stat blocks, both generated with the same program, where the first one works, but the second gives me an error:
Unknown JSON type "" in function "json.contains".
Could someone please point out what is wrong in the second? Then I can make sure to tweak the block before importing.
Thanks!
This one WORKS.
Code:
RLWIZARD CR 11
Male Human Wizard 12
CE Medium Humanoid (Human)
Init +3; Perception +13
--------------------
DEFENSE
--------------------
AC 13, touch 13, flat-footed 10 (+3 Dex)
hp 93 (12d6+48)
Fort +9, Ref +10, Will +10
--------------------
OFFENSE
--------------------
Spd 30 ft.
Melee Staff of Mithril Might +10/+5 (1d6+4) and
Unarmed Strike +8/+3 (1d3+2)
Wizard Spells Known (CL 12, 8 melee touch, 9 ranged touch):
6 (2/day) Disintegrate (DC 23)
5 (4/day) Baleful Polymorph (DC 22)
4 (4/day) Reduce Person, Mass (DC 21)
3 (5/day) Fly
2 (5/day) Cat's Grace (DC 19), Glitterdust (DC 17), Acid Arrow
1 (6/day) Reduce Person (DC 18), Magic Missile, Magic Missile, Magic Missile, Grease (DC 16), Expeditious Retreat, True Strike
0 (at will) Mage Hand, Prestidigitation (DC 15), Acid Splash, Arcane Mark
--------------------
STATISTICS
--------------------
Str 12/15, Dex 16, Con 18, Int 20, Wis 13, Cha 12
Base Atk +6/+1; CMB +8; CMD 21
Feats Craft Magic Arms & Armor, Craft Rod, Craft Wondrous Item, Extend Spell, Greater Spell Focus: Transmutation, Greater Spell Penetration, Lightning Reflexes, Scribe Scroll, Spell Focus: Transmutation, Spell Penetration, Wizard Weapon Proficiencies
Skills Appraise +14, Craft: Metalworking +17, Escape Artist +15, Fly +18, Knowledge: Arcana +20, Knowledge: Nature +20, Knowledge: The Planes +16, Linguistics +20, Perception +13, Sense Motive +2, Spellcraft +20
Languages Abyssal, Common, Draconic, Infernal, Terran, Undercommon
SQ Change Shape II (12 rounds/day) (Sp), Enchantment, Illusion, Physical Enhancement +3: Strength (Su), Telekinetic Fist (8/day) (Sp), Transmutation
Combat Gear Staff of Mithril Might; Other Gear Cloak of Resistance, +1, Rod of Metal and Mineral Detection
--------------------
SPECIAL ABILITIES
--------------------
Change Shape II (12 rounds/day) (Sp) Use Beast Shape III or Elemental Body II as a Spell-Like ability.
Enchantment You must spend 2 slots to cast spells from the Enchantment school.
Extend Spell Spell duration lasts twice as normal. +1 Level.
Greater Spell Focus: Transmutation +1 to the Save DC of spells from one school.
Greater Spell Penetration +2 to caster level checks to overcome spell resistance.
Illusion You must spend 2 slots to cast spells from the Illusion school.
Physical Enhancement +3: Strength (Su) +1 bonus to physical ability, +1 per 5 levels (change per day).
Spell Focus: Transmutation Spells from one school of magic have +1 to their save DC.
Spell Penetration +2 to caster levels checks to overcome spell resistance.
Telekinetic Fist (8/day) (Sp) 30' ranged touch attack, 1d4+6
Transmutation Transmuters use magic to change the world around them.
This one RETURNS AN ERROR
Code:
WATER MEPHIT CR 3
Male Mephit, Water
Small Outsider (Water)
Init +6; Senses Darkvision (60 feet); Perception +6
--------------------
DEFENSE
--------------------
AC 17, touch 14, flat-footed 14 (+2 Dex, +1 size, +3 natural, +1 dodge)
hp 19 (3d10+3); Fast Healing (if underwater) 2
Fort +2, Ref +5, Will +3
DR 5/magic
--------------------
OFFENSE
--------------------
Spd 30 ft., Flying (40 feet, Average), Swimming (30 feet)
Melee Claw x2 (Mephit, Water) +5 x2 (1d3+1) and
Unarmed Strike +5 (1d2+1)
Special Attacks Breath Weapon (DC 13)
Spell-Like Abilities Acid Arrow, Stinking Cloud, Summon (level 2, 1 mephit of the same type 25%)
--------------------
STATISTICS
--------------------
Str 13, Dex 15, Con 12, Int 6, Wis 11, Cha 14
Base Atk +4; CMB +3; CMD 16
Feats Dodge, Improved Initiative
Skills Bluff +8, Fly +10, Perception +6, Stealth +12, Swim +9
Languages Aquan, Common
--------------------
SPECIAL ABILITIES
--------------------
Acid Arrow (1/hour) (Sp) As the spell. Caster level 6th.
Breath Weapon (DC 13) (Su) Each type of mephit can unleash a particular breath weapon every 4 rounds as a standard action. The DC is Constitution-based and includes a +1 racial bonus.
A cone of acid that deals 1d8 acid damage.
Damage Reduction (5/magic) You have Damage Reduction against all except Magic attacks.
Darkvision (60 feet) You can see in the dark (black and white vision only).
Fast Healing (if underwater) 2 (Ex) You heal damage every round if you have > 1 HP.
Flying (40 feet, Average) You can fly!
Stinking Cloud (1/hour) (Sp) As the spell. DC 14, caster level 6th.
Summon (level 2, 1 mephit of the same type 25%) (Sp) A creature with the summon ability can summon other specific creatures of its kind much as though casting a summon monster spell, but it usually has only a limited chance of success (as specified in the creature's entry). Roll d%: On a failure, no cr
Swimming (30 feet) You have a Swim speed.