pokemon-showdown/mods/gen6/statuses.js
Ivo Julca 7d1ee5fecd Confusion still has a 50% self-hit chance
Hypothesis of chance=1/3 can be rejected at a 0.0005 significance level.
2016-11-27 19:11:58 -05:00

19 lines
307 B
JavaScript

'use strict';
exports.BattleStatuses = {
brn: {
inherit: true,
onResidual: function (pokemon) {
this.damage(pokemon.maxhp / 8);
},
},
par: {
inherit: true,
onModifySpe: function (spe, pokemon) {
if (!pokemon.hasAbility('quickfeet')) {
return this.chainModify(0.25);
}
},
},
};