Thread: Question
View Single Post
OldDNDer
Member
 
Join Date: Sep 2014
Location: Oklahoma City, OK
Posts: 42

Old September 13th, 2018, 09:30 AM
Is this wrong, as in will it cause a problem at some point?

Code:
if (#totallevelcount[] >= 2) then
hero.child[Initiative].field[BonSacred].value = maximum(hero.child[Initiative].field[BonSacred].value, 1)
endif
if (#totallevelcount[] >= 4) then
hero.child[Initiative].field[BonSacred].value = maximum(hero.child[Initiative].field[BonSacred].value, 2)
endif
if (#totallevelcount[] >= 7) then
hero.child[Initiative].field[BonSacred].value = maximum(hero.child[Initiative].field[BonSacred].value, 3)
endif
I ask because it seems to work.
OldDNDer is offline   #17 Reply With Quote