Commit Graph

5684 Commits

Author SHA1 Message Date
jendave
37624e5e65 - Adding DamageSource$ parameter for AF_DealDamage
- Adding Repentance as an example.
2011-08-06 20:03:02 +00:00
jendave
c92b38b10f add a parameter to specify over-riding of types to AF_Animate 2011-08-06 20:02:45 +00:00
jendave
d113cf8143 Added code to check for folder existence and create if necessary.
Added a 2.5 second pause to the download loop to alleviate the server a bit.
2011-08-06 20:02:32 +00:00
jendave
720a156d68 - Adding check for Shuffle Parameter to ChangeZoneHidden. (Fixes See Beyond and possibly others) 2011-08-06 20:02:13 +00:00
jendave
b9b9ebec0f - EndCombat Phase will always happen, allowing Jade Statue to revert properly. 2011-08-06 20:02:05 +00:00
jendave
b43f013f3a - Fixed Recover keyword to only trigger if origin is battlefield.
- Fixed Grim Harvest.
- Fixed Crawlspace and similar cards.
2011-08-06 20:00:08 +00:00
jendave
cce8cffa9d convert Karn, Silver Golem to AF_Animate 2011-08-06 19:59:44 +00:00
jendave
33e88649b3 add support for X power and toughness in AF_Animate. Also, made the Types param optional. 2011-08-06 19:59:24 +00:00
jendave
85de2e114e convert Animate Land to AF_Animate 2011-08-06 19:58:51 +00:00
jendave
8f8acb8d7d convert Raging Ravine to AF_Animate 2011-08-06 19:58:43 +00:00
jendave
f268dc9709 add ability to give triggers in AF_Animate 2011-08-06 19:58:35 +00:00
jendave
595f15b683 convert Lavaclaw Reaches to AF_Animate 2011-08-06 19:58:22 +00:00
jendave
ede4a44467 *Added rudimentary stack description to AF_Clash. 2011-08-06 19:57:41 +00:00
jendave
742afb3ab6 - Retired the keyword: "When CARDNAME enters the battlefield, you may search your library for up to three cards named CARDNAME, reveal them, and put them into your hand. If you do, shuffle your library." 2011-08-06 19:57:35 +00:00
jendave
77c8b9365d add an Abilities$ Parameter to AF_Animate. It will look up an SVar, and give the animated being that ability as long as it is animated. 2011-08-06 19:57:15 +00:00
jendave
e646cb638c *Tweaked Living Weapon's equipping their germs.
*Fixed Clashing during opponent's turn.
*Added AF_Clash. AI doesn't put much thought into it yet,though.
*Added
     Adder-Staff Boggart
     Bog Hoodlums
     Fistful of Force
     Hoarder's Greed
     Lash Out
     Nath's Elite
     Oaken Brawler
     Paperfin Rascal
     Pollen Lullaby
     Pulling Teeth
     Release the Ants
     Revive the Fallen
     Ringskipper
     Spring Cleaning
     Springjack Knight
     Titan's Revenge
     Woodland Guidance
 *Updated to AF
      Research the Deep
