Junior Member
Join Date: Jul 2023
Posts: 22
|
Hi, I wanted to create a custom domain that reduces the number of domains the cleric can have by 1. (This is so I can make a domain that takes 2 domain slots) Archetypes do not use scripts, but I found the feat Believer's Boon and it uses the following script:
Quote:
I assume cfg points to believer's boon somehow? clrMax1 doesn't work. Was I on the right track? What is a script that would work? |
|
#1 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
Believer's Boon creates a new tab for you to choose a domain. It has nothing to do with how many domains a cleric can select. To alter this, you would need to change the following field:
Code:
hero.childfound[cHelpClr].field[cGiveSpec].value -= 1 |
#2 |
Junior Member
Join Date: Jul 2023
Posts: 22
|
Thanks! I found cHelpClr, but I wasn't sure it was correct. I thought it would use domain somewhere in the title not help.
Last edited by TheNewProgrammer; September 7th, 2023 at 11:42 AM. |
#3 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
cHelpClr is the class helper for Cleric (all class helpers start with cHelp). You're basically just telling the program to reduce the number of custom abilities the Cleric gets (I think in PF1 they get up to 4). Domains is just the name of the first set of custom abilities a Cleric gets so there isn't anything named domain as far as a thingid in this case.
|
#4 |
Junior Member
Join Date: Jul 2023
Posts: 22
|
oh!, thanks
is there any way to add cantrips to the domain spells? i can add it to the list, but I don't know how to add 0-level spells to the number of preparable domain slots. also, How do I add my domain to deities portfolios(?)? finally, is there a way to add domain spells to the cleric's spell list? thanks so much! |
#5 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
It's not as easy to find an example of (it's primarily used in the custom race builder), but if the CustomCost.2 tag is present on an ability like a domain, that should make the ability cost 2 slots instead of the default 1 slot. This way, you don't need any script to alter the cost of the domain. Tags are added through the Tags button on the right-hand side of the editor.
I'm afraid I'm in the middle of a project and don't have time to look up your second, third, fourth, etc. questions right now - if no-one's gotten back to you by this weekend I should be able to delve into that and refresh my memory on how this works in this game system. |
#6 |
Junior Member
Join Date: Jul 2023
Posts: 22
|
:thumbsup:
|
#7 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
Quote:
Quote:
Code:
hero.childfound[cHelpClr].field[cSecMax].arrayvalue[0] += 1 Quote:
Quote:
Code:
perform hero.childfound[cHelpClr].assign[sClass.cdWater] |
||||
#8 |
Junior Member
Join Date: Jul 2023
Posts: 22
|
Thanks! this was very helpful
#1 worked #2, I got it to work, but not with my custom domain #3, Same #4, does not work for me for any domain. I already have something at first/10000 can that be an issue? thanks for all your help! |
#9 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
Hmm...not unless they counter each other. Any chance you can post the .user file? I usually find it easier to figure out stuff like this if I can see it.
|
#10 |
|
|