mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
little java cleanups
This commit is contained in:
@@ -2461,14 +2461,13 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
sb.append(")\r\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//Convoke
|
||||
for (String keyw : kw) {
|
||||
if(keyw.equals("Convoke")) {
|
||||
if (keyw.equals("Convoke")) {
|
||||
if (sb.toString().endsWith("\r\n\r\n")) {
|
||||
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");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -416,11 +416,10 @@ public final class AbilityFactoryCopy {
|
||||
copy.setManaCost("");
|
||||
copy.setBaseAttack(2);
|
||||
copy.setBaseDefense(2);
|
||||
copy.setIntrinsicKeyword(new ArrayList<String>()); // remove
|
||||
// all
|
||||
// keywords
|
||||
copy.setType(new ArrayList<String>()); // remove all
|
||||
// types
|
||||
//remove all keywords
|
||||
copy.setIntrinsicKeyword(new ArrayList<String>());
|
||||
//remove all types
|
||||
copy.setType(new ArrayList<String>());
|
||||
copy.addType("Creature");
|
||||
copy.clearSpellAbility(); // disallow "morph_up"
|
||||
copy.setCurSetCode("");
|
||||
|
||||
@@ -48,8 +48,8 @@ public class CardFactoryPlaneswalkers {
|
||||
card.addComesIntoPlayCommand(CardFactoryUtil.entersBattleFieldWithCounters(card, Counters.LOYALTY,
|
||||
card.getBaseLoyalty()));
|
||||
}
|
||||
|
||||
// *************** START *********** START **************************
|
||||
|
||||
//*************** START *********** START **************************
|
||||
if (cardName.equals("Sarkhan the Mad")) {
|
||||
|
||||
// Planeswalker book-keeping
|
||||
|
||||
Reference in New Issue
Block a user