• 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

Granting Domain Powers

ashuramarsh

Well-known member
I am working on the Magister's class feature of Divine Heritage. I have the array menu set up. What I don't know how to do, since I am not a programmer and don't think to much like one, is how to setup the eval script to tell what powers should be added when selecting a domain from the drop down list.

Is there any other class feature or ability that exists that does this that I can look at to get an idea how this might be done? If not can someone provide an example script? Even a one ability example, such as adding the Charm domain, would be enough of a help I think.

Thanks.
 
Domains are actually made up of several pieces. So if you use the editor and do a "New(Copy)" on the "Cleric Domain" tab and select Charm you see that it has two bootstraps: Dazing Touch (Thingid.dChrDazeT) and Charming Smile (Thingid.dChrSmile). The bootstraps then have tags that assign which level these become active. So Dazing Touch has the tag "ClSpecWhen.1" assigned to it.

So you can simply create NEW "Custom Ability" that is setup for your new class (ie Available to Classes is set to your class). Then this new Custom Ability Thing bootstraps the above two Things with the tags to tell it to assign Dazing Touch at level 1 and Charming Smile at level 8.

Repeat for all the different Domains you want to allow. So if you want to allow 12 domains you will need 12 individual Custom Abilities then. Its not too bad as the actual powers are done for you but you have to setup these new "Custom Ability" things to have it be attached to your class and to ONLY assign the powers not everything else.
 
Ok, I think I undwerstand that enough to create the domains needed.

The class ability is Divine Heritage. It is an array listing the 7 domains they can select if they take this ability. However, testing it with the Charm Domain, it does not add the Dazing Touch to the character. Is there a script or setting I need for the Drop down list to point to the new custom abiltiy domain to get it to show up?
 
The class ability is Divine Heritage. It is an array listing the 7 domains
Array Listing/drop down boxes are very difficult to make them bootstrap stuff.

Instead on the class setup the "Custom Ability" to appear at the same level as the Divine Heritage and you can easily control then if they get 1 or 2, or more at higher levels. This way you get a nice selection like you do for picking Rogue Talents, Ninja Tricks, Barbarian Rage Powers, Witch Hexes, etc. All of these Powers are located on the same editor tab "Custom Ability".

Check out any of those classes, on the Class Tab, for how it was setup.
 
Back
Top