mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-20 16:42:45 +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`.
|
||||
*/
|
||||
override apply({ canCrit: preventCrit }: BlockCritAbAttrParams): void {
|
||||
preventCrit.value = false;
|
||||
override apply({ blockCrit }: BlockCritAbAttrParams): void {
|
||||
blockCrit.value = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user