• 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

Auto-Add an Archetype

SeeleyOne

Well-known member
Is there a way to make an archetype always be added to a particular class? For example, if you are in a world where Witches always use Wisdom instead of INT for their spells it would require an archetype. Likewise, if Fighters are to get good Reflex saves as well.
 
That was my preferred method, but I could not quite get the syntax right. I cannot quite figure out how to change it on the class.

For the Fighter I have this:
Code:
if (#levelcount[Fighter] > 0) then
    #makeclassskill[skPercep]
    ~perform hero.child.Classes[Fighter].assign[cRef.Good]
endif

I put the ~ there because the class skill being Perception works, but I could not figure out the classes part. I tried a few different variations, that is where it stayed as a "note form".
 
Should I maybe be accessing it through the cHelpFtr instead? The class info is made as a helper. Either way for now I am stumped.
 
Yes, the saves are determined by the class helper so

perform hero.childfound[cHelpFtr].tagreplace[cRef.?,cRef.Good]
 
Archetypes use SplAttr and MaxSplAttr to determine their spellcaster attribute. Do you know what term the original class uses?
 
Back
Top