[Bug] Updated SacrificialAttrOnHit to account for the move failing (#2792)

This commit is contained in:
san98215 2024-07-04 21:51:51 -04:00 committed by GitHub
parent 4c34858e89
commit 359644ee81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1155,7 +1155,7 @@ export class SacrificialAttr extends MoveEffectAttr {
**/
export class SacrificialAttrOnHit extends MoveEffectAttr {
constructor() {
super(true, MoveEffectTrigger.POST_TARGET);
super(true, MoveEffectTrigger.HIT);
}
/**