Merge branch 'estrid-fix' into 'master'

Fix Estrid, the Masked -1 ability

See merge request core-developers/forge!1443
This commit is contained in:
Michael Kamensky
2019-03-05 11:56:51 +00:00

View File

@@ -499,7 +499,7 @@ public class TokenEffect extends SpellAbilityEffect {
// TODO update when doing Attach Update
boolean canAttach = lki.isAttachment();
if (canAttach && ge.canBeAttached(lki)) {
if (canAttach && !ge.canBeAttached(lki)) {
canAttach = false;
}
@@ -507,7 +507,7 @@ public class TokenEffect extends SpellAbilityEffect {
game.getAction().checkStaticAbilities(false);
if (!canAttach) {
// Token can't attach it
// Token can't attach to it
return false;
}