- Upkeep effects shouldn't get executed at the beginning of turn 1 (should fix effects of AI controlled effects such as Magus of the Tabernacle and The Tabernacle at Pendrell Vale).
- Added another phase after the declare attackers phase during the human player's turn as well (can cast instants/abilities). The main reason for this change is that before this, the computer would decide on its blockers while triggered abilities of attackers hadn't happened yet.
- AI should target the human player's creatures now with Seal of Removal.
- Deleted GUI_PictureHQ.java for now, since it causes compile errors.
-replaced the old ImageCache class with ImageCache2
-extracted the card picture- and detail code from GuiDisplay/DeckEditor into separate classes (in forge.gui.game). therefore, CardDetailUtil and forge.CardPanel were deleted. GuiDisplayUtil is no longer used to create the card panels.
TESTS:
-confirmed all changed GUIs (but the quest deck editor - changes are the same as normal deck editor) to show details and pictures.
-I played a game with reduced heap size (-Xmx200M). Occasionally the image cache size shrinked along with the used memory.
-In a game without reduced heap size (memory usage ~500M, over 1000 cached images), i noticed slowdown when some images were missing.
-I noticed the stack elements now having a border with the card's color; this doesn't hurt IMO.
NOT WORKING
I wasn't able to adapt one thing: GUI_PictureHQ, i just didn't know what it does. for everything else to work, some code sections were commented out and tagged with "TODO reenable"
- The "30 second per action" slowdown bug turned out to be due to caching, for now I disabled this: the game should run much smoother now... I do not know whether
this will help with heap space problems or not.
- Added several of the new abDamageTgt cards. These several cards displays the mana/tap cost. Cards added include: Flamewave Invoker; Granite Shard; Storm Spirit; Telim'Tor's Darts; Thornscape Master.
- Added Flying to Storm Spirit.
- Fixed the card name for Telim'Tor's Darts.
- Added the LQ pic urls for these new 15 cards.
- Fixed a bug where creatures wouldn't trigger on attacking a planeswalker.
- Made Exalted a real triggered ability, checked only once after attackers are declared.
- AI should consider Bushido now when declaring attackers / blockers.
- Fixed a bug which would sometimes bring up an error report when a static effect left play.
- Fixed Ensnare text.