battle_simulate
Simulate player-versus-enemy combat from stat panels, calculating kills taken, kill ratio, rating, and expected DPS. Optionally run Monte Carlo win-rate simulations to evaluate balance changes.
Instructions
战斗模拟:玩家面板 × 敌人面板的对拼计算(确定性引擎,非 LLM 估算)。返回击杀刀数、被击刀数、咬合比 killRatio、评级(easy/balanced/tight/impossible)、期望 DPS;可选 Monte Carlo 胜率。用于改数值后评估战斗咬合变化。
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": {
"player": "<player>",
"enemy": "<enemy>"
},
"name": "battle_simulate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enemy | Yes | 敌人面板(来自 enemy/等级成长) | |
| player | Yes | 玩家面板(来自 hero/成长表 + 装备加成) | |
| simulations | No | Monte Carlo 局数(默认 0 不算胜率) |