View Single Post
Mjolnirh
Member
 
Join Date: Oct 2016
Posts: 39

Old November 5th, 2016, 06:28 PM
ok I got it oddly enough here are the scripts that worked.

var bonbon as number

if (#totallevelcount[] >= 8) then
bonbon = 1
endif
if (#totallevelcount[] >= 12) then
bonbon = 2
endif
if (#totallevelcount[] >= 17) then
bonbon = 3
endif

hero.child[iThaas].field[Bonus].value = hero.child[iThaas].field[Bonus].value + bonbon

var iLevel as number
var sText as string
iLevel = #totallevelcount[]
if (iLevel >= 8) then
sText = "1d6"
endif
if (iLevel >= 11) then
sText = "2d6"
endif
if (iLevel >= 16) then
sText = "3d6"
endif
if (iLevel >= 20) then
sText = "4d6"
endif


sText = " plus " & sText & " radiant"
#extradamage[hero.child[iThaas], sText, field[thingname].text]
Mjolnirh is offline   #17 Reply With Quote