Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DATA] Données invalides pour certains Pokémon avec plusieurs formes #73

Open
ancilloy opened this issue Oct 14, 2024 · 0 comments
Open

Comments

@ancilloy
Copy link

Deoxys

Informations

URL: https://tyradex.vercel.app/api/v1/pokemon/deoxys

Problème

Les stats listées sont celles de la forme Vitesse de Deoxys. Ce serait plus logique d'afficher celles de sa forme Normale.

Données actuelles

{
    "stats": {
        "hp": 50,
        "atk": 95,
        "def": 90,
        "spe_atk": 95,
        "spe_def": 90,
        "vit": 180
    },
}

Données souhaitées

{
    "stats": {
        "hp": 50,
        "atk": 150,
        "def": 50,
        "spe_atk": 150,
        "spe_def": 50,
        "vit": 150
    },
}

Pitrouille et Banshitrouye

Informations

URL: https://tyradex.vercel.app/api/v1/pokemon/pitrouille - https://tyradex.vercel.app/api/v1/pokemon/banshitrouye

Problème

Même problème, ce sont les stats de leur taille maxi, et pas de leur taille normale.

Données actuelles

{
    "stats": {
        "hp": 55,
        "atk": 66,
        "def": 70,
        "spe_atk": 44,
        "spe_def": 55,
        "vit": 46
    },
}
{
    "stats": {
        "hp": 75,
        "atk": 95,
        "def": 122,
        "spe_atk": 58,
        "spe_def": 75,
        "vit": 69
    },
}

Données souhaitées

{
    "stats": {
        "hp": 49,
        "atk": 66,
        "def": 70,
        "spe_atk": 44,
        "spe_def": 55,
        "vit": 51
    },
}
{
    "stats": {
        "hp": 65,
        "atk": 90,
        "def": 122,
        "spe_atk": 58,
        "spe_def": 75,
        "vit": 84
    },
}

Wimessir

Informations

URL: https://tyradex.vercel.app/api/v1/pokemon/wimessir

Problème

Les stats listées sont celles de Wimessir femelle. Mais Wimessir mâle est considéré comme la forme par défaut par le jeu. Comme pour Paragruel et Fragroin, dont ce sont déjà les stats du mâle qui sont affichées.

Données actuelles

{
    "stats": {
        "hp": 70,
        "atk": 55,
        "def": 65,
        "spe_atk": 95,
        "spe_def": 105,
        "vit": 85
    },
}

Données souhaitées

{
    "stats": {
        "hp": 60,
        "atk": 65,
        "def": 55,
        "spe_atk": 105,
        "spe_def": 95,
        "vit": 95
    },
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant