Senior Member
Join Date: Sep 2009
Posts: 173
|
So I am still struggling through making my Savage Bestiary Data file and I am stuck. For the Dendrine race they receive a free d6 in Persuasion. So I looked at the Shaintar data files since a number of those races get a free D6 in a skill. So I bootstrapped the Persuasion skill and then added this eval.
linkage[Skill].field[trtBonus].value += 1 perform #resspent[resSkill,-,1,field[name].text] When I try to test it, it only adds a d4 to the skill. I appreciate the help. Salcor Last edited by salcor; May 7th, 2017 at 05:57 AM. Reason: pic would not display |
#1 |
Senior Member
Join Date: Feb 2010
Posts: 874
|
Zarlor discusses this in the first post in the Common Code thread. His syntax is like this:
Code:
foreach pick in hero where "thingid.skPersuasion" eachpick.field[trtBonus].value += 1 nexteach |
#2 |
Senior Member
Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,819
|
What timing did you set it at? I think it should be run at Pre-Traits/5000.
Lenny Zimmermann Metairie, LA, USA Data files authored (please let me know if you see any issues with any of these if you have/use them): Official (In the downloader) 50 Fathoms, Deadlands: Hell On Earth, Deadlands: Noir, East Texas University, Necessary Evil (requires Super Powers Companion), Pirates of the Spanish Main, Space 1889 (original file by Erich), Tour of Darkness, Weird War II, Weird Wars: Rome Coming Eventually Evernight (LWD has completed their review but I have some fixes to make first... although Pinnacle mentioned this might get an overhaul to SWADE so I may just wait for that first. If you just HAVE to have this now, though, just PM me) |
#3 |
Senior Member
Join Date: Sep 2009
Posts: 173
|
I think I see what my error id. That's for pointing out the common coding syntax.
Salcor Last edited by salcor; May 7th, 2017 at 08:45 AM. |
#4 |
Senior Member
Join Date: Aug 2013
Posts: 123
|
So, I have a similar question, but don't want to limit to specific skill and want the player to be prompted.
|
#5 |
Senior Member
Join Date: Feb 2010
Posts: 874
|
At the time when I asked about this several months ago, there didn't seem to be a way. I just ended up giving the race a couple extra skill points, since, in practice, it does the same thing except in one specific (extremely unusual) case.
|
#6 |
Senior Member
Join Date: Aug 2013
Posts: 123
|
Quote:
Well, that's what was was going to do at the beginning, but was hoping for a way to avoid that one edge case you mentioned. |
|
#7 |
Senior Member
Join Date: Feb 2010
Posts: 874
|
Honestly, that case is so aberrational (someone who spends literally all their skill points on separate skills so they have nothing but D4's) I just didn't worry about it in the end, as I can't see that as going well for someone anyway.
|
#8 |
Senior Member
Join Date: Aug 2013
Posts: 123
|
Yea, I just added 2 skill points to my humans. I will say, I could see someone(Possibly me!) picking a few extra skills that MIGHT come up just to avoid the penalty)
|
#9 |
Senior Member
Join Date: Feb 2010
Posts: 874
|
Sure; in fact, its very much cost-effective to pick up the D4 in anything you think you'll want later at the start. But as long as you start with even a single D6, that extra 2 points still works right, as you could always use the free D6 skill for that one.
|
#10 |
|
|