Senior Member
Join Date: Jul 2010
Posts: 3,147
|
So I have a bit of an issue with the Tome of Battle that I didn't realize until I read the unofficial official errata. Each base class from the book carries its own initiator level. For example, a Crusader 11/Swordsage 8 would have an initiator level of 15 for the Crusader, but only 13 for the Swordsage. Both classes have access to some maneuvers, but if the maneuver requires an initiator level 15, then that maneuver would only be available to the character via his/her Crusader levels. So, how do I script such a thing? I can set up the initiator level for each class fine. For example, if I have a special called "Initiator Level - Crusader" and it sets its value appropriately. Checking the value on this is easy enough, but makes the maneuver available to both classes. To make it only available to the crusader, I tried this:
Code:
if (linkage[table].field[cTotalLev].value <> 0) then validif (hero.childfound[xInitCrusa].field[Value].value >= 15) endif Quote:
|
|
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
A prereq has to be tested both before and after it's been added to the character, but a linkage isn't established until after the pick has been added, so a linkage can't be used in a prereq.
|
#2 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
So is there a way to check the parent class prior to it being added to the character? Would the above script work in an eval rule?
Last edited by Sendric; January 24th, 2014 at 11:41 AM. |
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Until the Power becomes a "pick" you can't test what your attached too. So only after your a "pick" can you throw the error. It can't be done while you exist as a "Thing" in a table. 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. |
|
#4 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
I guess I could do this as an eval rule then. Thanks.
|
#5 |
|
|