Commit Graph

5742 Commits

Author SHA1 Message Date
swordshine
1a6e17f307 - Converted other cards with "Target creature can't block CARDNAME this turn" 2013-04-01 00:34:03 +00:00
swordshine
f648f97c72 - Simplified scripts of Burning-Tree Bloodscale and Auriok Siege Sled 2013-04-01 00:30:53 +00:00
swordshine
d1cb0b3aa1 - Currently no card has keyword "CARDNAME can't have -1/-1 counters placed on it.", replaced with canHaveCountersPlacedOnIt 2013-04-01 00:27:38 +00:00
Maxmtg
05f3ef372d fixed UI for announce.
Announced cost for cards with XX like entreat the angels are paid correctly
2013-03-31 21:31:46 +00:00
Maxmtg
1aaf6c5a08 Cost*: removed 4 parameters needless from canPlay() method
also removed excessive parameters in their callers
2013-03-31 18:50:30 +00:00
Maxmtg
db1131143b a more unified code to pay costs during resolve 2013-03-31 18:22:54 +00:00
Maxmtg
a221a820d0 Discard will accept both min and max parameters 2013-03-31 18:22:24 +00:00
Sol
0c62ffa4ce - AI will now accept PeekAndReveal triggers for cards like Wolf-Skull Shaman (since this is important for the Spock quest deck) 2013-03-31 15:28:29 +00:00
Maxmtg
336084ec33 button will not flash 2013-03-31 13:16:05 +00:00
Maxmtg
69dd8af584 Added another class to indicate auto-pass of priority and keep the passPriority call in right thread (that is non-edt)
InputBase has player field and that passPriority method,
2013-03-31 10:49:35 +00:00
Maxmtg
750226b60f revert previous change - because game won't start with it 2013-03-30 18:12:34 +00:00
Maxmtg
cf3db753c4 removed global references in 2 files 2013-03-30 17:32:57 +00:00
swordshine
c238925c22 - Added Koskun Falls 2013-03-30 12:37:09 +00:00
myk
a7d6ca68f9 fix build errors on java 6 2013-03-30 09:01:42 +00:00
Hellfish
7e5701953b *Added Color Identity checks 2013-03-30 08:04:17 +00:00
swordshine
df82cd3fb4 - Added Soulbright Flamekin 2013-03-30 04:59:02 +00:00
Maxmtg
66afdd9c22 revert 20668
set Morphs visible to player flippable on CPicture and CDetail
If you mouse over a card with SHIFT pressed, MatchUI will attempt to show you the other side of a card.
2013-03-29 21:17:52 +00:00
myk
780ed417c7 show front face of facedown cards in VPicture when player can legitmately look at them 2013-03-29 17:47:02 +00:00
Maxmtg
79e5b5ef10 correcting import in DiscardEffect.java 2013-03-29 13:18:24 +00:00
Maxmtg
ac31e95453 prepared a ground to run AI inputs skipping EDT thread 2013-03-29 09:13:27 +00:00
Maxmtg
d2cb50a760 Last input converted 2013-03-29 09:01:52 +00:00
Maxmtg
188096fcbc Input discard N or 1 of type X - made synchronous 2013-03-29 08:00:23 +00:00
Maxmtg
6293da1247 Brand new shiny InputProliferate. 2013-03-29 07:33:35 +00:00
Maxmtg
38e40ed2c0 InputSelectManyBase - gave some methods cleared names, adjusted input responsible for Modular ability 2013-03-29 06:35:08 +00:00
Maxmtg
97b418c9de renamed input classes, used a common branch in modular 2013-03-29 06:21:51 +00:00
Maxmtg
8a20bafd67 TangleWires input updated 2013-03-29 05:51:23 +00:00
Maxmtg
2fee08bfe6 using InputSelectCards instead of old one 2013-03-29 05:42:34 +00:00
Maxmtg
0971a0e6f4 Inputs from PlayerUtil.java - either moved closer to (single) usage - not changed to sync yet, or replaced with InputSelectCards
Removed different invocations of discard, moved meaningful code to DiscardEffect.java where its callers are.
2013-03-29 05:35:35 +00:00
Maxmtg
93c438c24b reveal cost payment will really reveal cards to players. 2013-03-29 04:39:41 +00:00
Maxmtg
78389e4d2e +2 hardcoded inputs to synchronized 2013-03-28 21:29:41 +00:00
myk
b07e940665 after import source analysis, disable checkboxes that have 0 operations associated with them 2013-03-28 21:27:14 +00:00
Maxmtg
093e928715 modularInput 2 synchronized 2013-03-28 21:12:12 +00:00
myk
4dcaa82986 rename Migration* to Import* to better match their long-term purpose 2013-03-28 21:07:04 +00:00
Maxmtg
05f5976e0d removed 1 old input class 2013-03-28 21:04:37 +00:00
myk
0204c79c1d add importer option for including pictures in set-specific card directories that don't map to any currently known card. this handles the case where people have collected complete sets of pics in anticipation of when Forge supports them 2013-03-28 21:02:04 +00:00
Maxmtg
9e4aa72b15 Win duel event uses lobby player, match does not make difference. 2013-03-28 20:28:48 +00:00
Maxmtg
16a90b3130 Click on window close button when WinLoseScreen is shown will perform as 'Quit' 2013-03-28 20:27:51 +00:00
Maxmtg
bfeb078723 UntapY cost uses common input and is aware if source can be untapped 2013-03-28 20:14:48 +00:00
Maxmtg
3bdf5a4ad5 discard, even with triggers, won't cause exceptions 2013-03-28 18:20:01 +00:00
myk
68e9c6b632 fix human/ai avatars switching on save/load and fix ai avatar in non-quest match appearing as the unknown icon 2013-03-28 17:36:10 +00:00
moomarc
9da6f43379 - Made a few more cards multiplayer-ready
- Improved OpponentTurn restrictions and conditions for multiplayer
2013-03-28 13:59:56 +00:00
Maxmtg
4febcc2554 Correct detection of player when playing InputPayManaExecuteCommands (used by all that propagandas)
Pay X mana (when spell is about to hit stack) is made by payManaX - it might have problems paying costs like 2XX
2013-03-28 08:59:06 +00:00
Maxmtg
98a539f23a Costs no longer keep AI's choice in the CostPart class,
CardList has filter method to apply 2 filters sequentially
Untap: old inputs replaced with synchronized ones.
InputProxy - using an AtomicReference to hold current input, just in case.
2013-03-28 08:14:13 +00:00
swordshine
564c97571b - Added Grifter's Blade 2013-03-28 05:33:54 +00:00
swordshine
d048f06c7c -- Added Konda's Banner and O-Naginata 2013-03-28 04:47:58 +00:00
swordshine
04e461f275 - Added a plane: Sea of Sand 2013-03-28 00:28:33 +00:00
Maxmtg
c29b4d02d7 cleanup in CostPayment 2013-03-27 20:49:43 +00:00
Maxmtg
0d143f055b payment code slightly unified.
added immediate return if player can't pay
2013-03-27 20:21:57 +00:00
Maxmtg
ddb952ea30 in payCostDuringAbilityResolve used CostPartWithList overloads to execute the action needed to pay.
addListToHash - removed second parameter, since it can be obtained from the same instance.
2013-03-27 19:38:24 +00:00
Maxmtg
0821dd0323 rem import 2013-03-27 17:41:38 +00:00