change isValidTarget to follow style of MagicPermanent
parent
1e7e035357
commit
318a4a13cb
|
@ -519,7 +519,11 @@ public class MagicPlayer implements MagicTarget {
|
|||
|
||||
@Override
|
||||
public boolean isValidTarget(final MagicSource source) {
|
||||
return source.getController() == this || !hasAbility(MagicAbility.Hexproof);
|
||||
// Can't be the target of spells or abilities your opponents controls.
|
||||
if (hasAbility(MagicAbility.Hexproof) && source.getController() != this) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public void incDrawnCards() {
|
||||
|
|
Loading…
Reference in New Issue