Commit graph

2596 commits

Author SHA1 Message Date
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
LevelX2
99c51f8091 * Tromokratis - added first implementation (can't handle forced block conflicts yet) 2014-01-28 17:05:30 +01:00
LevelX2
bd77e476ee Removed redundant combat code for handling block effect of Odric Master Tactician. 2014-01-28 15:11:23 +01:00
LevelX2
19679c9f6e Some minor changes / formatting. 2014-01-28 13:48:40 +01:00
LevelX2
51965b4bad Extended output for logging message if moveToZone is called in not the correct way. 2014-01-28 11:30:43 +01:00
LevelX2
8a98caa4c4 * AnnihilatorAbility - Fixed possible NPE. 2014-01-27 18:13:57 +01:00
LevelX2
2e8bbf0406 * Some minor code optimisations. 2014-01-27 18:04:14 +01:00
LevelX2
c75c5ac9e1 * Some changed to avoid ConcurrentModificationExceptions (fixes #333). 2014-01-27 18:03:25 +01:00
LevelX2
13d488757a * BestowAbility - Fixed that bestow creature cast fizzled instead to enter battlefield as creature enchantment if target left battlefield before resolve of the bestow ability. 2014-01-26 17:17:53 +01:00
LevelX2
d07c7b490b Added some methods to write card move infos more easy to game log. 2014-01-26 16:41:17 +01:00
LevelX2
778a3ce688 Added message about revealed cards to game log. 2014-01-26 15:43:55 +01:00
Quercitron
c96c0a1e9e Fix Nessian Wilds Ravager 2014-01-26 01:43:50 +04:00
LevelX2
ad71ec6aad Set Version 1.3.0. 2014-01-25 15:55:39 +01:00
LevelX2
f1b8fe3efb [BNG] Fixes to Nessian Wilds Ravager, Scourge of Skola Vale, Felhide Brawler, Mogis, God of Slaughter, Odunos River Trawler and TributeAbility. 2014-01-25 15:13:58 +01:00
LevelX2
7147e47199 [BNG] Added Champion of Stray Souls. 2014-01-25 15:11:55 +01:00
LevelX2
6436a06add Fixed multi color devotion for hybrid mana. 2014-01-25 11:27:14 +01:00
LevelX2
6a638051f6 [BNG] Some fixes. 2014-01-25 01:55:53 +01:00
LevelX2
709086236b [BNG] Added 7 red cards. 2014-01-24 23:48:08 +01:00
LevelX2
4eacc3871c [BNG] Added 5 green and 1 white card. 2014-01-24 22:37:45 +01:00
LevelX2
40bd40b526 [BNG] Added 5 red and 7 black cards. 2014-01-24 21:11:39 +01:00
LevelX2
ea0b24fea0 [BNG] Added 16 green cards. 2014-01-24 17:35:45 +01:00
LevelX2
a21dfeebdf [BNG] Added 9 black cards. 2014-01-24 14:58:31 +01:00
LevelX2
1961ec97e0 Some name refactoring to PutTopCardOfLibararyIntoGraveEffects. 2014-01-24 14:35:44 +01:00
LevelX2
f9607bb7ed [BNG] Added 9 red cards. 2014-01-24 14:18:44 +01:00
LevelX2
e60c9e724d Some updates/changes/refactoring to PutTopCardOfYourLibararyIntoGraveEffects. 2014-01-24 13:03:57 +01:00
LevelX2
4f4ce32fa6 [BNG] Added 11 blue cards. 2014-01-24 12:10:06 +01:00
LevelX2
5096d8b943 Added message to log if player shuffles his library. Fixed wrong calls to shuffle. 2014-01-24 00:53:40 +01:00
LevelX2
9ada87fe8a [BNG] Added 3 Archeype cards. 2014-01-23 00:00:16 +01:00
LevelX2
199af48a43 Minor framework fixes. 2014-01-22 23:59:33 +01:00
Plopman
b0b57fd475 Fixed GainAbilitySourceEffect 2014-01-22 18:09:35 +01:00
LevelX2
b0f137ffec [BNG] Added 5 cards. 2014-01-22 17:13:17 +01:00
Quercitron
28efe62339 Add SourceHasSubtypeCondition 2014-01-22 03:31:12 +04:00