optimize_jewel
Craft the optimal rare jewel for your build by selecting a base matching socket attribute and ranking mods by marginal gain for a chosen metric or weighted goals.
Instructions
Craft the best-in-slot rare JEWEL for the active build (one metric or a weighted goals blend).
A jewel's explicit mods apply globally, so each candidate is measured as a real modifier on the
build and ranked by marginal gain (jewel mods are ~independent, so the top picks ≈ the best
jewel). Pick a base matching the socket's attribute — Emerald=dex, Ruby=str, Sapphire=int,
Diamond=all. Returns a jewel to socket with equip_jewel into an ALLOCATED tree socket
(list_jewel_sockets); verify the base's affix limit. Radius/Time-Lost jewels aren't modelled
here (their effect is positional). Read-only: the build is restored.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric | No | TotalDPS | |
| base | No | Emerald | |
| goals | No | ||
| rolls | No | realistic |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||