Commit Graph

49974 Commits

Author SHA1 Message Date
jendave
8a6320acd1 1) The AI and the human can now use Mishra's Factory to buff both Assembly-Workers and creatures with changeling.
2) Added another LQ pic url.
2011-08-06 04:24:56 +00:00
jendave
6cfb23f125 good news: Generic aura code seems to work. bad news: looping on auras and sourcing damage is slightly more difficult.
1) added Wanderlust from original limited base set
2) fixed Feedback and Warp Artifact

There is code consolidation that can happen here.  More changes to come.
2011-08-06 04:24:49 +00:00
jendave
86f989baf2 1) I updated the rarity files in the draft folder using the raity files that were just submitted by Juzamjedi.
2) Added a LQ pic url.
2011-08-06 04:24:42 +00:00
jendave
be74ce0f40 - Added Moonglove Extract. 2011-08-06 04:24:35 +00:00
jendave
c6bb779f7a I'm sorry to report that Daru Encampment is still buggy.
1) The AI was using Daru Encampment to buff non-Soldier and non-Changeling type creatures. I think that I have fixed this bug.
2) The human can only buff Soldiers and not creatures with changeling. I think that I have also fixed this bug.
2011-08-06 04:24:29 +00:00
jendave
dbac93a5c7 - If a counterspell can't be cast (Meddling Mage, ...), the AI shouldn't be able to cast it either. 2011-08-06 04:24:24 +00:00
jendave
c822a733f9 1) Added the 3 new King Kong decks.
2) Added the deck names to easy, medium and hard .txt files.
3) Added the deck descriptions via stringBuilder to the Gui_Quest.java file.
2011-08-06 04:24:19 +00:00
jendave
f38bb50196 - Added Artisan of Kozilek, made a small fix on Emrakul. 2011-08-06 04:24:09 +00:00
jendave
0e20c18aad Aeons Thorn -> Aeons Torn (and added card pic) 2011-08-06 04:24:02 +00:00
jendave
4a803481b8 - Added Emrakul, the Aeons Thorn. 2011-08-06 04:23:55 +00:00
jendave
1a55660551 add Warp Artifact (from original limited base set) via generic aura code. 2011-08-06 04:23:46 +00:00
jendave
eee511dedc added Feedback (from original limited base set) via generic aura code. With a little luck, this will Just Work. 2011-08-06 04:23:39 +00:00
jendave
36094b9391 adding Blight (from Legends) via generic Aura handling code 2011-08-06 04:23:33 +00:00
jendave
036ae24c6b added Generic aura handling code.
It will accept keywords of the form:
Enchant <type> [Curse]

Enchant - all will have this
<type> - currently [Artifact, Creature, Land, Enchantment]
[Curse] - if this word is present, AI will target human's permanents.

This allows (for example) for Blight to be implemented as:

    Blight
    B B
    Enchantment Aura
    When enchanted land becomes tapped, destroy it.
    Enchant Land Curse

And all you have to do it add the appropriate resolution code to GameActionUtil.executeTapSideEffects():
2011-08-06 04:23:26 +00:00
jendave
1040fed7b5 add Sphinx of Magosi from Rise of the Eldrazi (requested by: tchiseen) 2011-08-06 04:23:21 +00:00
jendave
f02fd5c0fd fixed Kozilek's Predator P/T and moved to top of cards.txt 2011-08-06 04:23:15 +00:00
jendave
caec63b3bc add a newline to the formatting of "*Enchanted by <aura>*" 2011-08-06 04:23:10 +00:00
jendave
9561406625 1) I deleted the entry for Suffer the Past from cards.txt. I changed the type from Sorcery to Instant and I then pasted the corrected version at the top of the file.
2) I moved a copy of the updated rarity files for forge version 05-02-2010 to the /res/ and the /res/quest/ folders.
3) Added LQ pic url.
2011-08-06 04:23:04 +00:00
jendave
02af0aeb2e 1) fix Hada Spy Patrol to be 3/3 at top level
2) add serialVersionUID to Time of Heroes
2011-08-06 04:22:54 +00:00
jendave
56ed5fb410 - Added Time of Heroes. 2011-08-06 04:22:48 +00:00
jendave
0ed4a7449d - Fixed Goblin Burrows (target changelings).
- Made max quests 7.
- More quest tweaks and fixes.
2011-08-06 04:22:41 +00:00
jendave
c48e32beda add Lifetap from original limited base set 2011-08-06 04:22:29 +00:00
jendave
0a219c3b0d added Lifeblood (from Legends) 2011-08-06 04:22:23 +00:00
jendave
af99cbca86 - More Quest tweaks. - Fixed Ajani Vengeant. 2011-08-06 04:22:16 +00:00
jendave
a00a1ceb0a Added the Rampage ability as a Keyowrd in the form: Rampage X
Added the following cards that make use of this ability:
AErathi Berserker (from Legends)
Balduvian War-Makers (from Alliances)
Chromium (from Legends)
Craw Giant (from Legends)
Frost Giant (from Legends)
Horrible Hordes (from Mirage)
Hunding Gjornersen (from Legends)
Marhault Elsdragon (from Legends)
Teeka's Dragon (from Mirage)
Wolverine Pack (from Legends)
2011-08-06 04:22:09 +00:00
jendave
c731f9eb79 - Deleted some of the token icons (I realized they contain copyrighted art, so I guess I'll release them separately). 2011-08-06 04:22:02 +00:00
jendave
efcda9199e - Added another quest deck (copied Morpheus deck). 2011-08-06 04:21:56 +00:00
jendave
e533e43edb - More Quest updates. 2011-08-06 04:21:50 +00:00
jendave
e79c00232c 2011-08-06 04:21:41 +00:00
jendave
d960a42d12 reverting change r922 - new Color stuff wasn't working as well as I'd hoped. Continuing work locally. 2011-08-06 04:21:36 +00:00
jendave
d9a7ec80fd 1) Deleted the old entries in cards.txt for these two spells:
Control Magic
Mind Control

