Skip to content

Commit afa8c08

Browse files
committed
Add skipped test for Protean submove interaction
1 parent fa2fcbe commit afa8c08

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

test/sim/abilities/protean.js

+14
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,20 @@ describe('Protean', function () {
2222
assert(cinder.hasType('Fighting'));
2323
});
2424

25+
it.skip(`should change the user's type for submoves to the type of that submove, not the move calling it`, function () {
26+
battle = common.gen(6).createBattle([[
27+
{species: 'Wynaut', ability: 'protean', moves: ['sleeptalk', 'flamethrower']},
28+
], [
29+
{species: 'Regieleki', moves: ['spore']},
30+
]]);
31+
32+
battle.makeChoices();
33+
const wynaut = battle.p1.active[0];
34+
console.log(battle.log);
35+
assert(battle.log.every(line => !line.includes('|Normal|')), `It should not temporarily become Normal-type`);
36+
assert(wynaut.hasType('Fire'));
37+
});
38+
2539
it(`should not change the user's type when using moves that fail earlier than Protean will activate`, function () {
2640
battle = common.createBattle([[
2741
{species: 'Kecleon', ability: 'protean', moves: ['fling', 'suckerpunch', 'steelroller', 'aurawheel']},

0 commit comments

Comments
 (0)