View Single Post
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