Junior Member
Join Date: Mar 2012
Location: Hudson Falls, NY
Posts: 10
|
The Edge is:
College Boy Requirements: Novice, Smarts d8+ This soldier spent some time in college before being drafted or enlisting. He has an additional 4 skill points to spend on any Smarts related skills. At least one of these must be a Knowledge skill at d6 or better (his Major). I've added quite a few other edges & hindrances from this setting, but I cannot figure out how to get the additional 4 skill points to work. While I could use a Permanent Adjustment from the Personal Tab (for the character), I'd much rather know how to code it so I will be able to use this edge more than once. Any help would be appreciated. |
#1 |
Senior Member
Join Date: Sep 2010
Location: Rochester, NY
Posts: 263
|
OK so you are essentially adding a Knowledge skill at d6 and two other skill points.
Create your Edge and bootstrap (not bookmark...) the skKnow thing. This will give you a free Knowledge Skill at d4. Add this as an Eval Script: Pre-Traits:5000:1 Quote:
Then you will need to add in an Eval Rule or Expr-reqs which counts the number of ranks in Smarts skills and sends up a flag if it is under 4. will see if I can come up with a script for that sometime soon. Last edited by tatteredking; March 20th, 2012 at 04:00 AM. |
|
#2 |
Junior Member
Join Date: Mar 2012
Location: Hudson Falls, NY
Posts: 10
|
OK, thanx a bunch... if I have any issues I'll let you know.
|
#3 |
Junior Member
Join Date: Mar 2012
Location: Hudson Falls, NY
Posts: 10
|
Any luck on that additional script for the additional Knowledge skill points? I've tried looking at the "standard" SW edges for an idea of how it might be done, but haven't seen anything that looked close.
The work around that I'm using is to add 4 skill points under permanent adjustments and making sure that the points are added to Knowledge based skills. |
#4 |
Senior Member
Volunteer Data File Contributor
Join Date: Aug 2009
Posts: 1,550
|
perhaps something in an eval rule (Validation/1000) like:
var smartcount as number smartcount = 0 foreach pick in hero where "component.Skill" if (compare(eachpick.linkage[attribute].idstring,"attrSma") = 0) then smartcount += eachpick.field[trtFinal].value - 1 endif nexteach validif (smartcount >= 4) with a message that reads: College Boy requires at least 4 points spent in Smarts skills. |
#5 |
Junior Member
Join Date: Mar 2012
Location: Hudson Falls, NY
Posts: 10
|
Added and updated my version... thank you for your assistance.
|
#6 |
|
|