View Single Post
jjashley
Senior Member
 
Join Date: Jan 2017
Posts: 139

Old March 11th, 2018, 01:42 PM
Quote:
Originally Posted by jjashley View Post
ok so this can be fixed in a couple of ways, since you grant temp hit points to up to 5 others you can remove the eval script from Celestial Resilience and add an adjustment for Celestial Resilience that looks like this:

Post-Attributes 15000

~ If we're not enabled, get out now
doneif (field[pIsOn].value = 0)

herofield[tTempHP].value += #attrmod[aCHA] + #levelcount[Warlock]

or if you don't care about anybody else being able to do the math automatically you can change the eval script on Celestial Resilience to:

Post-Attributes 15000

herofield[tTempHP].value += #attrmod[aCHA] + #levelcount[Warlock]

Though the 2nd one should probably include a level requirement of 10 or greater and I should know how to put that in but haven't figured it out yet.
ok I got it to work at level 10 and greater only using this script. I think I would still do an adjustment so that the other players can just click a box, or you can have them manually adjust their temporary hit points.

Post Attributes 15000

if (#levelcount[Warlock] >= 10) then
herofield[tTempHP].value += #attrmod[aCHA] + #levelcount[Warlock]
endif
jjashley is offline   #31 Reply With Quote