Commit Graph

6224 Commits

Author SHA1 Message Date
Hellfish
58a72c1dce *Removed debug output 2013-04-07 14:37:28 +00:00
Hellfish
220a868cbb *Fixed MayEffectFromOpeningHand for AI 2013-04-07 14:37:03 +00:00
Sloth
fddfb53946 - Improved AI using Giant Slug. 2013-04-07 10:01:04 +00:00
Sloth
6f08c2ef22 - Fixed a possible NPE created by canRegenerate. 2013-04-07 09:24:37 +00:00
Sloth
b4c0cdb937 - Fixed a possible NPE in getUsableManaSources. 2013-04-07 09:19:55 +00:00
Sloth
b2582de885 - Fixed Unless costs with colored mana (Chain Lightning). 2013-04-07 09:19:16 +00:00
swordshine
4c6e09b8be - Added Cairn Wanderer, Concerted Effort, and Death-Mask Duplicant 2013-04-07 05:04:12 +00:00
Sol
0dbfc078e0 - Temporarily reverted the change that removes SAs in finishResolving instead of before because it reintroduces the multi-activation bug. 2013-04-07 01:03:06 +00:00
swordshine
f22b20e512 - Added Giant Slug and Illusionary Presence 2013-04-07 00:21:27 +00:00
Maxmtg
726e350baa Changed stack of inputs to a concurrent-ready structure. 2013-04-06 23:28:19 +00:00
Maxmtg
8333a8a2c2 fix NPE for replicate cost checks 2013-04-06 22:41:04 +00:00
Sol
bcdc366d48 - Convert Bazaar of Wonders to script 2013-04-06 20:16:48 +00:00
Sol
a7eb64cec9 - Fix ChangeTargets to work better with SpellAbility targets 2013-04-06 18:58:39 +00:00
swordshine
f74e94b639 - Added Travelers Cloak 2013-04-06 13:42:13 +00:00
Hellfish
b47a47f6c8 *Tweaked Valid handling in handlePaid. Fixes Elder Cathar. 2013-04-06 11:17:13 +00:00
swordshine
502380693b - Added Spellshift 2013-04-06 09:31:15 +00:00
Maxmtg
eeed4a9aa9 re-applied 20840 - sorry Hellfish 2013-04-06 08:58:53 +00:00
Maxmtg
8d4c82d330 Synchronized inputs: check if input has already been called 'done' and accept clicks only if it was not.
InputPayManaBase descendants: showMessage may be safely executed after input is dismissed (select card leads to re-check of requirements and may result in done() call, so showMessage is undesired, but it was already planned)
InputProliferate moved to separate file
Reverted 20840
2013-04-06 08:15:42 +00:00
swordshine
53a2ef4ee9 - Added Attached Trigger
- Added Bramble Elemental, Oathkeeper, Takeno's Daisho and Shieldmage Elder
2013-04-06 08:06:12 +00:00
Maxmtg
43cbf9edc3 fix NPE for unleash (and other triggers) 2013-04-06 08:03:03 +00:00
Hellfish
2c438afdb4 *Converted QuestWinLose.awardBooster() from raw ListChooser access to GuiChoose methods. (Fixes end of Quest games crash) 2013-04-06 07:21:06 +00:00
Maxmtg
5ef8762b00 Move ViewWinLose invocation to EDT 2013-04-06 07:15:23 +00:00
Maxmtg
8c0c8633b8 Myr Superion added (no restrictions imposed on AI) 2013-04-06 07:08:32 +00:00
Sol
0bef956988 - Looks liek CardFactory was hiding in a different changelist 2013-04-06 03:33:57 +00:00
Sol
1ad54e4c21 - Converting Grindstone to Script 2013-04-06 02:25:34 +00:00
Maxmtg
0be4ad70da Infrastructure for Myr Superion (part 1) - added alt syntax for mana cost: Mana<3 U W\Creature> - backslash is intentional 2013-04-05 22:01:32 +00:00
Sloth
34fdc57c2c - The AI will once again pay the unless cost of Fallow Wurm and friends.
- Converted Avatar of Discord to unless cost.
2013-04-05 21:32:21 +00:00
Sloth
ede20d7001 - Re-added Shockland AI. 2013-04-05 21:09:49 +00:00
Maxmtg
90a0992fbe Shocklands - ETB replacement scripted. 2013-04-05 20:14:24 +00:00
Maxmtg
a4ff971461 Removed hardcode for Lorwyn duals, their ETB replacement effects scripted.
glint_hawk.txt script changed to use less lines and UnlessCost$ mechanism
2013-04-05 20:04:40 +00:00
Maxmtg
9f6c077fd0 Some infrastructure to script Lorwyn dual lands 2013-04-05 19:57:20 +00:00
Sloth
08f8c70bdd - More Improvements of AI playing equipments. 2013-04-05 17:34:49 +00:00
Maxmtg
b39ba46d45 moved AI decision making about unless cost to AI-related class.
Simplified the resolution
2013-04-05 14:42:56 +00:00
Sloth
625efdf7f1 - Improved AI playing equipments. 2013-04-05 11:33:10 +00:00
Maxmtg
8b815eba16 and now a correct one! 2013-04-05 10:29:11 +00:00
Maxmtg
5430a5f119 won't ask to pay X twice 2013-04-05 10:25:51 +00:00
Maxmtg
aac8e6945b Removed bare call to JOptionPane from code executed outside of EDT, also used a common input instead of a special one 2013-04-05 09:45:37 +00:00
swordshine
059fb54559 - Added Dual Nature 2013-04-05 09:28:20 +00:00
moomarc
010c7672ba - Made some cards ready for multiplayer
- minor style cleanup
2013-04-05 08:42:48 +00:00
swordshine
7b8c6def06 - Added Imp's Mischief 2013-04-05 08:09:35 +00:00
moomarc
e357598c0a - Missed file in previous commit 2013-04-05 07:50:30 +00:00
Maxmtg
f71395a303 wrapped calls to JOptionPane in effects 2013-04-05 06:53:03 +00:00
Maxmtg
4e85736756 FThreads - renamed methods that plan tasks for EDT.
all calls to CMatchUI.setCard have to be performed from EDT, otherwise an exception will raise. - this fixes problems with Goblin Guides and Inquisition of Kozilek (and all others whose effects displayed a card in UI to confirm or choose from list)
2013-04-05 06:22:25 +00:00
swordshine
65606caaff - Vanguard: Frenetic Efreet Avatar
- Plane: Windriddle Palaces
2013-04-05 04:38:57 +00:00
Maxmtg
092154b0f0 FThreads.checkEDT renamed and no longer requires a parameter with calling method name, since it can be derived from current stack trace. 2013-04-05 04:07:03 +00:00
Sol
018729fbcd - When copying a spellAbility, make sure to copy all subabilities as well, and appropriately set the Source Card 2013-04-05 03:45:20 +00:00
Maxmtg
3e3d7f2915 rem imports 2013-04-05 02:08:15 +00:00
Sol
b78dfa7cea - Added ChangeTargets Ability Effect
- Added Swerve as ChangeTargets example of both ChangeTargets and singleTarget
2013-04-05 00:33:28 +00:00
myk
a3704de0f6 merge latest trunk 2013-04-04 18:35:08 +00:00
Sloth
a117cb53c3 - Added AI support to BecomesBlocked. 2013-04-04 13:23:01 +00:00