View Single Post
thegreatone5224
Junior Member
 
Join Date: Aug 2018
Posts: 3

Old August 28th, 2018, 07:25 AM
I'm not receiving any errors but the text is not updating as expected. If it helps I'll include everything below:

Code:
Phase: Post-levels
Priority: 10000
Index: 1

~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] <> 1)

~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)

~ Set our duration based on class level and element boon
var duration as number

if (#hasability[pngEleEBea] <> 0) then
 duration = field[xTotalLev].value
else
 duration = field[xTotalLev].value / 2
endif

~ Update feature's duration
#duration[pngEleEBa] = duration
field[livename].text = field[thingname].text & " (" & duration & " mins)"
field[listname].text = field[thingname].text & " (" & duration & " mins)"

~ Add tool tip to dex save
#situational[hero.child[svDEX],"Advantage vs. all",field[thingname].text]
This is being done on a level 8 character and the ability with the ID of pngEleEBea was selected as the element boon.

Result: Elemental Body: Air (4 mins)
Expected Result: Elemental Body: Air (8 mins)

Last edited by thegreatone5224; August 28th, 2018 at 07:35 AM.
thegreatone5224 is offline   #3 Reply With Quote