mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-04-18 08:38:10 -05:00
26 lines
639 B
JavaScript
26 lines
639 B
JavaScript
'use strict';
|
|
|
|
const assert = require('./../../assert');
|
|
const common = require('./../../common');
|
|
|
|
let battle;
|
|
|
|
describe('Sap Sipper', function () {
|
|
afterEach(function () {
|
|
battle.destroy();
|
|
});
|
|
|
|
it(`should absorb an attack boost from Aromatherapy`, function () {
|
|
battle = common.createBattle({gameType: 'doubles'}, [[
|
|
{species: "Comfey", moves: ['aromatherapy']},
|
|
{species: "Bouffalant", ability: 'sapsipper', moves: ['sleeptalk']},
|
|
], [
|
|
{species: "Wynaut", moves: ['sleeptalk']},
|
|
{species: "Wynaut", moves: ['sleeptalk']},
|
|
]]);
|
|
|
|
battle.makeChoices();
|
|
assert.statStage(battle.p1.active[1], 'atk', 1);
|
|
});
|
|
});
|