- Converted Imperial Mask for multiplayer

This commit is contained in:
swordshine
2014-05-10 12:25:09 +00:00
parent 9b04597c54
commit b2ba987fe3
2 changed files with 7 additions and 1 deletions

View File

@@ -2337,6 +2337,10 @@ public class Player extends GameEntity implements Comparable<Player> {
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;

View File

@@ -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