mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-17 18:51:43 -05:00
24 lines
664 B
JavaScript
24 lines
664 B
JavaScript
'use strict';
|
|
|
|
const assert = require('./../../assert');
|
|
const common = require('./../../common');
|
|
|
|
let battle;
|
|
|
|
describe('Aura Wheel', function () {
|
|
afterEach(function () {
|
|
battle.destroy();
|
|
});
|
|
|
|
it('should change types based on Morpeko forme', function () {
|
|
battle = common.createBattle([
|
|
[{species: 'Morpeko', ability: 'hungerswitch', moves: ['aurawheel']}],
|
|
[{species: 'Rhyperior', ability: 'solidrock', moves: ['stealthrock']}],
|
|
]);
|
|
battle.makeChoices('move aurawheel', 'move stealthrock');
|
|
assert.fullHP(battle.p2.active[0]);
|
|
battle.makeChoices('move aurawheel', 'move stealthrock');
|
|
assert.false.fullHP(battle.p2.active[0]);
|
|
});
|
|
});
|