little java cleanups

This commit is contained in:
slapshot5
2011-11-05 23:02:19 +00:00
parent 081faa0bb6
commit a7641c81ee
3 changed files with 8 additions and 10 deletions

View File

@@ -2468,7 +2468,6 @@ public class Card extends GameEntity implements Comparable<Card> {
if (sb.toString().endsWith("\r\n\r\n")) { if (sb.toString().endsWith("\r\n\r\n")) {
sb.delete(sb.lastIndexOf("\r\n"), sb.lastIndexOf("\r\n") + 3); sb.delete(sb.lastIndexOf("\r\n"), sb.lastIndexOf("\r\n") + 3);
} }
sb.append("Convoke (Each creature you tap while casting this spell reduces its cost by 1 or by one mana of that creature's color.)\r\n"); sb.append("Convoke (Each creature you tap while casting this spell reduces its cost by 1 or by one mana of that creature's color.)\r\n");
} }
} }

View File

@@ -416,11 +416,10 @@ public final class AbilityFactoryCopy {
copy.setManaCost(""); copy.setManaCost("");
copy.setBaseAttack(2); copy.setBaseAttack(2);
copy.setBaseDefense(2); copy.setBaseDefense(2);
copy.setIntrinsicKeyword(new ArrayList<String>()); // remove //remove all keywords
// all copy.setIntrinsicKeyword(new ArrayList<String>());
// keywords //remove all types
copy.setType(new ArrayList<String>()); // remove all copy.setType(new ArrayList<String>());
// types
copy.addType("Creature"); copy.addType("Creature");
copy.clearSpellAbility(); // disallow "morph_up" copy.clearSpellAbility(); // disallow "morph_up"
copy.setCurSetCode(""); copy.setCurSetCode("");