mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +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 {
|
else {
|
||||||
TargetDefender target = new TargetDefender(possibleDefender, attackerId);
|
TargetDefender target = new TargetDefender(possibleDefender, attackerId);
|
||||||
|
target.setNotTarget(true); // player hexproof does not prevent attacking a player
|
||||||
if (forcedToAttack) {
|
if (forcedToAttack) {
|
||||||
StringBuilder sb = new StringBuilder(target.getTargetName());
|
StringBuilder sb = new StringBuilder(target.getTargetName());
|
||||||
Permanent attacker = game.getPermanent(attackerId);
|
Permanent attacker = game.getPermanent(attackerId);
|
||||||
|
|
Loading…
Reference in a new issue