- Fixed being able to target yourself with "ValidTgts$ Opponent".

This commit is contained in:
Sloth
2011-10-31 20:49:03 +00:00
parent d38af8217e
commit 9022a785e1

View File

@@ -351,7 +351,8 @@ public class Target_Selection {
return;
}
if ((tgt.canTgtPlayer() || (tgt.canOnlyTgtOpponent() && player.equals(sa.getActivatingPlayer()
if (((tgt.canTgtPlayer() && !tgt.canOnlyTgtOpponent())
|| (tgt.canOnlyTgtOpponent() && player.equals(sa.getActivatingPlayer()
.getOpponent()))) && player.canTarget(sa)) {
tgt.addTarget(player);
this.done();