Senior Member
Join Date: Feb 2013
Posts: 357
|
Ran into an issue that I'm having trouble with. There are feats/abilities in the Rokugan Campaign Setting that allow you to select cross-class skills and add them as class skills and I'm having trouble getting it to script properly
This is what I have so far. Kolat Agent ability "Broadened Skill Base" has two "Broadened Skill" things bootstrapped. The feat "Versatile" will have similar coding once this one is done. Code:
~ If we're disabled, do nothing doneif (tagis[Helper.FtDisable] <> 0) call fTargetFoc doneif (state.isfocus = 0) ~ Add chosen to class skills var index as number var target as string target = field[fChosen].chosen index = hero.child[cHelpKol].assign[ClassSkill.target] ~ Add 1 to our chosen skill focus.field[Bonus].value += 1 |
#1 |
|
|