• 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

Altering default ability scores

Scooby721

Member
I'm trying to create an alternate human based on environment instead of the default human in the race category. Humans start with +1 to all abilities. How can I change this to allow someone to select a +1 to add to an ability score, instead of all scores getting an automatic increase? I'm still new to learning how to use the editor.

I thing I've got it narrowed down to having something to do with one of the Field IDs being rAttrAll

But that is about as far as I've gotten.
 
That's how the current variant does it. If you did a New (Copy) on the variant racial trait tab and chose to copy Variant Humans the last line of code on the attached eval script does indeed remove the original +1 to all scores using that field.

Code:
      ~overwrite the human's default +1 to everything
      hero.child[rHuman].field[rAttrAll].value = 0

You'll also see that the current variant human has a couple of bootstrapped Racial Specials.

One of those, raHumAbAlt (Ability Score Increase) is the thing that prompts a player to choose the two ability scores that do get an increase. You should go to the Racial Specials and do a New Copy and find that ID to look at the code to do that or something similar.
 
Back
Top