From 726c752b965fd9648f8c39e012d46798f7b1c767 Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 04:35:29 +0000 Subject: [PATCH] 1) Added quest11.dck to the /res/quest/decks/ folder. 2) Added this deck's info to the quests.txt file. 3) And a few lines of code to provide the reward and start in play cards. 4) A LQ pic url. --- .gitattributes | 1 + res/card-pictures.txt | 1 + res/quest/decks/quest11.dck | 49 +++++++++++++++++++++++++++++++++++++ res/quest/quests.txt | 10 ++++++++ src/forge/QuestUtil.java | 12 +++++++++ 5 files changed, 73 insertions(+) create mode 100644 res/quest/decks/quest11.dck diff --git a/.gitattributes b/.gitattributes index cd17389345e..1d8830735e7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -192,6 +192,7 @@ res/quest/decks/Wyatt[!!-~]Earp[!!-~]2.dck -text res/quest/decks/Wyatt[!!-~]Earp[!!-~]3.dck -text res/quest/decks/quest1.dck -text res/quest/decks/quest10.dck -text +res/quest/decks/quest11.dck -text res/quest/decks/quest2.dck -text res/quest/decks/quest3.dck -text res/quest/decks/quest4.dck -text diff --git a/res/card-pictures.txt b/res/card-pictures.txt index 49412e787eb..4f2139d9f07 100644 --- a/res/card-pictures.txt +++ b/res/card-pictures.txt @@ -38,6 +38,7 @@ snow_covered_mountain.jpg http://www.wizards.com/global/images/magic/gene snow_covered_mountain1.jpg http://www.wizards.com/global/images/magic/general/snow_covered_mountain.jpg snow_covered_mountain2.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg snow_covered_mountain3.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg +broodwarden.jpg http://www.wizards.com/global/images/magic/general/broodwarden.jpg kargan_dragonlord.jpg http://www.wizards.com/global/images/magic/general/kargan_dragonlord.jpg expedition_map.jpg http://www.wizards.com/global/images/magic/general/expedition_map.jpg valakut_the_molten_pinnacle.jpg http://www.wizards.com/global/images/magic/general/valakut_the_molten_pinnacle.jpg diff --git a/res/quest/decks/quest11.dck b/res/quest/decks/quest11.dck new file mode 100644 index 00000000000..2565a2b4cd9 --- /dev/null +++ b/res/quest/decks/quest11.dck @@ -0,0 +1,49 @@ +quest11 +[general] +constructed +[main] +1 Isamaru, Hound of Konda +4 Plateau +1 Radiant, Archangel +4 Taiga +1 Zuo Ci, the Mocking Sage +1 Mox Emerald +1 Rakka Mar +1 Concordant Crossroads +1 Meng Huo, Barbarian King +1 Jeska, Warrior Adept +2 Loyal Retainers +1 Jacques le Vert +1 Tolsimir Wolfblood +1 Squee, Goblin Nabob +1 Kaysa +1 Earthcraft +1 Mox Pearl +1 Mikokoro, Center of the Sea +1 Eladamri, Lord of Leaves +1 Eladamri's Call +1 Mirri, Cat Warrior +1 Exploration +4 Savannah +1 Gaddock Teeg +1 Honden of Cleansing Fire +1 Pianna, Nomad Captain +1 Azusa, Lost but Seeking +3 Plains +1 Captain Sisay +1 Okina, Temple to the Grandfathers +1 Honden of Infinite Rage +1 Reki, the History of Kamigawa +1 Goblin Assault +1 Umezawa's Jitte +3 Forest +1 Fecundity +1 Mox Ruby +1 Tuktuk the Explorer +1 Zuberi, Golden Feather +1 Fastbond +1 Honden of Life's Web +1 Kongming, "Sleeping Dragon" +3 Mountain +1 Tuknir Deathlock +[sideboard] diff --git a/res/quest/quests.txt b/res/quest/quests.txt index f2cfb8731dc..dc85c2c2504 100644 --- a/res/quest/quests.txt +++ b/res/quest/quests.txt @@ -98,4 +98,14 @@ Four black rares 200 blackOrbSmall.png +11 +The King's Contest +The king is holding a contest. You are invited to participate and compete against other legends of this era. +Hard +Not Repeatable +50 +Three random rares +150 +noIcon + End \ No newline at end of file diff --git a/src/forge/QuestUtil.java b/src/forge/QuestUtil.java index 6583cb4ded3..6731bf0d613 100644 --- a/src/forge/QuestUtil.java +++ b/src/forge/QuestUtil.java @@ -384,6 +384,18 @@ public class QuestUtil { qa.setCardRewardList(pack.getRare(4, 2)); } + else if (id == 11) // The King's Contest + { + CardList humanList = new CardList(); + Card c = AllZone.CardFactory.getCard("Seal of Cleansing", Constant.Player.Human); + humanList.add(c); + + qa.setHuman(humanList); + + qa.addCompy("Loyal Retainers"); + + qa.setCardRewardList(pack.getRare(3)); + } }