• 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

Artisan Class - Setting skill ranks

TobyFox2002

Well-known member
I am currently working on the Artisan Prestige Class right now, I am have run into a few issues.

My current problem is the Class Ability:

Craftsman Training:

Choose one craft or profession skill. You gain ranks in this skill, equal to your character level. Every time you gain a level, you gain a rank in this skill. If you already possess ranks in the chosen craft or profession, you only gain enough ranks in the skill to bring your total ranks equal to your character level.

This technique may be selected multiple times. Its effects do not stack. Choose a new craft or profession skill each time you gain this technique.

I have the code for it down and it works.

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

var totallevel as number
totallevel = #totallevelcount[]
field[usrChosen1].chosen.field[skInnate].value = maximum(field[usrChosen1].chosen.field[skInnate].value, totallevel)

But, I am totally stumped on how to create an error message to check if the user has attempted to select the same skill twice. I suppose I could rely on HL to throw the "too many skill ranks" error but that doesnt really seem specific enough to this custom ability.

Also, in creating this feat I saw several options for setting the number of skill ranks a hero has, including External and Total. Should I be using innate, or should I switch to skExtRanks instead.
 
External is for the effective ranks a familiar gets in its master's skills, or the effective ranks a bard gets from versatile performance.

Total = external + innate + user added, so don't use that.

I'd use external for this. Innate normally comes from races, and this is a class ability.

You can just check the total of skUser + skInnate, and subtract that from #totallevelcount[], and add anything remaining as external ranks.
 
Have the selections assign a Custom tag to the chosen skill, and add an eval rule which is validated if nothing is yet selected, or if the selected skill has a count of that Custom tag less than or equal to 1.

I would use skExtRanks. That is what the Medium ability "Trickster's Edge" uses, and skInnate is more used for the starting ranks that monster races with HD begin with. I can see if your PrC is added to such a race it losing the ranks granted when a user wants to customize the base monster race.
 
---
I guess I should have waited a few minutes. Thanks to you both.

When I am done, I'll submit this if you want to add it to the User Content. Dont know how I'd source it since no one has added anything from Dead Man studio's from what I can see.
 
Last edited:
Back
Top