mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
- Conversion to StringBuilder. Still working on GameActionUtil.java.
This commit is contained in:
@@ -2750,8 +2750,11 @@ public class GameActionUtil {
|
||||
}
|
||||
}; // ability2
|
||||
|
||||
ability2.setStackDescription(card.getName() + " - " + c.getController()
|
||||
+ " plays an Artifact spell and draws a card");
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(card.getName()).append(" - ").append(c.getController());
|
||||
sb.append(" plays an Artifact spell and draws a card");
|
||||
ability2.setStackDescription(sb.toString());
|
||||
|
||||
AllZone.Stack.add(ability2);
|
||||
|
||||
} // for
|
||||
@@ -2778,8 +2781,11 @@ public class GameActionUtil {
|
||||
}
|
||||
}; // ability2
|
||||
|
||||
ability2.setStackDescription(card.getName() + " - " + c.getController()
|
||||
+ " puts a 4/4 White Angel token with flying into play.");
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(card.getName()).append(" - ").append(c.getController());
|
||||
sb.append(" puts a 4/4 White Angel token with flying into play.");
|
||||
ability2.setStackDescription(sb.toString());
|
||||
|
||||
AllZone.Stack.add(ability2);
|
||||
|
||||
} // for
|
||||
@@ -2806,7 +2812,10 @@ public class GameActionUtil {
|
||||
}
|
||||
}; // ability2
|
||||
|
||||
ability2.setStackDescription(card.getName() + " - " + " untaps");
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(card.getName()).append(" - ").append(" untaps");
|
||||
ability2.setStackDescription(sb.toString());
|
||||
|
||||
AllZone.Stack.add(ability2);
|
||||
|
||||
} // for
|
||||
@@ -2833,8 +2842,11 @@ public class GameActionUtil {
|
||||
}
|
||||
}; // ability2
|
||||
|
||||
ability2.setStackDescription(card.getName() + " - " + c.getController()
|
||||
+ " plays a Creature spell and draws a card");
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(card.getName()).append(" - ").append(c.getController());
|
||||
sb.append(" plays a Creature spell and draws a card");
|
||||
ability2.setStackDescription(sb.toString());
|
||||
|
||||
AllZone.Stack.add(ability2);
|
||||
|
||||
} // for
|
||||
@@ -2862,8 +2874,12 @@ public class GameActionUtil {
|
||||
}
|
||||
}; // ability2
|
||||
|
||||
ability2.setStackDescription(card.getName() + " - " + c.getController()
|
||||
+ " played a white, blue, black or red spell, " + " gets a +1/+1 counter.");
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(card.getName()).append(" - ").append(c.getController());
|
||||
sb.append(" played a white, blue, black or red spell, ");
|
||||
sb.append(card.getName()).append(" gets a +1/+1 counter.");
|
||||
ability2.setStackDescription(sb.toString());
|
||||
|
||||
AllZone.Stack.add(ability2);
|
||||
}
|
||||
}
|
||||
@@ -2892,8 +2908,12 @@ public class GameActionUtil {
|
||||
}
|
||||
}; // ability2
|
||||
|
||||
ability2.setStackDescription(card.getName() + " - " + c.getController()
|
||||
+ " played a blue or black spell, " + card.getName() + " gets a +1/+1 counter.");
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(card.getName()).append(" - ").append(c.getController());
|
||||
sb.append(" played a blue or black spell, ").append(card.getName());
|
||||
sb.append(" gets a +1/+1 counter.");
|
||||
ability2.setStackDescription(sb.toString());
|
||||
|
||||
AllZone.Stack.add(ability2);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user