- 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
public boolean apply(Game game, Ability source) {
Player p = game.getPlayer(source.getControllerId());
if (p != null) {
for (UUID oppId : p.getInRange()) {
Player opponent = game.getPlayer(oppId);
Player player = game.getPlayer(source.getControllerId());
if (player != null) {
for (UUID playerId : game.getOpponents(source.getControllerId())) {
Player opponent = game.getPlayer(playerId);
if (opponent != null && opponent.getGraveyard().size() >= value)
return true;
}