* Glacial Crasher - Fix that can't attack effect being applied to all permanents on the battlefield

This commit is contained in:
Quercitron 2014-08-02 15:54:35 +04:00
parent df3b6afc8d
commit ba37d70a73

View file

@ -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;
}