Gen 1: Fix poison and burn damage

In gen 1, poison and burn damage is 1/16 of max hp, not 1/8.
This commit is contained in:
Joim 2013-03-17 18:24:33 +01:00
parent 33c7d71f75
commit c68eebfbaf

View File

@ -22,7 +22,7 @@ exports.BattleStatuses = {
},
onResidualOrder: 9,
onResidual: function(pokemon) {
this.damage(pokemon.maxhp/8);
this.damage(pokemon.maxhp/16);
},
onSwitchIn: function (pokemon){
pokemon.addVolatile('brnattackdrop');
@ -98,7 +98,7 @@ exports.BattleStatuses = {
},
onResidualOrder: 9,
onResidual: function(pokemon) {
this.damage(pokemon.maxhp/8);
this.damage(pokemon.maxhp/16);
}
},
tox: {
@ -344,4 +344,4 @@ exports.BattleStatuses = {
this.effectData.duration = 2;
},
}
};
};