Senior Member
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328
|
I am making a custom warlock for Herolab Pathfinder, and I need help with the DC for invocations... I can't just base it off Charisma because the Invocations have equivalent Spell Levels. For Instance Baleful Utterance is treated as a 2nd Level Spell.
Anyone have a DC Script available that could be modified for each invocation (based on spell level of the invocation)? Like "DC = 10 + x + Cha Modifier" Where x is the equivalent spell level. I am not real familiar with the program, so I can't write the script myself as of yet. Thanks for any help or advice. |
#1 |
Senior Member
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328
|
The program is XML based right? So I should learn that to properly learn how to make scripts right? Sorry I should've originally asked that lol.
one of the main questions I guess I have, is there a list of identifiers for everything? Like text fields and such... For instance, is there a way for me to edit text next to something on the character sheet under special abilities? Like if I wanted to add Eldritch Blasts range on the actual character sheet? I see that "field[abSumm].text" is the text field for the special tab in Herolab. I am not sure if it shows up anywhere else though. Last edited by Pezmerga; November 3rd, 2010 at 12:46 PM. |
#2 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
The data files are written in XML, but if you're using the editor, all the XML is handled by the editor, and all you'll see is HL's custom scripting language.
Phase: Post-Attributes priority: 10000 Code:
field[abDC].value += 10 + 2 + #attrmod[aCHA] Generally, finding existing things in the editor that work like what you're trying to make is the best way to go about figuring out details like range. |
#3 |
Senior Member
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328
|
Quote:
What if I wanted the save the ability targeted to show up on the character sheet with the DC? Like DC 17 (Fort) etc.? |
|
#4 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
You can bypass the normal DC modifier field and its mechanisms that append it to the name:
Code:
field[abValue].value += 10 + 2 + #attrmod[aCHA] field[livename].text = field[thingname].text & " (Fort DC " & field[abValue].value & "negates)" Code:
field[abSumm].text = "(The effects of this ability), Fort DC " & field[abDC].value & " negates." |
#5 |
Senior Member
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328
|
Ok similar question, how do I change the summary text in the class tab through scripts? I want to update that information in code for abilites that get better when you level. I know the special tab summary uses field[abSumm].text for example, but can't figure out what changes the class tab summary (besides typing it in editor when making ability of course.).
Last edited by Pezmerga; November 4th, 2010 at 09:15 PM. |
#6 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
The class tab summary isn't available for altering - it's fixed to the text entered at the top right of the editor.
The intent is that during play, users will be switching between the Special, In-Play, and Adjust tabs - the class tab is only something they'll look at during character advancement. The goal on the class tab is to give the user a glance at what's coming up - they might want to know what will be coming so they can plan other choices, like multiclassing or feat choices, so customizing the detail there isn't as important as the details offered on the Special tab. Last edited by Mathias; November 4th, 2010 at 09:52 PM. |
#7 |
Senior Member
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328
|
Quote:
|
|
#8 |
|
|