2011-08-06 19:57:09 +00:00
jendave
4aa9229396 convert Mutavault to AF_Animate 2011-08-06 19:56:43 +00:00
jendave
d4ea88b534 convert Dread Statuary to AF_Animate 2011-08-06 19:56:29 +00:00
jendave
2cc414f8ae add Genju of the Realm (from Betrayers of Kamigawa) 2011-08-06 19:56:21 +00:00
jendave
5b33f802bb convert Blinkmoth Nexus, Creeping Tar Pit, and Inkmoth Nexus to AF_Animate. 2011-08-06 19:56:06 +00:00
jendave
2f6fc78bbe convert Jade statue to AF_Animate 2011-08-06 19:55:50 +00:00
jendave
c883e3bf8e convert Stirring Wildwood and Stalking Stones to AF_Animate. 2011-08-06 19:55:41 +00:00
jendave
17bc3a6b5b convert Faerie Conclave, Forbidding Watchtower, Ghitu Encampment, and Treetop Village to AF_Animate. 2011-08-06 19:55:25 +00:00
jendave
de6157edda convert Halcyon Glaze to triggers 2011-08-06 19:55:09 +00:00
jendave
f9358894a7 - Converted Horn of Greed to script. 2011-08-06 19:54:53 +00:00
jendave
011c576c9a - Improved AI blocking. 2011-08-06 19:54:39 +00:00
jendave
e1f643461f convert Celestial Colonnade (most complete example) and Mishra's Factory as examples of AF_Animate. 2011-08-06 19:54:24 +00:00
jendave
80435670fe first pass at an Animate AbilityFactory
Remaining TODOs:
1. support X in power/toughness
2. allow AI to target things for animate (90% or more of cards would use Defined$ instead of targeting anyway)
3. some moderately advanced AI combat decisions
4. enchance to be able to give abilities/triggers like AF_Token can
2011-08-06 19:54:15 +00:00
jendave
2469de2b4f *Added "Shuffled" trigger mode. Only Cosi's Trickster uses it in all of Magic atm, but you never know with those crafty wizards.
*Added Cosi's Trickster.
2011-08-06 19:53:36 +00:00
jendave
40dec3a4a4 fix possible Indexing Exception in AI scrying 2011-08-06 19:53:27 +00:00
jendave
5a36a54176 add a SetLife AbilityFactory. Mostly done by Sol, but I added a little more AI smarts. Add Blessed Wind and Magister Sphinx as examples. 2011-08-06 19:53:15 +00:00
jendave
bcb4c6ba53 - Converted Adventuring Gear to trigger. 2011-08-06 19:51:42 +00:00
jendave
6a07ace760 - Cleanup in ComputerUtil_Attack2. 2011-08-06 19:51:21 +00:00
jendave
541dcefde6 - The AI will value untapped creatures a little bit higher than tapped ones. 2011-08-06 19:50:53 +00:00
jendave
331d4375e0 - Commented out the code block for the keyword "When CARDNAME enters the battlefield, draw a card." 2011-08-06 19:50:34 +00:00
jendave
ad1a4da529 Phyrexian Dreadnought is now Stifle-able. (It's triggered ability hits the stack.) 2011-08-06 19:49:36 +00:00
jendave
0e94451882 convert Anvil of Bogardan to triggers 2011-08-06 19:49:30 +00:00
jendave
04be1d6013 *"Optional$" parameter for triggers is now "OptionalDecider$" which works as "Defined$" for players.
Old "Optional$ True" is equivalent to "OptionalDecider$ You", old "Optional$ OpponentDecides" = "OptionalDecider$ Opponent" of course and instead of "Optional$ TriggeredControllerDecides" you can use any of the Triggered-variables that return a player.
*AF_Token's "TokenOwner$" parameter is now also a "Defined$"-like.
*Updated all cards that used either (637 of them!)
2011-08-06 19:49:00 +00:00
jendave
2718798adf convert Cloudhoof Kirin to triggers 2011-08-06 19:43:35 +00:00
jendave
5ad74b77d7 convert Glint-Eye Nephilim and Cold-Eyed Selkie to triggers 2011-08-06 19:43:27 +00:00
jendave
833a5c4014 don't fire LifeGained trigger if Lich is in play for that player. 2011-08-06 19:43:03 +00:00
jendave
1fd275900f convert Sanguine Bond to triggers 2011-08-06 19:42:57 +00:00
jendave
c8629e6add add eqPump 2:0/0 to Umezawa's Jitte so it is completely scripted. 2011-08-06 19:42:49 +00:00
jendave
d8e0ca12d2 convert Sword of the Meek to eqPump 2011-08-06 19:42:25 +00:00
jendave
72de0b49c3 - The AI will now take more combat triggered abilities into account to predict P/T. 2011-08-06 19:41:49 +00:00
jendave
a25f0a6397 convert Sword of Light and Shadow to eqPump. The trigger part doesn't work due to a suspected Input bug. The code is here, just commented out. 2011-08-06 19:41:22 +00:00
jendave
bc44bf906c - Retired the keyword "When CARDNAME enters the battlefield, return a land you control to its owner's hand.". 2011-08-06 19:40:29 +00:00
jendave
22b6a5d721 changing visibility for some methods in AF_PermState for TapOrUntap 2011-08-06 19:40:09 +00:00
jendave
0acee8a5f6 convert Sword of Body and Mind to triggers 2011-08-06 19:40:03 +00:00
jendave
f612cca9bd convert Ageless Entity to triggers 2011-08-06 19:39:55 +00:00