Optimize offensive SP spread
optimize_offensive_spreadFind the minimum attacking SP and nature needed to reach a target damage ratio against a specific defender.
Instructions
Find the minimum attacking SP and nature needed to reach a target damage ratio. Use canonical current-format formes from get_pokemon_options when the user asks about a Mega/forme.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| move | Yes | ||
| context | No | ||
| attacker | Yes | ||
| defender | Yes | ||
| spBudget | No | ||
| offensiveStat | No | ||
| allowedNatures | No | ||
| targetDamageRatio | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| koChance | Yes | ||
| requiredSP | Yes | ||
| inputCorrections | No | ||
| modifierBreakdown | Yes | ||
| recommendedNature | Yes | ||
| resultingDamageRange | Yes | ||
| isFeasibleUnderBudget | Yes |