So I'm wanting to make up an extension that changes how the level modification box on encounters works (namely, changing the values it adds, potentially based on role), and am wondering what area of the ruleset this is handled in so I can try figure it out. Does anyone know where to start?