Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - D&D 5th Edition SRD (http://forums.wolflair.com/forumdisplay.php?f=89)
-   -   Configurable confusion. (http://forums.wolflair.com/showthread.php?t=60126)

Enforcer84 February 6th, 2018 01:32 PM

Configurable confusion.
 
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?

Enforcer84 February 6th, 2018 01:52 PM

Addendum: Now Esoteric is properly adding just 1 at level 14.

Enforcer84 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...


All times are GMT -8. The time now is 03:23 PM.

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