Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - D&D 5th Edition SRD


Thread Tools Display Modes
Prev Previous Post   Next Post Next
Senior Member
Join Date: Sep 2017
Posts: 287

Old February 27th, 2020, 11:56 AM
I'm making solid progress on the class feature variants.

The absolute biggest issue is the Ranger. The other classes replace one-off class abilities or simply add things, like extra ways to use Bardic Inspiration or swapping the Barbarian's Danger Sense for Survival Instinct.

The Ranger, on the other hand, replaces some of what Hero Lab calls Primary and Quaternary abilities. There is no single Thing called "Natural Explorer" in the files. Instead, there is a Thing for each possible terrain, all of which are labeled as part of the Natural Explorer quaternary ability. The Ranger class itself has a variable that states how many quaternary abilities it can pick from that pool.

So while we can just "turn off" something like Danger Sense, we cannot simply "turn off" Natural Explorer; there's nothing to turn off.

Instead, my idea is to have the new variant ability go and set that quaternary ability variable to 0. By default, the Ranger Class says "I can pick 1 favored terrain right now." The objective is to make it so that if you select the variant Deft Explorer ability, a script on Deft Explorer will go and tell the Ranger Class "no, you can't pick any favored terrain."

In the code for the Ranger, the quaternary abilities are controlled like this:
    <arrayval field="cCustQuTot" index="0" value="1"/>
    <arrayval field="cCustQuTot" index="5" value="2"/>
    <arrayval field="cCustQuTot" index="9" value="3"/>
The value is how many quaternary abilities can be selected and the index is at what level (0=1st level, 19=20th level). So at level 1, you get 1. Level 6, another, and a third at level 10.

How do we have the Deft Explorer variant ability set this value to zero? I basically just need to understand the script required for this. I've got everything else about it covered...I think.

"Ooooooooh, he's tryin'!"
Fenris447 is online now   #1 Reply With Quote

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 12:38 PM.

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