Thread: Scripting Help
View Single Post
nlmacdonald
Junior Member
 
Join Date: Oct 2018
Posts: 29

Old October 30th, 2018, 09:23 AM
Thanks for the help.
I have some unrelated questions. These are related to the Pathfinder editor

1) I'm working on a class that using Fighter Weapon Training. This class has these as a Secondary Ability. I've need to copy and recreate the abilities to link them to the secondary ability. I'm not getting a proper bonus to hit, damage, etc. There is a procedure called cFtrWepSum that is called by the secondary abilities from eval scripts. The code for the ability is below. I get what it does, but don't know how it is calculating the value of abValue. The secondary ability doesn't have a value in abValue on the GUI, nor does the fighter class have an eval script that calculate the value of abValue by counting number of weapon trainings selected. How is this value calculated?

~ this is the code for cFtrWepSum
field[sbName].text = lowercase(field[shortname].text) & " " & signed(field[abValue].value)
field[shortname].text &= " " & signed(field[abValue].value)
field[livename].text &= " " & signed(field[abValue].value)
field[abSumm].text = signed(field[abValue].value) & " Attack, Damage, CMB, CMD with " & field[summary].text

2) I'm adding Domains to the same class. Domains are created on the Domain tab. There is a way to boot strap the domain to archetypes on this tab, but not to a class. Nor is there way to assign the Domain to ability (primary, secondary, tertiary, etc.. ). How is this achieved?

3) I've found some good documents on constants used for the pathfinder editor but its not complete. Is there a search mechanism in the GUI. For example, if I wanted to create a custom expression using Energy Type, where do I find the constant for acid (EnergyType.Acid??)?
UPDATE: I found the Develop > Floating Windows Info > Show Selection Tags, Show Selection Tags, etc..
Does this sources provide all Tag, Fields, etc.. used within the editor or just the Hero container?

4) I wanted to create a class that has spell casting like the 1st edition Ranger. The ranger could pray for Druid spells and had a spellbook for Magic-User spells. The GUI has a section for secondary spells, but this really only accommodates bonus spells from domains or schools. Is there a way through scripting to add an array of spell casting to a class, spells known array, spell type (arcane divine), how the spell is memories (book or prayer like a cleric). And in scripting this, is there a way to link a distinct spell list to option a and distinct list to option b?

5) Related to (4). Is there a way to add spell casting to a pick? Let's say I wanted to create an Intelligent sword that could memories spells like a wizard. Is this possible?

Thanks for the help.

Last edited by nlmacdonald; October 30th, 2018 at 12:07 PM. Reason: Discovered some information related to question
nlmacdonald is offline   #4 Reply With Quote