• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Adding domain spells to Archetype

Kalladar

Well-known member
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
 
I believe you'll have to manually adjust the secondary spells back, as that's what I had to do when I created it.
 
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?
 
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
 
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
 
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]
 
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?
 
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.
 
Back
Top