Fix invalid constructor arguments to always crit tag

This commit is contained in:
Flashfyre 2024-04-12 18:44:20 -04:00
parent cabba43598
commit 086c64b8f8

View File

@ -1084,7 +1084,7 @@ export function getBattlerTag(tagType: BattlerTagType, turnCount: integer, sourc
case BattlerTagType.CRIT_BOOST:
return new CritBoostTag(tagType, sourceMove);
case BattlerTagType.ALWAYS_CRIT:
return new AlwaysCritTag(tagType, sourceMove);
return new AlwaysCritTag(sourceMove);
case BattlerTagType.NO_CRIT:
return new BattlerTag(tagType, BattlerTagLapseType.AFTER_MOVE, turnCount, sourceMove);
case BattlerTagType.IGNORE_ACCURACY: