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

Burn / poison damage triggers before Healer #5563

Open
Pawkkie opened this issue Oct 22, 2024 · 1 comment
Open

Burn / poison damage triggers before Healer #5563

Pawkkie opened this issue Oct 22, 2024 · 1 comment
Labels
bug Bug category: ability Pertains to abilities status: unconfirmed This bug has not been reproduced yet

Comments

@Pawkkie
Copy link
Collaborator

Pawkkie commented Oct 22, 2024

Description

Issue being made for KNOWN_FAILING test added in #5559

The test for easy lookup:

DOUBLE_BATTLE_TEST("Healer cures status condition before burn or poison damage is dealt")
{
    KNOWN_FAILING; // According to Bulbapedia, Healer should trigger before status damage and Wobbuffet should live
    // Source: https://bulbapedia.bulbagarden.net/wiki/Healer_(Ability)#Effect
    u16 status;
    PARAMETRIZE { status = STATUS1_POISON; }
    PARAMETRIZE { status = STATUS1_BURN; }
    PARAMETRIZE { status = STATUS1_TOXIC_POISON; }
    PARAMETRIZE { status = STATUS1_FROSTBITE; }
    PASSES_RANDOMLY(30, 100, RNG_HEALER);
    GIVEN {
        PLAYER(SPECIES_WOBBUFFET);
        PLAYER(SPECIES_WOBBUFFET);
        OPPONENT(SPECIES_WOBBUFFET) { HP(1); Status1(status); }
        OPPONENT(SPECIES_CHANSEY) { Ability(ABILITY_HEALER); }
    } WHEN {
        TURN {}
    } SCENE {
        NOT {
            MESSAGE("The opposing Wobbuffet fainted!");
        }
        MESSAGE("The opposing Chansey's Healer cured Foe Wobbuffet's problem!");
    }
}

Version

1.9.3 (Latest release)

Upcoming/master Version

No response

Discord contact info

No response

@Pawkkie Pawkkie added bug Bug category: battle-mechanic Pertains to battle mechanics status: unconfirmed This bug has not been reproduced yet category: ability Pertains to abilities and removed category: battle-mechanic Pertains to battle mechanics labels Oct 22, 2024
@AlexOn1ine
Copy link
Collaborator

Probably related to #5024

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

No branches or pull requests

2 participants