• 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

archetype removing one instance of class special

psych777

Well-known member
how do you remove a class special from just one level that it is granted? the class gets this special at 2nd level and again every 2 levels after that (so at level 2, 4, 6, 8, 10, 12, 14 etc). the archetype has a new special ability that replaces just the 10th level of the original class special. i know how to remove the special ability completely, but how do i replace just the instance at level 10 without removing the rest?
 
You have to write a script to disable and replace it individually. Use find child and the ClSpecWhen.? Teg
 
In example this replaces just the 14th level mutagen the Alchemist gets:

Pre-Levels/10000:
Code:
~ Disable the Persistent Mutagen ability we get at 14th level.
perform hero.findchild[BaseClSpec,"thingid.cAlcMutage & SpecSource.cHelpAlc & ClSpecWhen.14"].assign[Helper.SpcDisable]
perform hero.findchild[BaseClSpec,"thingid.cAlcMutage & SpecSource.cHelpAlc & ClSpecWhen.14"].assign[Helper.SpcReplace]
 
Last edited:
That only disables it, you also need to assign the Helper.AbReplace tag
Actually I thought it was Helper.SpcReplace for class abilities? Or at least the Archetype like Beastmorph was using Helper.SpcReplace not Helper.AbReplace.

And thanks I forgot to copy both lines of script for the example above...
 
Quite true. Just a lot of careful timing. You'll either have to carefully set the input parameters or do multiple scripts if you have to disable multple items.
 
okay so where would i put the script? i tried it on the new ability itself, then put it on the archetype, but neither one removed the 10th level ability
this is what i edited it to:

Code:
~ Disable the Terror ability we get at 10th level.
perform hero.findchild[BaseClSpec,"thingid.cPUTerrors & SpecSource.cHelpPU2 & ClSpecWhen.10"].assign[Helper.SpcDisable]
perform hero.findchild[BaseClSpec,"thingid.cPUTerrors & SpecSource.cHelpPU2 & ClSpecWhen.10"].assign[Helper.SpcReplace]
 
so any idea why it isn't removing the 10th level ability?
its supposed to remove a 10th level Terror from Dread class (the cHelpPU2)
 
post #9 has the only code i have in my eval script. here it is again:

Code:
~ Disable the Terror ability we get at 10th level.
perform hero.findchild[BaseClSpec,"thingid.cPUTerrors & SpecSource.cHelpPU2 & ClSpecWhen.10"].assign[Helper.SpcDisable]
perform hero.findchild[BaseClSpec,"thingid.cPUTerrors & SpecSource.cHelpPU2 & ClSpecWhen.10"].assign[Helper.SpcReplace]
 
i've tried every phase at 10000, 9000 and 500...i'm tired of testing timings now... :o)
During this testing. Did you make sure that the "Tags" are getting on to the Pick. Or is the problem that the Pick is NEVER getting assigned the tags?

I am pretty sure the timing is NOT that touchy when it comes to this stuff. Most class scripts run at Post-Levels/10000 so as long as you are before that you are good. So sense more than likely this is NOT the issue.

So check the "tags" on the "Pick" cPUTerrors at level 10 to see if it is getting the tags Helper.SpcDisable & Helper.SpcReplace.
 
So I just looked this up on GitHub.

And this is the XML for cPUTerrors. It only mentions "2nd" level and I do NOT see it getting bootstrapped with ClSpecWhen.10 anywhere.
Code:
 <thing id="cPUTerrors" name="Terror" description="Beginning at 2nd level, a dread learns to harness the power of fear in a variety of ways called terrors. Using a terror is a swift action. Some terrors are channelled through her devastating touch class feature. These terrors charge a dread’s touch (and later her weapon) until her next successful attack that round.\n\nSome terrors can be augmented by spending power points, similar to manifesting powers, to increase their effect. When augmenting her terrors with power points, the dread cannot spend more power points than her manifester level on any single use of a terror.\n\nA dread can use her terrors a total number of times per day equal to her dread level + her Charisma modifier." compset="ClSpecial">
    <usesource source="pPsiUn"/>
    <tag group="AbilType" tag="Super"/>
    <tag group="Usage" tag="Day"/>
    <tag group="ChargeAttr" tag="aCHA"/>
    <tag group="ChargeCalc" tag="LevelFull"/>
    <tag group="ChargeCalc" tag="LevelX1"/>
    <tag group="User" tag="Tracker"/>
    <tag group="abAction" tag="Swift"/>
    </thing>

Are these "Custom Abilities" that get selected? I see the Custom Ability array is setup for 2,4,6,8,10 etc.....

If that is the case you simply put in a -1 at level 10 in the Archetype "Custom Ability" array to remove the 10th level selection. You don't disable a class pick...
 
ahhhhhh!!!!
now that you point it out it seems so obvious. that definitely did the trick, and i noticed the dread also wasn't getting its terror at level 20 so fixed that too
thanks!
 
ahhhhhh!!!!
now that you point it out it seems so obvious. that definitely did the trick, and i noticed the dread also wasn't getting its terror at level 20 so fixed that too
thanks!
No problem. :) Its why I get paid the big bucks! Zero times zero divided by zero... :eek: :p :D
 
Back
Top