mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-21 17:12:44 +02:00
Fix blockCrit method broken in merge
This commit is contained in:
parent
8ea30f8ba7
commit
f2bf6f374e
@ -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`.
|
* Apply the block crit ability by setting the value in the provided boolean holder to `true`.
|
||||||
*/
|
*/
|
||||||
override apply({ canCrit: preventCrit }: BlockCritAbAttrParams): void {
|
override apply({ blockCrit }: BlockCritAbAttrParams): void {
|
||||||
preventCrit.value = false;
|
blockCrit.value = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user