Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
Enforcer84
Senior Member
 
Join Date: Oct 2011
Location: Portland
Posts: 313

Old February 6th, 2018, 01:32 PM
So I'm making my own version of the updated blood hunter class and I've decided to use a configurable for some of my class features.

I've got two class features I've broken into three choice options:

Blood Curses (cfgObject1) w/cfgMax1 for tracking
Primal Rites (cfgObject2) w/cfgMax2
Esoteric Rite (cfgObject3) w/cfgMax3

I found that the trackers need to have numbers in them for me to play with them.

So My Blood Curses calls a script like so:

doneif (tagis[Helper.Disable] <> 0)
if (field[xTotalLev].value = 1) then
hero.childfound[cfgTCBlCs].field[cfgMax1].value = 0

endif

if (field[xTotalLev].value >= 20) then
hero.childfound[cfgTCBlCs].field[cfgMax1].value += 5
elseif (field[xTotalLev].value >= 16) then
hero.childfound[cfgTCBlCs].field[cfgMax1].value += 4
elseif (field[xTotalLev].value >= 13) then
hero.childfound[cfgTCBlCs].field[cfgMax1].value += 3
elseif (field[xTotalLev].value >= 9) then
hero.childfound[cfgTCBlCs].field[cfgMax1].value += 2
elseif (field[xTotalLev].value >= 5) then
hero.childfound[cfgTCBlCs].field[cfgMax1].value += 1
elseif (field[xTotalLev].value >= 2) then
hero.childfound[cfgTCBlCs].field[cfgMax1].value = 1
endif

And so far this works. The first one is added at 2nd level the next at 5th And I suspect I'll have 6 at 20th level

the second and third configurables I've tried to modify in a single script and it should be easier...you get one rite at 1st one at 6th one at 11th and the Esoteric at 14th.

script looks like this.

doneif (tagis[Helper.Disable] <> 0)

if (field[xTotalLev].value >= 14) then
hero.childfound[cfgTCBlCs].field[cfgMax3].value = 1
elseif (field[xTotalLev].value >= 1) then
hero.childfound[cfgTCBlCs].field[cfgMax3].value = 0
endif

if (field[xTotalLev].value >= 11) then
hero.childfound[cfgTCBlCs].field[cfgMax2].value += 2
elseif (field[xTotalLev].value >= 6) then
hero.childfound[cfgTCBlCs].field[cfgMax2].value += 1
endif

For some reason the Primal Rites jumps from 1 at first to 4 at level 6. at level 11 it jumped to 7 and at 14 my Esoteric Rites jumps from 0 to 4 Any idea what I've managed to do here?

Last edited by Enforcer84; February 6th, 2018 at 01:35 PM.
Enforcer84 is offline   #1 Reply With Quote
Enforcer84
Senior Member
 
Join Date: Oct 2011
Location: Portland
Posts: 313

Old February 6th, 2018, 01:52 PM
Addendum: Now Esoteric is properly adding just 1 at level 14.
Enforcer84 is offline   #2 Reply With Quote
Enforcer84
Senior Member
 
Join Date: Oct 2011
Location: Portland
Posts: 313

Old February 6th, 2018, 02:01 PM
Addendum 2, I am a moron.

A filthy filthy moron.

I fogot I had the one ability bootstrapped 3 times...
Enforcer84 is offline   #3 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 08:06 AM.


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