Senior Member
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788
November 4th, 2016, 09:47 PM
|
The following code should do what you want:
Quote:
var iLevel as number
var sText as string
if (iLevel >= 8) then
iLevel = #totallevelcount[]
if (iLevel >= 11) then
sText = "2d6"
else
sText = "1d6"
endif
endif
sText = " plus " & sText & " radiant"
#extradamage[hero.child[iThaas], sText, field[thingname].text]
|
Watch your back, Conserve your ammo,
and NEVER cut a deal with a dragon!
Last edited by Mergon; November 4th, 2016 at 09:53 PM.
|
#15
|
|