I’ve fixed a few errors and added 6 new cards. The total number of cards in now a whopping 461!!! You can now resize the window, a caring reader donated this code. I fixed a random EOT error and Immaculate Magistrate used to occasionally target lands. The AI for Kiki-Jiki can now copy one of your creatures, before the computer would just copy one of the creatures that he already owned. I also fixed the combat code when you are attacking into a bigger creature with trample, you will not receive trample damage. Trample only works when attacking, who knew?
The 6 cards I added where pretty random. I am still very limited in the kinds of cards that I can program and most Lorwyn and Morningtide cards are very complicated. Kamahl, Pit Fighter is a big guy with a nice ability that the computer can effectively use. Empty the Warrens is my first storm card that is interesting in a variety of situations. Serra Avatar is an unusual creature, since she can be a 20/20. She is also quite valuable and still runs at least $15 in real life. The man-lands Faerie Conclave, Forbidding Watchtower, and Treetop Village where pretty easy to program so I added them.
People have asked me what decks the computer can use effectively, so I’ve added 5 constructed decks that should be challenging to play against. The black deck is called “black-good-AI” and has Pestilence and lots of Terror effects. The blue one has 8 ways to steal creatures, 4 Control Magic and 4 Sower of Temptation, and 7 bounce effects with Repulse and Man-o-War. The green deck has a good mana curve along with game winning cards like Epic Proportions and Garruk Wildspeaker.
The white deck has 4 Wrath of Gods, 4 Oblivion Rings, 4 Sunlances, and 4 Serra Avengers to beat you down with. (Maybe the Wrath of Gods should be Swords to Plowshares?) The land counts are low because the computer has his land automatically smoothed so he only draws land when he needs to. This smoothing helps the computer be more competitive by increasing his chances of top-decking something good.
Download Windows Installer – MTG Forge 03-2008
(To save the decks that you created, keep a copy of the file “all-decks2”.)
I had Empty the Warrens working correctly, then I fixed Serra Avenger and that broke Empty the Warrens. It will probably produce too many tokens.