mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-12-19 16:25:41 +01:00
Fixde magic guard aftermath
This commit is contained in:
parent
be3c42a531
commit
12a626d2a5
@ -6549,7 +6549,7 @@ export class PostFaintContactDamageAbAttr extends PostFaintAbAttr {
|
|||||||
|
|
||||||
// TODO: Does aftermath display text if the attacker has Magic Guard?
|
// TODO: Does aftermath display text if the attacker has Magic Guard?
|
||||||
applyAbAttrs("BlockNonDirectDamageAbAttr", attacker, cancelled);
|
applyAbAttrs("BlockNonDirectDamageAbAttr", attacker, cancelled);
|
||||||
return cancelled.value;
|
return !cancelled.value;
|
||||||
}
|
}
|
||||||
|
|
||||||
override applyPostFaint(
|
override applyPostFaint(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user