• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Feat that adds skill points

Greylin

Well-known member
Hi all, I am trying to code the below feat for our new pirate-themed campaign (Arrr....!)

--snip--
A Life At Sea: You receive a +2 bonus to any two of the following skills: Craft (sails), Craft (ships), Knowledge (nature), Profession (navigator), or Profession (sailor). If you have 10 or more ranks in one of these skills, the bonus increases to +3 for that skill.
--snip--

As a quick and dirty, I think I can figure out how to add +4 skill points which the player can allocate as they like - that will at least get us to something that is good enough for the first session.

But I have no idea how to even go into a feat that adds extra points to one of a number of skills. Unless I coded different variants of the feat for different skill combinations, though that seems a clunky workaround.

Any suggestions?
 
Yes. Feats can use choosers, but they only get one. In this case, you'll need to create a second feat with the Helper.Helper tag and bootstrap it to the first one. This will give you two feats (the second does not count against your total) that allow you to choose one the feats listed above. You will need to create a custom expression to limit the options. Something like:

Code:
component.BaseFeat & (thingid.kKnowNat | thingid.kProfSail | thingid.??)

You'll need to add the thingid's for your custom skills.

From here, you can create a script that adds your bonus to the selected skill. Something like this:

Code:
if (field[fChosen].chosen.field[kUserRanks].value >= 10) then
   field[fChosen].chosen.field[Bonus].value += 3
else
   field[fChosen].chosen.field[Bonus].value += 2
endif
 
Back
Top