Update pokemon.ts

This commit is contained in:
Benjamin Odom 2024-05-13 06:40:04 -05:00
parent f4cf65ebb1
commit 90bbf6119d

View File

@ -1410,7 +1410,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
damage.value = Math.floor(damage.value / 2);
}
applyPreAttackAbAttrs(DamageBoostAbAttr, source, this, battlerMove, damage)
applyPreAttackAbAttrs(DamageBoostAbAttr, source, this, battlerMove, damage);
move.getAttrs(HitsTagAttr).map(hta => hta as HitsTagAttr).filter(hta => hta.doubleDamage).forEach(hta => {
if (this.getTag(hta.tagType))