Commit Graph

20497 Commits

Author SHA1 Message Date
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
89b81fc689 Triggers now check if altcost was used to pay - results in simplier scripts 2013-04-16 17:55:00 +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
33ade082ab 12 Cards with alternative kickers have different syntax now (code will follow)
+Illuminate
2013-04-16 17:43:19 +00:00
Maxmtg
6f9be4ff8f Mana cost additions were incorrect - X was discarded! 2013-04-16 17:25:12 +00:00
Maxmtg
78a75188cb No more cards use SetAsKicked keyword, code changes will follow soon 2013-04-16 15:21:33 +00:00
Chris
0c29b085e7 - Added a fluff piece to the changes.txt file. 2013-04-16 14:36:52 +00:00
Maxmtg
441b80c4df switched 3 cards to use Condition$ Kicked instead of SetAsKicked 2013-04-16 14:27:46 +00:00
Chris
4df88925b2 - Added a fluff piece to the changes.txt file. 2013-04-16 12:18:56 +00:00
Chris
4ee5e5ac0c - Added new card names to changes.txt. 2013-04-16 11:36:19 +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
e67da9cdec - DGM: Blood Baron of Vizkopa
- Some cards with "an opponent has 10 or less life, ..." use "PlayerCountOpponents$LowestLifeTotal" now
2013-04-16 06:40:54 +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
Sloth
11b61962a1 - Updated some quest decks. 2013-04-15 20:34:18 +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
Chris
52cfa9657b - Added new card names to changes.txt. 2013-04-15 10:47:43 +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
RumbleBBU
98b1e3bb30 Added missing set info to two in-play cards in a Jamuraa challenge. 2013-04-15 05:25:02 +00:00
swordshine
f86339d9e7 - Fixed Fold into AEther 2013-04-15 04:38:52 +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
7bf79be1e4 - Added Hipparion. 2013-04-14 14:12:25 +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
Chris
44ca43c121 - Added a fluff piece to the changes.txt file. 2013-04-14 11:42:50 +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
Chris
7f50bb3515 - Added new card names to changes.txt. 2013-04-14 10:45:06 +00:00
Maxmtg
91a748cb1c CostRemoveCounter assigns cntRemoved for correct AI payment 2013-04-14 09:11:55 +00:00
Sloth
3c4cebb398 - Fixed Exsanguinate. 2013-04-14 08:45:36 +00:00
Sloth
40fd711421 - Fixed AI not paying CostRemoveCounter costs. 2013-04-14 08:31:09 +00:00
Sloth
d00599e774 - Fixed Cabal Interrogator. 2013-04-14 08:23:09 +00:00
Sloth
620cde415b - Fixed Phantasmal Terrain. 2013-04-14 07:08:10 +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
Maxmtg
9c032e8d27 commit a prototype client for websocket protocol (able to send and show messages from socket only) 2013-04-13 21:48:12 +00:00