mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-20 06:19:29 +02:00
added reviewed changes without changing public/locales
This commit is contained in:
parent
64fda7a95e
commit
75640e4fc7
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user