Fixed Xantcha. The attack restriction effect now applies only to herself.

This commit is contained in:
jesusjbr 2018-08-16 01:39:42 +02:00
parent eac4950a7f
commit 2a65197fa5

View file

@ -119,7 +119,11 @@ class XantchaSleeperAgentAttackRestrictionEffect extends RestrictionEffect {
@Override
public boolean applies(Permanent permanent, Ability source, Game game) {
return true;
boolean apply = false;
if (permanent.getId().equals(source.getSourceId())) {
apply = true;
}
return apply;
}
@Override