Add missing semicolon

This commit is contained in:
Matthew Ross 2024-05-10 20:17:53 -07:00
parent a856e2f5d7
commit b3f9011c01
2 changed files with 2 additions and 2 deletions

View File

@ -1321,7 +1321,7 @@ export class BypassBurnDamageReductionAttr extends MoveAttr {
apply(user: Pokemon, target: Pokemon, move: Move, args: any[]): boolean {
(args[0] as Utils.BooleanHolder).value = true;
return true
return true;
}
}

View File

@ -1405,7 +1405,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
damage.value = Math.ceil(((((2 * source.level / 5 + 2) * power.value * sourceAtk.value / targetDef.value) / 50) + 2) * stabMultiplier.value * typeMultiplier.value * arenaAttackTypeMultiplier.value * screenMultiplier.value * ((this.scene.randBattleSeedInt(15) + 85) / 100) * criticalMultiplier.value);
if (isPhysical && source.status && source.status.effect === StatusEffect.BURN) {
const burnDamageReductionCancelled = new Utils.BooleanHolder(false);
applyMoveAttrs(BypassBurnDamageReductionAttr, source, this, move, burnDamageReductionCancelled)
applyMoveAttrs(BypassBurnDamageReductionAttr, source, this, move, burnDamageReductionCancelled);
if(!burnDamageReductionCancelled.value){
applyAbAttrs(BypassBurnDamageReductionAbAttr, source, burnDamageReductionCancelled);