Update comments

This commit is contained in:
geeilhan 2024-11-10 17:15:40 +01:00 committed by GitHub
parent ee03a28de7
commit 2366c68cf4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -4956,7 +4956,7 @@ export class WaterSuperEffectTypeMultiplierAttr extends VariableMoveTypeMultipli
}
/**
* If move is of type electric or grass it already has super effectiveness against water types and multiplier does not need to recalculate its value.
* If move is of type electric it already has super effectiveness against water types and multiplier does not need to recalculate its value.
*/
if (user.getMoveType(move) !== Type.ELECTRIC) {
multiplier.value *= 2 / effectivenessAgainstWater.value;