• 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

Changing Skill Points per Level

Ghostwheel

Active member
Hey guys, new here to the authoring kit and figured I'd try to get help with something I can't seem to figure out.

What's the Eval Script for increasing the number of skill points per level to 8? Would it be something like the following?

hero.child[SkillPts].field[Count].value = 8

It's for a custom feat that my DM created that does the above. Any help would be much appreciated before I mess something up.

Thanks!
 
GhostWheel,

The authoring kit is for creating new game systems. If you want to make changes to an existing ruleset (like Pathfinder), then you would use the built-in editor.

If you do in fact want to create a plugin for a new game, let us know and we'll help ya out.


BoomerET
 
Right, that's what I meant. I'd like to do that.

For example, I'd like to make a trait that makes Perform (Percussion) into a class skill AND lets you apply Dexterity instead of Charisma to it. I've tried a bunch of things and I'm at my wit's end. How do I make it work?

An example of what I'm trying now:


doneif (tagis[Helper.FtDisable] <> 0)

~perform is a class skill
perform hero.assign[ClassSkill.Perform]

and


doneif (tagis[Helper.FtDisable] <> 0)

hero.child[skPerfPerc].field[skAttrBon].value = hero.child[aDEX].field[aModBonus].value


But now the trait isn't showing up at all, and I need this in the next few days.
 
Last edited:
Which game system are you working on? I don't know which forum to move this thread to.

Also, when posting your code, get in the habit of noting the phase & priority you've used for it - that's very important information for the process of debugging a problem.
 
Here's how I'd approach solving this:

Go to the traits list, and use the filter at the top to search for "perform is always" - the standard phrasing in traits when making something a class skill is "perform is always a class skill".

I find 4 traits that make Perform always a class skill: Savant, Faithful Artist, Intense Artist, and Rude Songs. In the editor, I'd recommend looking up one of them using the "New (Copy)" option, and seeing what code it uses.

To find an example of how to change the attribute of something, I started with the search term "instead of your" - that lead me to several traits: Planar Savant, Pragmatic Activator, Precise Treatment and Bruising Intellect.
 
So I copied the relevant script and tried these two lines (separately, not together, of course):

perform hero.child[Perform].assign[SkillOver.aDEX]
perform hero.child[PerfPerc].assign[SkillOver.aDEX]

Both of them returned an error. Any idea why?

EDIT: I also tried skPerform and skPerfPerc, neither worked either.
EDIT2: skPerfPerc worked, I must have mistyped it or something, but it doesn't show on the trait table when I choose "test" and it says that it's usable now.
 
Last edited:
What error message?

You can right-click error messages in Hero Lab in order to copy them.

Right off the bat I can see that you've got the Id of "Perform (Percussion)" incorrect.

The "Find Thing" button in the Eval Script window in the editor will help you find the correct Ids for the things you're looking for.
 
Back
Top