mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Fixed being able to target yourself with "ValidTgts$ Opponent".
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user