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

Recoil moves cause recoil damage against Protect like moves #3304

Closed
AlexOn1ine opened this issue Sep 12, 2023 · 2 comments · Fixed by #3321
Closed

Recoil moves cause recoil damage against Protect like moves #3304

AlexOn1ine opened this issue Sep 12, 2023 · 2 comments · Fixed by #3321
Labels
bug Bug category: battle-mechanic Pertains to battle mechanics status: unconfirmed This bug has not been reproduced yet

Comments

@AlexOn1ine
Copy link
Collaborator

AlexOn1ine commented Sep 12, 2023

Description

Recoil moves and moves with EFFECT_PROTECT not named Protect cause the user to still take recoil damage (and any additional effects). For a weird reason it only applies after a different move was previously used. For doubles it can happen the same turn the partner moves first, in singles it's on the second turn.

Simple test:

SINGLE_BATTLE_TEST("Protect like moves cause recoil effect")
{
    GIVEN {
        PLAYER(SPECIES_RAPIDASH);
        OPPONENT(SPECIES_BEAUTIFLY);
    } WHEN {
        TURN { MOVE(opponent, MOVE_TACKLE);
               MOVE(player, MOVE_TACKLE);
        }
        TURN { MOVE(opponent, MOVE_SILK_TRAP);
               MOVE(player, MOVE_DOUBLE_EDGE);
        }
        TURN {}
    } SCENE {
        NOT MESSAGE("Rapidash is hit with recoil!");
    }
}

Recording:

recoil_protect.mp4

Version

upcoming (Edge)

Upcoming Version

No response

Discord contact info

No response

@AlexOn1ine AlexOn1ine added bug Bug category: battle-mechanic Pertains to battle mechanics status: unconfirmed This bug has not been reproduced yet labels Sep 12, 2023
@DizzyEggg
Copy link
Collaborator

This is upcoming only?

@AlexOn1ine
Copy link
Collaborator Author

This is upcoming only?

both master and upcoming

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug category: battle-mechanic Pertains to battle mechanics status: unconfirmed This bug has not been reproduced yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants