Commit Graph

6795 Commits

Author SHA1 Message Date
Maxmtg
c8af23124c quest tokens won't suffer from sickness 2013-04-09 09:55:01 +00:00
Maxmtg
9099176144 card class clean up.
cards will determine their ability to flip or transform by presence of a matching altername state
2013-04-09 09:54:44 +00:00
swordshine
eca7b00013 - DGM: Master of Cruelties 2013-04-09 08:53:21 +00:00
Maxmtg
0644989719 Remove setStateAll effect,
Removed duplicate code in SetState
Removed flipped variable from Card class - it will use current state to determine its flipped state
2013-04-09 08:47:20 +00:00
swordshine
de9498790c - Added Chance Encounter 2013-04-09 08:32:42 +00:00
Maxmtg
b8e92ef7e5 removed some variable.matches("[0-9][0-9]?") in favour of StringUtils.isNumeric and AbilityUtils.calculateAmount (that handles plain numbers correctly) 2013-04-09 06:49:40 +00:00
Maxmtg
1e38f101d5 added a method getParamOrDefault (to save all that hasParam with subsequent call to getParam) 2013-04-09 06:36:46 +00:00
Maxmtg
e66ad294fb InputProxy - debug texts can be enabled with a variable
AbilityUtils - adjust order of checks
removed unused imports
2013-04-09 06:35:00 +00:00
Sloth
50ca7b68e0 - Rewrote Epic ability. 2013-04-08 20:12:14 +00:00
Maxmtg
1d6ea63cf1 build fuse ability moved to ability/AbilityFactory.java
had to copy svars from sides to joined 'original' card in order to support cards like Beck//Call from http://www.slightlymagic.net/forum/viewtopic.php?p=114908#p114908
2013-04-08 19:24:03 +00:00
Maxmtg
4b539a71ed Adjust texts for fuse 2013-04-08 10:06:30 +00:00
Maxmtg
30ad587769 'Fuse' Keyword support for DGM
CostUtil.java disbanded, it's method moved closer to usage places.
2013-04-08 09:29:25 +00:00
Maxmtg
da6e2f55fe Added EDT guard to ImageCache.getImage to track down possible reasons for http://www.slightlymagic.net/forum/viewtopic.php?p=114857#p114857 2013-04-08 07:44:42 +00:00
Maxmtg
2511bda8bc Removed 'YChoice' from game. - Tetravus may use the same variable X (it's cleared after resolve) no other cards used it
Fixed NPE in announce code for costs that do announce but have no manacost (ab of simic manipulator)
2013-04-08 07:38:49 +00:00
Maxmtg
3549a29040 arranged counters to put the most used on top of the list (and thus make parse faster), removed useless javadocs 2013-04-08 06:58:34 +00:00
Maxmtg
ba3d04010e Molten hydra fix (calculateAmount had incorrect order of if-else and returned 0 for CostRemoveCounter too early) 2013-04-08 06:24:21 +00:00
swordshine
1b71f3a409 - Added Rain of Gore 2013-04-08 05:13:24 +00:00
Maxmtg
e9c61b6fcd for molten hydra 2013-04-08 00:03:26 +00:00
Maxmtg
30d20195c8 allow cancel for rem counter cost 2013-04-07 23:57:35 +00:00
Maxmtg
d86480e3f2 fix costs for planeswalker 2013-04-07 23:53:06 +00:00
Maxmtg
ae06422531 cost removecounter - needs testing 2013-04-07 23:48:19 +00:00
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