- Fixed Show and Tell.

This commit is contained in:
jendave
2011-08-07 00:12:36 +00:00
parent 4afc7e1ab8
commit f9014d67e7
3 changed files with 8 additions and 7 deletions

View File

@@ -2,8 +2,8 @@ Name:Show and Tell
ManaCost:2 U
Types:Sorcery
Text:no text
A:SP$ ChangeZone | Cost$ 2 U | Origin$ Hand | Destination$ Battlefield | ChangeType$ Creature,Artifact,Enchantment,Land | Defined$ Each | ChangeNum$ 1 | SpellDescription$ Each player may put an artifact, creature, enchantment, or land card from his or her hand onto the battlefield.
SVar:Picture:http://www.wizards.com/global/images/magic/general/show_and_tell.jpg
A:SP$ ChangeZone | Cost$ 2 U | Origin$ Hand | Destination$ Battlefield | ChangeType$ Creature,Artifact,Enchantment.nonAura,Land | Defined$ Each | ChangeNum$ 1 | SpellDescription$ Each player may put an artifact, creature, enchantment, or land card from his or her hand onto the battlefield.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/show_and_tell.jpg
SetInfo:USG|Rare|http://magiccards.info/scans/en/us/96.jpg
End

View File

@@ -1874,7 +1874,7 @@ public class Card extends MyObservable {
}
public void unEnchantAllCards() {
for(int i = 0; i < equippedBy.size(); i++) {
for(int i = 0; i < enchantedBy.size(); i++) {
enchantedBy.get(i).unEnchantCard(this);
}
}

View File

@@ -446,9 +446,10 @@ public class AbilityFactory_ChangeZone {
}
for(Player player : fetchers){
if (chooser == null)
chooser = player;
if (chooser.isComputer()){
Player decider = chooser;
if (decider == null)
decider = player;
if (decider.isComputer()){
changeHiddenOriginResolveAI(af, sa, player);
}
else{
@@ -491,7 +492,7 @@ public class AbilityFactory_ChangeZone {
GuiUtils.getChoiceOptional(af.getHostCard().getName() + " - Looking at Library", AllZoneUtil.getCardsInZone("Library", player).toArray());
if (origin.contains("Hand") && player.isComputer()) // Look at opponents hand before moving onto choosing a card
GuiUtils.getChoiceOptional(af.getHostCard().getName() + " - Looking at Human's Hand", AllZoneUtil.getCardsInZone("Hand", player).toArray());
GuiUtils.getChoiceOptional(af.getHostCard().getName() + " - Looking at Opponent's Hand", AllZoneUtil.getCardsInZone("Hand", player).toArray());
fetchList = filterListByType(fetchList, params, sa);