mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-09-12 03:05:36 -05:00
Add Primal weather phazing test (#6525)
This commit is contained in:
committed by
GitHub
parent
1b497b39f4
commit
d8cf01bee1
@@ -133,4 +133,15 @@ describe('Desolate Land', function () {
|
||||
battle.setPlayer('p2', {team: [{species: "Lugia", ability: 'pressure', moves: ['entrainment']}]});
|
||||
assert.sets(() => battle.field.isWeather('desolateland'), false, () => battle.makeChoices('move helpinghand', 'move entrainment'));
|
||||
});
|
||||
|
||||
it('should fade after being forced out via Roar', function () {
|
||||
battle = common.createBattle([[
|
||||
{species: 'Groudon', item: "Red Orb", moves: ['sleeptalk']},
|
||||
{species: 'Wynaut', moves: ['sleeptalk']},
|
||||
], [
|
||||
{species: 'Wynaut', moves: ['roar']},
|
||||
]]);
|
||||
battle.makeChoices();
|
||||
assert.false(battle.field.isWeather('desolateland'));
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user