add Wheel of Torture (from Urza's Legacy)

This commit is contained in:
jendave
2011-08-06 11:00:09 +00:00
parent 64b04bbec9
commit 0445d31ca7
3 changed files with 11 additions and 1 deletions

1
.gitattributes vendored
View File

@@ -5151,6 +5151,7 @@ res/cardsfolder/werebear.txt -text svneol=native#text/plain
res/cardsfolder/western_paladin.txt -text svneol=native#text/plain
res/cardsfolder/wheel_and_deal.txt -text svneol=native#text/plain
res/cardsfolder/wheel_of_fortune.txt -text svneol=native#text/plain
res/cardsfolder/wheel_of_torture.txt -text svneol=native#text/plain
res/cardsfolder/whip_sergeant.txt -text svneol=native#text/plain
res/cardsfolder/whip_spine_drake.txt -text svneol=native#text/plain
res/cardsfolder/whipcorder.txt -text svneol=native#text/plain

View File

@@ -0,0 +1,7 @@
Name:Wheel of Torture
ManaCost:3
Types:Artifact
Text:At the beginning of each opponent's upkeep, Wheel of Torture deals X damage to that player, where X is 3 minus the number of cards in his or her hand.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/wheel_of_torture.jpg
End

View File

@@ -9165,6 +9165,7 @@ public class GameActionUtil {
final Player player = AllZone.Phase.getPlayerTurn();
CardList racks = AllZoneUtil.getPlayerCardsInPlay(player.getOpponent(), "The Rack");
racks.add(AllZoneUtil.getPlayerCardsInPlay(player.getOpponent(), "Wheel of Torture"));
// if there are 1 or more The Racks owned by the opponent of the
// current player have each of them deal damage.
@@ -9182,7 +9183,8 @@ public class GameActionUtil {
};// Ability
StringBuilder sb = new StringBuilder();
sb.append("The Rack - deals X damage to ").append(player);
sb.append(src.getName());
sb.append(" - deals X damage to ").append(player);
sb.append(", where X is 3 minus the number of cards in his or her hand.");
ability.setStackDescription(sb.toString());