solve_for
Calculate the required magnitude of a modifier to reach a specific metric target on your active build. Enter metric, target, and lever to get the exact needed value.
Instructions
Solve for the magnitude of one modifier needed to reach a stat target on the active build.
Holds the build fixed and binary-searches lever until metric reaches target — every
probe is a real engine evaluation, so the answer is computed, not estimated. Example:
solve_for("TotalDPS", 1000000, "increased fire damage") →
"you need ≈ +N% increased Fire Damage."
lever is a named lever (e.g. "increased fire damage", "attack speed", "maximum life",
"increased critical strike chance") or a raw custom-mod template containing "{}" for the
magnitude (e.g. "+{} to Level of all Fire Skills"). Returns the required magnitude, or flags
the target unreachable with the best achievable value (and alreadyMet if you're past it).
Scope: ONE lever, ONE (increasing) metric. It does not balance survivability or cost and reports a requirement — verify with get_defenses / evaluate_build and confirm the magnitude is attainable via search_mods / find_supports_for.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric | Yes | ||
| target | Yes | ||
| lever | Yes | ||
| tolerance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||