2) Added these cards via keyword to the top of the cards.txt file:
Binding Grasp
Control Magic
Mind Control
Mind Harness
Persuasion
Threads of Disloyalty
Treachery
Yavimaya's Embrace

3) Added the missing LQ pic urls for the above cards.

4) Commented out the code block for:
Control Magic
Mind Control
and I moved this code to the section of code converted to keyword.

5) Added a short block of code to the top of CardFactory_Auras.java.

6) Added a long section of code at the bottom of CardFactory_Auras.java. This code is for the new enControlCreature keyword.
2011-08-06 04:21:29 +00:00
jendave
d76b68b3c8 - Added two more quest decks (multi color deck = 5 Color Mess by Gando). 2011-08-06 04:21:21 +00:00
jendave
288868bdec - Added a red quest deck (Mr Chaos' Goblin deck). 2011-08-06 04:21:14 +00:00
jendave
3456225054 checking in infrastructure changes to support a refactor of the code dealing with card colors
Nothing is hooked up, so there should be no functional change in Forge at all.

basics:
1) support to make Color an Enum (Colorless is not included, use card.isColorless() instead
2) make color checking a part of Card.java instead of using CardUtil.getColors(card)
3) add getConvertedManaCost functions directly in Card.java (Note: CardUtil will likely still need a copy of some of this code to get the converted mana cost of spell abilities
2011-08-06 04:21:08 +00:00
jendave
17de396d2a - Fixed Mishra's Factory prompt for pay blank manacost. 2011-08-06 04:21:00 +00:00
jendave
a6ce06acd4 add Arena of the Ancients from Legends 2011-08-06 04:20:55 +00:00
jendave
89e787fff2 add Energy Tap from Legends (great with Fireball) 2011-08-06 04:20:46 +00:00
jendave
87d56c6767 1) fix Crumble to be destroyNoRegeneration
2) add Divine Offering via the same code block
2011-08-06 04:20:36 +00:00
jendave
a6833e0a03 @SuppressWarnings("unused") for cardType in GUI_Filter.java 2011-08-06 04:20:29 +00:00
jendave
da727a025c cleaned up the exceptions:
TreeProperties returns null for en/Display/concede/button   => added the element it was looking for; de/ too
TreeProperties returns null for removed-cards--file    => changed "." to "-", which is apparently what it is expecting.
2011-08-06 04:20:24 +00:00
jendave
2f6b2352b2 add Argothian Pixies via two new Keywords
1) Prevent all damage that would be dealt to CARDNAME by artifact creatures.
2) CARDNAME can't be blocked by artifact creatures.

not sure if these are useful for more than this card yet.
2011-08-06 04:20:18 +00:00
jendave
fc5e981a1c added Arc-Slogger from Mirrodin (mostly because it kept giving exceptions when I'd accidentally run main in CardFactory.java...)
I swear this used to be in Forge, but maybe not...
2011-08-06 04:20:11 +00:00
jendave
92422a241d added Fireball from the original Limited base set. Everything seems to work for the Human. The AI doesn't do anything terribly clever - just finishes human off if it can. But this is a good start.
There are also some kinks with the flow of selecting a player or creature twice.  But others can add their input.

Also, there is a lot of debug code there that I left in on purpose.  Once we are confident the kinks are out, or before an upcoming release, it can be commented/removed.  Enjoy!
2011-08-06 04:20:04 +00:00
jendave
e340bb08a4 - New quest mode stuff and a lot of other changes. 2011-08-06 04:19:47 +00:00
jendave
d242500263 add Inferno from The Dark 2011-08-06 04:18:50 +00:00
jendave
66ed133459 added Guan Yu's 1000-Li March from Portal Three Kingdoms 2011-08-06 04:18:43 +00:00
jendave
8b41768ab2 Tribal Forcemage was prompting Human for a type when played by the computer. This is fixed, along with code cleanup. 2011-08-06 04:18:36 +00:00
jendave
13ce4d1a25 1) Deleted the entries from cards.txt that use this old version of the keyword "This creature cannot block":
Aesthir Glider
Ashenmoor Gouger
Bloodghast
Bojuka Brigand
Charging Slateback
Craven Giant
Craven Knight
Daggerclaw Imp
Fallen Askari
Goblin Glider
Goblin Raider
Goblin Rimerunner
Grixis Battlemage
Hagra Crocodile
Hulking Cyclops
Hulking Goblin
Hulking Ogre
Inkfathom Infiltrator
Iron-Barb Hellion
Jamuraan Lion
Jungle Lion
Kyren Glider
Maniacal Rage
Nezumi Cutthroat
Nightshade Stinger
Ogre Taskmaster
Pygmy Pyrosaur
Scavenging Scarab
Shambling Remains
Sluggishness
Spineless Thug
Undying Rage
Villainous Ogre
Yellow Scarves Cavalry
Yellow Scarves General
Yellow Scarves Troops
Young Wei Recruits
2) Converted these 37 cards to use the new form "CARDNAME can't block." and pasted these at the top of file at cards.txt.
3) Searched for and found the old version of the keyword and converted it to the new version in these files:
CardFactory_Auras
CombatUtil
2011-08-06 04:18:31 +00:00
jendave
27f0c3d5c2 - Added stackdescription for Kor Cartographer. 2011-08-06 04:18:25 +00:00
jendave
14e2b338f5 remove debug code from Curse of Wizardry 2011-08-06 04:18:20 +00:00