Skip to content

Commit

Permalink
Add skipped test for Protean submove interaction
Browse files Browse the repository at this point in the history
  • Loading branch information
DaWoblefet committed Jun 19, 2024
1 parent fa2fcbe commit afa8c08
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/sim/abilities/protean.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,20 @@ describe('Protean', function () {
assert(cinder.hasType('Fighting'));
});

it.skip(`should change the user's type for submoves to the type of that submove, not the move calling it`, function () {
battle = common.gen(6).createBattle([[
{species: 'Wynaut', ability: 'protean', moves: ['sleeptalk', 'flamethrower']},
], [
{species: 'Regieleki', moves: ['spore']},
]]);

battle.makeChoices();
const wynaut = battle.p1.active[0];
console.log(battle.log);
assert(battle.log.every(line => !line.includes('|Normal|')), `It should not temporarily become Normal-type`);
assert(wynaut.hasType('Fire'));
});

it(`should not change the user's type when using moves that fail earlier than Protean will activate`, function () {
battle = common.createBattle([[
{species: 'Kecleon', ability: 'protean', moves: ['fling', 'suckerpunch', 'steelroller', 'aurawheel']},
Expand Down

0 comments on commit afa8c08

Please sign in to comment.