Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - D&D 5th Edition SRD
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
dungeonguru
Senior Member
 
Join Date: May 2016
Posts: 608

Old February 20th, 2018, 12:31 PM
Quote:
Originally Posted by Barrels23 View Post
I'm thinking it's some variation of this line from the help page:


Code:
round(field[xAllLev].value/2, 0, -1)
Thanks!
Well, round returns a value equal to the number (field[xAllLev].value/2), with 0 decimal places (0), and rounds down (-1).

So for yours it's definitely a variation like changing it to

field[xAllLev].value/4 or dividing the xAllLev field by 4.

or some other field that gives you the Blood Hunter level divided by 4.

ShadowChemosh recommends sticking with the xAllLev or xTotalLev field values in case you ever want to grant this ability to another class down the road. If you're in a rare case where xTotalLev winds up being 0 (like if you granted this ability inside a configurable), you might need to fail back to the #levelcount[Blood Hunter] or #totallevelcount[] useful macros.
dungeonguru is offline   #11 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old February 20th, 2018, 01:23 PM
Quote:
Originally Posted by dungeonguru View Post
ShadowChemosh recommends sticking with the xAllLev or xTotalLev field values in case you ever want to grant this ability to another class down the road. If you're in a rare case where xTotalLev winds up being 0 (like if you granted this ability inside a configurable), you might need to fail back to the #levelcount[Blood Hunter] or #totallevelcount[] useful macros.
A configurable has a "cfgLevel" field that you can set before Post-Level/10000 and then a Custom Ability will pick that up to set the total level fields.

An easy way is to set a single script on the configurable to set the level field.

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #12 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 12:13 PM.


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