Commit graph

2816 commits

Author SHA1 Message Date
North
9a9567c359 [refactor][minor] removed redundant parameter when creating counters with count = 1 2014-05-31 19:14:10 +03:00
North
ca1af753eb [refactor] removed BoostCounter implementations 2014-05-31 18:43:05 +03:00
North
2d102349fd [refactor] deleted Counter implementations (except BoostCounter) 2014-05-31 18:17:51 +03:00
North
519754a96c [refactor] removed dependency to Counter implementations (except BoostCounters) 2014-05-31 17:48:04 +03:00
North
545e4298b7 [refactor] removed generic from Counter 2014-05-31 17:11:11 +03:00
LevelX2
da3936abfb Fixed tooltip text of Resistance Fighter, Crimson Hellkite and Maze of Ith. 2014-05-31 11:06:07 +02:00
LevelX2
90d516f15d * Stromgald Cabal - Fixed that he could counter blue spells instead of correctly white spells. 2014-05-31 10:48:03 +02:00
LevelX2
4fec6e4d7b Made some targets required. Added message to replacement effect of Cavern of Soul to inform player being not able to counter. 2014-05-30 22:46:26 +02:00
LevelX2
94d8ff554f Fixed some tooltip texts and display of choosen color in tooltip. 2014-05-30 21:21:17 +02:00
LevelX2
99a60c3063 * Progenitor Mimic - Fixed a bug that the every turn created token did not trigger "enters the battlefield" tiggers that checked for specific attributes. Added Test for that. 2014-05-30 20:26:30 +02:00
LevelX2
1ae85dc1b4 Some minor formatting. 2014-05-30 18:39:32 +02:00
LevelX2
0e71ac5e53 * Tournament handling - Fixed player handling for swiss tournament. No more quit sound or stat eif player already finished the tournament correctly. 2014-05-30 15:43:59 +02:00
LevelX2
95b9507c0c Added missing change of Flashback - cost modification fix. 2014-05-30 15:03:06 +02:00
LevelX2
83be13a68b * Flashback - Fixed that cost midification effects was applied twice for flashbacked spells. 2014-05-29 16:42:27 +02:00
LevelX2
5c1ffb5942 Some changes to game log messages. 2014-05-29 10:56:16 +02:00
LevelX2
2d7c9a0e1f * Hideaway - Fixed that the hidden card stayed wrongly in face down state as it was played. 2014-05-29 10:50:05 +02:00
LevelX2
8bd3109c87 * Fixed some game locking loops if a player concedes while resolving an effect (e.g. Scry, Discard). Some changes to game log for info about moving cards to library. 2014-05-29 10:27:52 +02:00
LevelX2
dad109b88e * Control player - Fixed the phase names shown to the controlled player (fixes #415). 2014-05-28 17:29:04 +02:00
North
b456770e9c now multiple client instances are supported 2014-05-28 07:46:38 +03:00
LevelX2
944bebbe16 Fixed a spelling error on the shuffle info message. 2014-05-28 01:04:35 +02:00
LevelX2
c13f7a2115 * Mana pool handling - Fixed bug where wrong playerId was used. Fixed that menu check state is the same for all GamePanles of client. 2014-05-27 16:54:38 +02:00
LevelX2
d9e4e99a0f Some changes to manual mana pool handling. 2014-05-27 08:37:16 +02:00
LevelX2
a15deab99d Fixed canPlay method to care abou alternate casting costs. 2014-05-26 16:59:06 +02:00
LevelX2
63208c33ed Fixed canPlay method to care abou alternate casting costs. 2014-05-26 16:58:49 +02:00
Quercitron
b007242761 Fix mulligan process (rule 103.4) 2014-05-26 03:21:14 +04:00
LevelX2
2652316421 Some changes to handling of triggered effects and player response. 2014-05-25 13:53:32 +02:00
North
dbc066c998 [refactoring] removed generic from TargetCreaturePermanent 2014-05-24 22:40:35 +03:00
LevelX2
0443311f0e Fixed some handling problems of triggered abilities. 2014-05-24 21:10:56 +02:00
LevelX2
b572e8c7d6 Some changes to prevention effects. 2014-05-24 19:21:33 +02:00
LevelX2
969aca4b2c Merge origin/master 2014-05-24 19:19:45 +02:00
LevelX2
7fc072f467 * Fixed a bug that effects where applied to early and often (e.g. dying creature during combat damage step raised Nighthowlers tougness, so he survived lethal damage). 2014-05-24 19:19:08 +02:00
North
b97af752a6 Merge remote-tracking branch 'origin/db-change' 2014-05-24 18:43:00 +03:00
LevelX2
71fb7bf25b Added context menu to switch between manual and automatic usage of the mana in mana pool. Manual usage is done by clicking on the mana symbol in the player panel. Still some fine tuning to do. 2014-05-24 02:56:35 +02:00
Quercitron
90756d1e5e Add EachOpponentLosesYouGainSumLifeEffect 2014-05-23 23:49:39 +04:00
Quercitron
613a71393e Add LookAtTargetPlayerHandEffect 2014-05-23 23:48:58 +04:00
Quercitron
e8a8bcec2c Add TapLandForManaAllTriggeredAbility 2014-05-23 23:48:40 +04:00
Quercitron
d7489789d9 Add TurnId to GameState (for Final Fortune card) 2014-05-23 23:48:13 +04:00
LevelX2
19ccd5bc23 * Asceticism - Fixed a bug that no real Hexproof ability was gained (this fixed the problem with the failing PhantasmalImageTest). 2014-05-23 16:06:35 +02:00
LevelX2
90f4c2ea05 SetPowerToughnessAllEffect - Fixed a bug that the effect did not work correctly for static abilities. 2014-05-23 08:28:14 +02:00
Plopman
ad93de847a Added depletionCounter 2014-05-22 18:26:58 +02:00
North
d3046a9a0d changed DB from SQLite to H2 2014-05-22 17:53:13 +03:00
LevelX2
e83ca77b13 * Tezzeret, Agent of Bolas - Fixed that the second ability did overwrite all already existing abilities of the target artifact. 2014-05-22 16:26:21 +02:00
LevelX2
0d8325bc79 Fixed that if a creature get attached to an object (e.g. because equipment becomes a creature), it gets unattached. 2014-05-22 16:25:22 +02:00
LevelX2
b4903488b6 Added SetPowerSourceEffect. Some changes to SetPTSourceEffect calsses. 2014-05-21 08:35:19 +02:00
Quercitron
357308a265 [6ED] Add 4 cards 2014-05-19 13:03:41 +04:00
Quercitron
225118a585 Add ModeChooser to Modes (rule 700.2d) 2014-05-19 13:02:31 +04:00
Quercitron
02b1b0f3f6 Add SpellsCostIncreaseEffect 2014-05-19 13:00:30 +04:00
Quercitron
95863a43f6 Add onlyCombat parameter to PreventDamageByTargetEffect and PreventDamageToTargetEffect effects 2014-05-18 17:00:00 +04:00
LevelX2
e484da4028 Small text change to commander info. 2014-05-18 11:06:11 +02:00
LevelX2
2fdc9498fe Merge origin/master 2014-05-18 09:49:34 +02:00
LevelX2
9fef18af99 Increased card repository version for 2014-10-05v2 dev release. 2014-05-18 09:48:44 +02:00
Plopman
af81914d74 Fixed ReturnToHandChosenControlledPermanentEffect text 2014-05-17 19:14:36 +02:00
LevelX2
da1b8df87d Added 6 cards. 2014-05-17 19:02:04 +02:00
LevelX2
d0e22d48d9 [MIR] Added 7 lands. 2014-05-17 19:01:35 +02:00
LevelX2
20f61b6c79 Fixed bug in game log (combat). 2014-05-17 18:13:44 +02:00
Quercitron
249c9f09ed Add numberCardsToDiscard parameter to DiscardCardYouChooseTargetEffect 2014-05-17 16:17:02 +04:00
Quercitron
f7f67713ef Add RevealHandTargetEffect 2014-05-17 16:13:24 +04:00
LevelX2
d6acd43724 Added 7 cards. 2014-05-17 12:06:35 +02:00
Quercitron
8f2d3d8655 Add PreventAllDamageToAndByAttachedEffect 2014-05-16 02:15:07 +04:00
LevelX2
76402133ab Fixed CantCastMoreThanOneSpellEffect. 2014-05-15 23:04:16 +02:00
LevelX2
5a0a080441 * Eidolon of Rhetoric - Fixed not working cast restriction. 2014-05-15 17:07:31 +02:00
Quercitron
777e25b586 [6ED] Add 5 cards 2014-05-15 02:33:26 +04:00
Quercitron
ebf4c5ba57 Add ReturnToBattlefieldUnderOwnerControlAttachedEffect 2014-05-15 02:29:26 +04:00
LevelX2
ce01d8cf25 * P/T defining static abilities - Fixed that the P/T is also set for the card if it's not a permanent (e.g. fixes that targeting a Nighmare with Margue Burst did always no damage). 2014-05-14 16:17:29 +02:00
LevelX2
d89970afde Some minor formatting. 2014-05-14 16:14:09 +02:00
LevelX2
4ccc85573f * Grand Abolisher - Fixed missing tooltip text. 2014-05-14 00:15:53 +02:00
LevelX2
7ae6054c1e * Added missing changes to commit 06eaa5ab99. 2014-05-13 19:26:51 +02:00
LevelX2
5cc9e22bd5 Fixed token image handling for Rat token. 2014-05-12 15:30:55 +02:00
LevelX2
765652b74b * Iroas, God of Victory - Fixed a bug that all damage to controlled creatures was prevented instead only to attacking creatures you control. 2014-05-12 08:43:24 +02:00
LevelX2
06eaa5ab99 * Added possibility for continuous layer effects to add static abilities (e.g. Flash) to non static cards. 2014-05-11 20:48:11 +02:00
LevelX2
2a2c817d8e * Venser, Shaper Savant - Fixed a bug that only creatures could be targeted. 2014-05-11 20:41:22 +02:00
LevelX2
bfa0922dc2 * Epic - Added info message that player can't cast spell because of Epic effect. 2014-05-11 20:40:02 +02:00
LevelX2
e93cd580dd * Fixed that player turn counter was not reset if game was reset (e.g. Karn Liberated). 2014-05-10 18:21:22 +02:00
LevelX2
8e56d06121 * Geju of the Fiels, Raging Ravine fixed that the given triggered ability was wrongly only given one time instead as often the activated ability was used. 2014-05-10 18:01:41 +02:00
LevelX2
8a4474fadc * Evoke - Fixed that the check if creature came into play with evoke was always true if it came again to play later when it was evoked before. 2014-05-10 17:05:52 +02:00
LevelX2
29c7354bb4 * Fixed some bugs in damage prevention handling. 2014-05-10 11:34:11 +02:00
Quercitron
b746bf108a [6ED] Add 4 cards 2014-05-10 03:35:42 +04:00
Quercitron
ef571dc00f Add PreventDamageSourceEffect 2014-05-10 03:29:08 +04:00
LevelX2
89aa727e05 Some minorlog changes. 2014-05-07 21:44:53 +02:00
LevelX2
6b1e52d094 Made a change to the event handling to get Undying to work. 2014-05-07 01:30:39 +02:00
LevelX2
9364616517 * Fix to handle returning effects correct if multiple objects return at the same time (e.g. two creatures with evolve return from exile because two Banisher Priests die by damage to all effect). (not complete finished yet, because Undying test does not run without error). 2014-05-06 17:51:37 +02:00
LevelX2
f676bd1650 Increased card repository number for new dev release. 2014-05-03 02:50:51 +02:00
LevelX2
7318ecb50e Tournament handling - small change to check who to eliminate. 2014-05-03 02:48:24 +02:00
LevelX2
15e3fd906e Added Ashling the Pilgrim, Reset and Flash of insight. 2014-05-02 19:14:59 +02:00
LevelX2
3b3f136d34 Spells on the stack can now get counters. 2014-05-02 16:45:26 +02:00
LevelX2
13ac2d0103 Tournament panel - Showing the number of rounds now only if tournament is swiss style tournament. 2014-05-02 09:32:51 +02:00
LevelX2
473c9e207b Fixed (probably) the player1 concedes but other player2 wins. Fixed that if player runs out of timer time or player lose of beeing idle, the match will end correctly. 2014-05-01 19:34:52 +02:00
LevelX2
286a65878d Changed layer of GainAbilityControllerEffect to player effects. 2014-04-30 17:38:19 +02:00
LevelX2
f137e623eb Changed DontLoseByZeroOrLessLifeEffect to RulesEffect layer. 2014-04-30 17:29:55 +02:00
LevelX2
5d897ac321 Added some handling for X costs of flashback ability. 2014-04-30 17:17:00 +02:00
LevelX2
367dd0b228 Fixed a bug that spells with alternative costs are written to the game log as if the alternative cost was always used. 2014-04-30 17:15:34 +02:00
LevelX2
c143a6159d Added game log info about playing extra phase. 2014-04-30 17:14:23 +02:00
magenoxx
e82bc6e671 Added exception and error handling for game worker 2014-04-30 16:41:52 +05:30
LevelX2
915651335a Fixed that in tournament a automatically generated deck will be submitted if player doesn't submit a deck in time (fixes #421). 2014-04-29 17:32:24 +02:00
LevelX2
5869f77f0c Added DiscardHandTargetEffect, some additions to game log messages. 2014-04-29 13:47:59 +02:00
LevelX2
2ab18b77a6 Changed log message about player who takes first turn. 2014-04-28 17:08:34 +02:00
LevelX2
c875b764a0 Some minor formatting for extisting cards. 2014-04-28 14:55:06 +02:00
LevelX2
718c220471 Added KinshipAbility. 2014-04-28 14:54:43 +02:00
magenoxx
aae97e0f32 Minor change 2014-04-28 15:56:42 +05:30
magenoxx
7740cc6f66 Made loading cards more verbose (Issue#423) 2014-04-28 15:43:14 +05:30
LevelX2
60838ec386 Added Sakura-Tribe Scout. 2014-04-28 00:06:54 +02:00
LevelX2
3e791a4802 * Ragemonger - Fixed that cost reduction did not work for hybrid mana. 2014-04-27 18:58:35 +02:00
LevelX2
b4dcddd0a9 * FlashbackAbility - Fixed that for flashbacked spells additional optional costs did not work (e.g. Buyback, Replicate, Kicker). 2014-04-27 16:06:07 +02:00
LevelX2
b540f97755 Added Replicate ability. 2014-04-27 14:34:06 +02:00
Quercitron
db68a827ce Fix possible permanent targets for ability that does not target. 2014-04-27 15:44:00 +04:00
LevelX2
7e6c1ede2a * Ad Nauseam - Fixed log output of revealed and moved cards. 2014-04-26 18:40:32 +02:00
LevelX2
d7a8bd64e2 * Phyrexian Unlife - Fixed that the first ability is a continuous effect instead wrongly a replacement effect. 2014-04-26 18:35:37 +02:00
LevelX2
63a083ef0d * Mortal Obstinacy - Mortal Obstinacy was not sacrificed as the triggered effect was used. Decision to sacrifice Mortal Obstinacy takes place now during resolution instead of while ability goes to stack. 2014-04-26 10:39:45 +02:00
LevelX2
ba35f397b0 Fixed a bug in reworked prevention function. 2014-04-25 22:17:19 +02:00
LevelX2
61add5ab5b Fixed ReturnFromExileEffect, some formatting. 2014-04-25 19:27:08 +02:00
magenoxx
27dbcf2d6c Unhinged lands (Issue#416) 2014-04-25 18:10:33 +05:30
LevelX2
ec692902c7 * Training Grounds - Fixed bug that locked the game if activated ability of own creature had no mana costs. 2014-04-25 12:10:57 +02:00
LevelX2
300081d302 Some more rework for prevention effects. 2014-04-25 11:30:54 +02:00
LevelX2
b57b91150b Some more rework of prevention effects. 2014-04-24 16:39:03 +02:00
LevelX2
64e0b4d1b9 * BestowAbility - Fixed that Bestow creatures didn't revert back to creatures, if the enchanted creature left battlefield. Bug introduced with last fix to bestow ability. 2014-04-24 00:26:27 +02:00
LevelX2
81e396555c Handling preventon effects more improved. 2014-04-23 20:51:21 +02:00
LevelX2
e2517264b1 More rework to handling of prevention effects. Some more framework effects created. 2014-04-23 17:15:18 +02:00
LevelX2
60b6af4766 MOved some discard effects to specific package. 2014-04-23 12:44:37 +02:00
LevelX2
712eac2b3d * Added image download source with HQ images (mtgImage). 2014-04-22 17:20:35 +02:00
LevelX2
35b1e776d2 * Banisher Priest - Fixed that the return from exile effect was added to the list of triggered abilities the player has to choose the order for. 2014-04-22 15:13:58 +02:00
LevelX2
e0ce6df6b3 * BestowAbility - Fixed a problem that bestow cards that was put onto the battlefiedl as Auras were affected by abilities that should only affect creatures (e.g. Imposing Sovereign). 2014-04-22 15:12:14 +02:00
LevelX2
772c4f5edd Increased card repository version. 2014-04-20 23:52:50 +02:00
LevelX2
9f2570bf66 Minor formatting. 2014-04-20 23:47:48 +02:00
LevelX2
c40fa87674 Started reworking handling prevention effects. 2014-04-20 09:49:29 +02:00
LevelX2
a9419b4977 * Mangara of Corondor - Fixed that it's own exile itself effect only works, if Mangara is still on the battlefield. 2014-04-19 16:25:00 +02:00
LevelX2
cb15aecb06 * Slaughter Games, Counterflux, Surpreme Verdict - Fixed not working "Can't be countered ability (fixes #413). 2014-04-19 10:58:23 +02:00
LevelX2
cdecd516a2 * Bestow ability - Fixed that bestow could be cast with instant timing. 2014-04-19 03:13:12 +02:00
LevelX2
4c274d7fb8 [JOU] set back booster rarity distribution to default. 2014-04-18 23:38:45 +02:00
LevelX2
c1fdd37ee4 Some minor fixes and changes to framework and some cards. 2014-04-18 18:21:17 +02:00
LevelX2
b2eb3a350e Some minor fixes and changes to framework. 2014-04-18 17:31:17 +02:00
LevelX2
eeee6df026 Some minor fixes and changes to framework and some cards. 2014-04-18 16:04:08 +02:00
LevelX2
0e229fd22a Some minor fixes and changes to framework and some cards. 2014-04-18 14:16:42 +02:00
LevelX2
bddbd03d9f [JOU] Some fixes to card numbers. 2014-04-18 11:39:45 +02:00
LevelX2
6d89011e47 [JOU] Added 6 cards. Fixed some bugs for JOU cards. 2014-04-17 16:40:18 +02:00
LevelX2
4e53ff73ea Improved sorting of tables and matches. 2014-04-17 16:39:19 +02:00
LevelX2
6e28320493 Fixed some bugs in game log for combat information. 2014-04-17 16:38:39 +02:00
LevelX2
92ecc766e9 Added message to game log if a player redirects damage to a planeswalker. 2014-04-17 16:37:28 +02:00
LevelX2
959d55fef2 [JOU] Added 9 cards. Fixed some bugs of JOU cards. 2014-04-16 17:38:41 +02:00
LevelX2
fc56b8bc88 Removed info option from ReturnFromGraveyardToHand, info is always written to log. 2014-04-16 17:38:00 +02:00
LevelX2
fb145b2811 [JOU] Added 2 cards and made some fixes to JOU cards. 2014-04-16 01:41:41 +02:00
LevelX2
5410e10581 Added CantAttackUnlessDefenderControllsPermanent effect. 2014-04-16 01:40:39 +02:00
LevelX2
f9a22291d4 [JOU] Added 6 cards. 2014-04-15 17:39:21 +02:00
LevelX2
d53a3245d6 Changes to connect messages, added some debug messages to narrow down server user handling bug. 2014-04-14 23:11:34 +02:00
LevelX2
56056170e0 [JOU] Added 11 cards. 2014-04-14 15:25:27 +02:00
LevelX2
db3d40b7a6 Minor change to game logging. 2014-04-14 08:32:59 +02:00
LevelX2
c6f771f2b7 * Countersqall - Fixed that spell controller did not lose the 2 life (fixes #410). 2014-04-13 09:36:01 +02:00
LevelX2
b829ad499e * Tournament play - Player state set to "Eliminated" as soon as he lost a match in an elimination tournament. Points for a Bye for player are shown immediately. Players finishing the last round are set to Finishedinstead of wating for next round. 2014-04-13 02:04:43 +02:00
LevelX2
1155cf2049 * Wrench Mind - Fixed a bug that locked the UI while discarding. 2014-04-12 23:27:16 +02:00
LevelX2
bc0bd754dd * Some changes to tooltip texts. 2014-04-12 22:23:46 +02:00
LevelX2
46d124a9d4 * Tournament play - Fixed that player match time was not reset at the begining of a new tournament round. 2014-04-12 18:16:16 +02:00