Commit Graph

6224 Commits

Author SHA1 Message Date
Maxmtg
f1b1100c89 minor improvements to chat window 2013-04-17 11:58:31 +00:00
Maxmtg
4c4430e793 Chat window - messages now appear in the list above (but it's still disconnected from network part)
Dealt with Command class - now it's method is called run and the interface extends Runnable.
All UI-related calls may be switched
2013-04-17 11:48:06 +00:00
swordshine
ce8ac3fcdd - DGM: Notion Thief 2013-04-17 11:08:30 +00:00
Maxmtg
85a42f0670 cards with Suspend X didn't ask for X to pay 2013-04-17 10:53:05 +00:00
Maxmtg
63321510eb Added a kinda console to display messages coming from network 2013-04-17 10:34:18 +00:00
Maxmtg
12090a6bd7 xCount refactored 2013-04-17 07:57:59 +00:00
Maxmtg
1d582a48b1 worldheart_phoenix - do not create custom requirements please, use built-in value calculation 2013-04-17 05:44:34 +00:00
swordshine
6e8a4f70bc - Added Worldheart Phoenix (CFX set is 100%) 2013-04-17 04:54:17 +00:00
swordshine
db2327557f - Vanguard: Added Ink-Eyes, Servant of Oni Avatar and Maralen of the Mornsong Avatar 2013-04-17 04:48:36 +00:00
Maxmtg
a77dd8c547 cost adjustments moved closer to payment (by human)
X/MK have to be announced to have their costs reduced.
2013-04-16 20:37:51 +00:00
Maxmtg
4d7b221eb5 Rumbling Aftershocks implemented 2013-04-16 19:42:41 +00:00
Maxmtg
44554441ea OptionalCosts (Buyback, Kicker, AltCost) moved to EnumSet (there was a string list)
intrinsic abilities renamed to unparsed ones,
getMultiKickerMagnitude is getKickerMagnitude, it returns 1 for simple Kickers now
Kicker syntax changed,
AltCost avaiable to check on triggers
2013-04-16 17:53:51 +00:00
Maxmtg
6f9be4ff8f Mana cost additions were incorrect - X was discarded! 2013-04-16 17:25:12 +00:00
Maxmtg
4a6834a9cb optional cost minor refactor 2013-04-16 07:46:32 +00:00
Sloth
6baf8cf43b - Cleanup. 2013-04-16 07:20:34 +00:00
Sloth
66846b4d0b - Fixed a possible NPE created by changeHiddenOriginResolveAI. 2013-04-16 07:13:12 +00:00
swordshine
87238a1d4d - DGM: Added Goblin Test Pilot 2013-04-16 04:46:41 +00:00
Sol
81b3cbb5dd - Apparently the conversion to predicate presets in new quest creation failed to adhere to monocolored requirements, leading to too many multicolored cards in a new quest 2013-04-16 01:06:02 +00:00
Maxmtg
d3571f81af CostExile: inputs converted to common routines, they execute doPayment from the right thread, do not lock UI
GameNew: rem imports
2013-04-15 20:40:23 +00:00
Maxmtg
2b5baa2075 remove debug output from sideboarding 2013-04-15 18:22:39 +00:00
Maxmtg
d8f2f74fba simplify VMatchUI.populate 2013-04-15 15:03:54 +00:00
Maxmtg
99fd571e00 sending CField updates to a propper thread.
minor optimizations for the rest
2013-04-15 11:04:05 +00:00
Maxmtg
d054621e45 removed extra parameters from spell and payMana constructors
pre-reqs to make payCost in spellAility not null and final
2013-04-15 10:16:16 +00:00
Sloth
90ff68282b - Added safety check in choosePermanentsToSacrifice. 2013-04-15 08:43:13 +00:00
Maxmtg
46ffa1c4f0 moved console update to EDT thread, this should solve NPE from http://www.slightlymagic.net/forum/viewtopic.php?p=115484#p115484 2013-04-15 08:37:40 +00:00
Maxmtg
4143c472ff removed manaCost from SpellAbility, use payCost instead.
removed Card arguement from Cost ctor
2013-04-15 08:31:37 +00:00
Maxmtg
1a721fc2b0 Cost.combine(c1,c2) was modifying its argument c2. That would lead to bugs in propaganda effects. The method was replaced with Cost.add(c1) that adds c1 to this (and the current cost is obvously changed) 2013-04-15 07:16:10 +00:00
Sol
d110c283ab - Blockers with Trample should not open the AssignDamage dialog when there is only one creature it's blocking 2013-04-15 03:18:56 +00:00
Sloth
56c2bff69f - Fixed possible NPE's caused by Haunt. 2013-04-14 21:47:26 +00:00
Hellfish
0a656dc1da *Potential base for Partial Paris AI 2013-04-14 18:58:48 +00:00
Sloth
6502684f3c - Added the static ability "CantBlockUnless".
- Added Cowed by Wisdom.
2013-04-14 14:01:27 +00:00
Maxmtg
f214be71bf code formatting,
client lines coloring
2013-04-14 12:34:34 +00:00
Maxmtg
0d3a727610 Changed interfaces to acquire players for lobby - human uses a single LobbyPlayer for all games.
NetClient now adds its player to lobby
2013-04-14 11:33:20 +00:00
Maxmtg
07fbc7c6a9 removed superclass for packet, interface looks better 2013-04-14 10:59:04 +00:00
Maxmtg
3eed2f993b Server instance moved to FControl,
HomeUI buttons get enabled/disabled to indicate server status
Server - clientstates form a chain of responsibility for packets processing
packets for autorization (no checks performed, used to get player's name)
2013-04-14 10:51:04 +00:00
Maxmtg
91a748cb1c CostRemoveCounter assigns cntRemoved for correct AI payment 2013-04-14 09:11:55 +00:00
Sloth
40fd711421 - Fixed AI not paying CostRemoveCounter costs. 2013-04-14 08:31:09 +00:00
Maxmtg
0f8db69b53 Start server button - hidden into devmode 2013-04-13 22:54:12 +00:00
Maxmtg
891cfd3e6b +start server button 2013-04-13 22:43:20 +00:00
Maxmtg
cac89ede5a Server incubation 2013-04-13 22:00:41 +00:00
swordshine
01d9afd089 - ChooseCardNameEffect changes for Council of the Absolute 2013-04-13 08:00:39 +00:00
Maxmtg
2dcb365841 Allow cancel for sacrifice cost payment - http://www.slightlymagic.net/forum/viewtopic.php?p=115356#p115356 2013-04-13 07:17:13 +00:00
Sloth
59f44c34f4 - Improved checkRemoveCounterCost. 2013-04-13 06:32:59 +00:00
Maxmtg
145a0ce441 fixes comodification exceptions (like http://www.slightlymagic.net/forum/viewtopic.php?p=115346#p115346 and viewtopic.php?p=114582#p114582) 2013-04-13 05:20:54 +00:00
swordshine
433809d94c - Added TriggerEvolved 2013-04-13 01:25:27 +00:00
Maxmtg
e0007dcb03 GameLossReason moved to player package, since it's individual per player and to avoid confusion with GameEndReason 2013-04-12 19:53:08 +00:00
Sloth
d6761a852c - Fixed Epic Effect's EffectZone. 2013-04-12 17:53:52 +00:00
Maxmtg
7930167469 that nice toString overload broke some cards - reverting 2013-04-12 09:09:57 +00:00
Maxmtg
5a386afeb6 make sure copyOnWriteArray list does not get overwritten by other structure 2013-04-12 07:38:00 +00:00
Sol
0078da8ea3 - Reverting wait till Spell resolution to remove SA, since for some reason the SAs for AIs optional triggers aren't matching for some reason. (AI Goblin Arsonist issue) 2013-04-12 03:26:15 +00:00