• 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

Hit Dice-Dependant Abilities

jephkay

Member
Say I have a PC race that has wings.

At 1st level, I do not want them to fly...Only glide.

At 5th level, I want to add 40ft Flying speed, average maneuverability.

I know how to make both of those as Racial Specials, but how to switch them on and off as I adjust the critter's levels?

I've been looking for examples, and so far haven't found anything in the tutorials.
 
Glide is a special you've added? Did you set it up by copying Fly, so that it has a "call CalcValue" line?

If so, both specials will hide themselves if there's no value applied to them.

So, bootstrap both, but don't set any value in the bootstraps (do set Fly's maneuverability).

Now, we'll set up a script that will apply a value to one or the other, depending on the level:

Phase: PostLevel, Priority: 10000

Code:
if (#totallevelcount[] >= 5) then
  #applyvalue[xFly, 40]
else
  #applyvalue[xGlide, 40]
  endif
 
Back
Top