- C14: Added Crown of Doom

This commit is contained in:
swordshine
2014-11-11 02:26:28 +00:00
parent 2f0d3b524a
commit 588b99b576
3 changed files with 13 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -3791,6 +3791,7 @@ forge-gui/res/cardsfolder/c/crowds_favor.txt -text
forge-gui/res/cardsfolder/c/crown_of_ascension.txt -text
forge-gui/res/cardsfolder/c/crown_of_awe.txt -text
forge-gui/res/cardsfolder/c/crown_of_convergence.txt -text svneol=unset#text/plain
forge-gui/res/cardsfolder/c/crown_of_doom.txt -text
forge-gui/res/cardsfolder/c/crown_of_empires.txt -text
forge-gui/res/cardsfolder/c/crown_of_flames.txt svneol=native#text/plain
forge-gui/res/cardsfolder/c/crown_of_fury.txt -text

View File

@@ -1766,6 +1766,10 @@ public class Player extends GameEntity implements Comparable<Player> {
if (equals(sourceController)) {
return false;
}
} else if (property.equals("OtherThanSourceOwner")) {
if (equals(source.getOwner())) {
return false;
}
} else if (property.equals("wasDealtDamageBySourceThisGame")) {
if (!source.getDamageHistory().getThisGameDamaged().contains(this)) {
return false;

View File

@@ -0,0 +1,8 @@
Name:Crown of Doom
ManaCost:3
Types:Artifact
T:Mode$ Attacks | ValidCard$ Creature | Attacked$ You,Planeswalker.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Whenever a creature attacks you or a planeswalker you control, it gets +2/+0 until end of turn.
SVar:TrigPump:AB$ Pump | Cost$ 0 | Defined$ TriggeredAttacker | NumAtt$ +2
A:AB$ GainControl | Cost$ 2 | Defined$ Self | ValidTgts$ Player.OtherThanSourceOwner | TgtPrompt$ Select target player other than the owner | PlayerTurn$ True | SpellDescription$ Target player other than CARDNAME's owner gains control of it. Activate this ability only during your turn.
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/crown_of_doom.jpg