• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Configurable confusion.

Enforcer84

Well-known member
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:
Back
Top