mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- More Quest updates.
This commit is contained in:
@@ -213,10 +213,13 @@ public class Gui_WinLose extends JFrame implements NewConstants {
|
||||
if (!Constant.Quest.fantasyQuest[0])
|
||||
AllZone.GameAction.newGame(Constant.Runtime.HumanDeck[0], Constant.Runtime.ComputerDeck[0]);
|
||||
else{
|
||||
if (AllZone.QuestAssignment != null)
|
||||
QuestUtil.setupQuest(AllZone.QuestAssignment);
|
||||
//AllZone.GameAction.newGame(Constant.Runtime.HumanDeck[0], Constant.Runtime.ComputerDeck[0], humanList, computerList, humanLife, computerLife);
|
||||
CardList humanList = QuestUtil.getHumanPlantAndPet(AllZone.QuestData, AllZone.QuestAssignment);
|
||||
CardList computerList = new CardList();
|
||||
|
||||
|
||||
|
||||
int humanLife = QuestUtil.getLife(AllZone.QuestData);
|
||||
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]);
|
||||
else{
|
||||
//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 computerList = QuestUtil.getComputerCreatures(AllZone.QuestData, AllZone.QuestAssignment);
|
||||
|
||||
@@ -217,7 +217,28 @@ public class QuestUtil {
|
||||
}
|
||||
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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user