Max Function Math

Is it possible to do math inside of the Max() parentheses? My testing looks like no, but I tend to not form my generator lines correctly.

For example, max({{SomeSkill}+4},{{SomeOtherSkill}+2})

Comments

  • Here's an example from one of my generators:

    {{1d{3+{$LevelMod}}+1}  + {max(0,{{4d3}+{$LevelMod}-9})}}
    
  • I think I forgot the trailing close brace on the math inside the (). Thanks, jdale!

  • I frequently need multiple tries to get that right!

Leave a Comment