Quote:
Originally Posted by thegreatone5224
Hello everyone,
I'm trying to figure out how to go about setting the duration of this custom class feature to a value based on whether or not a different ability was choosen.
Please advise.
if (#hasability[pngEleEBea] <> 0) then
duration = field[xTotalLev].value
else
duration = field[xTotalLev].value / 2
endif
|
Other than needing to declare the variable (var duration as number) this looks okay assuming #hasability works as intended here, and you're timing is set correctly. Are you getting an error?