type_matchup
Calculate offensive damage multipliers for Pokémon battles by checking type effectiveness between attacking and defending types using PokeAPI data.
Instructions
Multiplicador de daño ofensivo usando PokeAPI/type.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
attacking | Yes | ||
defending | Yes |
Input Schema (JSON Schema)
{
"properties": {
"attacking": {
"type": "string"
},
"defending": {
"items": {
"type": "string"
},
"maxItems": 2,
"minItems": 1,
"type": "array"
}
},
"required": [
"attacking",
"defending"
],
"type": "object"
}