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:
This gave me the following error upon compiling:
Either I'm using the linkage command incorrectly (which is highly probably given my lack of experience with it) or it doesn't work right in d20. Either way, does anyone have any suggestions on how to handle this?
Code:
if (linkage[table].field[cTotalLev].value <> 0) then
validif (hero.childfound[xInitCrusa].field[Value].value >= 15)
endif
This gave me the following error upon compiling:
Hero Lab was forced to stop compilation after the following errors were detected:
Syntax error in 'pre-requisite rule' script for Thing 'cStoDra081' on line 1
-> Script reference is invalid under the circumstances
Either I'm using the linkage command incorrectly (which is highly probably given my lack of experience with it) or it doesn't work right in d20. Either way, does anyone have any suggestions on how to handle this?