At 05:16 AM 2/3/2007, you wrote:
I was wondering how one 'link', for lack of a better word, an ability such as, for instance the monk Improved Armor Class, so that it shows up on the character sheet? I see how you make the ability, and it does show up as text...but the relevant Misc increase does not.
In the case I'm trying to add, the Swashbuckler class, which I have managed to create
should, at level 2, get an additional +1 Reflex save. And I cannot figure out how to GIVE this additional save.
Sorry if I'm a bit rambling, hard to explain what I want.
Note! This is lengthy, because this is a step-by-step walk-through that other users might find useful. If you already know most of this stuff, just skim through for the few bits that you aren't clear on and skip the rest.
If I'm understanding correctly, you have the Swashbuckler class implemented, and what's missing is the assignment of the extra +1 Reflex save at Level 2. Assuming I understand properly....
First, I'll outline how this works, then I'll go into the specifics. As a general rule, all special abilities conferred by a class are defined as "class specials" within the data files. Each class special ability is then attached by the "class helper" thing via a "bootstrap" entry. So, you'll first need to define the class special ability that confers "Grace (+1 Reflex save)" and then you'll need to attach the special ability to the class.
You'll attach it to the "class helper" instead of the "class level", because a separate "class level" is added for every level in the class, while only a single "class helper" is added, regardless of the level. Since the ability will be bootstrapped, attaching it via the "class level" thing would add the ability once for every level. Since you only want it added a single time, you'll attach it to the "class helper" instead.
All class special abilities are defined via the "Class Specials" tab within the editor. In fact, you're in luck, because the Duelist class already has a "Grace" special ability that can be adapted for use by the Swashbuckler. So we'll start by duplicating the Duelist's "Grace" ability:
1. Within the Editor, click on the "Class Specials" tab.
2. Click on the "New (Copy)" button in the lower left. This shows you a list of all the existing class special abilities.
3. Scroll down and pick the "Grace (Ex) (cDueGrace)" ability.
4. Click "OK".
You now have a special ability that does most of what you want already. Proceed as follows:
1. Modify the name, description, and summary text fields appropriately.
2. Assign your ability a suitable unique id. If you wish to be consistent with the conventions used in the data files (recommended), the id should start with a lower-case 'c' (for "class-related"), then have the three-letter prefix for the class (e.g. "Swb"), and then name the ability (e.g. "Grace2" for the level 2 Grace ability). Remember that you only have 10 characters total, so you might use an id of "cSwbGrace2".
3. Specify the "sort order" field as 2, which corresponds to the level at which the ability becomes available. This field ensures that all of the special abilities for the class are displayed in a suitable order based on the level progression, with 1st-level abilities appearing, then 2nd-level abilities, etc.
4. In the "Source" droplist, select the "Swashbuckler" class that should appear.
5. For "Level Requirement", pick "2". This is the minimum level at which the ability becomes active.
6. Since this ability will apply it's adjustments automatically, you don't need it to appear in the "Specials" tab. So check the "Upgrade" box.
7. There are no charges associated with this ability, so the other facets can be left unchanged.
The last thing you need to do for the special ability is modify the Eval Script. The script is where you'll check the conditions and apply the adjustment for the Reflex save. Click on the "Eval Scripts" button the right and you'll see the script that is used for the Duelist. You'll need to make one key change. The final line of the script applies the +2 bonus to the Reflex save, so you can leave it alone. The change is needed in the pre-condition for applying the bonus. The Duelist is tied to wearing armor or using a shield, whereas the Swashbuckler is tied to the encumbrance level. So we simply need to change the "if" test appropriately. Since the "tEncumLev" field contains the encumbrance level, and a value of 2+ indicates a medium load or heavier, this is achieved by changing the "if" test to the new line below:
if (hero.child[Totals].field[tEncumLev].value >= 2) then
You can now save all your changes to the special ability.
Now you need to make sure that the special ability is automatically attached whenever the Swashbuckler class is used. This is quick and easy:
1. Go to you Swashbuckler class that you have already created. Be sure to use the "class helper" thing and NOT the "class level" thing.
2. Click on the Bootstraps button along the right, which will bring up a list of all the things that are automatically added by the class.
3. Click at the bottom to add a new bootstrap entry, and a new blank entry appears.
4. In the first slot labeled "Thing:", enter the unique id of the special ability thing you just created above. If you used the id suggested, it would "cSwbGrace2".
5. Click OK on the form to exit it.
6. Save your changes to the class.
At this point, you'll need to splice in both the new special ability AND the class helper. Once that's done, you should be able to see everything work smoothly for the Grace ability of your Swashbuckler. To add the additional Grace entries for higher levels, you'll simply copy the one you created above and modify it appropriately.
Hope this helps,
Rob