Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Pathfinder Roleplaying Game (http://forums.wolflair.com/forumdisplay.php?f=62)
-   -   How to: Force User to select one craft skill per level. (http://forums.wolflair.com/showthread.php?t=44679)

tatteredking June 19th, 2013 03:39 AM

How to: Force User to select one craft skill per level.
 
I am working on entering the Ironborn race from Rite Publishing for my own personal game. One of the Ability Packages grants one rank in a craft skill at level 1 and one extra skill point for craft skills at each level. I can grant one skill point per level, but I need to determine how to check and see if the PC has one skill point in craft per level.

Thoughts?

Aaron June 19th, 2013 09:51 AM

As usual, no assurances on the code. Test and tweak as necessary

Code:

var craftranks as number

foreach pick in hero from BaseSkill where "Helper.SkCatCraft"
  craftranks += eachpick.field[skInnate].value
  craftranks += eachpick.field[skUser].value
  nexteach

validif (craftranks >= #totallevelcount[])


tatteredking June 19th, 2013 10:03 AM

perfect, Aaron! Thanks!


All times are GMT -8. The time now is 07:03 PM.

Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.