mirror of
https://github.com/correl/mage.git
synced 2024-12-27 11:07:39 +00:00
Fixed Xantcha. The attack restriction effect now applies only to herself.
This commit is contained in:
parent
eac4950a7f
commit
2a65197fa5
1 changed files with 5 additions and 1 deletions
|
@ -119,7 +119,11 @@ class XantchaSleeperAgentAttackRestrictionEffect extends RestrictionEffect {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean applies(Permanent permanent, Ability source, Game game) {
|
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
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue