Commit Graph

600 Commits

Author SHA1 Message Date
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
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
8ba0150404 Commented old KPump, PTPump, PTKPump, TgtKPump, TgtPTPump, TgtPTKPump keywords. 2011-08-06 03:18:14 +00:00
jendave
e13da9e38b Added keyword handler for SVar. 2011-08-06 03:18:10 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
jendave
612e9fdfa0 - Converted Angelic Blessing; Brute Force; Riding the Dilu Horse and Wildsize from code to keyword.
- Added the following NOTE to Cinder Pyromancer "(NOTE: This card can mistakenly damage either a player or a creature.)" Unfortunately, the abDamageCP keyword does not yet have an abDamageP variant at this time.
2011-08-06 03:09:17 +00:00
jendave
d83806e57b - Converted Dark Banishing; Saltblast; Terminate; & Vindicate from code to keyword. 2011-08-06 03:09:11 +00:00
jendave
ae380282d7 - Added LQ pic urls for the last five new cards.
- Moved the code for Kinsbaile Borderguard and Lockjaw Snapper to CardFactory_Creatures.java. Tested Kinsbaile Borderguard and Lockjaw Snapper and they now have their abilities.
2011-08-06 03:09:05 +00:00
jendave
df559b9abf - Fixed Dakmor Ghoul CIP text.
- Added Chronatog, Kismet, Frozen AEther, Loxodon Gatekeeper, Gush.
- Removed warnings (mostly just by adding a @SuppressWarnings("unused"); ) from the JLayer libs.
- Removed some old commented out code of cards that have been replaced by keywords.
- Boreal Centaur and Knight of the Skyward Eye abilities can only be used once per turn now.
2011-08-06 03:08:57 +00:00
jendave
fc8b7bf9f8 - Converted Demystify; Disenchant; Naturalize & Shatter from code to keyword.
- Added eight LQ pic urls for the newest cards.
2011-08-06 03:08:38 +00:00
jendave
14785fef4d - Converted Ice Storm; Lay Waste; Sinkhole & Stone Rain from code to keyword.
- Added LQ pic urls for the recent four new cards. Thanks guys. :)
2011-08-06 03:07:33 +00:00
jendave
c2e943b423 Changed spDamageTgt to include TgtOpp. 2011-08-06 03:07:22 +00:00
jendave
518a667848 Corrected "Hsste" to "Haste" on line 1378. 2011-08-06 03:07:12 +00:00
jendave
b66c63bdce - Untap should happen before the AIs upkeep phase now (I hope changing that didn't break anything).
- Added Echo, Upkeep and Cumulative Upkeep functionality. 
- Thelonite Hermit should also give +1/+1 to creatures with Changeling.
- Added Donate, Illusions of Grandeur, Drifting Djinn, Drifter il-Dal, Karmic Guide, Avalanche Riders, Basalt Gargoyle, Keldon Vandals, Vaevictis Asmadi, Palladia-Mors, Nicol Bolas, Goblin Patrol, Goblin Marshal, Mogg War Marshal, Urza's Blueprints, Deranged Hermit, Winding Wurm, Vug Lizard, Viashino Outrider, Uktabi Drake, Thran War Machine, Tectonic Fiend, Simian Grunts, Shivan Raptor, Radiant's Dragoons, Pouncing Jaguar, Multani's Acolyte, Lightning Dragon, Herald of Serra, Henchfiend of Ukor, Goblin War Buggy, Cradle Guard, Citanul Centaurs, Albino Troll, Acridian.
2011-08-06 03:05:59 +00:00
jendave
3d070ce6fa - Cathartic Adept should tap when using its ability.
- Added Arid Mesa, Marsh Flats, Misty Rainforest, Scalding Tarn, Verdant Catacombs, Bloodstained Mire, Flooded Strand, Polluted Delta, Windswept Heath, Wooded Foothills.
- Added Rob's abPumpTgt keyword, including a bunch of new cards supported by it.
2011-08-06 03:04:35 +00:00
jendave
c80fa9b374 - Radiant, Archangel is a 3/3 now.
- Discarding when controlling Necropotence should exile the card.
- Fixed a bug in the combat code where if a creature has received equal to its toughness, it will die no matter what.
- Umezawa's Jitte should trigger now when attacking a planeswalker.
- Added Pit Scorpion and Serpent Generator.
2011-08-06 03:04:18 +00:00
jendave
5952b70814 Bridge from Below added. 2011-08-06 03:04:02 +00:00
jendave
3762b14ca0 - Phytohydra should be fixed.
- Lands shouldn't be playable at opponent's EOT anymore.
- Checking attack triggers should happen only once, after all attackers have been declared.
- Added Goblin Piledriver, Flame Rift, Spectral Bears, Spectral Force, Pianna, Nomad Captain, Crypt Cobra, Swamp Mosquito, Suq'Ata Assassin.
- Fixed a bunch of bugs with Mox Diamond.
- Guiltfeeder should only trigger when it's unblocked (previously it would trigger when trampling over also). 
- Fixed Elvish Piper (not sure how it broke?).
- Added Poison Counters. 
- AI shouldn't play Cognivore, Terravore, Cantivore, Magnivore, Mortivore anymore if there are no cards in any graveyard keeping them alive.
2011-08-06 03:03:43 +00:00
jendave
d0ac568601 Converted last three spells from code to keyword: Tribal Flames; Cackling Flames; Douse in Gloom. 2011-08-06 03:03:11 +00:00
jendave
6a10b2b194 Converted three more spells from code to keyword: Tendrils of Corruption; Corrupt; Psionic Blast. 2011-08-06 03:03:05 +00:00
jendave
e98ac0cbeb Converted three spells from code to keyword: Char; Lightning Helix; Mob Justice. 2011-08-06 03:02:58 +00:00
jendave
a4b502a6e0 - I have updated the spLoseLifeGainLife keyword. The keyword will now look for an additional 2 fields as the keyword is parsed. The third and fourth fields contain the spell description and the stack description.
- I had to create a test to see if the card is "Absorb Vis" and if it is the spLoseLifeGainLife code will add the basic landcycling. This was the only way I could get it to work. I tried
2011-08-06 03:02:41 +00:00