- Added the player keyword "Play with your hand revealed."

- Added Revelation and Telepathy.
This commit is contained in:
Sloth
2012-01-16 16:27:55 +00:00
parent 8853697d0f
commit 2273926e04
4 changed files with 36 additions and 6 deletions

2
.gitattributes vendored
View File

@@ -6830,6 +6830,7 @@ res/cardsfolder/r/return_to_dust.txt svneol=native#text/plain
res/cardsfolder/r/reveillark.txt svneol=native#text/plain res/cardsfolder/r/reveillark.txt svneol=native#text/plain
res/cardsfolder/r/reveille_squad.txt svneol=native#text/plain res/cardsfolder/r/reveille_squad.txt svneol=native#text/plain
res/cardsfolder/r/reveka_wizard_savant.txt svneol=native#text/plain res/cardsfolder/r/reveka_wizard_savant.txt svneol=native#text/plain
res/cardsfolder/r/revelation.txt -text
res/cardsfolder/r/revelsong_horn.txt svneol=native#text/plain res/cardsfolder/r/revelsong_horn.txt svneol=native#text/plain
res/cardsfolder/r/revenant.txt svneol=native#text/plain res/cardsfolder/r/revenant.txt svneol=native#text/plain
res/cardsfolder/r/reverberate.txt svneol=native#text/plain res/cardsfolder/r/reverberate.txt svneol=native#text/plain
@@ -8576,6 +8577,7 @@ res/cardsfolder/t/telekinetic_bonds.txt svneol=native#text/plain
res/cardsfolder/t/telekinetic_sliver.txt svneol=native#text/plain res/cardsfolder/t/telekinetic_sliver.txt svneol=native#text/plain
res/cardsfolder/t/telemin_performance.txt -text res/cardsfolder/t/telemin_performance.txt -text
res/cardsfolder/t/telepathic_spies.txt svneol=native#text/plain res/cardsfolder/t/telepathic_spies.txt svneol=native#text/plain
res/cardsfolder/t/telepathy.txt -text
res/cardsfolder/t/teleport.txt svneol=native#text/plain res/cardsfolder/t/teleport.txt svneol=native#text/plain
res/cardsfolder/t/telethopter.txt svneol=native#text/plain res/cardsfolder/t/telethopter.txt svneol=native#text/plain
res/cardsfolder/t/telimtor.txt svneol=native#text/plain res/cardsfolder/t/telimtor.txt svneol=native#text/plain

View File

@@ -0,0 +1,13 @@
Name:Revelation
ManaCost:G
Types:World Enchantment
Text:no text
S:Mode$ Continuous | Affected$ Player | AddKeyword$ Play with your hand revealed. | Description$ Players play with their hands revealed.
SVar:RemAIDeck:True
SVar:RemRandomDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/revelation.jpg
SetInfo:CHR|Rare|http://magiccards.info/scans/en/ch/40.jpg
SetInfo:LEG|Rare|http://magiccards.info/scans/en/lg/116.jpg
Oracle:Players play with their hands revealed.
End

View File

@@ -0,0 +1,16 @@
Name:Telepathy
ManaCost:U
Types:Enchantment
Text:no text
S:Mode$ Continuous | Affected$ Opponent | AddKeyword$ Play with your hand revealed. | Description$ Your opponents play with their hands revealed.
SVar:RemAIDeck:True
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/telepathy.jpg
SetInfo:8ED|Uncommon|http://magiccards.info/scans/en/8e/105.jpg
SetInfo:USG|Uncommon|http://magiccards.info/scans/en/us/102.jpg
SetInfo:7ED|Uncommon|http://magiccards.info/scans/en/7e/102.jpg
SetInfo:9ED|Uncommon|http://magiccards.info/scans/en/9e/101.jpg
SetInfo:10E|Uncommon|http://magiccards.info/scans/en/10e/113.jpg
SetInfo:M10|Uncommon|http://magiccards.info/scans/en/m10/74.jpg
Oracle:Your opponents play with their hands revealed.
End

View File

@@ -174,11 +174,9 @@ public class ControlField {
this.view.getLblFlashback().addMouseListener(maFlashback); this.view.getLblFlashback().addMouseListener(maFlashback);
// Hand button // Hand button
if (Constant.Runtime.DEV_MODE[0]) { this.view.getLblHand().enableHover();
this.view.getLblHand().enableHover(); this.view.getLblHand().removeMouseListener(maHand);
this.view.getLblHand().removeMouseListener(maHand); this.view.getLblHand().addMouseListener(maHand);
this.view.getLblHand().addMouseListener(maHand);
}
} }
/** /**
@@ -343,7 +341,8 @@ public class ControlField {
if (!ControlField.this.player.isComputer()) { if (!ControlField.this.player.isComputer()) {
new ZoneAction(ControlField.this.player.getZone(Zone.Hand), HumanHand.BASE) new ZoneAction(ControlField.this.player.getZone(Zone.Hand), HumanHand.BASE)
.actionPerformed(null); .actionPerformed(null);
} else { } else if (Constant.Runtime.DEV_MODE[0]
|| ControlField.this.player.hasKeyword("Play with your hand revealed.")) {
new ZoneAction(ControlField.this.player.getZone(Zone.Hand), ComputerHand.BASE) new ZoneAction(ControlField.this.player.getZone(Zone.Hand), ComputerHand.BASE)
.actionPerformed(null); .actionPerformed(null);
} }