mirror of
https://github.com/correl/mage.git
synced 2025-01-07 11:08:44 +00:00
8d08f005af
- replacing hard coded strings of set codes with reference to 'mage.sets.<set>.getInstance().getCode()' allows for set class names to no longer show as unreferenced & adds for more consistence between other block units - various protected variables were able to be changed to private to clean up additional warnings - some JavaDoc comments were generating warnings due to missing documentation - removed some unused imports and unused variables - there were multiple conditional logic checks for 'rarity != Rarity.LAND' within an if block where the outer condition was 'if rarity == Rarity.COMMON' rendering the inner condition always true and thus redundant - a few ExpansionSet.buildDate parameters wer using octal values (eg. '03' instead of '3') which triggered some warnings - added a booster generation test for WarOfTheSparks to make sure every booster contains a planeswalker - added a booster generation test for ModernHorizons to make sure every booster contains a snow land - booster generation test for Battlbond set referenced the Coldsnap set class instead of Battlebond
18 lines
406 B
Java
18 lines
406 B
Java
|
|
|
|
package mage.deck;
|
|
|
|
import mage.cards.decks.Constructed;
|
|
|
|
/**
|
|
*
|
|
* @author fireshoes
|
|
*/
|
|
public class BattleForZendikarBlock extends Constructed {
|
|
|
|
public BattleForZendikarBlock() {
|
|
super("Constructed - Battle for Zendikar Block");
|
|
setCodes.add(mage.sets.BattleForZendikar.getInstance().getCode());
|
|
setCodes.add(mage.sets.OathOfTheGatewatch.getInstance().getCode());
|
|
}
|
|
}
|