mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-02 07:42:12 -05:00
Tooltips: Fix Speed modifier for paralysis
This commit is contained in:
@@ -522,7 +522,11 @@ var BattleTooltips = (function () {
|
||||
if (this.battle.gen > 2 && ability === 'quickfeet') {
|
||||
stats.spe = Math.floor(stats.spe * 1.5);
|
||||
} else if (pokemon.status === 'par') {
|
||||
stats.spe = Math.floor(stats.spe * 0.25);
|
||||
if (this.battle.gen > 6) {
|
||||
stats.spe = Math.floor(stats.spe * 0.5);
|
||||
} else {
|
||||
stats.spe = Math.floor(stats.spe * 0.25);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user