Commit Graph

3286 Commits

Author SHA1 Message Date
jendave
f89540264b - Little fixes in the AI blocking code. 2011-08-06 13:00:42 +00:00
jendave
79ae4adddb - Little fixes in the AI blocking code. 2011-08-06 13:00:36 +00:00
jendave
b31aefe05d - Convert Momentous Fall to AFs
- Improvement to AF.calculateAmount
2011-08-06 13:00:24 +00:00
jendave
3548438edb - The AI will no longer cast a world enchantment if it has one on the battlefield already. 2011-08-06 12:59:57 +00:00
jendave
a035c830f6 *Added Recover keyword.
*Added Controvert,Grim Harvest,Icefall,Krovikan Rot,Resize & Sun's Bounty.
2011-08-06 12:59:51 +00:00
jendave
90a4d5c998 - Cleanup in CF Creatures. 2011-08-06 12:59:38 +00:00
jendave
b25a2ad48f - Converted Merfolk Sovereign and Dwarven Pony to AF's.
- Cleanup in CF Creatures.
2011-08-06 12:59:33 +00:00
jendave
0288f916a9 - Converted Frostling and Captain Sisay to AF's.
- Cleanup in CF Creatures.
2011-08-06 12:59:24 +00:00
jendave
82b05d45ec - Added the restriction "wasDealtDamageThisTurn" to hasProperty.
- Added Crushing Pain.
2011-08-06 12:58:12 +00:00
jendave
67ca1d3004 - "Whenever a creature dealt damage by CARDNAME this turn is put into a graveyard, put a +1/+1 counter on CARDNAME." now triggers on non-combat damage also.
- Added Blood Cultist.
2011-08-06 12:58:03 +00:00
jendave
fb3c657808 - dealtDamageToYouThisTurn will now work correctly even in corner cases where one of your own creatures damages you.
- Added Retaliate.
2011-08-06 12:57:56 +00:00
jendave
7d4fd35e06 - Improved the AI recognizing keywords. 2011-08-06 12:57:47 +00:00
jendave
37efb106cb - Converted Giltspire Avenger to AF Destroy.
- Added Reciprocate.
2011-08-06 12:57:41 +00:00
jendave
cf4437bdbd - Removed the unused variable dealtCombatDmgToOppThisTurn of the card class.
- Fixed dealtDmgToOppThisTurn to be used in the proper place.
- Added some basic AI for AF sacrifice if Defined = Each.
2011-08-06 12:57:32 +00:00
jendave
5b2c3cd910 - Comented ou the now unused code for Untap. 2011-08-06 12:56:55 +00:00
jendave
ebd4a34dc5 - Commented out the now unused code block for abDestroyTgt. 2011-08-06 12:56:33 +00:00
jendave
95424e61e8 - Added Defined Utility function in AF and added it in a handful of AFs
- Improved organization in AF_AlterLife
- Bugfix for Death Cloud locking down InputControl when used as a finisher by converting to AFs
- Added Small Pox
- Added initial functionality that will allow Inputs to occur during Resolution of a SpellAbility
2011-08-06 12:56:27 +00:00
jendave
013d31f1a6 - Cleaned and centered all dealDamageEffects.
- Added "Whenever CARDNAME deals combat damage, you gain that much life.".
- Converted Sunhome Enforcer and Noble Purpose.
2011-08-06 12:55:37 +00:00
jendave
fae59914f3 - AI was ignoring Target restrictions for AF_Pump 2011-08-06 12:55:27 +00:00
jendave
da10e452ee - Added Beastmaster's Magemark, Kaijin of the Vanishing Touch and Loyal Sentry. 2011-08-06 12:55:13 +00:00
jendave
977ee2a1d8 - Bugfix for infinite loop in Persist. Cleanup in this part of the code as well 2011-08-06 12:54:26 +00:00
jendave
93b9ddef44 - Added the keyword "Whenever CARDNAME becomes blocked, it gets +1/+1 until end of turn for each creature blocking it."
- Added Elvish Berserker, Sparring Golem, Berserk Murlodont and Spined Sliver.
2011-08-06 12:54:20 +00:00
jendave
c233a2d9bb - Fix for Suspended Creature's losing Haste when changing controller.
- AI was not properly updating SA_Restrictions Activation amount. Moved code-block into addAndUnfreeze()
2011-08-06 12:53:52 +00:00
jendave
27273324d3 Just in case a card comes through without SetInfo, as long as it has a regular picture downloaded, it will now be used. 2011-08-06 12:53:46 +00:00
jendave
1645b0c635 - Commented out the now unused block of code for spDestroyTgt. 2011-08-06 12:53:40 +00:00
jendave
13a2f48c09 - More cleanup.
- Added Whimwader.
2011-08-06 12:52:45 +00:00
jendave
801e42fdf3 - Cleanup in CardFactory Instants and Sorceries.
- Converted Cruel and Imperial Edict to AF Sacrifice.
- The AI will no longer kill itself with Reanimate.
- Added Misguided Rage.
2011-08-06 12:52:36 +00:00
jendave
a62fdac051 - Added Opponent as ValidTgts$ choice.
- Fix Final Strike to use ValidTgts$ Opponent instead of Tgt$ TgtOpp
- Removed Handling of TgtOpp in AF_DealDamage 
- Other things that can only target opponents like certain Damage spells, and cards like Duress can now be added as AFs without any hackery
2011-08-06 12:51:45 +00:00
jendave
1615c50c18 - Added the keyword "Whenever CARDNAME deals combat damage to a creature, tap that creature and it doesn't untap during its controller's next untap step."
- Added Kashi-Tribe Warriors and Aliban's Tower.
2011-08-06 12:51:04 +00:00
jendave
68e56d85b2 - Updated the AI to take some more keywords into consideration. 2011-08-06 12:50:54 +00:00
jendave
44f6ba3d2b - Commented out the now unused code block for spDestroyAll. 2011-08-06 12:50:43 +00:00
jendave
72d0f9b723 - Converted Essence Sliver. 2011-08-06 12:50:06 +00:00
jendave
7444921ba3 - Fixed damage to players with the new keyword.
- Converted the rest of the lifelink cards.
2011-08-06 12:49:59 +00:00
jendave
be9a82aeee - Added the keyword "Whenever CARDNAME deals damage, you gain that much life.".
- Converted some of the lifelink abilities to it.
- Added Noble Purpose.
2011-08-06 12:49:50 +00:00
jendave
e32563d1a1 - Base structure to get AI casting abilities in other phases. 2011-08-06 12:49:33 +00:00
jendave
97f5fcc234 - Minor edit to crosiss_charm.txt.
- Converted Funeral Charm & Piracy Charm to AF and commented out their code block.
2011-08-06 12:49:27 +00:00
jendave
8283a5f0f6 add a bit more info to the Bad Parsing output in Target.java 2011-08-06 12:49:18 +00:00
jendave
eed2e34ffe - Converted Staff of Domination to AFs and commented out the code block for this card. 2011-08-06 12:49:12 +00:00
jendave
54726c3293 - Added the keyword "Whenever CARDNAME is dealt damage, you lose that much life."
- Converted Filthy Cur to it.
- Added Ragged Veins and Thrashing Mudspawn.
2011-08-06 12:48:59 +00:00
jendave
276ce6cd65 - Converted these cards to AF_Tap: Kor Line-Slinger, Loxodon Mystic, Master Decoy, Merfolk Seastalkers, Mind Over Matter, Naya Battlemage, Opposition and Ostiary Thrull.
- Converted these cards to AF_Tap: Puppet Strings, Puppeteer, Rathi Trapper, Relic Barrier, Ring of Gix, Rishadan Port, Sandsower, Scepter of Dominance, Silkbind Faerie and Squall Drifter.
- Converted these cards to AF_Tap: Staff of Domination, Stalking Assassin, Stonybrook Angler, Storm Front, Stormscape Apprentice, Teardrop Kami, Touchstone, Trickster Mage, Trip Noose and Whipcorder.
- Commented out the now unused code block for abTap.
2011-08-06 12:48:48 +00:00
jendave
2824c46180 - Commented out the now unused code blocks for abPump and spPump. 2011-08-06 12:47:49 +00:00
jendave
2a5e4edbcf - Added the keyword "Whenever CARDNAME is dealt damage, put a +1/+1 counter on it.".
- Converted Fungusaur to it.
2011-08-06 12:47:23 +00:00
jendave
eaf4d25431 - replaced CARDNAME with the actual name of the card when displaying hidden keywords. 2011-08-06 12:47:16 +00:00
jendave
7f9a3d043a - Convert Hatchlings to etbCounter
- Small cleanup in CardFactory_Creatures
2011-08-06 12:46:59 +00:00
jendave
3e466a6cf5 - Added Death Pits of Rath. 2011-08-06 12:46:49 +00:00
jendave
fa7569a7f8 - Added AF_Sacrifice and Converted Diabolic Edict as a sample
- Cleanup of a few things related to Sacrifice, trying to funnel down the same path
2011-08-06 12:46:22 +00:00
jendave
181e5ae391 - Added Defined Parameter for AF_Pump. Allowing Eqipped and Enchanted pump cards to function
- Converted Jitte to AF_Pump
- Added Firebreathing
2011-08-06 12:45:55 +00:00
jendave
90d4c5b7ac - Added the keyword "When CARDNAME is dealt damage, destroy it."
- Converted Mortal Wound to use it.
- Added Frozen Solid and Mire Blight.
2011-08-06 12:45:46 +00:00
jendave
8c7e9ce6c3 - Commented out the now unused code for abUntapTgt. 2011-08-06 12:45:37 +00:00
jendave
e1d9cebce4 - Fix for Persist. Now will use moveTo instead of doing it hardcoded. 2011-08-06 12:45:31 +00:00