Senior Member
Volunteer Data File Contributor
Join Date: Jan 2007
Posts: 591
|
How would you set up a feat so it can only be picked at 1st level but is not an error to have it at later levels?
|
#1 |
Senior Member
Lone Wolf Staff
Join Date: Dec 2008
Posts: 4,690
|
dartnet wrote:
> > > How would you set up a feat so it can only be picked at 1st level but is > not an error to have it at later levels? You'd have to give it a pre-requisite that returned true if you were first level, or if the feat was a pick. So something like this: ----- ~ We're invalid by default @valid = 0 ~ If we're level 1, we're valid if (hero.child[Totals].field[tLevel].value <= 1) then @valid = 1 endif ~ If the pick has already been added to the hero, we're valid if (@ispick <> 0) then @valid = 1 endif ----- You won't be able to validate it once it's been added to the hero, but you can make it grey out in the list if you're over level 1. Hope this helps, -- Colen McAlister (colen@wolflair.com) Chief Engineer, Lone Wolf Development http://www.wolflair.com/ |
#2 |
|
|