jendave
4d6584cf62
- Fixed a bug with Propaganda and attack triggers (ugly fix, but it does the trick).
2011-08-06 03:30:25 +00:00
jendave
d9f96455ef
Added the LQ pic urls for the last five new cards.
2011-08-06 03:30:19 +00:00
jendave
a81b695849
- Fixed Avenger of Zendikar (will put counters on changeling creatures).
...
- Added Rob's spLoseLife[Tgt] keyword, added the new cards / changed existing cards too. Commented out spLoseLifeGainLife.
2011-08-06 03:30:15 +00:00
jendave
ab0f49e371
- Fixed Ball Lightning creature type.
2011-08-06 03:30:07 +00:00
jendave
61e6617bf9
- Mogg War Marshal and Goblin Marshal shouldn't produce flying tokens anymore, also their creature type was "Goblin " (with an extra space).
...
- Lifelink / Guilty Conscience should work now on cards like Sparksmith and Goblin Artillery.
2011-08-06 03:30:03 +00:00
jendave
750cb63448
- Added Exhume, and Zen's code for Living Death (missed it the first time).
2011-08-06 03:29:57 +00:00
jendave
d72091bdd3
- AI will only cast Wrath of God and use Nevinyrral's Disk during Main2.
2011-08-06 03:29:50 +00:00
jendave
28e6c209f1
- Reverted the copyCard change (it caused some funky bugs - CIP / leaves play triggers got added twice to cards), and moved it to a separate method.
2011-08-06 03:29:45 +00:00
jendave
bbc34a5b5a
- Added the LQ pic urls for the last two new cards.
...
- Fixed the cards.txt entry for Cinder Pyromancer.
2011-08-06 03:29:41 +00:00
jendave
b7f324f9f4
- Fixed Mycoloth crash (when there's no creats to sac).
...
- Fixed Dark Depths.
- Changed abDamage to abDamageTgt (thanks AC!)
- Small tweak to the Nemata ability.
2011-08-06 03:29:36 +00:00
jendave
f1e35a7301
- Updated copyCard in CardFactory.java, it will actually reference the different CardFactories now to make the correct copy (fixes Planeswalkers returning from a bounced/destroyed Oblivion Ring).
2011-08-06 03:29:28 +00:00
jendave
3da25af6a3
- If a double strike creature with trample gets blocked and it kills the blocker with first strike damage, afterward it should deal full regular damage to the player.
...
- Fixed a bug with Propaganda where it would check multiple times per attack turn.
- AI Bibery also shouldn't grab a Groundbreaker anymore.
- Updated Prodigal Sorcerer to use abDamageTgtCP.
2011-08-06 03:29:23 +00:00
jendave
a5b843a973
- Added Join the Ranks.
2011-08-06 03:29:16 +00:00
jendave
37429f75a3
- AI shouldn't try to cast spDestroyTgt cards on untargetable creatures anymore.
2011-08-06 03:29:10 +00:00
jendave
bc6dd8b1e7
- AbPump creatures that have shroud or that cannot be targeted by themselves should be able to use their pump abilities (e.g. Stillmoon Cavalier).
2011-08-06 03:29:05 +00:00
jendave
5e94b017e2
- Added an alternate way of sacrificing multiple tokens using Nemata, Grove Guardian (experimental).
...
- Fixed Wort, Boggart Auntie / Squee, Goblin Nabob card duplication bug.
- Hopefully fixed a bug with the AI using Ajani Vengeant, and not being able to target any permanents.
- Hardcoded NOT to grab Ball Lightning with Bribery for the AI (since it has been reported so many times).
- Fixed Korlash, Heir to Blackblade (should be able to fetch any 2 swamps now - select with CTRL + click).
2011-08-06 03:29:00 +00:00
jendave
9810cc0407
- Fixed Karakas.
2011-08-06 03:28:53 +00:00
jendave
1fd91858cf
Added the all rarity 02-21-2010 files and a fresh questData + deck difficulty files to the quest folder. It seems that only the three rarity files are different and will be merged into this commit.
2011-08-06 03:28:47 +00:00
jendave
bdeb0dedb7
reverted an unintentional commit of my personal main.properties
2011-08-06 03:28:41 +00:00
jendave
f91467f172
fixed bug with missing images in the deck editor. small images don't show any more on mouse over
2011-08-06 03:28:37 +00:00
jendave
dcf398a685
- Fixed a bug with Rith, the Awakener (his tokens were named "Saprolig").
...
- Fixed Elvish Farmer (should make more tokens combined with Doubling Season).
2011-08-06 03:28:30 +00:00
jendave
bf18033218
- Added Virulent Sliver.
2011-08-06 03:28:24 +00:00
jendave
afe8c8d0c2
- Sunlance should be cascadable.
...
- Fixed Dovescape token controllership bug.
- Fixed Sower of Temptation (AI targeting should happen only once, as it hits play).
2011-08-06 03:28:17 +00:00
jendave
5074982212
Re-implemented the mouseover feature for the deckeditor
2011-08-06 03:28:11 +00:00
jendave
41c8a3774e
Converted Frontline Sage; Mikokoro, Center of the Sea; Scepter of Insight; Thought Courier; Xira Arien from code to keyword.
2011-08-06 03:28:06 +00:00
jendave
51574c2668
Converted Archivist; Benalish Heralds; Bonded Fetch; Merfolk Looter from code to keyword. This also corrected the type for Archivist.
2011-08-06 03:27:59 +00:00
jendave
be0c31a2c8
- Added the 14 new abDrawCards keyword cards to cards.txt and added their LQ pic urls to card-pictures.txt.
...
- Made two minor edits to these entries in cards.txt.
2011-08-06 03:27:53 +00:00
jendave
4fca306f00
Added Ferocious Charge; Magma Jet; Serum Visions; Tel-Jilad Justice. I also added the LQ pic urls. I tested the cards and they work, although the Tel-Jilad Justice's spell description looks a little weird. :)
2011-08-06 03:27:48 +00:00
jendave
cefd9e784d
Converted the cards Goblin Artillery; Orcish Artillery; Orcish Cannoneers; Sparksmith from code to keyword.
2011-08-06 03:27:43 +00:00
jendave
c9746e1909
- Fixed a crash when the AI has cards in hand with no activated abilities (eg. The Tabernacle at Pendrell Vale).
...
- 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).
2011-08-06 03:27:37 +00:00
jendave
4039a9993b
- Added the missing types to Cosmic Horror; Dakkon Blackblade; Force of Nature; Junun Efreet; Primal Clay.
...
- Removed the unneeded "-" from the type line for Crib Swap; First Volley; Nameless Inversion; Wings of Velis Vel.
2011-08-06 03:27:32 +00:00
jendave
5e287fe644
- fix for tapped images not showing up
2011-08-06 03:27:27 +00:00
jendave
c595bca3db
Fixed the token image bug in ImageCache
...
Changed CardDetailPanel to display all the info in separate lines
added support for multiselect dialogs in Display, adapted it in Devour
2011-08-06 03:27:22 +00:00
jendave
4099d3fc0b
- src directory got zapped in classpath in the last commit
2011-08-06 03:27:12 +00:00
jendave
c0ba412386
- single jar for google collections
...
- scaling using Lanczos3
2011-08-06 03:27:07 +00:00
jendave
f69e0784b7
- Added "Masticore" type to Masticore.
...
- Added the LQ pic url for Masticore.
2011-08-06 03:26:56 +00:00
jendave
e6fcccea92
Code cleanup:
...
-removed obsolete image-related classes
-resolved all warnings in the forge packages
2011-08-06 03:26:49 +00:00
jendave
dc5df2d4e6
- Fixed some of Chris' changes I had messed up in cards.txt, set blur radius back to 3 for now.
2011-08-06 03:26:07 +00:00
jendave
f1632d774f
- Fixed Sarkhan vol white -> red dragons.
...
- Fixed Devout Lightcaster targeting.
- Added Masticore.
2011-08-06 03:26:01 +00:00
jendave
c84b574f27
- Added the last 10 cards now that the spell description code has been changed to show the mana/tap costs.
...
- Added ability description to Stun Sniper.
- Sarkhan Vol should now create red rather than white dragon tokens.
2011-08-06 03:25:54 +00:00
jendave
4e14cf17ce
Added abDrawCards[Tgt]
...
Fixed bugs in abPump and abDamage related to building the ability descriptions
2011-08-06 03:25:48 +00:00
jendave
b1eb89dae6
Modified input_targetPlayer(final SpellAbility spell) to use if (spell.isAbilityTap) to determine if to tap the source card, instead of a separate input that takes an Ability_Tap, like input_targetCreature.
2011-08-06 03:25:43 +00:00
jendave
f361b0b44b
Corrected Feral Animist and it is now a Goblin Shaman.
2011-08-06 03:25:39 +00:00
jendave
e8c4fecd6f
- Added an addStackingExtrinsicKeyword method to Card.java.
...
- 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.
2011-08-06 03:25:34 +00:00
jendave
c4e118f5f2
minimal nonfunctional change
2011-08-06 03:25:27 +00:00
jendave
487a1a0135
- blur before resize so that pictures scaled more than a half look less pixelated, might need some parameter tweaking to please everyone
2011-08-06 03:25:19 +00:00
jendave
5aeadd58db
- bicubic image filtering added, text should look less picalted and more blurred
...
- limit scaling to orginal size, maybe a menu option if you want to overscale
2011-08-06 03:25:12 +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
93a59f2fd1
- Changed addExtrinsicKeyword in Card.java, this means many keywords will stack (did this to fix Sidewinder Sliver).
...
- 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.
2011-08-06 03:24:43 +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