Introducing King block format and Return of the King set.
This commit is contained in:
@@ -43,7 +43,7 @@ public class LotroServer extends AbstractServer {
|
||||
_lotroCardBlueprintLibrary = library;
|
||||
_chatServer = chatServer;
|
||||
_defaultCollection = new DefaultCardCollection(library);
|
||||
for (int i = 1; i <= 6; i++) {
|
||||
for (int i = 1; i <= 7; i++) {
|
||||
for (int j = 1; j <= 365; j++) {
|
||||
String blueprintId = i + "_" + j;
|
||||
try {
|
||||
@@ -60,7 +60,7 @@ public class LotroServer extends AbstractServer {
|
||||
}
|
||||
|
||||
if (test) {
|
||||
for (int i = 7; i <= 7; i++) {
|
||||
for (int i = 8; i <= 8; i++) {
|
||||
for (int j = 1; j <= 365; j++) {
|
||||
String blueprintId = i + "_" + j;
|
||||
try {
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
package com.gempukku.lotro.game.formats;
|
||||
|
||||
import com.gempukku.lotro.common.Block;
|
||||
import com.gempukku.lotro.game.LotroCardBlueprintLibrary;
|
||||
|
||||
public class KingBlockFormat extends DefaultLotroFormat {
|
||||
public KingBlockFormat(LotroCardBlueprintLibrary library, boolean mulliganRule) {
|
||||
super(library, Block.KING, true, 60, 4, mulliganRule);
|
||||
addRestrictedCard("7_49");
|
||||
addValidSet(7);
|
||||
addValidSet(8);
|
||||
addValidSet(9);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isOrderedSites() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -6,10 +6,7 @@ import com.gempukku.lotro.db.CollectionDAO;
|
||||
import com.gempukku.lotro.db.vo.League;
|
||||
import com.gempukku.lotro.db.vo.Player;
|
||||
import com.gempukku.lotro.game.*;
|
||||
import com.gempukku.lotro.game.formats.FotRBlockFormat;
|
||||
import com.gempukku.lotro.game.formats.FreeFormat;
|
||||
import com.gempukku.lotro.game.formats.TTTBlockFormat;
|
||||
import com.gempukku.lotro.game.formats.TowersStandardFormat;
|
||||
import com.gempukku.lotro.game.formats.*;
|
||||
import com.gempukku.lotro.league.LeagueService;
|
||||
import com.gempukku.lotro.logic.vo.LotroDeck;
|
||||
|
||||
@@ -48,6 +45,8 @@ public class HallServer extends AbstractServer {
|
||||
addFormat("ttt_block", "Two Towers block", "default", new TTTBlockFormat(_lotroServer.getLotroCardBlueprintLibrary(), false));
|
||||
addFormat("c_ttt_block", "Community Two Towers block", "default", new TTTBlockFormat(_lotroServer.getLotroCardBlueprintLibrary(), true));
|
||||
addFormat("towers_standard", "Towers Standard", "default", new TowersStandardFormat(_lotroServer.getLotroCardBlueprintLibrary()));
|
||||
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("whatever", "Format for testing", "default", new FreeFormat(_lotroServer.getLotroCardBlueprintLibrary()));
|
||||
}
|
||||
|
||||
@@ -119,7 +119,7 @@
|
||||
|
||||
$(document).ready(
|
||||
function() {
|
||||
$("#latestNews").append("<b>Sets 01-06 are available to play.</b> "
|
||||
$("#latestNews").append("<b>Sets 01-07 are available to play.</b> "
|
||||
+ "If you find any problems with specific card or rules in general, please report it to me directly or "
|
||||
+ "on the TLHH forums.");
|
||||
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
<pre style="font-size:80%">
|
||||
<b>10 Nov. 2011</b>
|
||||
- Added set 07 (Return of the King).
|
||||
|
||||
<b>9 Nov. 2011</b>
|
||||
- "House of Elrond" does not give an option to remove a burden to shadow player anymore.
|
||||
- Putting "Toss Me" on bottom or top of deck with it's effect does not freeze the game anymore.
|
||||
|
||||
@@ -48,3 +48,21 @@
|
||||
<li>there is no R-list,</li>
|
||||
<li>Mulligan rule IS in effect.</li>
|
||||
</ul>
|
||||
<b>King block</b>
|
||||
<ul>
|
||||
<li>cards from sets 07-08 and 10 are legal,</li>
|
||||
<li>sites from King block are used,</li>
|
||||
<li>Ring-bearer skirmish CAN be cancelled,</li>
|
||||
<li>there is no X-list,</li>
|
||||
<li>R-list has one card - <i>Steadfast Champion</i>,</li>
|
||||
<li>Mulligan rule IS NOT in effect.</li>
|
||||
</ul>
|
||||
<b>Community King block</b>
|
||||
<ul>
|
||||
<li>cards from sets 07-08 and 10 are legal,</li>
|
||||
<li>sites from King block are used,</li>
|
||||
<li>Ring-bearer skirmish CAN be cancelled,</li>
|
||||
<li>there is no X-list,</li>
|
||||
<li>R-list has one card - <i>Steadfast Champion</i>,</li>
|
||||
<li>Mulligan rule IS in effect.</li>
|
||||
</ul>
|
||||
|
||||
@@ -74,6 +74,8 @@ var Card = Class.extend({
|
||||
return (cardNo >= 118 && cardNo <= 120);
|
||||
if (setNo == 6)
|
||||
return (cardNo >= 115 && cardNo <= 120);
|
||||
if (setNo == 7)
|
||||
return (cardNo >= 329 && cardNo <= 363);
|
||||
},
|
||||
|
||||
getUrlByBlueprintId: function(blueprintId) {
|
||||
|
||||
Reference in New Issue
Block a user