Fix blockCrit method broken in merge

This commit is contained in:
Sirz Benjie 2025-06-17 15:48:37 -05:00
parent 8ea30f8ba7
commit f2bf6f374e
No known key found for this signature in database
GPG Key ID: 38AC42D68CF5E138

View File

@ -3859,8 +3859,8 @@ export class BlockCritAbAttr extends AbAttr {
/**
* Apply the block crit ability by setting the value in the provided boolean holder to `true`.
*/
override apply({ canCrit: preventCrit }: BlockCritAbAttrParams): void {
preventCrit.value = false;
override apply({ blockCrit }: BlockCritAbAttrParams): void {
blockCrit.value = true;
}
}