drop_chances
Calculates exact item drop chances per kill from a version's own data tables—treasure classes, NoDrop, players, magic find, quality rolls—and returns '1 in N' odds for any monster, super unique, or treasure class.
Instructions
Exact drop chances per kill, worked out from a version's own tables (any vanilla patch or mod loaded in the game data), not simulated. Follows the game's code: the monster's treasure class by type, its upgrade by monster level in Nightmare/Hell (group/level columns), NoDrop by players, picks and negative picks, nested and item-type classes (armo/weap...), the ItemRatio quality roll with magic find's diminishing returns and the class's quality modifiers, unique/set level checks, and the limit of 6 items. source: a monster (MonStats Id such as 'mephisto', 'fallen1', or its name), a super unique ('Pindleskin'), or a treasure class ('tc:Act 5 (H) Equip B'). difficulty: normal, nightmare, hell. players: 1-8 in the game; party: how many of them are in the killer's party in that area (NoDrop uses (players - party) / 2 + party). mf: the killer's magic find percent. item: a base item code or name, or a unique / set item name, to get that item's chance and '1 in N'; quality (unique, set, rare, magic, superior, normal, low) with a base item gives it at that quality and lists the base's uniques or set items. Without item: the most likely drops (limit, at most 50), of any quality or of the given quality. monster_type: normal, champion, unique, minion (super uniques are always unique). area: the Levels.txt Name, LevelName or Id the monster is in; needed in Nightmare/Hell for monsters that take the area's level, and the tool asks for it when it can't tell. quest: the first-kill quest drop (TreasureClass4). mlvl: the monster level to assume for a 'tc:' source. version: a game data version, default the server's default; the answer names it. Limits: 1.10 and later Legacy rules only, expansion game; 1.09 and earlier and Resurrected are refused. Names are the tables' own (no string tables): use codes or the names in weapons/armor/misc/UniqueItems. Chests and other objects aren't sources, only their classes by name. State the version and the notes.
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": {
"source": "<source>"
},
"name": "drop_chances"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mf | No | ||
| area | No | ||
| item | No | ||
| mlvl | No | ||
| limit | No | ||
| party | No | ||
| quest | No | ||
| source | Yes | ||
| players | No | ||
| quality | No | ||
| version | No | ||
| difficulty | No | hell | |
| monster_type | No | normal |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |