diff --git a/forge-game/src/main/java/forge/game/player/Player.java b/forge-game/src/main/java/forge/game/player/Player.java index 0abeb1a3b20..6b10967c51d 100644 --- a/forge-game/src/main/java/forge/game/player/Player.java +++ b/forge-game/src/main/java/forge/game/player/Player.java @@ -2337,6 +2337,10 @@ public class Player extends GameEntity implements Comparable { if (this.equals(sourceController) || !this.isOpponentOf(sourceController)) { return false; } + } else if (property.equals("Allies")) { + if (this.equals(sourceController) || this.isOpponentOf(sourceController)) { + return false; + } } else if (property.equals("NonActive")) { if (this.equals(game.getPhaseHandler().getPlayerTurn())) { return false; diff --git a/forge-gui/res/cardsfolder/i/imperial_mask.txt b/forge-gui/res/cardsfolder/i/imperial_mask.txt index eadba8ea01d..fc739945aab 100644 --- a/forge-gui/res/cardsfolder/i/imperial_mask.txt +++ b/forge-gui/res/cardsfolder/i/imperial_mask.txt @@ -1,7 +1,9 @@ Name:Imperial Mask ManaCost:4 W Types:Enchantment -Text:When CARDNAME enters the battlefield, if it's not a token, each of your teammates puts a token that's a copy of CARDNAME onto the battlefield. +T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self+nonToken | Execute$ TrigCopyPermanent | TriggerDescription$ When CARDNAME enters the battlefield, if it's not a token, each of your teammates puts a token that's a copy of CARDNAME onto the battlefield. +SVar:TrigCopyPermanent:DB$ RepeatEach | RepeatSubAbility$ DBClone | RepeatPlayers$ Player.Allies +SVar:DBClone:DB$ CopyPermanent | Defined$ TriggeredCard | Controller$ Remembered S:Mode$ Continuous | Affected$ You | AddKeyword$ Hexproof | Description$ You have hexproof. (You can't be the target of spells or abilities your opponents control.) SVar:NonStackingEffect:True SVar:Picture:http://www.wizards.com/global/images/magic/general/imperial_mask.jpg