- More Quest updates.

This commit is contained in:
jendave
2011-08-06 04:21:50 +00:00
parent e79c00232c
commit e533e43edb
3 changed files with 33 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
1 1
Dungeoncrawling (White) Dungeon Crawling (White)
Guarded by white creatures Guarded by white creatures
Medium Medium
Repeatable Repeatable
@@ -8,7 +8,7 @@ Three white rares
100 100
2 2
Dungeoncrawling (Blue) Dungeon Crawling (Blue)
Guarded by blue creatures. Guarded by blue creatures.
Medium Medium
Repeatable Repeatable
@@ -17,7 +17,7 @@ Three blue rares
100 100
3 3
Dungeoncrawling (Black) Dungeon Crawling (Black)
Guarded by black creatures. Guarded by black creatures.
Medium Medium
Repeatable Repeatable
@@ -26,7 +26,7 @@ Three black rares
100 100
4 4
Dungeoncrawling (Red) Dungeon Crawling (Red)
Guarded by red creatures. Guarded by red creatures.
Medium Medium
Repeatable Repeatable
@@ -35,7 +35,7 @@ Three red rares
100 100
5 5
Dungeoncrawling (Green) Dungeon Crawling (Green)
Guarded by green creatures. Guarded by green creatures.
Medium Medium
Repeatable Repeatable
@@ -44,7 +44,7 @@ Three green rares
100 100
6 6
Dungeoncrawling (Colorless) Dungeon Crawling (Colorless)
Guarded by artifact creatures. Guarded by artifact creatures.
Hard Hard
Repeatable Repeatable
@@ -53,7 +53,7 @@ Three colorless rares
150 150
7 7
Dungeoncrawling (Gold) Dungeon Crawling (Gold)
Guarded by gold creatures. Guarded by gold creatures.
Hard Hard
Repeatable Repeatable

View File

@@ -213,10 +213,13 @@ public class Gui_WinLose extends JFrame implements NewConstants {
if (!Constant.Quest.fantasyQuest[0]) if (!Constant.Quest.fantasyQuest[0])
AllZone.GameAction.newGame(Constant.Runtime.HumanDeck[0], Constant.Runtime.ComputerDeck[0]); AllZone.GameAction.newGame(Constant.Runtime.HumanDeck[0], Constant.Runtime.ComputerDeck[0]);
else{ else{
if (AllZone.QuestAssignment != null)
QuestUtil.setupQuest(AllZone.QuestAssignment);
//AllZone.GameAction.newGame(Constant.Runtime.HumanDeck[0], Constant.Runtime.ComputerDeck[0], humanList, computerList, humanLife, computerLife); //AllZone.GameAction.newGame(Constant.Runtime.HumanDeck[0], Constant.Runtime.ComputerDeck[0], humanList, computerList, humanLife, computerLife);
CardList humanList = QuestUtil.getHumanPlantAndPet(AllZone.QuestData, AllZone.QuestAssignment); CardList humanList = QuestUtil.getHumanPlantAndPet(AllZone.QuestData, AllZone.QuestAssignment);
CardList computerList = new CardList(); CardList computerList = new CardList();
int humanLife = QuestUtil.getLife(AllZone.QuestData); int humanLife = QuestUtil.getLife(AllZone.QuestData);
int computerLife = 20; int computerLife = 20;
@@ -237,6 +240,8 @@ public class Gui_WinLose extends JFrame implements NewConstants {
AllZone.GameAction.newGame(Constant.Runtime.HumanDeck[0], Constant.Runtime.ComputerDeck[0]); AllZone.GameAction.newGame(Constant.Runtime.HumanDeck[0], Constant.Runtime.ComputerDeck[0]);
else{ else{
//AllZone.GameAction.newGame(Constant.Runtime.HumanDeck[0], Constant.Runtime.ComputerDeck[0], humanList, computerList, humanLife, computerLife); //AllZone.GameAction.newGame(Constant.Runtime.HumanDeck[0], Constant.Runtime.ComputerDeck[0], humanList, computerList, humanLife, computerLife);
if (AllZone.QuestAssignment != null)
QuestUtil.setupQuest(AllZone.QuestAssignment);
CardList humanList = QuestUtil.getHumanPlantAndPet(AllZone.QuestData, AllZone.QuestAssignment); CardList humanList = QuestUtil.getHumanPlantAndPet(AllZone.QuestData, AllZone.QuestAssignment);
CardList computerList = QuestUtil.getComputerCreatures(AllZone.QuestData, AllZone.QuestAssignment); CardList computerList = QuestUtil.getComputerCreatures(AllZone.QuestData, AllZone.QuestAssignment);

View File

@@ -217,7 +217,28 @@ public class QuestUtil {
} }
else if (id == 8) else if (id == 8)
{ {
CardList humanList = new CardList();
for (int i=0;i<3;i++)
{
Card c = CardFactoryUtil.makeToken("Sheep", "G 0 1 Sheep", Constant.Player.Human, "G",
new String[] {"Creature","Sheep"}, 0, 1, new String[]{""}).get(0);
humanList.add(c);
}
qa.setHuman(humanList);
qa.setCardRewardList(pack.getRare(3));
}
else if (id == 9)
{
CardList humanList = new CardList();
Card c = AllZone.CardFactory.getCard("Trusty Machete", Constant.Player.Human);
humanList.add(c);
qa.setHuman(humanList);
for (int i=0;i<3;i++)
qa.addCompy("Wall of Wood");
qa.setCardRewardList(pack.getRare(4, 4));
} }
} }