From 72aee47cde1d3b9592c16cca0396c7ff9cacc70a Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 14:45:36 +0000 Subject: [PATCH] fix hand differential discard for Balance. --- src/forge/CardFactory_Sorceries.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/forge/CardFactory_Sorceries.java b/src/forge/CardFactory_Sorceries.java index 3b101b82119..97fe2906edd 100644 --- a/src/forge/CardFactory_Sorceries.java +++ b/src/forge/CardFactory_Sorceries.java @@ -4680,7 +4680,7 @@ public class CardFactory_Sorceries { //Hand CardList humHand = AllZoneUtil.getPlayerHand(AllZone.HumanPlayer); CardList compHand = AllZoneUtil.getPlayerHand(AllZone.ComputerPlayer); - int handDiff = humHand.size() - compHand.size(); + int handDiff = Math.abs(humHand.size() - compHand.size()); if (compHand.size() > humHand.size()) { @@ -6444,7 +6444,7 @@ public class CardFactory_Sorceries { //*************** START *********** START ************************** else if(cardName.equals("Sanity Grinding")) { /* - * Chroma � Reveal the top ten cards of your library. For each blue + * Chroma - Reveal the top ten cards of your library. For each blue * mana symbol in the mana costs of the revealed cards, target opponent * puts the top card of his or her library into his or her graveyard. * Then put the cards you revealed this way on the bottom of your @@ -6727,6 +6727,7 @@ public class CardFactory_Sorceries { card.addSpellAbility(spell); }//*************** END ************ END ************************** + //*************** START *********** START ************************** else if(cardName.equals("Molten Psyche")) { /* @@ -7034,6 +7035,7 @@ public class CardFactory_Sorceries { card.addSpellAbility(spell); }//*************** END ************ END ************************** + return card; }//getCard }