View Single Post
Senko
Senior Member
 
Join Date: Jan 2014
Posts: 262

Old November 27th, 2020, 01:00 AM
Ok in order . . .

1) It was in the eval script on the template itself. It not compiling would explain why it didn't add hp I thought I had an invalid identifier in there good to know I was on the right track even if it would probably have taken me a lot longer to track it down.

2) Thanks for the correct variable I'll play around with it when I have some more time. I'm obviously still entering it wrong as its not changing anything.

3) I'll enable that debugger.

4) So I take it . . .

~ If we're disabled, do nothing
doneif (tagis[Helper.FtDisable] <> 0)

~ If we are using the wounds and vigor variant we need to adjust for that
if (hero.tagis[source.UCWound] <> 0) then
~ add that bonus to our wounds total
container.child[Wounds].field[wndFeat].value += field[abValue].value
else
~ add that bonus to our hit points
container.child[Totals].field[tBonusHP].value += field[abValue].value
endif

can be deleted in its entirety?

Thanks for the help.
Senko is offline   #10 Reply With Quote