accounted for unburden in getEffectiveStat

This commit is contained in:
muscode13 2024-10-03 13:30:35 -06:00
parent b453b8eed6
commit ee52607e44

View File

@ -936,6 +936,9 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
if (this.status && this.status.effect === StatusEffect.PARALYSIS) {
ret >>= 1;
}
if (this.getTag(BattlerTagType.UNBURDEN)) {
ret *=2;
}
break;
}