- Fixed Jace's Phantasm.

This commit is contained in:
jeffwadsworth 2013-02-04 12:05:06 -06:00
parent cf62ba330d
commit 073e4f7748

View file

@ -21,10 +21,10 @@ public class CardsInOpponentGraveCondition implements Condition {
@Override @Override
public boolean apply(Game game, Ability source) { public boolean apply(Game game, Ability source) {
Player p = game.getPlayer(source.getControllerId()); Player player = game.getPlayer(source.getControllerId());
if (p != null) { if (player != null) {
for (UUID oppId : p.getInRange()) { for (UUID playerId : game.getOpponents(source.getControllerId())) {
Player opponent = game.getPlayer(oppId); Player opponent = game.getPlayer(playerId);
if (opponent != null && opponent.getGraveyard().size() >= value) if (opponent != null && opponent.getGraveyard().size() >= value)
return true; return true;
} }