Commit Graph

12916 Commits

Author SHA1 Message Date
jendave
f361b0b44b Corrected Feral Animist and it is now a Goblin Shaman. 2011-08-06 03:25:39 +00:00
jendave
c4e118f5f2 minimal nonfunctional change 2011-08-06 03:25:27 +00:00
jendave
7c23c0bb3f Big change that should solve the memory leak
-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"
2011-08-06 03:25:05 +00:00
jendave
8c6cacd51b - Added the missing braces to the else block in the abPump code. abPump cards will now display "gains" once and not twice. Thanks for the pointer Rob.
- 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.
2011-08-06 03:24:38 +00:00
jendave
e2a7fcde56 Updated main.properties to correct revision. 2011-08-06 03:23:53 +00:00
jendave
c4b2368bb8 Added the LQ pic urls for the last 15 cards that were added. 2011-08-06 03:23:35 +00:00
jendave
69e9217220 - Fixed Avalanche riders Text.
- Added Bushido {number} keyword.
- Fixed Hand of Cruelty and Hand of Honor, added a bunch of Bushido cards.
2011-08-06 03:23:30 +00:00
jendave
97d94ca2df - Removed Magellan LAF.
- Added Jace, the Mind Sculptor (buggy?).
2011-08-06 03:22:33 +00:00
jendave
633b7222af - Fixed the new man lands (they should tap for mana now). 2011-08-06 03:22:17 +00:00
jendave
165a44e7f5 updated the three rarity files in the /res/quest/ folder. It is now up to date with the All Rarities 02-06-2010 archive. 2011-08-06 03:21:57 +00:00
jendave
7f7ddc8c21 Added the missing LQ pic urls. 2011-08-06 03:21:51 +00:00
jendave
b8dff6960c Cruel Bargain and Infernal Contract are now fully implemented because doDrawback now can use a "dX" SVar to enable a drawback-only Count$. 2011-08-06 03:21:35 +00:00
jendave
2c2d854370 Changed spDrawCards cards to use SVar for X 2011-08-06 03:21:26 +00:00
jendave
25c3a639b9 - Fixed Stifle text. 2011-08-06 03:21:07 +00:00
jendave
4bdbb3daba Converted spDamageTgt cards to use SVar for X 2011-08-06 03:20:52 +00:00
jendave
3fb9b4a592 Added SVar to spPumpTgt for X and Y 2011-08-06 03:20:34 +00:00
jendave
ddae9206cc - Removed Thwart from AI counterspell list (for some reason it is able to cast it without paying its manacost or bouncing any Islands).
- Fixed a bug with Nicol Bolas, Planeswalker sacrificing the player's Mana Pools. 
- Added Anowon, the Ruin Sage, Ruthless Cullblade, Celestial Colonnade, Stirring Wildwood, Creeping Tar Pit and Raging Ravine ("Whenever this creature attacks, put a
2011-08-06 03:20:29 +00:00
jendave
ef18bdadbc Changed abPump[Tgt] cards to use SVar for X and Y 2011-08-06 03:20:21 +00:00
jendave
230fc89b86 - Included the LQ pic urls for the last five cards that were added.
- Fixed Vampiric Touch, controller should now gain 2 life.
2011-08-06 03:20:02 +00:00
jendave
256f78f64d - Fixed Amulet of Vigor (although I'm not sure about the order - e.g. Khalni Garden is played, the untap triggers will happen before the token hits play, is this correct?) 2011-08-06 03:19:58 +00:00
jendave
561d27c204 - Added Harabaz Druid. 2011-08-06 03:19:52 +00:00
jendave
3b370e0086 - Added Amulet of Vigor.
- Fixed a potential bug with Kismet.
2011-08-06 03:19:48 +00:00
jendave
709714882f - Added Stoneforge Mystic. 2011-08-06 03:19:42 +00:00
jendave
4c9e0b0a5c - Added Dragonmaster Outcast and Death's Shadow. 2011-08-06 03:19:36 +00:00
jendave
c808ef0c64 - Moved the entries for the 6 new cards from the end of the cards.txt file to the begining of the file.
- Added the LQ pic urls for the last eight new cards.
2011-08-06 03:19:18 +00:00
jendave
6de4ffd7ed - fix: Timbermaw Larva card text got altered by the last revision 2011-08-06 03:19:12 +00:00
jendave
310073fd48 - New cards: Wasteland, Strip Mine, Stifle, Rebuild, Spell Pierce and Mystical Tutor
- Disabled blurred image and multipass resizing, should be faster to display images on slower computers
- Fix images download progress bar not updating
- Automatic date and revision in main.properties via SVN keywords $Date$ and $Revision$
2011-08-06 03:19:08 +00:00
jendave
35c06ce201 - Hopefully the AI will lose right away now after losing life into lethal levels from Phyr?\127exian Arena.
- Made a fix on Kiki-Jiki, Mirror Breaker: if it uses its ability on a stolen creature (Control Magic, Sower etc.), "leavesPlay triggers" should affect the correct player now (e.g. Meadowboon).
- Fixed Sower of Temptation: its ability will now trigger as it enters the battlefield. This allows for comboing with cards like Kiki-Jiki, Mirror Breaker.
- Added some new Worldwake cards: Avenger of Zendikar and Bestial Menace.
2011-08-06 03:18:59 +00:00
jendave
9ee2e83490 - Made some fixes on Leaf-Crowned Elder: it should allow the player to choose whether or not to play a Treefolk, and it will actually PLAY the card as opposed to just putting it onto the battlefield.
- Converted makeToken() in GameActionUtil.java.
2011-08-06 03:18:50 +00:00
jendave
d1676f0868 - Planeswalkers get counters as they enter the battlefield (necessary for Doubling Season).
- Sparkspitter tokens should have trample and haste now.
- Vanishing uses Time counters instead of Age counters now (not sure why they were age counters).
- Mass destroy effects (WoG, ...) will try to take out cards like Timber Protector LAST.
- Finished makeToken() in CardFactory_Creatures.java.
2011-08-06 03:18:43 +00:00
jendave
58c29c1f9d - Turned off sound by default.
- Turned on stop at EOT by default.
2011-08-06 03:18:34 +00:00
jendave
c051e92c27 - Fixed Water Elemental HQ pic link.
- Converted all token creation code in CardFactory_Lands.java and CardFactory_Planeswalker.java, and half of CardFactory_Creatures.java.
- Creatures that have "This creature attacks each turn if able" won't be forced to attack until the planeswalker attack phase (if one is in play on the AI's side). 
- Added Doubling Season (won't work yet for all cases, still have to convert all token creation code).
2011-08-06 03:18:27 +00:00
jendave
fd0acb1e44 Changed all KPump, PTPump, PTK, TgtKPump, TgtPTPump and TgtPTKPump abilities to abPump and abPumpTgt. 2011-08-06 03:17:59 +00:00
jendave
6b250e062e - Added note to incarnations that they will slow down your computer when an Incarnation is placed in a graveyard.
- Added Incarnations for removal from GenerateConstructedDeck.java and GenerateConstructedMultiColorDeck.java.
2011-08-06 03:17:55 +00:00
jendave
ff4b8de358 - Moved the LQ snow-covered basic lands to underneath the other basic lands and added additional lines to cover lands numbered 1 through 3. Using magic card market urls for these LQ pics.
- Moved the HQ snow-covered lands from card-pictures_s.txt to card-pictures_other.txt and added additional lines to cover lands numbered 1 through 3. The url replaces "CS" with "IA" to get the additional art.
2011-08-06 03:17:48 +00:00
jendave
1e58418634 Added the 14 new cards that Rob provided that use his updated spPumpTgt keyword. Includes the LQ pic urls. 2011-08-06 03:17:42 +00:00
jendave
d3c25cd91f Converted Gerrard's Command and Inspirit from hard-coded to keyword only. 2011-08-06 03:17:37 +00:00
jendave
9ae626e539 - Added Rofellos, Llanowar Emissary and it's LQ pic url.
- Added/Improved the setStackDescription for several of the life gaining spells.
2011-08-06 03:17:30 +00:00
jendave
1bcdb5b49e spPumpTgt no longer needs the spell description included in cards.txt. I replaced the spell description with no text. 2011-08-06 03:17:23 +00:00
jendave
3eb45cae87 Added eleven vanilla Worldwake cards via keywords and included the LQ pic urls. 2011-08-06 03:17:19 +00:00
jendave
c11ae88301 - Added the six token urls that were contributed by Almost Clever. Thank you AC.
- Fixed the type for Hada Freeblade.
- Added LQ pic urls for the recent cards that Dennis added.
2011-08-06 03:17:13 +00:00
jendave
4070cc195e - Poison counters should reset correctly now in between games.
- Some more cleanups.
- Added Khalni Garden, Graypelt Hunter, Bojuka Brigand.
2011-08-06 03:17:03 +00:00
jendave
a522c0d7bf - Cards like Priest of Titania, Gaea's Cradle and Serra Sanctum are keywordable, don't use the stack anymore and can be used directly when a spell/ability is being paid for.
The keywords would look like this: "tap: add {ManaSymbol} to your mana pool for each {Type} {on the battlefield / you control}."
- Face down cards should show "morph.jpg" on the full-size picture now (hiding its true identity).
- Right-clicking on an attacker during the Declare Attackers phase will untap and remove the attacker from combat.
2011-08-06 03:16:45 +00:00
jendave
76ef2a0315 - Renamed StateBasedEffects into StaticEffects.
- Added Golem creature type to Darksteel Colossus.
- Fixed Maelstrom Pulse (should whipe out tokens with the same name now).
- Fixed a bunch of Cascade issues (some cards where not cascadable, hopefully I got all of them now).
- Added a couple of new cards from the new set: Loam Lion and Hada Freeblade.
2011-08-06 03:16:30 +00:00
jendave
94c511bed2 - Fixed Mold Adder 2011-08-06 03:16:18 +00:00
jendave
b6142f9234 - Fixed Drekavac. 2011-08-06 03:16:12 +00:00
jendave
6da0ac6b9e - Black Lotus will get sacked before its ability resolves.
- Hopefully fixed Thopter Foundry for AI.
2011-08-06 03:15:49 +00:00
jendave
221255765c The computer is thinking message has now been changed in both locations, ComputerAI_Input and ComputerAI_StackNotEmpty.java. 2011-08-06 03:15:36 +00:00
jendave
15061bef59 A simple update. I added the LQ pic urls for the recently added cards. 2011-08-06 03:15:30 +00:00
jendave
d8960be5fc - Propaganda effects only apply to creatures attacking a player, not planeswalkers. 2011-08-06 03:15:25 +00:00