Added War of the Ring block format.

This commit is contained in:
marcins78@gmail.com
2011-12-07 10:37:51 +00:00
parent 615bbd29a3
commit 55b1ed28fe
2 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
package com.gempukku.lotro.game.formats;
import com.gempukku.lotro.common.Block;
import com.gempukku.lotro.game.LotroCardBlueprintLibrary;
public class WarOfTheRingBlockFormat extends DefaultLotroFormat {
public WarOfTheRingBlockFormat(LotroCardBlueprintLibrary library, boolean mulliganRule) {
super(library, Block.OTHER, true, 60, 4, mulliganRule, false);
addRestrictedCard("11_132");
addRestrictedCard("11_100");
addValidSet(11);
addValidSet(12);
addValidSet(13);
}
@Override
public boolean isOrderedSites() {
return false;
}
}

View File

@@ -45,6 +45,8 @@ public class HallServer extends AbstractServer {
addFormat("king_block", "King block", "default", new KingBlockFormat(_lotroServer.getLotroCardBlueprintLibrary(), false));
addFormat("c_king_block", "Community King block", "default", new KingBlockFormat(_lotroServer.getLotroCardBlueprintLibrary(), true));
addFormat("movie", "Movie block", "default", new MovieFormat(_lotroServer.getLotroCardBlueprintLibrary()));
addFormat("war_block", "War of the Ring block", "default", new WarOfTheRingBlockFormat(_lotroServer.getLotroCardBlueprintLibrary(), false));
addFormat("c_war_block", "Community War of the Ring block", "default", new WarOfTheRingBlockFormat(_lotroServer.getLotroCardBlueprintLibrary(), true));
addFormat("whatever", "Format for testing", "default", new FreeFormat(_lotroServer.getLotroCardBlueprintLibrary()));
}