Member
Join Date: Aug 2013
Location: Lenexa, KS
Posts: 71
|
I am creating an archetype for the Divine Channeler class. I want to revert the diminished spellcasting to standard spellcasting using an archetype. I can add spells using the spells cast per level, but am having trouble adding the domain spells back to the original spell levels. I am not certain how to do this. Can anyone give me a hint of something to try.
Thanks. Kal |
#1 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
I believe you'll have to manually adjust the secondary spells back, as that's what I had to do when I created it.
|
#2 |
Member
Join Date: Aug 2013
Location: Lenexa, KS
Posts: 71
|
I have looked at the divine channeler. I saw a .1 after the spells cast per level. I tried that, but that did not work. Would that be in the eval scripts?
|
#3 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
The Divine Channeler's secondary spells are set in an eval script yes, it was the only way to change it from something other than 1
|
#4 |
Member
Join Date: Aug 2013
Location: Lenexa, KS
Posts: 71
|
When I move the eval script to the archetype and adjust the spells, I get an error for field(cTotalLev) not being found. I tried adding cHelpDch.cTotalLev as the field, but it didn't like that either. so part of the script looks like this,
elseif (field[cHelpDch.cTotalLev].value = 3) then field[cSecMax].arrayvalue[1] = 2 field[cSecMax].arrayvalue[2] = 1 I also tried Hero.cTotalLev, but that was not correct either. How do I have it look at the hero's total class level for this. Sorry about all the questions. Learning is a continuous process for me. Thanks. Kal |
#5 |
Member
Join Date: Aug 2013
Location: Lenexa, KS
Posts: 71
|
and does this mean I will also have problems with the cSecMax field as well?
|
#6 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
You're not using the right way of targeting the field, it should be linkage[varies].field[cTotalLev].value and linkage[varies].field[cSecMax].arrayvalue[x]
|
#7 |
Member
Join Date: Aug 2013
Location: Lenexa, KS
Posts: 71
|
I think I understand. I was able to get it to work with that. So, when using anything that calls a field from a parent, we can use linkage[varies] to have the program search existing fields for that particular field and have it use that to pull the data in. Does that sound correct?
|
#8 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
linkage[varies] goes from an archetype to the linked class. Check out a stickied thread called "Location, Location, Location" it's a very good post by Mathias that explains how traversing things goes.
|
#9 |
Member
Join Date: Aug 2013
Location: Lenexa, KS
Posts: 71
|
Thank you.
|
#10 |
|
|