mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-03-21 17:25:10 -05:00
Add test for Poison Puppeteer and Lum Berry interaction (#11375)
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
This commit is contained in:
parent
c339b13ca6
commit
139e57e56a
|
|
@ -38,4 +38,14 @@ describe('Lum Berry', () => {
|
|||
assert.equal(attacker.status, '');
|
||||
assert(attacker.volatiles['confusion']);
|
||||
});
|
||||
|
||||
it('should cure Poison and confusion after Poison Puppeteer activation', () => {
|
||||
battle = common.createBattle();
|
||||
battle.setPlayer('p1', { team: [{ species: 'Charizard', item: 'lumberry', moves: ['sleeptalk'] }] });
|
||||
battle.setPlayer('p2', { team: [{ species: 'Pecharunt', ability: 'poisonpuppeteer', moves: ['toxic'] }] });
|
||||
const charizard = battle.p1.active[0];
|
||||
battle.makeChoices();
|
||||
assert.equal(charizard.status, '');
|
||||
assert(!charizard.volatiles['confusion']);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user