• 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

Overwrite Text

Frodie

Well-known member
Is there a way to overwrite the text on a class special ability slot?

I have: Post level 5000

linkage
.field[cSpec5thSi].text = "Domain Spells"
 
That should be possible. What are you trying to do? You know that Domain Spells are not in the Quintenary Custom Ability slot, but in the Secondary Spells table instead, right?
 
Yea, but these are copy of the domains because the 3pp I am helping just wanted the spells and not the domain powers. So I copied them all and strip out the domain powers.

Anyways, the class has txt in that slot I need to replace, everything else is full and the 5th slot is only used once at 1st level and not needed after that. I got all that to work fine, but just need to overwrite the txt.

Maybe I can delete the fields cSpec5thSi and cSpec5thNm
 
Last edited:
Couldn't you just apply the Helper.SpcDisable and Hide.Special tags to the domain powers by foreaching through all cleric class abilities and seeing if the thing which bootstrapped that class special is a domain?

Try moving the script to overwrite it to after Final 80000
 
Thank you the timing worked great!

The domains, well I tried the helpers, but I couldn't get them to hide all the domain powers. The 3pp just wanted the spells, that is why I copied the domains. If there is a better way can you point me to it?

Thank you!

Would it be something like:

foreach pick in hero from BaseClSpec where "SpecSource.cHelpClr"
perform eachpick.assign[Helper.SpcDisable]
perform eachpick.assign[Hide.Special]
nexteach
endif
 
Last edited:
Something like this

Code:
foreach pick in hero from BaseClSpec where "SpecSource.cHelpClr"
  if (eachpick.root.tagis[component.BaseClrDom] <> 0) then
    perform eachpick.assign[Helper.SpcDisable]
    perform eachpick.assign[Hide.Special]
    endif
  nexteach
 
Back
Top