• 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

Ability/day as charges

Bomberg

Active member
I am wondering whether one could formulate something like the barbarian rage ability using a script to calculate the number of times it may be used (charges), based on the Barbarian level.

I'd like to implement such a thing for the Hexblade's Curse, which has a very simple progression: #/day = 1 + ( Hexblade level - 1 ) / 4

It would be nice to have this information on the In-Play tab.

---
Huldvoll

Baron von Bomberg
 
Open srd_class_barbarian.dat, go to the class specials, and open Rage (1/day) - now click on the Eval scripts button. Use the mouse to click somewhere inside the text there, and drag down, so that you see the rest of the text. The last section in that script is where they control the display. It shows how the charges and name are calculated.
 
Ah, thanks! I only looked in the higher level abilities (rage 2/ day) and didn't find a script.

And after looking at the print preview I can also see that it shows only once on the character sheet.

---
Huldvoll

Baron von Bomberg
 
At 12:55 PM 11/23/2007, you wrote:
Ah, thanks! I only looked in the higher level abilities (rage 2/ day) and didn't find a script.
The convention in the d20 files is that all of the "smarts" (i.e. scripts and such) for a recurring item live on the lowest level instance. All the higher level instances are simply for display to the user. So whenever you look at an ability as a reference, use the lowest level instance.
 
Back
Top