Adding TS sealed league into the system.

This commit is contained in:
MarcinSc
2015-08-03 10:53:31 -07:00
parent a95bd9ab2b
commit 817b61ad25
27 changed files with 79 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

View File

@@ -36,6 +36,7 @@ var packBlueprints = {
"(S)Booster Choice":"/gemp-lotr/images/boosters/booster_selection.png",
"(S)Movie Booster Choice":"/gemp-lotr/images/boosters/booster_selection.png",
"(S)TSBoosterChoice":"/gemp-lotr/images/boosters/booster_selection.png",
"FotR - League Starter":"/gemp-lotr/images/boosters/fotr_league_starter.png",
"Random FotR Foil Common":"/gemp-lotr/images/boosters/random_foil.png",
@@ -119,6 +120,20 @@ var packBlueprints = {
"(S)Special-4-6":"/gemp-lotr/images/boosters/starter_selection.png",
"(S)Special-7-9":"/gemp-lotr/images/boosters/starter_selection.png",
"TSSealedS1D1":"/gemp-lotr/images/boosters/TSS1D1.png",
"TSSealedS1D2":"/gemp-lotr/images/boosters/TSS1D2.png",
"TSSealedS1D3":"/gemp-lotr/images/boosters/TSS1D3.png",
"TSSealedS2D1":"/gemp-lotr/images/boosters/TSS2D1.png",
"TSSealedS2D2":"/gemp-lotr/images/boosters/TSS2D2.png",
"TSSealedS2D3":"/gemp-lotr/images/boosters/TSS2D3.png",
"TSSealedS3D1":"/gemp-lotr/images/boosters/TSS3D1.png",
"TSSealedS3D2":"/gemp-lotr/images/boosters/TSS3D2.png",
"TSSealedS3D3":"/gemp-lotr/images/boosters/TSS3D3.png",
"(S)TSSealed-S1":"/gemp-lotr/images/boosters/starter_selection.png",
"(S)TSSealed-S2":"/gemp-lotr/images/boosters/starter_selection.png",
"(S)TSSealed-S3":"/gemp-lotr/images/boosters/starter_selection.png",
"Expanded":"/gemp-lotr/images/boosters/expanded.png",
"Wraith":"/gemp-lotr/images/boosters/wraith.png",
"AgesEnd":"/gemp-lotr/images/boosters/ages_end.png"

View File

@@ -179,6 +179,7 @@
<option value="movie">King (Movie) block</option>
<option value="war_block">War of the Ring block</option>
<option value="movie_special">Movie Special block</option>
<option value="ts_special">TS Special block</option>
</select><br/>
Series duration in days: <input type="text" name="serieDuration"><br/>
Maximum matches in series: <input type="text" name="maxMatches"><br/>

View File

@@ -18,6 +18,7 @@ public class SealedLeagueProduct {
createMovieBlock();
createWarOfTheRingBlock();
createMovieSpecialBlock();
createTSSpecialBlock();
}
private void createFellowshipBlock() {
@@ -144,6 +145,37 @@ public class SealedLeagueProduct {
_collections.put(SealedLeagueType.MOVIE_SPECIAL_BLOCK.getSealedCode(), movieSpecialBlock);
}
private void createTSSpecialBlock() {
List<CardCollection> tsSpecialBlock = new ArrayList<CardCollection>();
MutableCardCollection firstWeek = new DefaultCardCollection();
firstWeek.addItem("(S)TSSealed-S1", 1);
firstWeek.addItem("FotR - Booster", 2);
firstWeek.addItem("TTT - Booster", 2);
firstWeek.addItem("(S)TSBoosterChoice", 2);
tsSpecialBlock.add(firstWeek);
MutableCardCollection secondWeek = new DefaultCardCollection();
secondWeek.addItem("(S)TSSealed-S2", 1);
secondWeek.addItem("MoM - Booster", 1);
secondWeek.addItem("BoHD - Booster", 1);
secondWeek.addItem("(S)TSBoosterChoice", 1);
tsSpecialBlock.add(secondWeek);
MutableCardCollection thirdWeek = new DefaultCardCollection();
thirdWeek.addItem("(S)TSSealed-S3", 1);
thirdWeek.addItem("RotEL - Booster", 1);
thirdWeek.addItem("EoF - Booster", 1);
thirdWeek.addItem("(S)TSBoosterChoice", 1);
tsSpecialBlock.add(thirdWeek);
MutableCardCollection fourthWeek = new DefaultCardCollection();
fourthWeek.addItem("(S)TSBoosterChoice", 6);
tsSpecialBlock.add(fourthWeek);
_collections.put(SealedLeagueType.TS_SPECIAL_BLOCK.getSealedCode(), tsSpecialBlock);
}
private void createWarOfTheRingBlock() {
List<CardCollection> warOfTheRingBlock = new ArrayList<CardCollection>();

View File

@@ -5,7 +5,8 @@ public enum SealedLeagueType {
TTT_BLOCK("ttt_block", "limited_ttt"),
MOVIE_BLOCK("movie", "limited_king"),
WAR_BLOCK("war_block", "limited_shadows"),
MOVIE_SPECIAL_BLOCK("movie_special", "limited_king");
MOVIE_SPECIAL_BLOCK("movie_special", "limited_king"),
TS_SPECIAL_BLOCK("ts_special", "limited_ttt");
public static SealedLeagueType getLeagueType(String sealedCode) {
for (SealedLeagueType sealedLeagueType : SealedLeagueType.values()) {

View File

@@ -0,0 +1,6 @@
1xFotR - Booster
1xMoM - Booster
1xRotEL - Booster
1xTTT - Booster
1xBoHD - Booster
1xEoF - Booster

View File

@@ -0,0 +1,3 @@
1xTSSealedS1D1
1xTSSealedS1D2
1xTSSealedS1D3

View File

@@ -0,0 +1,3 @@
1xTSSealedS2D1
1xTSSealedS2D2
1xTSSealedS2D3

View File

@@ -0,0 +1,3 @@
1xTSSealedS3D1
1xTSSealedS3D2
1xTSSealedS3D3

View File

@@ -76,4 +76,17 @@ Special-09
(S)Movie Booster Choice
Expanded
Wraith
AgesEnd
AgesEnd
TSSealedS1D1
TSSealedS1D2
TSSealedS1D3
TSSealedS2D1
TSSealedS2D2
TSSealedS2D3
TSSealedS3D1
TSSealedS3D2
TSSealedS3D3
(S)TSSealed-S1
(S)TSSealed-S2
(S)TSSealed-S3
(S)TSBoosterChoice