SteelRat451
Member
I am trying to create a new class that uses the custom abilities of two other classes. To do this I would have to use the Custom Ability of one class as a Secondary Ability for the new class. The only solution I found to this is to recreate all the custom abilities of one class as secondary abilities. This strikes me as "silly and wastful" (to quote the comments in the Shaman script which does something similar.) I suspect there is some form of script that can do this based on the Shaman script that overwrites the secondary abilities' expression to avoid duplication. (see below, I understand this duplicates the custom ability list within a given class to the secondary ability, but it does not address accessing other classes.)
I just have no idea how to redirect the "AllowC2nd" of the referenced class to the custom ability (as opposed to the secondary ability). Any suggestions or pointing out an existing script that does something similar (which I obviously haven't found), would be appreciated.
Code:
~we'll overwrite the secondary abilities' expression, since we need
~to make them use the same abilities as our primary list. The alternative (creating every spirit twice, once for each table), is silly and wasteful.
field[cCstS2Expr].text = field[cCstSpExpr].text
~Same with the hexes.
field[cCstS4Expr].text = field[cCstS3Expr].text
I just have no idea how to redirect the "AllowC2nd" of the referenced class to the custom ability (as opposed to the secondary ability). Any suggestions or pointing out an existing script that does something similar (which I obviously haven't found), would be appreciated.