mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
All final strings became static - it will give a little perfomance boost, due to not instantiating same string every time
This commit is contained in:
parent
26ce8e0bcc
commit
af3986df46
46 changed files with 56 additions and 56 deletions
|
|
@ -36,7 +36,7 @@ import java.util.Objects;
|
|||
*/
|
||||
public class EpicEffect extends OneShotEffect {
|
||||
|
||||
final String rule = "<br>Epic <i>(For the rest of the game, you can't cast spells. At the beginning of each of your upkeeps for the rest of the game, copy this spell except for its epic ability. If the spell has targets, you may choose new targets for the copy)";
|
||||
static final String rule = "<br>Epic <i>(For the rest of the game, you can't cast spells. At the beginning of each of your upkeeps for the rest of the game, copy this spell except for its epic ability. If the spell has targets, you may choose new targets for the copy)";
|
||||
|
||||
public EpicEffect() {
|
||||
super(Outcome.Benefit);
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ public abstract class DraftCube {
|
|||
private static final Logger logger = Logger.getLogger(DraftCube.class);
|
||||
|
||||
private final String name;
|
||||
private final int boosterSize = 15;
|
||||
private static final int boosterSize = 15;
|
||||
|
||||
protected List<CardIdentity> cubeCards = new ArrayList<>();
|
||||
protected List<CardIdentity> leftCubeCards = new ArrayList<>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue