mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-09 12:36:41 -05:00
Gen IV: Sleep is indeed 1-4 turns.
- tested in HGSS, Emerald, and Stadium 2 so far; same duration for all
This commit is contained in:
parent
d0615bed89
commit
2c6fb63efa
|
|
@ -13,8 +13,8 @@ exports.BattleStatuses = {
|
|||
effectType: 'Status',
|
||||
onStart: function(target) {
|
||||
this.add('-status', target.id, 'slp');
|
||||
// 2-7 turns
|
||||
this.effectData.time = this.random(3,9);
|
||||
// 1-4 turns
|
||||
this.effectData.time = this.random(2,6);
|
||||
if (target.getAbility().isHalfSleep) {
|
||||
this.effectData.time = Math.floor(this.effectData.time / 2);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user