fix hand differential discard for Balance.

This commit is contained in:
jendave
2011-08-06 14:45:36 +00:00
parent 4878c920bb
commit 72aee47cde

View File

@@ -4680,7 +4680,7 @@ public class CardFactory_Sorceries {
//Hand //Hand
CardList humHand = AllZoneUtil.getPlayerHand(AllZone.HumanPlayer); CardList humHand = AllZoneUtil.getPlayerHand(AllZone.HumanPlayer);
CardList compHand = AllZoneUtil.getPlayerHand(AllZone.ComputerPlayer); 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()) if (compHand.size() > humHand.size())
{ {
@@ -6444,7 +6444,7 @@ public class CardFactory_Sorceries {
//*************** START *********** START ************************** //*************** START *********** START **************************
else if(cardName.equals("Sanity Grinding")) { else if(cardName.equals("Sanity Grinding")) {
/* /*
* Chroma <EFBFBD> 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 * 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. * 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 * Then put the cards you revealed this way on the bottom of your
@@ -6727,6 +6727,7 @@ public class CardFactory_Sorceries {
card.addSpellAbility(spell); card.addSpellAbility(spell);
}//*************** END ************ END ************************** }//*************** END ************ END **************************
//*************** START *********** START ************************** //*************** START *********** START **************************
else if(cardName.equals("Molten Psyche")) { else if(cardName.equals("Molten Psyche")) {
/* /*
@@ -7034,6 +7035,7 @@ public class CardFactory_Sorceries {
card.addSpellAbility(spell); card.addSpellAbility(spell);
}//*************** END ************ END ************************** }//*************** END ************ END **************************
return card; return card;
}//getCard }//getCard
} }