Commit Graph

600 Commits

Author SHA1 Message Date
jendave
59b881e0a3 Added Cultivate, Deny Reality and Rescind. Added Arcane subtype to Kodama's Reach. 2011-08-06 05:27:45 +00:00
jendave
5a4ac5b441 - Added Tendo Ice Bridge
- Moved abAddReflectedMana to CardFactory to be more widely usable.
- Added Sylvok Explorer, Quirion Explorer, Harvester Druid, Fellwar Stone
2011-08-06 05:27:01 +00:00
jendave
c7010f9197 - Added Volrath's Dungeon
- AI currently won't activate Dungeon Bail cost. Related to ComputerUtil.playCards line that says "if(canPayCost(all[i]) && all[i].canPlay() && all[i].canPlayAI())" 
- Fix for AnyPlayer Abilities to checked for each ability, not just the card
- Fix to add AnyPlayer abilities to Computer section that is actually used by the AI.
- Fix AI_handToLibrary function that was discarding in certain circumstances
2011-08-06 05:26:27 +00:00
jendave
340dc76ee9 Converted Duress & Ostracize from code to keyword. 2011-08-06 05:24:41 +00:00
jendave
51cf744868 Converted Distress and Thoughtseize from code to keyword. 2011-08-06 05:24:34 +00:00
jendave
ce17bebf57 Converted Coercion from code to keyword. 2011-08-06 05:24:19 +00:00
jendave
9de44089e6 Converted Brainbite from code to keyword. 2011-08-06 05:24:13 +00:00
jendave
765b102c48 - Minor fixes for Necropotence and Yawgmoth's Bargain.
--Can only pay life that is available 
--Cards are still gained even if Necro isn't in play during the end step.
--Bargain now uses the draw function
2011-08-06 05:22:53 +00:00
jendave
01aa211d5a Added RevealYouChoose method to spDiscard. 2011-08-06 05:22:47 +00:00
jendave
16346f685d Bug fix for an infinite loop with some cases of the WheneverKeyword. Added Admonition Angel and Midsummer Revel 2011-08-06 05:21:13 +00:00
jendave
282dc51d0a -Demonic Consultation shouldn't add cards twice to the Removed From Game zone anymore. 2011-08-06 05:21:05 +00:00
jendave
6958183d11 - Added ability to play cards that "Any Player May Play"
- AI may not be properly using it
- Added flying pestilence ability for Ifh-Biff Efreet
- Added both player usage of ability for Aluren
- Fixed infinite loop in Aluren (We should bring back canPlayAI code for Aluren now)
2011-08-06 05:20:52 +00:00
jendave
2d376808f1 - Fixed Crib Swap ordering issue. 2011-08-06 05:19:49 +00:00
jendave
672e380af9 Turns out the spells Evacuation and Rebuild did not have a canPlayAI() method. I borrowed the canPlayAI() method from wrath of God and made a couple of minor adjustments. It may or may not need additional adjustments. 2011-08-06 05:19:30 +00:00
jendave
59998cc175 - Fixed bug where Retribution of the Meek recalculates Power in the middle of resolution. 2011-08-06 05:19:25 +00:00
jendave
ece71e5834 - Exile creature before fetching land in Path to Exile resolution. 2011-08-06 05:18:27 +00:00
jendave
bc28832ece - Recoded how Additional Land Plays work
- Added Summer Bloom
- Added Horn of Greed
- Each Fastbond will now deal damage to owner, not just 1 damage for all of them. Also, removed limit of 100 land plays for Fastbond.
- Additional lands granted by Rites of Flourishing and Storm Cauldron in place for when the second ability for each is implemented.
- Oh god, this update was way larger than I was expecting.
2011-08-06 05:18:09 +00:00
jendave
666fc41273 Fixed a bug where the human was able to choose new targets for copied spells and added the LQ pic for Sun Titan. Expanded the Whenever Keyword with BeginningOfUpkeep so that it can trigger at the beginning of an upkeep and added a Controller_Upkeep condition so that it checks whether or not it is the source card controller's upkeep. Re-arranged the code in the WheneverKeyword to make it much more flexible and it is now able to take groups of effects and individual targets for groups of effects. Added Agent of Masks 2011-08-06 05:17:37 +00:00
jendave
5e11719970 * log levels
* fix for Mind Funeral
2011-08-06 05:16:35 +00:00
jendave
138698d28c Big Update :). Allowed the SubtractLife command in PlayerLife to take a Source Card and updated all code for this change(Do not want to do that again). As a result of this, i had to remove the AddLife(Player,Life),AddDamage(Player,Damage) commands from GameAction. Expanded the Whenever keyword with the DealsDamage/Opponent option so it can trigger when a card deals damage to an opponent and added a draw card effect for the keyword. Added Curiosity (Niv-Mizzet fans rejoice! :)) 2011-08-06 05:15:08 +00:00
jendave
6c98ed686f Added Pyretic Ritual and included it as one of the list of cards which will not show up when the computer generates a random 2 color or multi color deck. 2011-08-06 05:14:57 +00:00
jendave
b3a1924ab9 Expanded the Whenever Keyword to allow it to trigger when a player gains life and added an object array to the Whenever keyword to store some data. Added Ageless Entity, Ajani Pridemate and Angelic Chorus 2011-08-06 05:14:45 +00:00
jendave
a5de1ff273 Added Back to Nature. 2011-08-06 05:14:10 +00:00
jendave
37fa4c9d32 Slight tweak to the AI for spDiscard. 2011-08-06 05:13:54 +00:00
jendave
bedbe67eff - Added Time Reversal. 2011-08-06 05:13:41 +00:00
jendave
b6d7497122 Converted these cards to keyword and moved their cards.txt entries to top of file:
Hymn to Tourach
Mind Shatter
Mind Twist
Surging Dementia
Wit's End
2011-08-06 05:12:13 +00:00
jendave
6c7c7a85e9 Fixed bugs in spDiscard[Opp]. 2011-08-06 05:11:57 +00:00
jendave
f33f6420fc Added spDiscard keyword. 2011-08-06 05:11:37 +00:00
jendave
51da26e428 - Added Haunting Misery 2011-08-06 05:11:32 +00:00
jendave
a36e5a5151 - Added Reclaim, sharing code block with cousin Regrowth 2011-08-06 05:09:50 +00:00
jendave
7eb1e66210 Added the LQ pic for Hagra Crocodile and fixed Buried Alive so it can only be played as a sorcery 2011-08-06 05:08:09 +00:00
jendave
e553b49e89 Fixed Incendiary Command from crashing when the controller chooses the two choices with targets 2011-08-06 05:07:53 +00:00
jendave
04862d6406 Added Three Visits. 2011-08-06 05:06:50 +00:00
jendave
dd36ec697e - Added Nature's Lore. 2011-08-06 05:06:06 +00:00
jendave
bf7b53452c Small tweaks for Haunting Echoes:
- AI should only cast if graveyard has something to remove.
- Checks if the card is non-basic land before looping through library to speed up removal.
2011-08-06 05:05:09 +00:00
jendave
529d0cf839 Minor modification to Hidetsugu's Second Rite. AI will only play this card when human at 10 life. Human no longer has the same restriction. 2011-08-06 05:05:04 +00:00
jendave
f501e47557 Fixed Brave the Elements. You can no longer choose to gain "protection from null". :) 2011-08-06 05:04:59 +00:00
jendave
5140358c94 - AI should only target targetable creatures with Threaten. 2011-08-06 05:04:00 +00:00
jendave
3da692f2dd - Fixed Mind's Desire / All is Dust bug. 2011-08-06 05:03:55 +00:00
jendave
e40557888e * cleanups 2011-08-06 05:01:45 +00:00
jendave
9224760313 Added a CopySpellOntoStack Function and modified the PayManaCost code a little bit (to prevent selected targets from storm spells not showing up on the stack). Made Storm Arbitary 2011-08-06 05:01:39 +00:00
jendave
6b5abdc751 Fixed Sunbeam Spellbomb. 2011-08-06 05:01:32 +00:00
jendave
310cc0c034 Added support for Ripple (Up to 10, but this can be easily changed). Added Thrumming Stone, Surging AEther, Surging Dementia, Surging Flame, Surging Might and Surging Sentinels 2011-08-06 05:00:56 +00:00
jendave
87ba4d653d Simplified Rite of Replication using the CopyCardintoNew command and made it work with Doubling Season 2011-08-06 05:00:36 +00:00
jendave
7d46e5208b Added Reiterate 2011-08-06 04:59:57 +00:00
jendave
65192d737c Added Violent Ultimatum 2011-08-06 04:59:50 +00:00
jendave
6dfe27b102 Made a few changes to Incendiary Command in preparation for Twincast. Added an input for spells and properties for cards (with setters and getters) recording information about copied cards. Modified the stack for X, Multikicker and Kicker cards to allow Twincast to function properly. Added Twincast. 2011-08-06 04:59:38 +00:00
jendave
6137f254ef Added Brilliant Ultimatum 2011-08-06 04:59:29 +00:00
jendave
652dd0a24a Added Fact or Fiction 2011-08-06 04:59:22 +00:00
jendave
70f4667c4a Added 43 cards using the CostChange keyword. 2011-08-06 04:57:53 +00:00