I'm running this eval script at First/400/2 because I want it to run and replace the values set but the original eval script for ITC.
The racial size increase only works when I click "Test Now!", if I close Hero Lab or quick reload the files the size increase no longer functions. However the attributes increase adjust correctly.
I really appreciate any assistance.
~ determine new dracomorphosis increment
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
var ExLev as number
var HeroLev as number
var HeroLev1 as number
var ExIncr1 as number
var HeroIncr1 as number
var incr as number
ExLev = 0
call DracHero
if (#levelcount[DraconicE] >= 1) then
ExLev = #levelcount[DraconicE]+2
hero.childfound[cRPDraDra4].field[xExtraLev].value += 2
elseif (HeroLev >= 1) then
HeroLev1 = HeroLev+2
hero.childfound[cRPDraDra5].field[xExtraLev].value += 2
endif
ExIncr1 = round(ExLev/4,0,-1)
if (HeroLev <= 19) then
HeroIncr1 = round(HeroLev1/5,0,-1)
elseif (HeroLev >= 20) then
HeroIncr1 = 5
perform hero.childfound[abCITDraHGrtWyrm].assign[Helper.ShowSpec]
endif
~debug "ExLev = " & ExLev
~debug "HeroLev = " & HeroLev
~ store for later script use
hero.child[xRPDraDrac].field[abValue5].value = maximum(ExIncr1,HeroIncr1)
field[abValue5].value = maximum(ExIncr1,HeroIncr1)
incr = hero.child[xRPDraDrac].field[abValue5].value
|