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)
-   -   New tracker for ability (http://forums.wolflair.com/showthread.php?t=60119)

ErinRigh February 5th, 2018 09:20 PM

New tracker for ability
I think I need to make a new tracker for an ability I am coding for the Malefactor Class called Strife Pool. It is similar to Grit et al, in that it is used to fuel abilities and certain effects occur when you run out of it. I looked at Grit but it wasn't really helpful. Here is the text from the ability, can someone point me in the right direction?

At first level, Yla spirits provide the malefactor
with a supply of supernatural chaotic energy
called strife, which the malefactor can use to
twist luck in a variety of ways. The maximum
number of points in the malefactor’s strife
pool is equal to ˝ her malefactor level + her
Wisdom modifier. A malefactor's supply of
strife is replenished to maximum every 24
hours, at the same time each day. As long as
the malefactor has at least one point of strife,
she is immune to the effects of her own aura
of misfortune.

Thanks in advance

Aaron February 6th, 2018 07:24 AM

Make it as a class ability with the ChargeCalc.LevelHalf and ChargeAttr.aWIS tags, then bootstrap it to your class.

ErinRigh February 6th, 2018 09:14 AM

OK, that makes sense, but I am drawing a blank on where to start with the code, help?

Aaron February 6th, 2018 11:05 AM

No code required. Select your Strife Pool class ability in the editor, scroll down to the "Charge Information" section, click the blue Edit button on the "Automatic Calculations" line. In the window that pops up look for the checkbox named "Half Levels", that is the one which applies "ChargeCalc.LevelHalf" I mentioned above (you can see the actual tag applied rather than the tag name by clicking on the "?" to the right of the tag name). Check the checkbox for Half Levels, then hit the blue "OK" button in the top right to close the window.

Now apply the ChargeAttr.aWIS tag the same way. The button to do so is on the "Charge Calc Attribute" line.

The program should do all the eval scripting you need in the background.

ErinRigh February 6th, 2018 11:15 AM

Wow, that's super easy, thanks

All times are GMT -8. The time now is 02:47 PM.

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