Commit Graph

602 Commits

Author SHA1 Message Date
jendave
f3ef27c499 - A minor edit to some of my recent work. I meant to use StringBuilder rather than StringBuffer. 2011-08-06 06:01:58 +00:00
jendave
a8b9fe3b98 - Added Seeker, Crovax, Ascendant Hero. - Made "CARDNAME can't be blocked except by artifact creatures and/or white creatures." a keyword. 2011-08-06 06:01:10 +00:00
jendave
db043d2842 - Fixed Doomed Necromancer. The AI will no longer target a creature with the keyword "At the beginning of the end step, sacrifice CARDNAME." if it is main phase 2. 2011-08-06 06:00:34 +00:00
jendave
ca7a928de9 - Fixed Karmic Guide. The AI will no longer target a creature with the keyword "At the beginning of the end step, sacrifice CARDNAME." 2011-08-06 06:00:29 +00:00
jendave
7a57e8f4b2 - Fixed Painter's Servant, choices of color no longer includes null. 2011-08-06 05:59:11 +00:00
jendave
d0d00f3b76 *Added Sutured Ghoul
*Added Rarity SVars to a bunch of cards.
2011-08-06 05:58:54 +00:00
jendave
5d72cbccf3 - Kiki-Jiki, Mirror Breaker should work correctly now with Doubling Season. 2011-08-06 05:58:42 +00:00
jendave
7c333015c0 - Added "reveal" for Sylvan Messenger and Goblin Ringleader when the AI casts one. 2011-08-06 05:58:26 +00:00
jendave
6e1dee8f00 * spDstryAll bugfix, now does what the comments say
* card will get their image refreshed every card change cycle (may lower performance, but updates sooner)
2011-08-06 05:57:10 +00:00
jendave
66c2970c8f - The AI will no longer target the human's Mana Pool when it's Archon of Justice leaves play. 2011-08-06 05:50:14 +00:00
jendave
cf849a003f - Added "newCard.setSVars(card.getSVars());" to the creatures missing a rarity. 2011-08-06 05:49:39 +00:00
jendave
7cc6dfd8cc *Fixed Mad Auntie being able to target itself for regeneration.
*Added Smokespew Invoker,Overgrown Battlement
2011-08-06 05:46:39 +00:00
jendave
4e979bd740 - This should finish the colorless token creation code edit. Replaced "C" with "" for these three cards: Forbidden Orchard; Tuktuk the Explorer and Urza's Factory. 2011-08-06 05:43:29 +00:00
jendave
356328c313 - Fixed some of the Eldrazi Spawn token creation code ("" for color instead of "C"). 2011-08-06 05:43:22 +00:00
jendave
cf9132da86 Some creatures were converted to keyword in the past and their card objects were commented-out at that time. I deleted these commented-out card objects. 2011-08-06 05:42:20 +00:00
jendave
db745667eb Big ManaPool Update
- Combined Mana Pool and Snow Mana Pool
- Combined ManaCost and Mana_PayCost
- Reworked how choices are made when paying for costs
- Bugfixes: Spectral Possession and Flame Javelin can now use the ManaPool to be cast.
- Snow mana can't be used to give yourself infinite mana by canceling abilities
- Added spaces between all cards that generate more than 1 mana for smooth parsing.
2011-08-06 05:41:18 +00:00
jendave
d408f68a7b - Added Steel Overseer. 2011-08-06 05:41:03 +00:00
jendave
37770737d2 Forgot Gwafa Hazid's controller draw clause. 2011-08-06 05:39:50 +00:00
jendave
d95b38c5e6 Added Gwafa Hazid, Profiteer 2011-08-06 05:39:13 +00:00
jendave
f63cc84727 - Fixed some bugs with Qasali Pridemage and improved the AI's targeting a bit. 2011-08-06 05:37:24 +00:00
jendave
12dbf81dae - Added Sac-<Type> and Sac-CARDNAME to abPump keyword as a cost.
- Some of the inputs will now check if an ability has AfterPayMana for Sacrifice effects before putting the ability on the stack.
- Added Atog, Auratog, Foratog, Lithatog, Thaumatog, Megatog, Goblin Sledder, Need for Speed, Gruul Guildmage, Marsh Lurker, Plagued Rusalka, Deathspore Thallid, Thallid Devourer, Thallid Germinator, Vitaspore Thallid
- Updated Phyrexian Plaguelord to use updated abPump keyword
- Added rarity and pictures grabbed from Python Script
- Note: Deja Vu picture failed.
2011-08-06 05:35:18 +00:00
jendave
6a6dfbf4f2 - Added playerTurn, a string to keep track of whose turn
- Replaced getLastPlayerToDraw with isPlayerTurn in a few locations to play nice with cards that skip draw phases.
Note: Whenever keyword uses getLastPlayerToDraw but wasn't sure what it was doing. Probably should use isPlayerTurn instead.
2011-08-06 05:33:35 +00:00
jendave
892b6e59e6 - Added Spike keyword
- Added Spikes: Feeder, Weaver, Worker, Colony, Drone
- Python Script added pictures and rarity for 18 cards
2011-08-06 05:32:53 +00:00
jendave
53e13eb11f Improved the AI for Angel of Despair and Shriekmaw. 2011-08-06 05:32:35 +00:00
jendave
e503ca915c Improved the AI for Rathi Assassin, Stalking Assassin and Ethersworn Adjudicator. 2011-08-06 05:32:21 +00:00
jendave
1010822498 - Improved the AI for Dwarven Demolition Team.
- Minor code clean ups in CardFactory_Creatures.
2011-08-06 05:31:54 +00:00
jendave
4a0722439f Improved the AI for Royal Assassin. 2011-08-06 05:31:49 +00:00
jendave
0b65c2a7de * Sun Titan fix 2011-08-06 05:31:20 +00:00
jendave
15eb9be172 Improved the AI for Intrepid Hero. The AI will no longer target creatures with Indestructible. 2011-08-06 05:30:26 +00:00
jendave
fe09afabe5 Improved the AI for Visara the Dreadful and Avatar of Woe. Added checks for canTarget() and for Indestructible. 2011-08-06 05:30:01 +00:00
jendave
94bb4aceb9 - Femeref Archers should be able to target attackers attacking planeswalkers (made similar fixes to Tor Wauki and Lady Caleria). 2011-08-06 05:28:36 +00:00
jendave
9e8b3aa922 - Fixed Psychatog's 2nd ability. 2011-08-06 05:28:31 +00:00
jendave
7ae6f7afae - Fixed playCard(Card) to check canPlay of each ability before giving the choice to the player.
- Dimir Guildmage canPlay now uses canCastSorcery() instead of checking activePlayer and the phase.
- Changed Tradewind Rider to be Optional in case two creatures aren't available to be tapped during resolution. This should be changed back to mandatory when the cost is paid on activation.
2011-08-06 05:28:26 +00:00
jendave
317d11c89c - Added Fauna Shaman (untested, just copied code from Survival of the Fittest). 2011-08-06 05:28:10 +00:00
jendave
e4f2f7e646 * proper Phylactery Lich 2011-08-06 05:27:27 +00:00
jendave
2431bd2ed8 * Phylactery Lich better AI
* Enter doesn't skip 2 phases
* more options saved
2011-08-06 05:27:21 +00:00
jendave
b7f3f258c0 - Added activatingPlayer to SpellAbility.
- Rakka Mar and Captain of the Watch now use the activatingPlayer which is locked in when the ability hits the stack.
2011-08-06 05:23:43 +00:00
jendave
f739006170 - Added Yavimaya Elder. 2011-08-06 05:22:00 +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
4aa31e30d5 - Added all of the required checks into canPlayLand() so they can't be played illegally through alternate effects. 2011-08-06 05:19:12 +00:00
jendave
86d2743415 Expanded Whenever Keyword and converted Niv-Mizzet, the Firemind to keyword 2011-08-06 05:19:06 +00:00
jendave
afe280a45d - Added Psychatog. 2011-08-06 05:18:40 +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
d4e70e72c1 - Added Sun Titan. 2011-08-06 05:17:28 +00:00
jendave
e6a4fcf569 Added Roc Egg. 2011-08-06 05:17:11 +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
73b4a52db3 Added Sylvan Ranger. 2011-08-06 05:14:23 +00:00
jendave
fb9ba53e5a Added Manic Vandal. 2011-08-06 05:14:17 +00:00
jendave
f969e942a8 - Removed duplicate Soulcatcher.
- Fixed Grave Titan text.
- Added Primeval Titan.
2011-08-06 05:13:35 +00:00