added reviewed changes without changing public/locales

This commit is contained in:
geeil-han 2024-11-12 11:59:51 +01:00
parent 64fda7a95e
commit 75640e4fc7

View File

@ -4997,7 +4997,7 @@ export class FreezeDryAttr extends VariableMoveTypeMultiplierAttr {
if (multipleTypes) {
const nonWaterType = target.getTypes().filter(type => type !== Type.WATER)[0];
const effectivenessAgainstTarget = new Utils.NumberHolder(getTypeDamageMultiplier(move.type, nonWaterType));
const effectivenessAgainstTarget = new Utils.NumberHolder(getTypeDamageMultiplier(user.getMoveType(move), nonWaterType));
applyChallenges(user.scene.gameMode, ChallengeType.TYPE_EFFECTIVENESS, effectivenessAgainstTarget);