mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-07-30 23:36:39 -05:00
23 lines
557 B
JavaScript
23 lines
557 B
JavaScript
'use strict';
|
|
|
|
const assert = require('./../../assert');
|
|
const common = require('./../../common');
|
|
|
|
let battle;
|
|
|
|
describe('Thunder Wave', () => {
|
|
afterEach(() => {
|
|
battle.destroy();
|
|
});
|
|
|
|
it('should not ignore natural type immunities', () => {
|
|
battle = common.createBattle([[
|
|
{ species: "Jolteon", ability: 'quickfeet', moves: ['thunderwave'] },
|
|
], [
|
|
{ species: "Hippowdon", ability: 'sandforce', moves: ['slackoff'] },
|
|
]]);
|
|
battle.makeChoices('move thunderwave', 'move slackoff');
|
|
assert.equal(battle.p2.active[0].status, '');
|
|
});
|
|
});
|