• 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

Skills for racial ability

Manalishi66

Well-known member
Trying to do this for a races ability called Skilled....

You gain an additional skill rank at first level which they must use in Acrobatics, Climb, Handle Animal, Knowledge (nature), Perception, or Survival. Every other level thereafter, they gain an additional skill rank which has the same limitations.

So, I know how to create the list of skills for the race..

~ If we're disabled, do nothing
doneif (tagis[Helper.SpcDisable] <> 0)

#applybonus[Bonus, field[usrChosen1].chosen, 1]

Custom Expression = component.BaseSkill & (thingid.skAcrobat|thingid.skClimb|thingid.skHandleAn|thingid.skKnowNat|thingid.skPercep|thingid.skSurvival)

All picks on Hero.

But, how do you create the every other level he gets 1 skill point to put in one of the selected skills?
 
You're giving a bonus to the skill not a skill rank, you're going to want to add to the skRanks field around prelevels 2500

you can use the #totallevelcount[] macro to get the total levels

field[abValue].value += #totallevelcount[]

whole thing would be

Code:
~ If we're disabled, do nothing
doneif (tagis[Helper.SpcDisable] <> 0)

~ if we're not chosen, do nothing
doneif (field[usrChosen1].chosen.ischosen = 0)

field[abValue].value += #totallevelcount[]
field[usrChosen1].chosen.field[skRanks].value += field[abValue].value

note this is untested, but should work
 
My reading of that text by the way means I get a extra skill point every 2 levels that I have to use on one of those skills. Its not a bonus its a skill rank. The next issue is the rank can be used at level 1 in Acrobatics and at level 3 in Climb. So it keeps changing.

So a single RS that picks one skill does not seem like the way to go. Unless you plan to have 10 of them on the character?

So how do we easily solve this issue? Using a "Racial Cust Special". Setup a new "Racial Cust Special" and set it be "Available to Race". Set your custom expression for the allowed skill on the "Racial Cust Special". Make sure you set your "Uniqueness" value to "no" as we want to be able to pick this ability multiple times.

Set a script as follows:
Pre-Levels/100
Code:
field[usrChosen1].chosen.field[skRanks].value += 1

Then on your Race look for the section marked "Racial Custom Abilities" and for "Custom Ability Name" enter "Skill". Then we have to fill out the array of when we get these skills so click on "Eidolons - Custom Ability Count". We are not an Eidolon so filling this out won't really do anything yet. So remember arrays start at 0 not 1 so a character level one value is array 0. Fill it in as follows:
Noname2.jpg

Now we need a script that will let a person add a new one at level 1,3,5,etc..

So on the race itself add this script
Post-Levels/10000
Code:
var iX as number
[B][COLOR="Green"]~ Calc array position. Remember arrays start at 0 not 1 so we need
~ to subtract one from the level.[/COLOR][/B]
iX = #totallevelcount[] - 1
field[rGiveSpec].value += field[rCustTot].arrayvalue[iX]

Now then at level 1,3,5 it will prompt to add a new Racial Custom Special where the person can select which skill gets the bonus rank.
 
Thank you both! :) Everything is working they was I intended. ShadowChemos had it the way I wanted it. However, AndrewD2, you gave me more insight on how to use HL. So definitely to you too! Both have put up with my constant asking for help (seems like it anyway). So thanks again to both, my game, HL experience has imropoved immensely!

Don :)
 
Back
Top