Clearing up Umarian's post on the shutdown headers:
On a feat, add this before any code that shouldn't be applied if the feat were disabled for some reason:
On a class special, add this before any code that shouldn't be applied if you haven't reached the correct level yet (this also includes code that shouldn't be applied if an archetype replaces this ability):
If your class special appears at multiple levels - for example, a fighter's armor training, that gets stronger as you level, add this before any code that's level dependant, in addition to the Helper.ShowSpec test:
By adding that, you make sure that the bonus only gets applied once - not once/copy. For example, an 11th level fighter, with armor training 3, if they didn't have the Helper.FirstCopy test, the copy of that ability at 3rd level would apply a +1, the copy at 7th level would apply a +2, and the copy at 11th level would apply a +3 - for a total of +6.
On any other type of special ability, use this test the same way you use the feat-specific test given above (before any code that shouldn't be applied if the ability were disabled for some reason):
On a feat, add this before any code that shouldn't be applied if the feat were disabled for some reason:
Code:
doneif (tagis[Helper.FtDisable] <> 0)
On a class special, add this before any code that shouldn't be applied if you haven't reached the correct level yet (this also includes code that shouldn't be applied if an archetype replaces this ability):
Code:
doneif (tagis[Helper.ShowSpec] = 0)
If your class special appears at multiple levels - for example, a fighter's armor training, that gets stronger as you level, add this before any code that's level dependant, in addition to the Helper.ShowSpec test:
Code:
doneif (tagis[Helper.FirstCopy] = 0)
By adding that, you make sure that the bonus only gets applied once - not once/copy. For example, an 11th level fighter, with armor training 3, if they didn't have the Helper.FirstCopy test, the copy of that ability at 3rd level would apply a +1, the copy at 7th level would apply a +2, and the copy at 11th level would apply a +3 - for a total of +6.
On any other type of special ability, use this test the same way you use the feat-specific test given above (before any code that shouldn't be applied if the ability were disabled for some reason):
Code:
doneif (tagis[Helper.SpcDisable] <> 0)
Last edited: