Commit Graph

5684 Commits

Author SHA1 Message Date
jendave
7609e148b5 add a stAnimate[Self/All/Enchanted] keyword (basically works, but interaction with Humility/timestamps won't yet) 2011-08-06 23:37:36 +00:00
jendave
3cf4114b3c remove function GameAction.getCardsNamed(...) It wasn't used, and there are much better functions in AllZoneUtil to use for this. 2011-08-06 23:36:10 +00:00
jendave
015c89c206 consolidating AllZone.GameAction.isCardInZone(...) function to AllZoneUtil.isCardInZone(...) to reduce code duplication 2011-08-06 23:36:04 +00:00
jendave
e763cba53c - Updated the Tarzan 1 quest deck. 2011-08-06 23:35:47 +00:00
jendave
e23e6e16a6 - Little improvements in AF GainLife AI. 2011-08-06 23:35:37 +00:00
jendave
3b9da91bb5 - Added timmermacs sliver deck as Cyclops 2. 2011-08-06 23:35:30 +00:00
jendave
c9b8199cb6 *Copied spells aren't actually cast, so SpellAbilityCast triggers shouldn't run for them. 2011-08-06 23:35:11 +00:00
jendave
e7b331cc0d - Changes to allow Mishra to be scriptable. Still room for improvement to make the Dialog boxes more informative about where the available cards are coming from.
- Tweaks to ChangeZone.filterListByType to allow a Triggered or Remembered card to be used as the "source"
2011-08-06 23:32:43 +00:00
jendave
ff7ef721ae - Updated some decks. 2011-08-06 23:30:52 +00:00
jendave
92fc8b724d *Steps towards getting Mirari going script-only. 2011-08-06 23:30:38 +00:00
jendave
212f6f5efb - Updated Marge Simpson 2 deck. 2011-08-06 23:30:24 +00:00
jendave
e31f8e5518 Here is a first pass at CopySpell AF. There are no params other than those for all AFs. There is no AI. And it only works as well as the Fork/Twincast code (i.e. if you try to copy a spell like Ambition's Cost, you will get an exception; somewhere in the copy spell, I think we need to copy Defined...; the same problem exists in Replicate code) 2011-08-06 23:30:00 +00:00
jendave
8ada98de83 - Tuned devour into a static ability and fixed the AI. 2011-08-06 23:29:52 +00:00
jendave
dbfcb731b9 - Updated the Tarzan 2 quest deck, Tarzan 2 will follow. 2011-08-06 23:29:45 +00:00
jendave
6dc38d0219 - Updated Lisa Simpson 2 deck. 2011-08-06 23:29:35 +00:00
jendave
6ab4e710eb - Since all of the cards with "each player sacrifices" have remAIDeck:True, I enabled 1 for 1 (or X for X) trades for special decks.
- Updated the Genghis Khan decks.
2011-08-06 23:29:19 +00:00
jendave
8e0fda6311 - Removing old AbilityFactories 2011-08-06 23:27:47 +00:00
jendave
e4413ddbd9 move function AllZone.GameAction.isCardInPlay(Card c) to AllZoneUtil and made static (was in both places, now consolidated to one place) 2011-08-06 23:27:26 +00:00
jendave
acdb115f51 move function AllZone.GameAction.isCardExiled(Card c) to AllZoneUtil and made static 2011-08-06 23:27:06 +00:00
jendave
e90adb9209 add Phyrexian Ingester (from New Phyrexia) 2011-08-06 23:26:48 +00:00
jendave
2ebfce88e1 add the basics of a system to handle cards with Imprint. You need to use AF abilities and set Imprint$ True in the AF line in the card. If a card can imprint more than once and needs to forget previously imprinted cards, set Unimprint$ True. Imprinted cards can be accessed like:
*SVar:X:Imprinted$CardManaCost
*Defined$ Imprinted

Also, check the card detail panel to see which cards a host card is imprinting.

Caution: if the AF does not use Target (like ChangeZone with Hand origin), it may not work, and code will need to be added to support those.  Please post in the Imprint thread in the dev forum if it isn't working for you.
2011-08-06 23:25:52 +00:00
jendave
bb674b26d6 add Turn to Slag (from Scars of Mirrodin) 2011-08-06 23:23:59 +00:00
jendave
f01788c42a add Wing Puncture (from Scars of Mirrodin) 2011-08-06 23:23:48 +00:00
jendave
cd162a2d04 delete PlayerZoneUtil.java (very few things used these functions, and should have been using AllZoneUtil functions anyways); moved one function to AllZoneUtil 2011-08-06 23:23:25 +00:00
jendave
86ce3ce47b make sure a bunch of TODOs are properly marked so they are easier to find in Eclipse 2011-08-06 23:23:18 +00:00
jendave
76c1420d9e make sure a bunch of TODOs are properly marked so they are easier to find in Eclipse 2011-08-06 23:23:04 +00:00
jendave
205fcabe94 make sure a bunch of TODOs are properly marked so they are easier to find in Eclipse 2011-08-06 23:22:51 +00:00
jendave
26d176be5d convert Enlistment Officer, Goblin Ringleader, Grave Defiler, Sylvan Messenger, and Tidal Courier to triggers 2011-08-06 23:22:39 +00:00
jendave
0f7eef6b17 code cleanup in CF_Creatures 2011-08-06 23:22:28 +00:00
jendave
5aa3ef389d add Piston Sledge (from Mirrodin Besieged); I just had it sitting around, and the AF isn't done for it yet, and it was easy... 2011-08-06 23:22:21 +00:00
jendave
266e4b0280 *Converted Sprouting Phytohydra to script 2011-08-06 23:22:12 +00:00
jendave
7870d19512 remove some debug code in CF_Sorceries 2011-08-06 23:22:03 +00:00
jendave
2545f00e95 - Fixed destroyAll AI only working for creatures.
- Updated Genghis Khan 3.
2011-08-06 23:20:17 +00:00
jendave
771aaf8d7e add Heat Shimmer (from Lorwyn); tweak EOT param for AF_Copy. 2011-08-06 23:20:06 +00:00
jendave
f120fcabf8 convert Kiki-Jiki to AF_CopyPermanent 2011-08-06 23:19:49 +00:00
jendave
1307940889 add a basic working AF for CopyPermanent. It will need tweaking as new cards are attempted. And the AI could be improved to be more flexible, but basically, it works, and changes related to copy can be made in a central location. Tested with Kiki-Jiki and Myr Propagator. 2011-08-06 23:19:33 +00:00
jendave
7c5062eeaf convert Tezzeret, Agent of Bolas to script 2011-08-06 23:19:04 +00:00
jendave
0b87e22951 *Fixed Kiki-Jiki vs hardcoded cards with leaves the battlefield triggers.
*Converted Rukh Egg to script.
2011-08-06 23:18:12 +00:00
jendave
2b642022d5 code simplification in AF_Turns 2011-08-06 23:17:56 +00:00
jendave
3cd8eb0cbc add Triangle of War (from Visions) 2011-08-06 23:17:49 +00:00
jendave
e4441a035f update the stack add code for the Visions lands. 2011-08-06 23:17:26 +00:00
jendave
f99283cffe *Fixed Kiki-Jiki vs cards with "leaves battlefield" triggers. 2011-08-06 23:17:19 +00:00
jendave
3bdc338dc9 add the "sacrifice unless" lands from Visions 2011-08-06 23:17:12 +00:00
jendave
b5151245c2 tweaks to PumpAll stack description and AltCost description. 2011-08-06 23:16:29 +00:00
jendave
6279297b7d whoops. Forgot to commit part of the AF_Choose stuff. 2011-08-06 23:16:06 +00:00
jendave
e634deb289 fix Stack Description for AF_PumpAll (mostly a problem when this is a drawback) 2011-08-06 23:16:00 +00:00
jendave
e0e776e933 add Vigean Intuition (from Dissension) 2011-08-06 23:15:53 +00:00
jendave
414ea338d6 add an AbilityFactory for choosing Types. Currently, you can choose card types or creature types based on parameters. 2011-08-06 23:15:43 +00:00
jendave
2bfb29b8d2 - Updated some tier 1 decks. 2011-08-06 23:14:25 +00:00
jendave
88a23ac979 - Updated some tier 1 decks. 2011-08-06 23:14:13 +00:00