![]() |
Member
Join Date: Apr 2007
Posts: 60
|
While creating characters with my group, it seems that the primary use of Traits in our game is to turn something into a Class Skill or Skill Bonus. However, only a few Skills are covered in this way, so I've decided to allow players to spend 2 Traits to get 1 Generic Trait...
Is it possible to do this in the editor? Ie: A Trait that takes up 2 Trait slots. Lets you pick a skill to get both a +1 to it, and flip it into a Class Skill? I realize I can do this by copying something like Highlander and just changing the text/skill, and manually controlling that they get only 1 trait (have done this for now)... but was hoping for a generic trait that you just selected a skill from a drop-down box for to prevent always having to create a new trait... |
![]() |
![]() |
Member
Join Date: Apr 2007
Posts: 60
|
Actually, don't answer this for a bit, gonna try and figure this out on my own... found component.BaseSkill in the Skill Focus feat, and think I can do this now... at least the skill selection/bonus part. :P
|
![]() |
![]() |
Member
Join Date: Apr 2007
Posts: 60
|
Ok, got the skill bonus +1 working by adding this:
Field: Field ID: usrCandid1 Value: component.BaseSkill This is my Eval Script: ~ If we're disabled, do nothing doneif (tagis[Helper.SpcDisable] <> 0) ~ Set our focus to the selected pick call fTargetFoc doneif (state.isfocus = 0) ~ Add 1 to our chosen skill focus.field[Bonus].value += 1 ~ #makeclassskill[focus.field[Bonus]] Had to comment out the makeclassskill, it errored, but the +1 works fine. Any idea what I need to do to make the class skill part work? ![]() Thanks for any help. I realize the (takes 2 trait slots) is probably not gonna happen, but this is a huge step forward already. ![]() |
![]() |
![]() |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
make class skill doesn't need a filed, just try focus
|
![]() |
![]() |
Member
Join Date: Apr 2007
Posts: 60
|
I think the focus.field line messes up the ability to call focus, because anything I do (I've tried focus, focus.id, focus.field, etc, they all get the same error: Non-existent thing 'focus' used by script.
|
![]() |
![]() |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
And for making it cost 1 more trait slot, just add this line
#resspent[resTrait] += 1 |
![]() |
![]() |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
For making it a class skill, assign the Helper.ClassSkill to the focus. Like so
perform focus.assign[Helper.ClassSkill] |
![]() |
![]() |
Member
Join Date: Apr 2007
Posts: 60
|
Thanks Aaron, that did the trick.
![]() |
![]() |
![]() |
![]() |
|
|