mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
* Player Hexproof - Fixed that the Player Hexproof prevented that the player could be attacked.
This commit is contained in:
parent
a5454aab6d
commit
05cfa23931
1 changed files with 1 additions and 0 deletions
|
@ -662,6 +662,7 @@ public class HumanPlayer extends PlayerImpl<HumanPlayer> {
|
|||
}
|
||||
else {
|
||||
TargetDefender target = new TargetDefender(possibleDefender, attackerId);
|
||||
target.setNotTarget(true); // player hexproof does not prevent attacking a player
|
||||
if (forcedToAttack) {
|
||||
StringBuilder sb = new StringBuilder(target.getTargetName());
|
||||
Permanent attacker = game.getPermanent(attackerId);
|
||||
|
|
Loading…
Reference in a new issue