PF2E Playlist
  1. #1

    Problems to code Pathfinder Spell damage effect

    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

  2. #2
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Newcastle, UK (for a bit)
    Posts
    26,860
    The clue is in the <values> field in the cycler definition:

    Code:
    <labelsres>cl|evencl|oddcl|str|dex|con|int|wis|cha</labelsres>
    <values>cl|halfcl|oddcl|strength|dexterity|constitution|intelligence|wisdom|charisma</values>
    FG Con 16 Fantasy Grounds Online RPG Convention - Postponed New date To Be Confirmed.
    Register at www.fg-con.com for all the latest info.

    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  3. #3
    GREAT !
    Thanks a lot !

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
5E Character Create Playlist

Log in

Log in