item_affixes
Lists the prefixes and suffixes a base item can roll at a given item level, with affix levels, groups, weights, and magic or rare quality chances per game version.
Instructions
Which prefixes and suffixes a base item can roll at an item level, from a version's MagicPrefix and MagicSuffix tables (a vanilla patch or a mod), with the affix level (from item level, the base's level and its magic lvl) and each affix's group and weight. quality 'magic': each affix's exact chance to be on a dropped magic item. quality 'rare': the pool rares draw from (rare=1 affixes) with each affix's share of one pick; a rare takes 3-6 in turn, so that is not a per-item chance. item: a base item's code or name ('rin', 'Monarch'). ilvl: 1-99, the item level (a monster drop's is the monster's level). limit: affixes listed per side, most likely first. Limits: 1.10 and later Legacy rules only; staff mods, automagic and sockets are separate rolls and not listed. State the version.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"item": "<item>",
"ilvl": "<ilvl>"
},
"name": "item_affixes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ilvl | Yes | ||
| item | Yes | ||
| limit | No | ||
| quality | No | magic | |
| version | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |