Senior Member
Join Date: Aug 2011
Posts: 363
|
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?
|
#1 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
You have to write a script to disable and replace it individually. Use find child and the ClSpecWhen.? Teg
|
#2 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
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] Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. Last edited by ShadowChemosh; June 28th, 2015 at 10:23 AM. |
#3 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
That only disables it, you also need to assign the Helper.AbReplace tag
|
#4 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
And thanks I forgot to copy both lines of script for the example above... Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
|
#5 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
Yep you're right, I usually just copy/paste it myself and change the parameters ...
|
#6 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
The above actually makes for what should go into a Procedure actually. Then less chance of a mistake. And easy fix if anything in the future changes....
Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#7 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
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.
|
#8 |
Senior Member
Join Date: Aug 2011
Posts: 363
|
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] |
#9 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
on the archetype
|
#10 |
|
|