Commit Graph

51869 Commits

Author SHA1 Message Date
jendave
b6142f9234 - Fixed Drekavac. 2011-08-06 03:16:12 +00:00
jendave
465449c814 - Fixed Cumulative Upkeep code.
- Fixed a small bug with Fastbond (it would sometimes subtract more than 1 life).
- Fixed some big bugs with Fastbond, Exploration, Azusa, Lost but Seeking (computer won't be able to use them if it doesn't control them).
- AI should lose life when using Fastbond now.
2011-08-06 03:16:05 +00:00
jendave
a63d99da52 Added Scry text (and reminder) to getText() for Instants and Sorceries. 2011-08-06 03:15:54 +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
f3383fa8c4 In preparation for enhanced spPumpTgt spells, the following were added:
xCount(): MaxCMC - given a player zone, returns the highest Converted Mana Cost.
doDrawBack(): DamageTgtC - deals damage to the targeted creature.
2011-08-06 03:15:41 +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
jendave
71a02ab44d - Added Gatekeeper of Malakir. 2011-08-06 03:15:18 +00:00
jendave
b984859c77 Moved Cantrip check after sa.resolve().
Added Scry check after Cantrip check.
2011-08-06 03:15:10 +00:00
jendave
5851e04f01 Moved Cantrip check to after sa.resolve().
Added Scry check after Cantrip check.
2011-08-06 03:15:05 +00:00
jendave
afe8ef7842 Added support for the game action scry(Player, numScry) 2011-08-06 03:15:00 +00:00
jendave
fe1bbcb64d - Casting a Cascaded card is optional now.
- Added Intimidate keyword.
- Added Guul Draz Vampire, Bladetusk Boar.
2011-08-06 03:14:55 +00:00
jendave
bcad2b734f - Fixed Gerrard's Verdict (it should trigger Megrim, Nath of the Gilt-Leaf, etc.)
- Fixed Guilty Conscience / Stuffy Doll combo.
- Hacked in Cascade, in most cases, it seems to work (AI can use it too!).
- Added Kor Fisher, Bloodbraid Elf, Ardent Plea, Kathari Remnant, Enlisted Wurm.
- Overwrote some of Chris' changes in cards.txt, put those back.
2011-08-06 03:14:47 +00:00
jendave
2f1b65fa34 2011-08-06 03:14:42 +00:00
jendave
653961e82a As part of the cantrip to draw a card keyword change, I found 7 cards which had the draw a card hard coded. The 7 cards are Brainbite, Dismiss, Exclude, Opt, Remand, Repulse, Reviving Dose. I commented out the "AllZone.GameAction.drawCard(card.getController());" code for these 7 cards and moved the "Draw a card." from the text line to the keyword line. 2011-08-06 03:14:32 +00:00
jendave
0030d53aea Fixed the hard coded file separators. I found 5 files with the double backslash "\\" character sequence. Only 3 were a possible problem. The three files being GuiDisplayUtil.java (2 hits), BackgroundPanel.java, ImageJPanel.java. Some of the code associated with these file paths may not be used at this time. I replaced "\\" with "File.separator" only on the two places found in GuiDisplayUtil.java. 2011-08-06 03:14:26 +00:00
jendave
43d9721fcc - Merged Rob's suggestion into Card.java.
- Minor fix to Mutavault, now only displays "tap: add 1" once rather than twice.
2011-08-06 03:14:20 +00:00
jendave
ba93349515 Fixed Card.java, cantrip spells now only print "Draw a card." once and this string is now printed below the spell description text string for all spells. 2011-08-06 03:14:14 +00:00
jendave
8503c8c51e - Added Dennis' change to Card.java.
- Merged the updated cards.txt file with the cantrip -> Draw a card conversion.
2011-08-06 03:14:08 +00:00
jendave
4bbe83fe0b - Added subtypes to Arctic Nishoba and Goblin Guide.
- Added the 01-17 version of the rarity files to quest folder.
2011-08-06 03:14:02 +00:00
jendave
184a0d15a2 Modified selectButtonOK() to handle "Draw a card." instead of "Cantrip". 2011-08-06 03:13:55 +00:00
jendave
a815182f7d Modified playStack() and playNoStack() to handle "Draw a card." instead of "Cantrip". 2011-08-06 03:13:50 +00:00
jendave
684ba0121e Modified getText() to display keyword "Draw a card." (to replace "Cantrip") for Instants and Sorceries. 2011-08-06 03:13:46 +00:00
jendave
7b0f31ecb2 Modified getText() to display keyword "Draw a card." (to replace "Cantrip") for Instants and Sorceries. 2011-08-06 03:13:40 +00:00
jendave
abc48fa8c0 - Fixed Mutavault.
- After taking control of it, Elspeth's ult should correctly affect the controller's creatures now.
- Echoing Truth will remove tokens from the game, instead of destroying them.
2011-08-06 03:13:35 +00:00
jendave
8b4df77868 - Faerie Conclave is now blue only while it is a Faerie creature.
- Forbidding Watchtower is now white only while it is a Soldier creature.
- Svogthos, the Restless Tomb now becomes a black and green Plant Zombie creature.
- Treetop Village is now green only while it is an Ape creature.
2011-08-06 03:13:28 +00:00
jendave
12598c7088 - Made some more code cleanups and (small) performance improvements.
- Fixed Sarkhan Vol and Ajani Goldmane token controllership issues. Also fixed Ajani Goldmane?\127 lifegain after a different player takes control of it.
- Memnarch's first ability will put the Artifact type at the beginning of the type text (so "Artifact Planeswalker - Ajani" instead of "Planeswalker - Ajani Artifact").
- Planeswalkers with the same "subtype" should get destroyed correctly now if there are two or more in play, even if one of them got "Memnarched" into an artifact.
2011-08-06 03:13:21 +00:00
jendave
0c3ad6f1f2 Added LQ pic urls for the last 5 cards that were added. This should bring us up to date. 2011-08-06 03:13:01 +00:00
jendave
eae967c56c - Made many performance improvements (using FindBugs).
- Ability of Chainer, Dementia Master shouldn't be castable from hand anymore, also added ability text.
2011-08-06 03:12:56 +00:00
jendave
11f3c223a5 - Fixed Zendikar HQ image links.
?\127?\127- Added Bloodghast, Malakir Bloodwitch.
2011-08-06 03:12:31 +00:00
jendave
8c8950b151 - Fixed Lhurgoyf.
- Planeswalkers shouldn't get -1/-1 counters anymore if damaged by creatures with Wither.
- Added caching to large images (thanks to Nantuko, Snacko and Silly Freak for all of the help!), hopefully this will help with the memory leak problem.
2011-08-06 03:12:13 +00:00
jendave
678d2ffa07 - Added LQ pic url for Time Vault.
- Fixed the card text that is displayed for the card Sarpadian Empires, Vol. VII.
2011-08-06 03:11:56 +00:00
jendave
95298939de - Made some changes to the Quest Deck Editor to make it more compatible with the new Look and Feel themes.
- Added Time Vault.
2011-08-06 03:11:49 +00:00
jendave
98e68707c9 Added two new cards, Mana Tithe and Miscalculation to Dennis' new counter-spell code. I also included the LQ pic urls for these two cards. I made a minor change to the code to get the two cards with cycling to show a spellDescription in the choose dialog. I do not think that I damaged Dennis' code. :) 2011-08-06 03:11:42 +00:00
jendave
254944dc9d - Fixed Karmic Guide.
- Eviscerator should only be played by the AI if his lifetotal is larger than 7. 
- Fixed Merfolk Sovereign AI targeting.
- Fixed Sarkhan Vol second ability. 
- Added some code to Knight of the Reliquary which should make it attack more often.
2011-08-06 03:11:35 +00:00
jendave
2344572fa5 - Fixed the setStackDescription() for Hatchlings.
- Replace "Computer is thinking" with "An error may have occurred. Please send the STACK REPORT to the Forge forum."
- Added the Eyeblight's Ending spell (uses spDestroyTgt keyword) to cards.txt and added the LQ pic url to cards-pictures.txt.
- Fixed Rappelling Scouts.
- Fixed Karmic Guide.
2011-08-06 03:11:28 +00:00
jendave
c6e7e5c045 - Fixed Ajani Vengeant (second ability).
- Added some tweaks to AI counterspells. 
- Added various Look and Feel options (for some of them, make sure to toggle on options-> use LAF fonts). When using this SVN version, be sure to add all external JAR files found in /res/lib to your project. Do this by right clicking on your project in the Package Explorer of Eclipse. Then go to Build Path -> add External Archives...-> add the JARs in /res/lib.
2011-08-06 03:11:11 +00:00
jendave
9a38de4f43 - Commented out the separate code object for Hush. Hush has been added to the Tranquility code object and it's Cycling ability is now a keyword. 2011-08-06 03:10:49 +00:00
jendave
f3bcef6341 - Add LQ pic urls for the 7 new cards that were added in r258.
- Added a spell.setDescription("Counter target spell."); to the code object for Counterspell + Cancel + Last Word + Traumatic Visions. Removed the spell description for these 4 cards from their entries in the cards.txt file. "Last Word can't be countered by spells or abilities." is now part of the spell.setDescription() for this code object. Everything works and looks nice.
2011-08-06 03:10:42 +00:00
jendave
5bbbb07873 -Now in Deck Filter you can press "Enter" instead of click "Ok" button. 2011-08-06 03:10:36 +00:00
jendave
3862a9ee49 -Fix card name "Runeboggle" 2011-08-06 03:10:30 +00:00
jendave
1d2962bd05 - Added Collective Restraint, Mana Leak, Daze, Force Spike, Convolute, Rune Boggle, Spell Snip.
- Fixed an issue with the Propaganda cards.
- Fixed Merrow Harbinger.
- Fixed Cloudseeder.
- Goblin Chieftain should only pump controlled Goblins.
2011-08-06 03:10:24 +00:00
jendave
1949ce1c1b - Added LQ card pic urls for the 6 new cards from r255.
- Re-Added the converted cards: Aggressive Urge; Guided Strike and Might of Oaks. These three cards were commented out of CardFactory.java but the cards.txt versions with the keywords are somehow missing. This will take care of the problem.  :)
- Added a NOTE to Lignify.
2011-08-06 03:10:16 +00:00
jendave
cc44d3f3d0 -Add menu item "Play sound" in Game menu.
Now sounds playing if menu item "Play sound" is selected and file is exist.
2011-08-06 03:10:10 +00:00
jendave
9f3fdf429f - Fixed Pit Scorpion.
- Fixed some of the "Sacrifice a creature" spells ("destroy" effects would sometimes not happen). 
- Added a few cards: Propaganda, Ghostly Prison, Windborn Muse, Arctic Nishoba, Peacekeeper, Marsh Viper.
- Yet another fix to Force of Will.
2011-08-06 03:10:05 +00:00
jendave
739b50e2dd - Added the Changeling keyword to Fire-Belly Changeling.
- Added the 01-01-2010 rarity files to the quest and an unused questData file folder.
- Fixed Force of Will … I figured out my mistake.
2011-08-06 03:09:54 +00:00
jendave
313c58a308 - Converted Spark Spray from code to keyword.
- Added 3 card pic urls.
2011-08-06 03:09:45 +00:00
jendave
8bc3bcf7e4 2011-08-06 03:09:38 +00:00
jendave
96073bb0e8 Converted Aggressive Urge; Guided Strike and Might of Oaks from code to keyword. 2011-08-06 03:09:32 +00:00