Commit Graph

63487 Commits

Author SHA1 Message Date
jendave
e13da9e38b Added keyword handler for SVar. 2011-08-06 03:18:10 +00:00
jendave
b521e9e0a9 Added HashMap for SVars and get/set for SVars. 2011-08-06 03:18:05 +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
5b0a00e9b0 - Small fix in Ability_Mana. 2011-08-06 03:17:08 +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
6057c3b8ff - If a Sower of Temptation leaves play, and the creature it stole was attacking, that creature will be removed from combat now.
- Added a makeToken method in CardFactoryUtil, and changed most token creation code in  to use this.
- Bunch of  cleanups.
2011-08-06 03:16:51 +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
9472cc88a7 Revision to spPumpTgt to support Count$ and Drawback$ 2011-08-06 03:16:36 +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
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