- Conversion to StringBuilder. This finishes GameActionUtil.java.

This commit is contained in:
jendave
2011-08-06 09:54:19 +00:00
parent 3bc5ca05c6
commit 08756d302c

View File

@@ -13793,8 +13793,11 @@ public class GameActionUtil {
} }
}// resolve() }// resolve()
};// SpellAbility };// SpellAbility
ability.setStackDescription("Sosuke's Summons - return card to "
+ player + "'s hand"); StringBuilder sb = new StringBuilder();
sb.append("Sosuke's Summons - return card to ").append(player).append("'s hand");
ability.setStackDescription(sb.toString());
AllZone.Stack.add(ability); AllZone.Stack.add(ability);
}// if }// if
@@ -14258,14 +14261,12 @@ public class GameActionUtil {
new String[] {"Creature", "Insect"}, 1, 1, new String[] {""}); new String[] {"Creature", "Insect"}, 1, 1, new String[] {""});
} }
} }
}; };// SpellAbility
ability.setStackDescription(hivemasterList.get(
outer).getName() StringBuilder sb = new StringBuilder();
+ " - " sb.append(hivemasterList.get(outer).getName()).append(" - ").append(hivemasterList.get(outer).getController());
+ hivemasterList.get(outer).getController() sb.append(" puts ").append(n[0]).append(" insect tokens into play.");
+ " puts " ability.setStackDescription(sb.toString());
+ n[0]
+ " insect tokens into play.");
if(n[0] != 0) { if(n[0] != 0) {
AllZone.Stack.push(ability); AllZone.Stack.push(ability);
@@ -20853,8 +20854,12 @@ public class GameActionUtil {
public void resolve() { public void resolve() {
crd.addCounter(Counters.P1P1, 1); crd.addCounter(Counters.P1P1, 1);
} }
}; };// Ability
ability.setStackDescription(c.getName() + " - gets a +1/+1 counter.");
StringBuilder sb = new StringBuilder();
sb.append(c.getName()).append(" - gets a +1/+1 counter.");
ability.setStackDescription(sb.toString());
AllZone.Stack.add(ability); AllZone.Stack.add(ability);
} }