
FYI, if one tries to find the max value of an attribute belonging to target token, you'll get a syntax error. Instead of writing @{target|hp|max}, write @{target|target|hp|max}. The problem is the target function sees three values and thinks it follows a @{target|"Target Name"|"Attribute Name"} progression instead of @{target|"Attribute Name"|max} (since there is no attribute named "max"). I don't know if anyone else has run into this, but I couldn't find a solution via a search, so I thought I'd post one once I figured out what was going on.