mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
little java cleanups
This commit is contained in:
@@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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("");
|
||||||
|
|||||||
Reference in New Issue
Block a user