add rocky helmet dmg to tangling hair + defiant test to ensure original battler IDs from chaining effects (#5423)
Co-authored-by: ghoulslash <pokevoyager0@gmail.com>
This commit is contained in:
parent
918d45a623
commit
acd07ccfc1
1 changed files with 4 additions and 2 deletions
|
@ -50,10 +50,10 @@ SINGLE_BATTLE_TEST("Tangling Hair does not cause Rocky Helmet miss activation")
|
|||
}
|
||||
}
|
||||
|
||||
SINGLE_BATTLE_TEST("Tangling Hair Speed stat drop triggers defiant")
|
||||
SINGLE_BATTLE_TEST("Tangling Hair Speed stat drop triggers defiant and keeps original attacker/target")
|
||||
{
|
||||
GIVEN {
|
||||
PLAYER(SPECIES_DUGTRIO) { Ability(ABILITY_TANGLING_HAIR); }
|
||||
PLAYER(SPECIES_DUGTRIO) { Ability(ABILITY_TANGLING_HAIR); Item(ITEM_ROCKY_HELMET); }
|
||||
OPPONENT(SPECIES_PAWNIARD) { Ability(ABILITY_DEFIANT); }
|
||||
} WHEN {
|
||||
TURN { MOVE(opponent, MOVE_TACKLE); }
|
||||
|
@ -64,5 +64,7 @@ SINGLE_BATTLE_TEST("Tangling Hair Speed stat drop triggers defiant")
|
|||
MESSAGE("Foe Pawniard's Speed fell!");
|
||||
ABILITY_POPUP(opponent, ABILITY_DEFIANT);
|
||||
MESSAGE("Foe Pawniard's Attack sharply rose!");
|
||||
ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_HELD_ITEM_EFFECT, player);
|
||||
MESSAGE("Foe Pawniard was hurt by Dugtrio's Rocky Helmet!");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue