• 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

Conteplative

I have another problem with the matter...

How do I make the Cleric Domain Spell dialogue recognise the spells from the domains the Contemplative choose as bonus domains ?
 
what I would do is create a script on the Contemplative to generate a string that is made up of the ClsAllSp.? tags on the two domains and then amend it to the field[cSplScExpr].text &= " | (" & spellstring & ")"
 
I'm not exactly sure what the ability is supposed to do? You're supposed to be able to pick a domain and add it's domain spells to your class spell list? I'd give the ability a selector that can choose among all things with the correct component, and pull the ClsAllowSp tags from the selected domain before forwarding them to the class helper. That way the class helper will automatically alter it's candidate expression for spells.
 
Okay, I get what you say, but how would I write it.
I can salvage the foreach loop to get the domains, but how do I get their tags with a specific beginning into a string?

I saw variable definition once in a eval script, but can't find it anymore....
 
In the editor for your I assume it's a class ability, scroll down to the "Item Selection" portion, for the "Restrict First List to" choose "All Things" and for the custom expression put "component.BaseClrDom". That will give the ability a selector which picks among all domains, even those not on the hero.

Then add an eval script to pull the tags and change them into the correct tag group.

Post Level 10000
Code:
~ Do nothing if we are too low level
doneif (tagis[Helper.ShowSpec] = 0)

~ Do nothing if we are disabled
doneif (tagis[Helper.SpcDisable] <> 0)

~ Do nothing if we haven't selected a domain yet.
doneif (field[usrChosen1].ischosen = 0)

~ Pull the tags and switch them from secondary spell list tags to primary spell list tags.
perform field[usrChosen1].chosen.pulltags[ClsScAllSp.?,ClsAllowSp]

~ Push the tags to the class which we are associated with.
call foctoclass

doneif (state.isfocus = 0)

perform focus.pushtags[ClsAllowSp.?]
 
I hadn't used a class ability before but had used the "Custom Abilities" entry with the class to grant domains.
And it worked fine, granting the powers and all...

Creating a class ability of its own, as described, removes all that...
And it appears I still haven't the spells in the domain spells list.
 
From your answer, I think I might have misunderstood what you are trying to do. Could you restate what your goal is in clear terms?
 
Ok.

What I have:
I have the Prestige Class that allows to choose a thrid and fourth domain at level 1 and 5 respectively.
I managed to do this by using he "Custom Abilities" entry of the class, choosing "cHelpCleric" and checking the "Follow Deity/Domain restrictions" check box.
So in HL the Prestige Class' tab allows to choose two domains and adds their powers normally.
I wrote a script so that cleric and prestige class levels are added when determining the granted powers of all four domains.
Also, the prestige class allows for cleric spellcastig to increase.

What I'm missing
The spells that the two domains from the prestige class grant as domain spells should be added to the cleric tab's domain spell list.
 
Last edited:
Ah, so the issue is that you are adding the domains to the prestige class, but you want their effects (in this case, the domain spells) to be applied to a chosen base class. Is this prestige class always going to be combined with the cleric class, or should it be able to benefit other classes which get domains (like Druids or Inquisitors, for example)?
 
Alright, then here is what I would do. Create a class ability and bootstrap the class ability to your PrC, which pulls the tags from any domains added to their prestige class and then forwards them to a selected base class.

For the selector, do a similar thing as I described above for that selector, except instead of "All Things", choose from "All Picks on the hero" and instead of "component.BaseClrDom" use "component.Class".

Then enable debugging (in the HL menus, "Develop -> Enable Data File debugging"), add a level of your PrC, and add a domain to it. Right click on the added Domain and "Show Tags". In the window that pops up, scroll through until you see the "CustTaken" tag and note the tag ID (the part after the ".") for later.

Now, for your class special, you're going to need to foreach through all domains on the hero which are added to your PrC, pull the secondary spells tags from them, and then forward them to whatever class the class special picks.

PostLevel 10000
Code:
      ~ If we're too low level, just get out now
      doneif (tagis[Helper.ShowSpec] = 0)

      ~ If we're disabled, just get out now
      doneif (tagis[Helper.SpcDisable] <> 0)

      ~ If we haven't selected anything, do nothing
      doneif (field[usrChosen1].ischosen = 0)

      ~ Pull the ClsScAllSp tags from the domains added to our PrC
      foreach pick in hero from BaseClrDom where "CustTaken.WHATEVERIDYOUNOTEDABOVE"
        perform eachpick.pulltags[ClsScAllSp.?]
        nexteach

      ~ Push them to the class we selected
      perform field[usrChosen1].chosen.pushtags[ClsScAllSp.?]
 
Hi,

thank you. It works now. I had the Ability named "Bonus Domain" just as the Custom Ability, so it didn't work at first, but once I renamed one to "Extra Domain" both work fine in unison.

Only thing wrong is that the Pulldown lists all classes, not just classes with an actual secondary spell list for domain spells. So, "Fighter" is in the list, for the character has one level fighter...

But still. Thank you very much.
 
Oh, I found another thing that I'd like to have.

The "divine wholeness" Ability should allow for Contemplative Level times 4 hitpoints to be healed per day.

How can I get a counter on the inplay tab that allows to monitor the hps already used ?
 
In the Charge Information section, check "Show in tracked resources", then click on "Automatic Calculations", since there isn't a level x 4 tag already, click on the "new tag" option at the top and hit OK. In the window that pops up, specify the tag ID in the same pattern as the existing tags, as "LevelX4", and the tag name as "Level x 4".

Then for the Usage period, choose " HP/day"
 
I tried but somehow I didn't work.

The tracker appeared, but it stays at 0/0 charges.
I tried some other options, and some (like all hit die) calculate correctly. But Levels x 5 or levels x 2 fail, resulting in 0/0 charges.

Could it be that the name is "Levels x 4" (with plural s) ?
Can I delete the custom Tag somehow and create it again wit the correct name?
 
Back
Top