Commit Graph

6053 Commits

Author SHA1 Message Date
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
Sloth
cc245d2a98 - Added BecomesBlocked abilities.
- Added Curtain of Light and Dazzling Beauty.
2013-04-04 12:52:52 +00:00
Maxmtg
dd8a60a9af won't crash with empty strings 2013-04-04 12:50:51 +00:00
Sloth
92428d93d1 - Fixed a possible NPE in destroyNoRegeneration. 2013-04-04 11:22:36 +00:00
swordshine
90e3a9cefc - Added Harsh Mercy and Kamahl's Summons
- Vanguard: Karona, False God Avatar
2013-04-04 10:41:09 +00:00
swordshine
4ab1ace4d3 - vanguard: Added Kresh the Bloodbraided Avatar
- Added Karmic Justice
2013-04-04 10:39:07 +00:00
swordshine
4e57d64659 - Converted Nebuchadnezzar and Brilliant Ultimatum 2013-04-04 10:31:03 +00:00
Maxmtg
0dc4bb0f10 stack descriptions for spells with X in cost fixed (X is displayed correctly) 2013-04-04 07:10:56 +00:00
Sloth
27ae91a1cf - Cleanup of Combat class.
- Added some infrastructure for "BecomesBlocked" effects.
2013-04-04 06:59:03 +00:00
Maxmtg
8124378853 limited announce list to 9 due to harder selection of numbers above 10 2013-04-04 06:28:39 +00:00
Maxmtg
e518027ff5 combineCosts - bugfix 2013-04-04 06:12:33 +00:00
Maxmtg
5b98f34a6d focus on OK after creature selection 2013-04-04 06:01:57 +00:00
Maxmtg
f333535721 joinHomogenous 2013-04-04 05:56:18 +00:00
Maxmtg
e1d1bb45d6 removed language routines from GameState, moved to land library. 2013-04-04 05:43:14 +00:00
Maxmtg
628260b1fb minor rearrange of statements 2013-04-04 05:26:32 +00:00
Maxmtg
16414982a8 the 'state' of GameState added - named it GameAge
this should prevent wrong inputs before mulligan (problem reported by sol)
2013-04-04 05:16:46 +00:00
Maxmtg
3b88eae063 InputControl.java - getActualInput: moved stack extraction to top. so that mulligan input is returned only with empty stack. 2013-04-04 04:28:04 +00:00
Maxmtg
43553e7b3b Sacrifice effect will try to include SacValid$ into message for easier understanding of what input wants you to do 2013-04-04 04:25:30 +00:00
Maxmtg
609f99a2b6 BugReporter will print crashed thread ID 2013-04-04 04:24:17 +00:00
Sloth
e5b20fbb8a - runWaitingTriggers will now call checkStaticAbilities before triggers are checked (experimental). 2013-04-03 22:05:42 +00:00
Maxmtg
e3eb4dd972 simultaneous announces for X and multikicker work now.
Comet storm scripted, Strength of Tajuru scriptable.
possible side effect: AI can may become unable to cast spells with X in their cost. (see ComputerUtilMana.java:242)
2013-04-03 20:59:31 +00:00
Maxmtg
d4d19f4f65 Tested consume_spirit.txt with Announce with X that must be colored - works! 2013-04-03 19:12:55 +00:00