Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Bomberg
Junior Member
 
Join Date: Apr 2007
Location: Münster
Posts: 27

Old November 22nd, 2007, 11:24 AM
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
Bomberg is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old November 23rd, 2007, 08:10 AM
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.
Mathias is offline   #2 Reply With Quote
Bomberg
Junior Member
 
Join Date: Apr 2007
Location: Münster
Posts: 27

Old November 23rd, 2007, 11:55 AM
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
Bomberg is offline   #3 Reply With Quote
rob
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 8,232

Old November 24th, 2007, 02:11 PM
At 12:55 PM 11/23/2007, you wrote:
Quote:
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.
rob is offline   #4 Reply With Quote
Reply


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 06:18 AM.


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