Monday, April 27, 2009

New Version

I’m happy to announce another new version of MTG Forge with 100 additional cards. All of the credit goes to DennisBergkamp and to the great guys on the forum.

MTG Forge 04-24: Download

The major updates include shroud and protection. I never thought MTG Forge would support these keywords because large portions of the code had to be replaced and updated. Akroma, Angel of Wrath now is fully functional. At first she just had haste and flying, which still made her very impressive. Later, first strike was added and now she has protection as well. You can now use old favorites like White Knight and Black Knight.

This update also supports hybrid mana which is very cool. The previous version of MTG Forge added wither but now since hybrid mana is supported, many more wither cards have been added. Other interesting cards include Divinity of Pride which has the converted mana cost of 5 and can be paid with either white or black mana. Divinity of Pride has flying and lifelink and supports a hefty 4/4 body which gets a +4/+4 bonus if you have 25 life or more. You can see other new cards by looking at the beginning of the file “cards.txt” which is where new cards are added.

- Added the ability to view removed cards from both the player's and computer's removed from game zone.
- New keywords: Protection from {color}, Shroud and Flanking.
- Hybrid mana is now supported, thank you rares Chris gave me the fixes in cards.txt to currently existing hybrid mana fakers in MTGForge.
- Rhys the Redeemed works now without resorting to hacky code (and he should trigger cards like Quirion Dryad now).
- Updated some cards in cards.txt that had protection / shroud data missing (Simic Sky Swallower, both Akroma Legends, White Shield Crusader, ... , to name a few).
- Added some AI code for Scarblade Elite (hopefully its AI side will actually work now?).
- Faceless Butcher, Oblivion Ring and Oubliette should actually return the removed cards back to play again.
- Fixed Seizan, Perverter of Truth.
- Fixed Flame Spirit.
- Fixed Wild Nacatl.
- Fixed Meng Huo, Barbarian King.
- Fixed creatures with Fear being able to get blocked by face down morphs.
- Fixed Wydwen the Biting Gale (I think?).
- Nicol Bolas AI (first ability) should be fixed.
- Fixed being unable to assign damage to multiple blockers when using the old non-resizable GUI.
- Fixed Kiki-Jiki, Mirror Breaker targeting facedown creatures, and those creatures turning face up.
- Fixed Anaba Shaman text.
- Merged a bunch of Rob's changes which removes warnings for the later java versions.
- Fixed a big bug where during the "Combat damage is on the stack" phase if a creature that has assigned damage to another creature leaves play, the damage would not resolve.
- Fixed Keening Banshee (will give target -2/-2 until EOT instead of dealing 2 damage to it).
- Fixed Man-o'-War where if the only creature on the human's side leaves play in response to Man-o'-War coming into play, it will target itself instead of null.
- Stonecloaker should be fixed.
- Fixed Timberwatch Elf (and other cards that use input_targetCreature_NoCost_TapAbility), they should not be able to target creatures with protection from {color} / shroud.
- Fixed AI devour: AI should devour any 1/1, 1/2 and 0/2 creature it finds (I should probably include a general method somewhere that returns all valuable creatures to exclude... (Prodigal Sorcerer, Rhys the Redeemed, Elvish Piper, etc.))
- Fixed Lifelink not triggering during planeswalker combat for non-first strikers.
- Fixed Wilt-Leaf Cavaliers text.
- Fixed Divinity of Pride.
- Fixed some issues with cards that trigger when damaging a player and trample (Spawnwrithe, Slith Predator).
- AI shouldn't use Rhys' second ability unless there are 2 or more tokens in play.
- AI should be able to use Elvish Farmer / Mycologist sack saproling for life ability now (will do it when his life < 6).
- A 1/5 wall blocking a Deft Duelist should actually destroy the Deft Duelist (this is a more general bug fix of course, before this, attacking with a first striker would not receive combat damage if it was blocked with a non-first striker provided the attacking creature was controlled by the (human) player).
- Fixed Rolling Stones, all walls can attack now, it used to only affect the walls of the controlling player.
- Quest mode will start with 6 extra red commons, and because I'm just so damn generous 1 extra red uncommon Anyway, I hope this makes red more playable in quest mode...

New Cards

A lot, too many to list, but here's a few of the coolest:
Divinity of Pride, Cold-Eyed Selkie, Scion of Oona, Blastoderm / Calciderm, Eladamri, Lord of Leaves, Crystalline Sliver, Sidewinder Sliver, Nimble Mongoose, White Knight, Black Knight, Argothian Enchantress.

Main stuff to test would obviously be the protection from and shroud stuff. There's a lot of code that had to be updated all over the place... so I'm sure there will be a bunch of new bugs.


Tim said...

Feature request:

Is there any way the right hand panel (the one that contains card information and picture) could be removed?

Could it:
be incorporated into a different column?
be changed into a panel that only appears while your mouse is over a card?
be made dockable?
be made minimizable?

It would give you a lot more play area real-estate...

nantuko84 said...


Asher said...

I feel that limited modes would be more fun if there were more consistency in the card pool. It's awkward to build decks with cards from every set.

Silly Freak said...

@tim: java layouting doesn't allow such things by default. but I think there has to be some suitable library already out there. I'll take a look!

Forge said...

"Is there any way the right hand panel (the one that contains card information and picture) could be removed?"

I could probably make a quick and dirty version that doesn't have the right panel. Ideally it would be good if it wasn't necessary since it takes up so much screen space. Your ideas about showing it only when the mouse is over the card or dockable are good and hopefully something like that can be done in the future.

nantuko84 said...

Forge> it can still be done in Swing
you can display it on GlassPane on mouse over
it is exactly how I do

Anonymous said...

I think your program is great, but I've downloaded the new version and it doesn't work (I am a mac user). I don't know if this is the right place where to post this message. Sorry if I am wrong

Chris H. said...

I have a Mac and I am able to run the Forge program. The best place to report bugs and to ask for help is on the MTG Forge Forum.

There is a link to this forum on the Forge blog web page. The link is in the top right area of the blog page and is located between the "Other Magic Programs" and the "MTG Forge - Google Projects" links.

Anonymous said...

I am also on a Mac, and the program doesn't work at all. It gives a Java error message upon launching.

Chris H. said...

Look in:


and launch the Java Preferences application. Under Java application versions on my computer I see:

Java SE 6 {64-bit}
J2SE 5.0 {32-bit}
J2SE 5.0 {64-bit}
J2SE 1.4.2 {32-bit}

You may need to drag these to change the preferred version and when you do try to restart Forge. Good luck.

Anonymous said...

Chris H. - Thanks for the help, that worked.