- Little fix in the description of discard cost.

This commit is contained in:
Sloth
2011-08-28 13:03:54 +00:00
parent 0093ad34cf
commit a0b46e67e5

View File

@@ -23,18 +23,18 @@ public class CostDiscard extends CostPartWithList {
@Override @Override
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
sb.append("Discard"); sb.append("Discard ");
Integer i = convertAmount(); Integer i = convertAmount();
if (getThis()) { if (getThis()) {
sb.append(" ").append(type); sb.append(type);
} }
else if (type.equals("Hand")) { else if (type.equals("Hand")) {
sb.append(" your hand"); sb.append("your hand");
} }
else if (type.equals("LastDrawn")) { else if (type.equals("LastDrawn")) {
sb.append(" last drawn card"); sb.append("last drawn card");
} }
else { else {
StringBuilder desc = new StringBuilder(); StringBuilder desc = new StringBuilder();