Commit graph

2627 commits

Author SHA1 Message Date
LevelX2
b0e32a275d Reworked tournament result string generation. 2014-03-31 15:30:01 +02:00
LevelX2
9ff5bcbd92 Improved reconnect and tournament handling. Reconnect time is now shown for disconneted players on player list and tournament panel. You can now reconnect (during 3 minutes) to a tournament also if meanwhile new game (after sideboarding ended) or round was started. Conceding the complete match in a tournament can no longer result in a draw, if you won games before. Quitting a tournament does now always end all active games of that quitting player. 2014-03-31 02:24:59 +02:00
LevelX2
b5ef4a7f45 * Attacking Planeswalker - Fixed a bug that it was not able to attack a planeswalker that had hexproof. 2014-03-29 17:46:12 +01:00
LevelX2
663d05b866 * Zombie Token - Fixed that token image is always shown. 2014-03-29 02:04:14 +01:00
LevelX2
054973f821 Merge origin/master 2014-03-28 23:31:05 +01:00
LevelX2
560e60430c * Vedalken Shackles - Added missing mana cost to activate. 2014-03-28 23:29:57 +01:00
LevelX2
f7a48d9a0a * Game log - Some minor changes to game log output. 2014-03-28 15:06:31 +01:00
LevelX2
ea498413cf * Fixed a bug of CanBlockOnlyFlyingAbility that prevented other creatures with flying on the battlefield to block (Gloomwidow, Scrapskin Drake, Stormbound Geist, Skywinder Drake, Cloud Elemental, Cloud Sprite, Vaporkin, Welkin Tern). 2014-03-27 20:08:16 +01:00
LevelX2
c40dd7fb4b * Select card window - Fixed a bug that the window (also if reqiured) was closed, if you clicked on the frame of the window (e.g. to resize). Now the window is not closed in this case and can also be resized (fixes #100). However if the target is not set to required, the window is not modal and clicking anywhere beside the window, will still close the window without having made a selection. 2014-03-27 17:05:29 +01:00
LevelX2
a229d4d260 * Flashback ability - Fixed that flashback abilities with non mana costs (e.g. Cabal Therapy) added the costs wrongly again as additional costs to the tooltip text of the card. 2014-03-27 13:33:12 +01:00
LevelX2
ad6898ca54 * Warren Weirding - Fixed that created tokens got haste ability wrongly permanent instead only util end of turn. 2014-03-27 13:31:33 +01:00
LevelX2
16bc70576a * Fixed a problem that abilities of cards could not be cast /played / activated if they had no mana costs (e.g. Cabal Therapy and Crucible of Worlds). 2014-03-27 01:11:33 +01:00
LevelX2
0009797a68 * Editor / Add Lands - Fixed that sets could be selected, that doesn't have all type of basic lands. So sometimes it was not possible any type of basic land to add to the deck for sealed / draft match. 2014-03-27 00:03:42 +01:00
LevelX2
601d1be24f Added Tidespout Tyrant, Shallow Grave, Xantid Swarm, Goblin War Strike, Wound Reflection, Children of Korlis and Sneak Attack. 2014-03-26 16:58:55 +01:00
LevelX2
0afcaa5455 * Bushido - Fixed a bug that for bushido X (Fumiko, the Lowblood) , the value was not locked in as bushido ability resolved (still a problem with X and Takeno, Samurai Gernal left). 2014-03-26 08:33:35 +01:00
LevelX2
d5148afaeb * Sormtide Leviathan - Fixed that the Islands could not produce U mana. Fixed bug in the attack restriction effect. 2014-03-25 23:59:17 +01:00
LevelX2
8c7dcf275e * Player Hexproof - Fixed that the Player Hexproof prevented that the player could be attacked. 2014-03-25 23:55:08 +01:00
LevelX2
9a443aa056 Added Fist of Suns and Haze of Rage. 2014-03-25 16:43:48 +01:00
LevelX2
624fde3d8b Some conditions renamend. 2014-03-25 16:42:07 +01:00
LevelX2
4433f46dfd * Prowl Ability - Fixed a bug in tooltip txt generation. 2014-03-25 16:19:35 +01:00
LevelX2
294567ec3e * Cycling effects - Added missing reveal effect, added missing reminder text. 2014-03-25 16:19:10 +01:00
LevelX2
9de2736e9a * Storm - Added reminder text to tooltip text. 2014-03-25 16:16:58 +01:00
LevelX2
e7de690081 Added Spawnwrithe. 2014-03-25 08:37:50 +01:00
LevelX2
3eb50bf1c2 Added Sword of the Meek, Venser, Shaper Savant and Humility. 2014-03-25 00:01:28 +01:00
LevelX2
3847f15e05 Added Llawan, Cephalid Empress. 2014-03-24 08:31:27 +01:00
LevelX2
6c924edd7a * Variable loyality payment - Fixed a bug that the -X payment of loyality counters was added insted subtracted. Prevented the possibility to announce x loyality counter payment, if already one planeswalker ability was used this turn. 2014-03-23 19:49:11 +01:00
LevelX2
5624e1edfb Added Envelop, Back to Basics and Chains of Mephistopheles. 2014-03-23 18:56:07 +01:00
LevelX2
2df8da0685 Added Hide//Seek, Mesmeric Orb and Shelldoch Isle. 2014-03-23 17:57:48 +01:00
LevelX2
c72b87a446 * Counterbalance - Fixed that the counter effect did not correctly work. 2014-03-23 09:06:58 +01:00
LevelX2
de12dce50c * Free for all - Fixed a bug that controller of a spell was sometimes affected by effects that should only be applied to opponents (e.g. Mogis, God of Slaughter's triggered ability). 2014-03-23 07:57:34 +01:00
LevelX2
6993d7f725 Added Keen Sense. 2014-03-22 09:29:53 +01:00
LevelX2
643f864f74 * Fixed possible null pointer exception for EntersBattlefieldAllTriggeredAbility. 2014-03-21 21:41:30 +01:00
LevelX2
74285be8a4 * Spell Pierce - Fixed bug that caused "java.lang.ClassCastException: mage.filter.predicate.ObjectPlayer cannot be cast to mage.filter.predicate.ObjectSourcePlayer" error. 2014-03-21 17:45:10 +01:00
LevelX2
63b8890287 Fixed that creatures or enchantments with triggered abilities that should trigger only once as they or the enhcanted creature blocks (also multiple creatures e.g. Guardian of the Gateless) really only trigger once. They triggered wrongly per blocked creature before. 2014-03-21 14:47:17 +01:00
LevelX2
ccd91f0657 * Combat blocking - Fixed that blocking of multiple attackers by one creature did not work (e.g. for Guardian of the Gateless). 2014-03-21 14:43:19 +01:00
LevelX2
a079727608 * Electropotence - Fixed that it did not trigger for tokens and mana payment is now during resolution as it should be. 2014-03-21 14:40:55 +01:00
LevelX2
79b319777f Some clean up of the lose life framework effects. 2014-03-20 13:42:46 +01:00
LevelX2
8a76d52ab4 * Added 5 red BOK cards. 2014-03-20 00:59:18 +01:00
LevelX2
7a2bc8b0ef Minor formatting and changes. 2014-03-20 00:58:33 +01:00
LevelX2
87c0576549 Fixed that modes of modal spells resolved also if all targeted modes of a spell had no more legal targets and there were targeted modes (fixes #385). Should also fix same problem for parts of a fused spell. Added test for Cryptic Command. 2014-03-19 16:44:57 +01:00
LevelX2
1856df8987 Minor formatting and game log changes. 2014-03-19 13:51:44 +01:00
LevelX2
9b82be530d * Thoughtseize - Fixed that game lock could happen if target player had no non land cards on hand. 2014-03-19 08:29:17 +01:00
LevelX2
dc881d3330 Minor changes to logging and formatting, token usage, flip handling. 2014-03-17 16:58:59 +01:00
LevelX2
20453be5ff * Game logging - Added target information to log of triggered ability. 2014-03-17 16:57:55 +01:00
LevelX2
2f8ac76417 * Game log - triggered abilities are now logged as they go to stack. Some minor formatting. 2014-03-17 08:37:54 +01:00
LevelX2
4232a3b7f1 Fixed the "can only block flying creatures effect" (e.g. Varporkin). It was implemented as replacement effect instead of restriction effect which leads to dead locks in combat if it was forced to block a non flyer. 2014-03-16 10:05:20 +01:00
LevelX2
95b39bd44c Fixed a bug in table cleanup that prevented removing of canceled tables (not started yet) from the list of tables. 2014-03-16 00:36:36 +01:00
LevelX2
e103ddfd4b Some minor formatting. 2014-03-15 17:44:08 +01:00
LevelX2
89fe41379a Fixed a bug recently added to ExileSourceEffect. 2014-03-15 14:04:06 +01:00
LevelX2
d1082293a8 Fixed that Haste effects given to Obzedat on enters the battlefield stayed after going back to hand and recasting of it. 2014-03-14 15:05:36 +01:00
LevelX2
dc0d5a4bc8 Reversed some formatting changed that led to casting errors. 2014-03-14 14:43:54 +01:00
LevelX2
09b7e7baea * Minor formatting. 2014-03-14 14:00:29 +01:00
LevelX2
317d07215c * Game log - Added info to log if player loses life. 2014-03-14 13:57:19 +01:00
LevelX2
47af2cab75 * Delver Of Secrets - Fixed that the Reveal and to ask player did not happen during the resolving of the abilitys effect. Added info about transformation to log. 2014-03-14 13:56:30 +01:00
LevelX2
9ca014b10e * Whip of Erebos - Fixed a bug that if target creature already left battlefield, the card was still moved to general exile zone (causing problems with Obzedat, Ghost council). 2014-03-13 17:10:57 +01:00
LevelX2
eae5b7c61e Some minor changes to framework and existing cards. 2014-03-13 15:45:26 +01:00
LevelX2
88aca77695 * Split cards - The images of split cards are now rotated in the enlarged image view (moueswheel up/down). 2014-03-13 00:20:37 +01:00
LevelX2
4a2a40ae2d Minor formatting. 2014-03-12 17:41:56 +01:00
LevelX2
f64ed10fac * Game log - Uses term choosing instead of targeting for non targeted selections. 2014-03-12 17:40:02 +01:00
LevelX2
1e7cfa086b * Cavern of Soul - Fixed a bug that caused that every spell could not be countered that was cast using the first (colorless) mana ability (fixes #391). 2014-03-12 15:53:27 +01:00
LevelX2
507a9e8016 Removing of permanents handling for a player that leaves the game changed to avoid ConcurrentModificationException (fixes #393). Some formatting. 2014-03-12 08:35:31 +01:00
LevelX2
aedcccc269 Minor formatting and text changes. 2014-03-11 16:47:05 +01:00
LevelX2
27c8f8fd47 Added new SpellCostReductionSourceEffect to implement conditional source spell cost reductions. 2014-03-11 16:40:50 +01:00
LevelX2
cabe33395c Added new attribute ability word to ability to simplify rule text generation. 2014-03-11 16:39:01 +01:00
LevelX2
63eae70d63 * Minor fix to rebound ability. Some formatiing. 2014-03-11 00:34:52 +01:00
LevelX2
d8236a8d3a * Fixed that ThoughtAs effects could be used by any player instead of only the controller of the effect. (Fixes e.g. that Misthollow Griffin could be cast by any player from exile). 2014-03-11 00:14:56 +01:00
LevelX2
401d65a17e * Changes to image handling of copied permanents (image is more often shown now). 2014-03-09 22:09:00 +01:00
LevelX2
7ebb8a9cbe * Reworked non mana costs with variable amount. The values have now to be announced before targeting. Fixed some wrong implementations (Firestorm, Myr Battlesphere, Skeletal Scrying). 2014-03-09 19:47:31 +01:00
LevelX2
59d907c981 * Improved handling of enlarged images. Added mode to show other side of flip and transform cards. Added icon for copied cards and possibility to show enlarged original or copied card. 2014-03-06 21:51:51 +01:00
LevelX2
85e90881c1 * Simplified flip handling. Flip continiuous effect has now time stamp of time the card flipped so it works with copied cards. 2014-03-06 21:46:33 +01:00
LevelX2
85096a9990 * Yomiji, Who Bars the Way - Fixed a NPE bug of the triggered ability. 2014-03-03 18:23:32 +01:00
LevelX2
d896127e7a * Living Weapon - Fixed that the token image was not used. 2014-03-02 23:22:14 +01:00
LevelX2
3cf7fd33ed * Elves vs. Goblins - Added missing cards and exmple decks. 2014-03-01 16:17:49 +01:00
LevelX2
8d2f4cc9ac * Draft - Added "Quit Tournament" button to draft panel. Minor formatting. 2014-02-28 17:47:27 +01:00
LevelX2
e4a1f70057 * Hideaway - Fixed wrong timing restrictions of playing the with hideaway exiled card. 2014-02-28 13:41:28 +01:00
LevelX2
8fa23501ee * Polis Crusher - Fixed that it can't be the target of enchantments.
* Polis Crusher - Fixed that the targeted enchantment of it's second ability was chosen too late during resolution.
2014-02-27 16:42:44 +01:00
LevelX2
25994e8910 * AlternativeCost - Fix to rule text generation. 2014-02-27 08:59:35 +01:00
LevelX2
664a506dba Delete unused object. 2014-02-26 23:28:30 +01:00
LevelX2
02338d5e9e Fixed spells with alternative casting costs. 2014-02-26 23:28:08 +01:00
LevelX2
bceef0ec48 * ReturnFromGraveyardToBattlefieldTargetEffect fixed that the target creature came back always under the owner control instead of under control of the controller of the effect (fixed cards: Fated Return, Rise from the Grave, Nighteyes The Desecrator, Debtors' Knell, Grim Return, Ashen Powder, Beacon of Unrest, Reanimate). 2014-02-26 16:54:46 +01:00
LevelX2
48efe70625 Renamed and improved ActivateOncePerTurnActivatedAbility to LimitedTimesPerTurnActivatedAbility- 2014-02-26 12:38:09 +01:00
LevelX2
9b10da0551 Some minor changes/formatting. 2014-02-26 12:34:58 +01:00
LevelX2
fe2ff3cc35 Renamed HasCounterCondition to SourceHasCounterCondition. 2014-02-26 12:31:21 +01:00
LevelX2
2520644e2c * Murkfiend Liege , Prophet of Kruphix, Quest for Renewal - Changed the untap effects from a triggered ability to a continious rule changing effect not going to stack. 2014-02-25 17:50:15 +01:00
LevelX2
13d39326e0 Added Elves vs. Goblins, Jace vs. Chandra, Divine vs. Demonic and Garruk vs. Liliana as sets and the already implemented cards fo this sets. 2014-02-25 03:06:17 +01:00
LevelX2
b072ee9eaa * Duel Deck: Elspeth vs. Tezzeret - Added the missing cards. Added Zur the Enchanter. 2014-02-25 03:03:50 +01:00
LevelX2
ad2c062552 * Added Fumiko, the Lowblood- 2014-02-25 03:02:24 +01:00
LevelX2
3c7b414ee6 * Fixed alternate casting costs of shoal spells (e.g. Blazing Shoal). 2014-02-23 17:39:37 +01:00
LevelX2
de21b60484 * Fixed move to exile method of player. Fixes the alternat cost problem of force of will and Contagion. 2014-02-21 19:14:44 +01:00
LevelX2
786fc03044 * Fixes to handling of AlternateCostSourceAbility for multiple costs (not finished yet). 2014-02-21 15:04:09 +01:00
LevelX2
8491b5b90b * Cleanup of server memory handling - removed memory leaks for Chat, Player, Match, Game etc. 2014-02-21 01:13:27 +01:00
LevelX2
c7289a3810 * Some formatting. Some cleanup for server memory handling. 2014-02-20 17:49:21 +01:00
LevelX2
2b2594d993 * Tournament - Show players of tournament sorted by their tournament points. 2014-02-20 15:03:14 +01:00
LevelX2
493729438f Added Reanimate and Debtor's Knell. 2014-02-19 17:28:33 +01:00
LevelX2
c36045b1b6 Added/changed some move methods for cards of player. 2014-02-19 17:27:46 +01:00
LevelX2
a0ef96e975 * Pyromancer Ascension - Fixed that the triggered ability that copies a spell also works, if the spell that was copied left the stack (e.g. countered) before the ability resolves. 2014-02-19 08:21:57 +01:00
LevelX2
c12fb572f7 * Fixed the trace for Intimidate. 2014-02-19 08:18:48 +01:00
LevelX2
42a8029c2d * Minor change at TraceUtil. 2014-02-19 00:56:45 +01:00
LevelX2
d48d44dd56 Minor formatting. 2014-02-18 17:36:10 +01:00
LevelX2
1f3687cc86 Switched to binary/source format java 1.7. 2014-02-18 17:35:32 +01:00
LevelX2
7dec7dc307 Renamed Live to Life. 2014-02-18 17:11:15 +01:00
LevelX2
238e31dcac Added GainLiverPlayersCost and GainLiveOpponentCost. 2014-02-18 14:41:00 +01:00
LevelX2
a7b7a88bde Added PlayerCanGainLifePredicate. 2014-02-18 14:40:10 +01:00
LevelX2
6049a69348 Added generic AlternateCostSourceAbility. Some adjustments to alternate cost handling. 2014-02-18 14:39:33 +01:00
LevelX2
4e5de2b7f9 * Tournament handling - Finished pairing are updated now to tournament players list immediately. 2014-02-17 00:41:40 +01:00
LevelX2
ce967ee88c Added 5 cards (Sylvan Library, Tsabo's Web, Sylvan Safekeeper, Null Rod, Peacekeeper). Minor formatting. 2014-02-16 17:42:05 +01:00
LevelX2
f2736807f3 * Fixed a bug that occured if a copied spell was countered and should be moved to another zone as graveyard. 2014-02-16 10:24:58 +01:00
LevelX2
4cad29f50a * Added gain life info to game log. 2014-02-16 01:51:15 +01:00
LevelX2
d97d697a53 * Fixed a problem with SacrificeSourceTriggeredAbility that did not Trigger because source is no more on the battlefield. 2014-02-15 22:32:54 +01:00
LevelX2
a0346109a2 * Changed block requirment checking so that block lock is less probable. 2014-02-15 09:28:06 +01:00
Jeff
f01692f804 - Added some requested cards. 2014-02-14 17:19:26 -06:00
LevelX2
b10ad8e663 * Game log - The announced value for X costs is now posted to the log at a later point in time to avoid posting canceled announcements. 2014-02-14 15:13:59 +01:00
LevelX2
2eebdb3b5b Fixed a recently committed bug that added cardType and subtype of tokens cumulative on each permanent reset. 2014-02-14 15:11:36 +01:00
LevelX2
c59c182cab Added SkipUntapAllEffect and used it for appropriate cards. 2014-02-13 17:12:40 +01:00
LevelX2
ee76ccfee4 Added option that AbilityPicker is forced to show if ability or spell has no or only tap cost (not finished yet). 2014-02-12 17:18:06 +01:00
LevelX2
81eaac46c7 * Added new preference option to enable sound in game and other sounds separately. 2014-02-12 08:35:27 +01:00
LevelX2
8e3ca7e5ca Added CantAttackControllerAttachedEffect. Minor formatting. 2014-02-11 17:28:59 +01:00
LevelX2
acdabbaaac Set the correct TimingRule for Spells != Instants, some minor changes to can be cast checks (missing class). 2014-02-11 16:11:45 +01:00
LevelX2
aa359cd1b6 Set the correct TimingRule for Spells != Instants, some minor changes to can be cast checks. 2014-02-11 15:53:35 +01:00
LevelX2
753ada0a01 * Fixed a cleanup problem that locked the game at game end. Minor formattings and cleanup additions. 2014-02-11 00:38:10 +01:00
LevelX2
efb664c743 * DestroyTargetEffect - Fixed wrong source reference given to permanent.destroy method. 2014-02-10 13:04:07 +01:00
LevelX2
1131a84892 * Moved concede messages before execution, so the order in the log is more logical. 2014-02-09 17:13:16 +01:00
LevelX2
0d1921d8cb * Added target replacement check to canBeTargeted check of permanent to get correct possible targets (fixes #381). 2014-02-09 11:22:33 +01:00
LevelX2
9fcfb8527a * Changed handling of search library limiting effect. 2014-02-09 11:20:20 +01:00
LevelX2
3b03a0500a * Fixed some library search effects that didn't sort the library and didn't take search limitations into account (Aven Mindcensor) 2014-02-09 00:21:43 +01:00
LevelX2
c1685b518c * Fixed a bug of defenders that have "can attack as though it didn't have defender" abilities. If the abilitiy was triggered it was applied to all defenders. 2014-02-08 20:20:28 +01:00
LevelX2
81d630b65b Some changes/fixes to epic effect and cards using it. 2014-02-08 14:08:53 +01:00
Jeff
1c2f0ae65d Added Epic Ability and add the 5 cards that use it. Did not get the chance to test it well due to some memory issues with the client/server. 2014-02-07 17:27:50 -06:00
LevelX2
e6f55d3b80 * Some changes to game handling to support replay in the future (not working yet). 2014-02-07 16:07:15 +01:00
LevelX2
9a15bdb933 * Trace Util - Added Intimidate to the combat traced abilities (for finding reason for bug). 2014-02-07 16:06:06 +01:00
LevelX2
40c25fae34 Fixed some bugs in table handling. Fixed that matches were not set to finished yet, if players left match during sideboarding phase. 2014-02-07 02:04:14 +01:00
LevelX2
4e2ed0178b * Fixed a bug that abilities of sacrificed permanents did trigger if the spell they where sacrificed for triggered their triggered ability. (e.g. a Valakut sacrificed for a Scapeshift did still trigger if enough mountains where on the battlefield). 2014-02-06 01:05:45 +01:00
LevelX2
ca831aee05 if multiple permanents come to battlefield at the same time, they are aware now of each other. (e.g. useful for for Valakut, the Molten Pinnacle). 2014-02-06 01:02:44 +01:00
LevelX2
9a0c05f576 * ChangeSpellTargets - Fix that AI don't go to endless loop. 2014-02-06 00:59:49 +01:00
LevelX2
e9dc1a1c68 Improved change spell target(s) handling - Fixes finaly #379 and fixes #356. 2014-02-05 16:13:57 +01:00
LevelX2
4dddb9ea12 Added Shunt, Deflection and Imp's Mischief. 2014-02-05 15:20:06 +01:00
LevelX2
8b180f0b9c * ChangeSpellTargets - Some more changes to handle change of targets better. 2014-02-05 08:41:27 +01:00
LevelX2
a1dc4ec5b3 * Scry - Fixed that if you play with the top card of library revealed you didn't reveal the next card during scry effect. 2014-02-04 22:54:59 +01:00
LevelX2
71fafb168c * Siren of the Silent Song - Fixed a bug that the controller also wrongly put a card into the graveyard from library. 2014-02-04 22:19:26 +01:00
LevelX2
022587e6f9 * Felhide Spiritbinder - Fixed a bug that the copied token did not have a supertype l(e.g. Legendary). 2014-02-04 22:18:06 +01:00
LevelX2
32699757c4 * ChooseNewTargets - Fixed some problems with amount targets. Some problem left fix coming soon. 2014-02-04 17:42:54 +01:00
LevelX2
733b0f6b8e Minor message formatting. 2014-02-04 08:35:20 +01:00
LevelX2
bf4ccf185c Some minor formatting. 2014-02-03 17:47:12 +01:00
LevelX2
9c5d5208b9 Some updates to pom dependency. 2014-02-03 17:46:19 +01:00
LevelX2
f734d89de6 * Ragemonger - Fixed a bug that the casting cost reduction did not work correctly. 2014-02-03 01:16:52 +01:00
LevelX2
0a18a7bea6 Removed majority of memory leaks from game / editor / dialog handling. 2014-02-02 21:57:02 +01:00
LevelX2
f32b28abcc * Tromokratis - Added check that blockers can't be selected to block if they are not able to block anyway. Some redesign of combat. 2014-01-30 15:01:25 +01:00
LevelX2
d9a03b35d2 Some more changes to get/check opponents. 2014-01-30 12:55:50 +01:00
LevelX2
d959edb4b3 Added new method game.isOpponent() for faster opponent check. 2014-01-30 10:46:30 +01:00
LevelX2
69d0159c99 * Fearsome Temper - Fixed wrong block restriction effect. 2014-01-29 00:50:14 +01:00