Junior Member
Join Date: Dec 2007
Posts: 5
|
I was wondering if anyone knows how to disallow a bonus feat for a prestige class character if that character has already had that feat selected from previous levels. Specifically, the prestige class calls for the skill focus feat (spellcraft). Anyone have an ideas,
Thanks. |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
This seems pretty simple, all you have to do is set up a statement that "If hero already has this feat, disable the ability" and then some prestige classes allow you to pick another feat instead, so I'll include that, you can cut it out if it doesn't apply.
Phase: PostLevel var result as number var level as number level = hero.child[cHelpKCr].field[cTotalLev].value ~ Check to see if our level is high enough for us to have this ~ ability if (level >= 3) then ~ Check to see if we already have the Diehard feat if (#hasfeat[fDiehard] <> 0) then result = assign[Helper.SpcDisable] ~ Since we already have Diehard, add 1 to feats allowed so we can ~ take something else in it's place hero.child[Totals].field[tFeats].value += 1 endif endif |
#2 |
Senior Member
Lone Wolf Staff
Join Date: Dec 2008
Posts: 4,690
|
Abrion wrote:
> > > I was wondering if anyone knows how to disallow a bonus feat for a > prestige class character if that character has already had that feat > selected from previous levels. Specifically, the prestige class calls > for the skill focus feat (spellcraft). Anyone have an ideas, I'm not sure I understand what you want - you're saying that the class requires "Skill Focus - Spellcraft", and so heroes of that class shouldn't be allowed to take "Skill Focus - Spellcraft" again? Unless I'm misunderstanding you, if you try to take Skill Focus twice for the same skill, it should give you a validation error. If not, that's a bug, and I need to fix it. Hope this helps, -- Colen McAlister, colen@wolflair.com Chief Engineer, Lone Wolf Development |
#3 |
|
|