Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
ErinRigh
Senior Member
 
Join Date: Oct 2016
Posts: 621

Old February 5th, 2018, 09:20 PM
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
ErinRigh is offline   #1 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,794

Old 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.
Aaron is offline   #2 Reply With Quote
ErinRigh
Senior Member
 
Join Date: Oct 2016
Posts: 621

Old February 6th, 2018, 09:14 AM
OK, that makes sense, but I am drawing a blank on where to start with the code, help?
ErinRigh is offline   #3 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,794

Old 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.
Aaron is offline   #4 Reply With Quote
ErinRigh
Senior Member
 
Join Date: Oct 2016
Posts: 621

Old February 6th, 2018, 11:15 AM
Wow, that's super easy, thanks
ErinRigh is offline   #5 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 10:51 PM.


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