mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Merge branch 'estrid-fix' into 'master'
Fix Estrid, the Masked -1 ability See merge request core-developers/forge!1443
This commit is contained in:
@@ -499,7 +499,7 @@ public class TokenEffect extends SpellAbilityEffect {
|
|||||||
// TODO update when doing Attach Update
|
// TODO update when doing Attach Update
|
||||||
boolean canAttach = lki.isAttachment();
|
boolean canAttach = lki.isAttachment();
|
||||||
|
|
||||||
if (canAttach && ge.canBeAttached(lki)) {
|
if (canAttach && !ge.canBeAttached(lki)) {
|
||||||
canAttach = false;
|
canAttach = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -507,7 +507,7 @@ public class TokenEffect extends SpellAbilityEffect {
|
|||||||
game.getAction().checkStaticAbilities(false);
|
game.getAction().checkStaticAbilities(false);
|
||||||
|
|
||||||
if (!canAttach) {
|
if (!canAttach) {
|
||||||
// Token can't attach it
|
// Token can't attach to it
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user