- Added Treasure Hunt.

This commit is contained in:
Sloth
2011-09-01 13:42:21 +00:00
parent 7ed642bf20
commit 7a6475b6b1
3 changed files with 23 additions and 7 deletions

View File

@@ -653,6 +653,7 @@ public final class AbilityFactory_Reveal {
sb.append(". Put ");
String found = params.get("FoundDestination");
String revealed = params.get("RevealedDestination");
if (found != null) {
sb.append(untilAmount > 1 ? "those cards" : "that card");
@@ -662,15 +663,20 @@ public final class AbilityFactory_Reveal {
if (found.equals(Constant.Zone.Hand)) {
sb.append("into his or her hand ");
}
if (revealed.equals(Constant.Zone.Graveyard)) {
sb.append("and all other cards into his or her graveyard.");
}
if (revealed.equals(Constant.Zone.Exile)) {
sb.append("and exile all other cards revealed this way.");
}
} else {
if (revealed.equals(Constant.Zone.Hand)) {
sb.append("all cards revealed this way into his or her hand");
}
}
String revealed = params.get("RevealedDestination");
if (revealed.equals(Constant.Zone.Graveyard)) {
sb.append("and all other cards into his or her graveyard.");
}
if (revealed.equals(Constant.Zone.Exile)) {
sb.append("and exile all other cards revealed this way.");
}
Ability_Sub abSub = sa.getSubAbility();
if (abSub != null) {