forked from External/mage
* Glacial Crasher - Fix that can't attack effect being applied to all permanents on the battlefield
This commit is contained in:
parent
df3b6afc8d
commit
ba37d70a73
1 changed files with 4 additions and 2 deletions
|
|
@ -104,8 +104,10 @@ class GlacialCrasherEffect extends RestrictionEffect {
|
|||
|
||||
@Override
|
||||
public boolean applies(Permanent permanent, Ability source, Game game) {
|
||||
if (game.getBattlefield().count(filter, source.getSourceId(), source.getControllerId(), game) < 1) {
|
||||
return true;
|
||||
if (permanent.getId().equals(source.getSourceId())) {
|
||||
if (game.getBattlefield().count(filter, source.getSourceId(), source.getControllerId(), game) < 1) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue