PDA

View Full Version : Problems to code Pathfinder Spell damage effect



Sargas
July 9th, 2020, 10:03
Hello all

I try to code some Spell damage effects for Pathfinder.

example:
<id-00001>
<dice type="dice">d6</dice> <! -- Damage Dice -->
<dicestat type="string">0</dicestat> <! -- Dice multiplyer (cl/evencl/oddcl) -->
<dicestatmax type="number">0</dicestatmax> <! -- Dice multiplyer max -->
<statmult type="number">1</statmult> <! -- Stat multiplyer -->

<stat type="string">evencl</stat> <! -- Stat (cl/evencl/oddcl/strength/dexterity/constitution/intelligence/wisdom/charisma)-->

<statmax type="number">0</statmax> <! -- Stat multiplyer max -->
<bonus type="number">0</bonus> <! -- Bonus -->
<type type="string">acid</type> <! -- Damage Type -->
</id-00001>


It works all fine except the Stat field.
I can do cl/oddcl/strength/dexterity/constitution/intelligence/wisdom/charisma
but NOT "Even CL".

if i insert evencl it wont work. Does someone know what to insert for even cl ?

Thanks
Sargas

Trenloe
July 9th, 2020, 10:12
The clue is in the <values> field in the cycler definition:


<labelsres>cl|evencl|oddcl|str|dex|con|int|wis|cha</labelsres>
<values>cl|halfcl|oddcl|strength|dexterity|constitution|in telligence|wisdom|charisma</values>

Sargas
July 9th, 2020, 10:25
GREAT !
Thanks a lot !