I thought the total level variable were only used for certain contexts, I can't remember the rule of thumb though.
There is a useful macro: #totallevelcount[] that you can use where the context is not right though:
Here's the help example.
~ Check whether you're at least a 5th-level hero
@valid = 0
if (#totallevelcount[] >= 5) then
@valid = 1
endif
There's a companion macro that narrows it down to a single class, but you need to know the class ID:
~ Check whether you have at least 5 levels of the Fighter class
@valid = 0
if (#levelcount[Fighter] >= 5) then
@valid = 1
endif
|