Commit graph

5027 commits

Author SHA1 Message Date
LevelX2
4bf8226a43 * Fixed bug with P/T boost triggered by blocking creatures not lasting until end of turn (e.g. Rabid Elephant). 2016-03-17 15:44:38 +01:00
drmDev
72fad81bd5 Test for Breaker of Armies with Menace, reported bug. 2016-03-17 10:33:40 -04:00
drmDev
eb9747d0d1 tests for reported bug Rabid Elephant. typo fixes 2016-03-17 08:21:36 -04:00
LevelX2
d6b32a42e3 Merge pull request #1631 from okuRaku/master
fix for Exhaustion on things that entered after resolution
2016-03-16 10:25:41 +01:00
LevelX2
867fe61007 * Leeching Sliver - Fixed that all defending players of combat lost life instead of only the defending player of Leeching Sliver. 2016-03-16 10:12:56 +01:00
okuRaku
11da328231 update per pull request feedback 2016-03-15 23:22:58 -05:00
okuRaku
a482bf2a0f fix for Exhaustion on things that entered after resolution 2016-03-15 23:22:58 -05:00
fireshoes
0a38430d49 [SOI] Added 3/14-15 spoilers to mtg-cards-data.txt Added Angel of Deliverance, Anguished Unmaking, Descend upon the Sinful, Drogskol Cavalry, Nephalia Moondrakes, and Sinister Concoction. 2016-03-15 17:47:21 -05:00
LevelX2
6c141a1f3e Fixed color identity evaluation not checking second card face. 2016-03-15 11:54:11 +01:00
LevelX2
272f68b530 Fixed handling of DontUntapInControllersNextUntapStepTargetEffect (fixes Sleep bug). 2016-03-14 18:15:57 +01:00
LevelX2
ad637a2944 * Fixed CAST_SPELL_LATE event (e.g. used by Reflector Mage) to only fire for cast events. 2016-03-14 13:41:12 +01:00
LevelX2
578cb128dd xmage 1.4.9v2 2016-03-12 12:50:26 +01:00
LevelX2
d818fadf52 * Instill Energy - Fixed that the untap enchanted creature ability did not work. 2016-03-12 11:59:30 +01:00
LevelX2
436c82d25a * Manor Gargoyle - Fixed that the lose of defender ability did not stop it having indestructibility. 2016-03-12 10:31:12 +01:00
LevelX2
ba6b6093c3 * Fixed that dies trigger were not always handled correctly if the creature with the triggered ability was sacrificed for paying a cost (fixes #1426). 2016-03-11 17:17:51 +01:00
LevelX2
4b0d027847 * Fixed a bug were copied abilites (e.g. by Progenitor Mimic) did not use the correct controller after the control of the copying permanent changed (e.g. by Capitivating Vampire). 2016-03-10 00:54:54 +01:00
LevelX2
3184252d54 * Flashback - Fixed that exile effect was not removed after applied. 2016-03-10 00:09:50 +01:00
LevelX2
c2b68a9b6f Some minor changes. 2016-03-09 18:10:03 +01:00
LevelX2
89bd184407 Changed land slot card generation of Fate Reforged booster (related to #666). 2016-03-09 12:27:40 +01:00
LevelX2
d7ae1c51c9 Added test. 2016-03-07 18:30:58 +01:00
LevelX2
0a31a8b479 Fixed a problem with Tokens of the CopyEffect (e.g. with Essence of the Wild and Back from the Bring in play). 2016-03-07 17:34:03 +01:00
LevelX2
bd43cf0e1e * Fixed possible exception when planswalker were removed from battlefield. 2016-03-07 16:28:24 +01:00
LevelX2
633995060e Merge pull request #1611 from spjspj/master
spjspj - implement ClockSpinning (TSP) - Modified AddCountersTargetEf…
2016-03-07 16:20:42 +01:00
LevelX2
b86dd17c54 * Widespread Panic - Fixed that it also triggered if the library was shuffled by an ability controlled by another player (e.g. Knowledge Exploitation). 2016-03-07 16:16:59 +01:00
spjspj
a521381e02 spjspj - implement ClockSpinning (FUT) - Modified AddCountersTargetEffect.java to include Cards (similar to removecounterstargeteffect) 2016-03-08 01:46:13 +11:00
rkfg
95d5bd852e Merge branch 'staging' 2016-03-07 01:35:20 +03:00
rkfg
66040f0c1f Move canPlaySorcery() to ActivatedAbility.canActivate(). 2016-03-07 01:07:08 +03:00
rkfg
88d17d7ed9 Fix lands highlighting on the non-main phases. 2016-03-07 00:38:51 +03:00
LevelX2
19d67f9a83 Removed old AlternativeCost class, that's no longer used in cards. 2016-03-06 22:32:58 +01:00
LevelX2
619856c8f5 Some minor changes. 2016-03-06 10:25:11 +01:00
spjspj
1685e8eb82 spjspj - Implement Divine Intervention (LEG & ME3) 2016-03-05 21:25:57 +11:00
LevelX2
41af3e9d4a * Disrupting Shoal - Fixed that the converted mana costs of split cards were not handled correctly. 2016-03-05 10:33:27 +01:00
LevelX2
080a1b883c Wild Pair - fixed condition handling. 2016-03-04 12:21:47 +01:00
LevelX2
4674b18a51 * Fixed some prroblems with can't cast effects and morph ability (related to Reflector Mage, Exclusion Ritual and Alhammarret High Arbiter). 2016-03-04 01:07:52 +01:00
rkfg
e2b62fecd8 Prevent repeatable conceding (fixes #1526). 2016-03-03 19:03:37 +03:00
LevelX2
385313bd64 Fixed error of CastFromHandCondition. 2016-03-01 21:41:05 +01:00
LevelX2
6299425c1d Fixed error of CastFromHandCondition. 2016-03-01 21:38:52 +01:00
LevelX2
ad49eeb4ea Fixed error of CastFromHandCondition. 2016-03-01 21:18:53 +01:00
LevelX2
570a6d92dc Foxed some EntersBattlefieldTriggeredAbilities with Intervening-If-Clause not handled correctly. 2016-03-01 17:00:02 +01:00
LevelX2
b19b43c4c8 * Scion of Vitu-Ghazi - Fixed that conditional trigger was not handled correctly. 2016-03-01 15:39:37 +01:00
LevelX2
5b15f96342 Fixed some problems of CastFromHandCondition. 2016-03-01 15:38:50 +01:00
LevelX2
f53daaaf94 Xmage 1.4.9v1 2016-02-28 18:39:21 +01:00
LevelX2
0f1839af56 Reworked some trap cards using old AlternateCosts class. 2016-02-27 23:44:59 +01:00
LevelX2
a9617f8e54 * Removed the commander rule 4 (mana generation restriction). 2016-02-25 22:05:33 +01:00
LevelX2
9f35637e6d Fixed that a planeswalker that left the battlefield was not correctly removed from combat. 2016-02-25 21:41:38 +01:00
LevelX2
df98b4e0af * Fixed a bug with time stamp order and change of basic land type (e.g. Blood Moon and Spreading Seas). 2016-02-25 17:08:17 +01:00
benjamin
59933f0842 Added documentation to two new functions in Constructed.java 2016-02-24 22:24:51 -05:00
benjamin
d2fec6c61d Added Eternal format (Legacy without reserve list cards). Fixed Issues 1133 and 1521 (Pauper Deck legality check). 2016-02-24 21:33:10 -05:00
LevelX2
8e671fecaa Added a test. 2016-02-25 00:25:33 +01:00
LevelX2
b41c4822e9 Fixed BlockedCreatureCount handling. 2016-02-24 22:31:19 +01:00
LevelX2
48be09ad52 Merge pull request #1552 from markedagain/master
Some requested cards implemented
2016-02-24 22:07:39 +01:00
LevelX2
7084748226 * Fixed a bug that token permanents were not bounced to hand (related to Reduce to Dreams, Whelming Wave, Part the Veil, Retract, Inundate, AEtherize, Dromar the Banisher, Thousand Winds, Crush of Tentacles, Upheaval, Waterspout Elemental, Kederekt Leviathan, Denizen of the Deep, Llawan Cephalid Empress). 2016-02-24 10:55:30 +01:00
markedagain
188db6eedc Refactored Blocked Creature effect 2016-02-23 23:54:57 -05:00
LevelX2
067eeebc5d Merge origin/master 2016-02-21 23:22:55 +01:00
LevelX2
7aa0ff1f13 Fixed a bug if EntersBattlefieldAllTriggeredAbility. (Fixed the Eldrazi Mimic bug). 2016-02-21 23:22:17 +01:00
Quercitron
ceb0dfc10b Added Dueling Grounds 2016-02-21 17:51:02 +03:00
LevelX2
e9638bcc4d Release 1.4.9v0 2016-02-21 12:58:58 +01:00
LevelX2
cf3488d5e5 * Guilded Drake - Fixed that the sacrifice did not happen if the target creature for exchange is no longer a valid target during resolution (fixes #1546). 2016-02-21 10:20:26 +01:00
LevelX2
930b27226b * Fixed a bug of abilities that trigger if a player cycles a card causing a "Game exception occurred: java.util.NoSuchElementException" error. 2016-02-18 15:42:31 +01:00
LevelX2
f54c675c4b * Fixed a bug of colorless mana (e.g. caused Heartbeat of Spring not working with Urza's lands). 2016-02-16 17:15:47 +01:00
LevelX2
1a12c2b08f * Improved mana source check. 2016-02-14 18:39:33 +01:00
LevelX2
74799d286b * Improved mana source check. Fixed #1513. 2016-02-14 18:31:02 +01:00
LevelX2
6726f48669 * Fixed a bug of spell copy that caused that added spliced spells were not copied. 2016-02-14 13:42:46 +01:00
LevelX2
1835671f3d Some more changes to GUI to better support high screen resolutions. 2016-02-14 13:41:43 +01:00
LevelX2
ccf5da9521 * Fixed that putting copies of a card to graveyard triggered abilities that should only trigger from cards (not copies of a card) to the graveyard. 2016-02-14 09:43:14 +01:00
Quercitron
4653864c5e Added Ixidor's Will and Overburden 2016-02-14 00:09:01 +03:00
LevelX2
1c3c8cafe6 * Eldrazi Mimic - Fixed that the P/T was not set if the triggering permanent left the battlefield meanwhile. 2016-02-13 12:09:08 +01:00
fireshoes
00a5b9e469 Added some more SOI cards. 2016-02-10 12:43:55 -06:00
LevelX2
60bc03e284 [SOI] Fixed to Skulk and Investigate. Some minor tweaks to SOI cards. 2016-02-09 12:37:20 +01:00
fireshoes
2a92f5e77a Added SOI and EMN sets. Added some SOI cards. 2016-02-08 20:53:09 -06:00
LevelX2
c7aa7c9238 [SOI] Add investigate effect. 2016-02-09 00:23:03 +01:00
LevelX2
6321e39bcd [SOI] Added Skulk Ability. 2016-02-09 00:06:17 +01:00
LevelX2
e5812a850b * Lightning Storm - Fixed that opponents of the caster can't activate the ability on the stack. 2016-02-08 23:40:32 +01:00
LevelX2
9221e4eb64 * Overload - Fixed that cmc of spells cast with overload were calculated wrongly with the overload costs. 2016-02-08 20:16:53 +01:00
LevelX2
f350dd71c9 * Willbender - Fixed that it wrongly could not target also abilities. 2016-02-08 19:00:31 +01:00
LevelX2
81590262f6 * Roiling Waters - Fixed tooltip text. 2016-02-08 16:40:06 +01:00
LevelX2
6b20f7733a * Dust to Dust - Fixed tooltip text. 2016-02-08 16:15:46 +01:00
Quercitron
741c20afd8 Added Needle Drop. 2016-02-07 16:51:33 +03:00
Quercitron
d74d3ce3fe Added Lost Auramancers. 2016-02-07 15:45:44 +03:00
LevelX2
687ab7ec6b Added some tooltips to user table headers. History is shown in tournament player table now. Changed ratio column to numberic format. 2016-02-06 21:22:51 +01:00
spjspj
578df9130c spjspj - Lands are ok from top of library 2016-02-07 01:51:43 +11:00
spjspj
eec4ca124e Stop controller of Future Sight/Melek, Izzet Paragon/Magus of the Future from playing cards with no mana cost (such as Ancestral Vision/Hypergensesis) 2016-02-06 18:33:17 +11:00
LevelX2
d2eb6151f1 Fixed some possible exceptions. 2016-02-06 02:12:51 +01:00
Jeff
1061ea16f6 - Added requested card Knight of the Holy Nimbus. 2016-02-05 14:30:31 -06:00
LevelX2
f4b37a2f72 Simplified Reduce to Dreams. 2016-02-05 17:54:17 +01:00
spjspj
b7a0fa42fb spjspj - Implement Mana Web (Weatherlight) 2016-02-06 00:50:41 +11:00
LevelX2
7c8d0881f7 Some minor changes to Hunting Wilds. 2016-02-04 10:57:48 +01:00
LevelX2
6458a95912 * Stinkdrinker Bandit - Fixed triggered ability only triggering for controlled creatures now. 2016-02-03 00:25:17 +01:00
LevelX2
a796fe5adb * Flashback - Fixed that spells without mana costs (e.g. Ancestral Vision) wrongly could be cast by flashback (fixes #1510). 2016-02-03 00:22:29 +01:00
LevelX2
b4d1607568 * Prowl - Fixed that a Mutavault that did damage was not taken unto acount to fulfill the prowl condition. 2016-02-02 17:21:10 +01:00
LevelX2
43460c1256 * Fixed a bug of CastOnlyDuringPhaseStepSourceEffect that allowed players to cast spells in not allowed phases/steps (e.g. Chaotic Strike and Aleatory). 2016-02-02 15:01:03 +01:00
icetc
cc7b7ec2a2 Added card Okk. Incluedes a new restriction effect called "canBlockCheckAfter", an update to the combat sequence where this restriction is taken into considiration and a new test which assert the behaviour of the effect. 2016-02-01 13:36:56 +01:00
LevelX2
81af372bc1 Fixed some problems with possible ConcurrentModificationExceptions and some minor changes. 2016-01-31 23:23:09 +01:00
Me Car
284c36b756 Add allowed quit ratio option to match option and tourney option. 2016-02-01 02:25:44 +09:00
Me Car
a33aa5d2df Re-add the getHistory method. 2016-01-31 23:59:45 +09:00
LevelX2
75f5a17135 Merge pull request #1505 from menocar/user-pane
Split History column into Matches and Tourneys columns.
2016-01-31 12:49:00 +01:00
LevelX2
b9db83f10a XMage 1.4.8v1 release 2016-01-31 10:35:13 +01:00
LevelX2
78ac6688ea Some tests and minor changes. 2016-01-31 09:51:23 +01:00
LevelX2
37cbc50a58 * Flash of Insight - Fixed that its effect did not work from gaveyard. 2016-01-31 09:50:46 +01:00
LevelX2
d3ff285cc5 * Fixed possible null pointer exception for commander cast count. 2016-01-30 10:49:55 +01:00
Me Car
574e3cfd36 Split History column into Matches and Tourneys column. 2016-01-30 16:01:04 +09:00
LevelX2
ee6aa7a1e2 * Fixed a bug were abilities could trigger when a permanent was moved to graveyard but the triggering ability from the moved permanent were removed at that time. 2016-01-30 01:15:34 +01:00
LevelX2
8c9c4421cd * Lignify - Fixed that existing subtypes of the enchanted creature were not removed. 2016-01-29 22:18:34 +01:00
LevelX2
768d7f1ceb Added a test. Some minor changes. 2016-01-29 15:24:48 +01:00
LevelX2
35845448e1 * Kabira Evangel - Fixed that if the triggered ability triggered multiple times during one turn, it did not work correctly for different colors. 2016-01-28 23:48:55 +01:00
LevelX2
d1bbb9bfe7 Fixed a bug of OnOpponentsTurnCondition (used by Illusionist's Gambit, Wake the Dead, Siren's Call,
Reset) fixes #1501.
2016-01-28 21:44:02 +01:00
LevelX2
cb7becdeca Fixed that the Genju enchantments did not return to hand from graveyard. 2016-01-28 17:30:58 +01:00
fireshoes
3ff7b47b14 Fixed Scoured Barrens and Secluded Steppe collector numbers [C15]. Adding missing flying ability to Victory's Herald. 2016-01-28 08:56:13 -06:00
Skyler Sell
5155f9024e Issue #1311: Cards with 'another target creature or player'
AnotherTargetPredicate: Use MageItem instead of MageObject so it will
now also work with Player objects.

TargetCreatureOrPlayer: Add constructor specifying a filter object, modify
methods to actually use the creature and player filters.

Arc Trail and Cone of Flame: Use AnotherTargetPredicate to specify
multiple different targets
2016-01-27 20:08:06 -08:00
LevelX2
c4868cfa99 * Fixed a bug that put back auras always under owners control instead of abilities controller (e.g. triggered ability of It That Betrays). 2016-01-27 00:23:28 +01:00
LevelX2
c7b9cd5c9c Merge origin/master 2016-01-26 22:35:22 +01:00
LevelX2
70959ca225 * Ghostway - Fixed that only one card was returned to the battlefield. 2016-01-26 22:34:40 +01:00
Quercitron
c3624d5bce Fix that Brutal Expulsion don't send damaged planeswalker to exile (fixes #1489). 2016-01-26 02:55:21 +03:00
LevelX2
1e89fb60d1 Fixed that surge craeted exceptions for rule tooltip text generation. 2016-01-26 00:36:42 +01:00
LevelX2
151e678e84 Changed history handling for user a bit. Added history to table waiting dialog and user avatar tooltip. 2016-01-23 13:37:34 +01:00
LevelX2
1dbd3ea41c Added 3 cards. 2016-01-23 01:27:39 +01:00
LevelX2
5981816a4b Switch to 1.4.8 for upcoming realease. 2016-01-22 22:33:58 +01:00
Quercitron
37db757c4b Fix Zendikar Expeditions lands in boostes - BFZ booster should contain only expeditions 1-25, OTG only 26-45 2016-01-22 13:07:10 +03:00
LevelX2
64dea27bb3 *Fixed that tap events were send multiple times if attacker was tapped untapped and tapped again (etc.). So you could abuse e.g. Vampire Envoy. 2016-01-21 17:15:10 +01:00
LevelX2
f820e5f5c2 * Glittering Wish - Fixed that splitt spells mit monocolored halves of different colors are considered multicolored for non stack zones. 2016-01-21 16:37:58 +01:00
LevelX2
90fb740945 * Added message about damage dealt to permanents to the game log. 2016-01-21 16:36:36 +01:00
LevelX2
3b6f7f62cc Fixed some minor issues with Eldrazi Scion Token class. 2016-01-20 22:22:12 +01:00
LevelX2
1065d5b910 Fixed some minor issues with ZombieToken class. 2016-01-20 21:45:47 +01:00
fireshoes
0271506646 More OGW token tweaks. 2016-01-20 12:07:53 -06:00
LevelX2
c6eff03339 Merge pull request #1482 from menocar/user-stats
Record game histories. Compute user stats and show them in the client.
2016-01-20 07:31:11 +01:00
Me Car
46e560bd94 Removed unuseful proto fields. Added a better pom.xml documentation. Removed an unuseful logging. 2016-01-20 14:39:11 +09:00
Me Car
550648ccbe Record game histories. Compute user stats and show them in the user panel. 2016-01-20 12:47:58 +09:00
fireshoes
260a103d45 Pointed Crush of Tentacles to the BFZ Octopus token. Updated the Tiny Leaders Sultai commander proxy to 3/3 p/t and added Glass, the colorless commander proxy. 2016-01-19 11:52:01 -06:00
LevelX2
e3dc5399c9 * Tribute to Hunger - Fixed that the sacrifice was wrongly handled targeted. 2016-01-18 15:18:43 +01:00
LevelX2
f3154fab54 Some cleanup and minor rework. 2016-01-18 08:18:17 +01:00
LevelX2
d7f82ad0c6 Added Tears of Rage. 2016-01-16 19:21:15 +01:00
LevelX2
f4a9a66974 Moved some custom "Cast only" effects to the framework. 2016-01-16 12:48:23 +01:00
LevelX2
e2c8b8f583 * Form of the Dragon - Fixed tooltip text. 2016-01-16 10:08:06 +01:00
LevelX2
6fd86cf7c3 * Urborg, Tomb of Yawgmoth - Fixed tooltip text. 2016-01-15 23:33:54 +01:00
LevelX2
56485d7ee6 * Fixed a bug of block requirement check. 2016-01-15 22:59:29 +01:00
LevelX2
acb57c0fc8 * Fixed some problems with creating additional colorless mana. 2016-01-15 19:48:40 +01:00
LevelX2
7b93e95842 * Added missing non creature subtypes. 2016-01-15 11:47:33 +01:00
LevelX2
f6a5b7151f Added Gate to the non creature subtypes. 2016-01-14 22:54:48 +01:00
LevelX2
6396adaf9d * Fixed a bug that conditional colorless mana was not removed from mana pool if mana pool was emptied. 2016-01-13 17:54:48 +01:00
LevelX2
1d98f78815 * Support - Fixed rule text generation. 2016-01-13 08:43:03 +01:00
LevelX2
dd6484dba5 * Fixed that colorless mana could be paid with colored mana. 2016-01-12 16:33:49 +01:00
LevelX2
d0f38ffa53 * Witness the End - Fixed tooltip text. 2016-01-12 15:47:12 +01:00
LevelX2
52d8fce569 * Clutch of Currents - Fixed wrong target handling. 2016-01-12 15:38:44 +01:00
LevelX2
afb1ae16ea * Support - Fixed that the tooltip text was always created without "other" . 2016-01-12 15:36:52 +01:00
LevelX2
4eb9719769 * Allow more than 4 Wastes land in constructed decks (fixes #1454). 2016-01-11 00:00:21 +01:00
LevelX2
d8128d3741 * Adding some tests and minor changes to commander code. 2016-01-10 23:49:53 +01:00
LevelX2
121f40c019 Prepared 1.4.7. 2016-01-10 22:13:59 +01:00
LevelX2
49bb3ec76c [OGW] Added Oath of Chandra and Immobilizer Eldrazi. 2016-01-10 13:04:33 +01:00
LevelX2
c8f82b49ff Added possibility to check kind of cost to pay for conditional mana use. 2016-01-10 12:01:58 +01:00
LevelX2
d63f6d7d27 [OGW] Fixed Eldrazi Displacer. 2016-01-10 08:56:06 +01:00
LevelX2
f1d50ba81c [OGW] Added 5 green cards. 2016-01-09 10:15:23 +01:00
LevelX2
782190bac3 Some changes to mana handling to handle {C} mana. 2016-01-08 23:25:42 +01:00
LevelX2
5a4c9b3a4c Added Djinn Illuminatus. 2016-01-08 15:48:23 +01:00
LevelX2
0e4de763d8 * Splinter Twin - Fixed that no token was created if the enchnated permanent left battlefield meanwhile (fixes #1429). 2016-01-08 15:07:41 +01:00
LevelX2
0f4294a66c Midnight Ritual - Changes to card movement handling. 2016-01-08 14:02:02 +01:00
LevelX2
51b4979f71 Merge pull request #1444 from LoneFox78/master
Cards from Torment
2016-01-07 10:34:07 +01:00
LoneFox
a54c791976 Add FixedTarget support back to ExileTargetForSourceEffect and ReturnToHandTargetEffect 2016-01-07 10:34:36 +02:00
LevelX2
2ad15bbd48 Xmage 1.4.6v1 2016-01-06 23:23:12 +01:00
LevelX2
e9f58d20a5 * Fossil Find - Fixed card movement handling. 2016-01-06 22:11:09 +01:00
fireshoes
af5c9a368b [OGW] Added Seer's Lantern, Bearer of Silence, and Gift of Tusks. 2016-01-06 00:37:21 -06:00
fireshoes
702f0eb34e [OGW] Added 1/5 spoilers to mtg-card-data.txt. Added 11 cards. Updated "second spell cast" cards to use a different watcher. 2016-01-05 18:31:07 -06:00
LoneFox
7d8d6eb497 Fix ExileTargetForSourceEffect to work with multiple targets. Implement cards: Boneshard Slasher, Gloomdrifter, Petradon, and Petravark 2016-01-05 20:13:22 +02:00
LoneFox
df6909e590 Fix ReturnToHandTargetEffect to work with multiple targets. Implement cards: Churning Eddy, Crackling Club, Hypochondria, and Mortiphobia 2016-01-05 12:38:24 +02:00
LevelX2
4f2c21a146 * Fixed a bug that target event was wrongly created if effects like chnage target of Spellskite didn't change the target. 2016-01-02 16:31:42 +01:00
LevelX2
75305a133e Merge pull request #1437 from LoneFox78/master
Cards from Judgment + fixes
2016-01-02 10:00:01 +01:00
LevelX2
7676c5e894 [OGW] Added General Tazri and Stone Haven Outfitter. 2016-01-01 14:10:40 +01:00
LevelX2
54fd8504b1 [OGW] Fixed that support did add 2 counters to target permanent. 2016-01-01 13:09:35 +01:00
LevelX2
9883eff7b9 [OGW] Added Reflector Mage and Vile Redeemer. 2016-01-01 11:56:14 +01:00
LoneFox
05342e5176 Add GainProtectionFromColorAllEffect and use it for existing cards. Implement card: Glory 2016-01-01 12:10:30 +02:00
LoneFox
a58a2a3215 Handle the text of GainAbilityAllEffect in the standard way 2016-01-01 12:10:00 +02:00
LoneFox
bbbfd9f5b2 Rename AnyColorOpponentLandsProduceManaAbility to AnyColorLandsProduceManaAbility and give the controller of land to it as a parameter. Implement card: Harvester Druid 2015-12-31 22:34:58 +02:00
LoneFox
b80a7a1446 Fix a grammar error 2015-12-31 21:56:19 +02:00
LevelX2
6b643fbda8 * Fixed that some P/T settings were handled as character defining abilities but they were not. 2015-12-31 18:25:51 +01:00
LoneFox
ce2c6bc0c8 Fix CanBlockAdditionalCreatureEffect text when the effect lasts until end of turn 2015-12-31 17:37:13 +02:00
LevelX2
35c672fa7a * Hinder - Fixed that the countered spell was always moved to top of library. 2015-12-31 12:45:58 +01:00
LevelX2
554e81a462 * Hideaway - Fixed that the face down card played by hideaway was not correctly set face up again. 2015-12-31 12:05:08 +01:00
LevelX2
b0e8b03b74 * Cryptborn Horror - Fixed that it did not get the +1/+1 counters when entering the battlefield. 2015-12-31 11:12:39 +01:00
LevelX2
9f22eb0688 * Fixed that cards without cost (e.g. Ancestral Vision) could be cast from graveyard (e.g. by using Yawgmoth Will). Fixed that cards could be suspended from graveyard (e.g. with Yawgmoth Will). 2015-12-31 11:01:52 +01:00
fireshoes
9db602c685 [OGW] Updated mtg-cards-data.txt with 12/30 spoilers. Implemented Joraga Auxiliary (needs activated Support update), Gladehart Cavalry, Mindmelter, Linvala the Preserver, Forced-Will Eldrazi, Eldrazi Mimic, Relentless Hunter, Call the Gatewatch, Flayer Drone. Added FilterPlaneswalkerCard and OpponentHasMoreLifeCondition. 2015-12-30 15:42:13 -06:00
LevelX2
d370e7b496 [OGW] Added support keyword and Shoulder to Shoulder. 2015-12-30 12:24:27 +01:00
LevelX2
af5ff0f407 [OGW] Fixed Surge to work with triggered abilities of permanents. 2015-12-30 11:24:55 +01:00
fireshoes
d8060a76e4 [OGW] Updated mtg-cards-data.txt with 12/28 spoilers. Implemented 10 of the new cards. 2015-12-28 16:55:07 -06:00
LevelX2
12f5e9583f Merge pull request #1432 from LoneFox78/master
Random stuff
2015-12-25 20:40:48 +01:00
LoneFox
2b09bd0b7c Fix timing of "at the end of combat" delayed triggers. 2015-12-25 20:42:33 +02:00
LoneFox
8feb31405b Extract UnlessPaysDelayedEffect from Quenchable Fire into its own file and implement cards that use it: Glass Asp, Nafs Asp, and Sabertooth Cobra 2015-12-25 12:41:31 +02:00
LevelX2
0c2abc69de * Fixed some cost classes that didn't hadle correctly if a cost concerning card movement is paid or not. 2015-12-25 11:04:46 +01:00
LevelX2
eb0ae55257 * Fixed a problem with "put into the graveyard from anywhere triggers" that checked wrongly the state of the source object on the battlefield if went to graveyard itself. 2015-12-24 17:58:04 +01:00
LevelX2
aecb2c8829 [OGW] Added surge and Crush of Tentacles. 2015-12-24 10:02:11 +01:00
LevelX2
20a4181081 Merge pull request #1430 from LoneFox78/master
Random cards
2015-12-23 15:25:40 +01:00
LevelX2
e7b3cb66e0 * Colorless Mana - Added logic to be able to pay colorless mana (not generic mana). 2015-12-23 15:23:13 +01:00
LoneFox
55dcf80012 Implement cards: Consumptive Goo, Decree of Silence, Misguided Rage, and Recuperate 2015-12-20 11:24:31 +02:00
fireshoes
aaa4857e43 [OGW] Added Endbringer and UntapSourceDuringEachOtherPlayersUntapStepEffect. 2015-12-19 22:45:59 -06:00
LoneFox
f50089f2c6 Implement cards: Crowd Favorites, Daru Stinger, Swooping Talon, and Trap Digger 2015-12-17 12:30:00 +02:00
LevelX2
131d3af759 * Started adding the new colorless mana {C}. Not finished yet but the exception is removed. 2015-12-16 12:40:10 +01:00
LevelX2
aa07fcecd5 * Fixed a bug that P/T set of target animated lands (e.g. by Awaken) were set in the wrong sublayer so that the P/T of self animated lands (e.g. Shambling Vent) were always overwritten desite their ability time stamp. 2015-12-16 12:36:09 +01:00
LevelX2
70833c6938 Merge pull request #1422 from LoneFox78/master
New cards from Mirrodin + some random stuff
2015-12-16 11:30:06 +01:00
LoneFox
07f7f38843 Fix a bogus warning when removing all counters of one type from a permanent 2015-12-15 14:29:14 +02:00
LoneFox
86104fa124 Add DistributeCountersEffect and use it for existing cards. Fix Armament Corps, which allowed to
put counters on other players' creatures. Implement cards: Bounty of the Hunt, Shambling Swarm, and
Wurmskin Forger
2015-12-15 14:11:08 +02:00
fireshoes
3008b5ed14 [OGW] Added 18 cards. Cards with <> in their activation costs are untested. 2015-12-14 23:02:35 -06:00
Quercitron
5a709468b5 Add Rakdos the Defiler 2015-12-15 03:09:14 +03:00
Quercitron
50a71f5cb9 Add HalfValue dynamic value 2015-12-15 03:08:17 +03:00
LevelX2
0157bf0494 * Fixed that the name of a face down spell on the stack was shown in the game log if the spell was targeted by another stack object. 2015-12-14 22:03:00 +01:00
LoneFox
acb2c47207 Clean up various Control Magic effects 2015-12-14 12:51:23 +02:00
LevelX2
207f486afc * Xmage 1.4.6v0 2015-12-13 19:47:04 +01:00
LevelX2
bdc9260dfa * Corpse Augur - Fixed that all cards in target players graveyard were counted instead of only creature cards. 2015-12-13 17:39:38 +01:00
LevelX2
d9b20298b7 * Bloodlord of Vaasgoth - Fixed that Vampires entering the battlefield did never bloodthirst from the Bloodlord. 2015-12-13 10:05:54 +01:00
LevelX2
e2873be2f8 * Mirror Entity - Fixed that the "gain all creature types" was applied in the wrong layer. 2015-12-12 18:20:42 +01:00
LevelX2
8b5272cb64 * Fixed a problem that the controller of triggered abilities was set to a false value if the source object of the triggered ability was removed from battlefield at the same time as other objects (fixes #1417). 2015-12-12 17:36:12 +01:00
LevelX2
4ca5909840 * Some minor changes. 2015-12-12 07:32:56 +01:00
fireshoes
692fe8046e Merge origin/master 2015-12-11 16:13:39 -06:00
fireshoes
636f2d960e Updated text of cards that add colorless mana to use {C}. Added ExileSourceUnlessPaysEffect. Added some random cards. 2015-12-11 16:12:46 -06:00
emerald000
2ceb8425e5 Remove obsolete Pick zone. 2015-12-11 17:03:45 -05:00
LevelX2
af793c30fe * Added a slider to the preferences to adjust the delay for the card tooltip window appearance. 2015-12-08 18:39:47 +01:00
LevelX2
0488da6b22 * Amoeboid Changeling, Wings of Veles-Vel - Fixed that the character types were changed on the wrong layer. 2015-12-08 15:24:24 +01:00
LevelX2
4d01eb143a Redesigned handling of attack allowed check related to the complete attack. 2015-12-08 12:20:37 +01:00
LevelX2
15a884c00c * Added a test. 2015-12-07 17:19:37 +01:00
LevelX2
259d6744ae * Fixed that casting spells without mana costs did not work correctly for spells with mono hybrid mana costs (e.g. Beseech the Queen by Omniscience) fixes #1404. 2015-12-06 09:37:45 +01:00
LevelX2
2619202931 Merge pull request #1409 from LoneFox78/master
New cards
2015-12-06 09:35:21 +01:00
LevelX2
de285ba1ed * Fixed that draw effect was only applied to the first target (e.g. Wheel and Deal only one opponent draws 7 cards). 2015-12-05 01:09:22 +01:00
LevelX2
dd50521887 * Grasp of Fate - Fixed that only the first target was exiled. 2015-12-04 19:11:34 +01:00
LoneFox
04e2282e82 Extract RecruiterEffect from Goblin Recruiter to its own file. Implement cards: Dwarven Recruiter and Scouting Trek 2015-12-04 12:58:59 +02:00
LevelX2
ac19cfe379 Some changes to token expansion set calculation. 2015-12-04 08:24:18 +01:00
emerald000
3dcdd7f046 Removed obsolete Zone parameter in CardsImpl constructors. 2015-12-04 00:34:10 -05:00
fireshoes
e5b4790d20 Merge origin/master 2015-12-03 16:27:30 -06:00
fireshoes
7abd1133e6 Added numerous cards, mostly from PO2 and PO3. Fixed that Suture Priest's first ability wasn't optional. Updated Adam Styborski's Pauper Cube. 2015-12-03 16:26:29 -06:00
LevelX2
eb1c738b37 * Moved some logic in a framework class. Fixed some problems of Whirlpool creatures. 2015-12-02 16:55:09 +01:00
LevelX2
87fc4d53dc Fixed Framework pom - removed fixed src folder. Minor fixes to ManaTest. 2015-12-01 22:43:56 +01:00
LevelX2
595a55b7c5 Revert "Fixed package declarations for moved Mage package."
This reverts commit 06199eeca3.
2015-12-01 22:33:59 +01:00
poixen
db2af7000e Merge pull request #1399 from poixen/counters
Added unit tests and javadoc for Counter class.
2015-12-01 20:04:15 +01:00
emerald000
7abfc7d025 File that wanted to feel special and not be part of last commit. 2015-12-01 06:16:00 -05:00
emerald000
06199eeca3 Fixed package declarations for moved Mage package. 2015-12-01 06:07:01 -05:00
poixen
ad0fb6b7eb Added unit tests and javadoc for Counter class. 2015-11-30 21:44:57 +01:00
poixen
46eb6c0525 Restructured Mage module 2015-11-29 21:56:49 +01:00
poixen
409e66a2e9 Removed mutable public static mana 2015-11-29 20:12:39 +01:00
Neil Gentleman
7996d02b1a add Accelerated Mutation, Torrent of Fire, et al.
using new HighestConvertedManaCostValue
2015-11-28 21:11:56 -08:00
Neil Gentleman
bfb428b13a always use log4j
removed all references to mage.util.Logging, java.util.logging

transient static doesn't mean anything, since static fields are never
included in serialization
2015-11-28 21:11:25 -08:00
Quercitron
b9add2e041 * Turntimber Basilisk - Fix a bug when a creature that must be blocked is not attacking 2015-11-29 00:19:21 +03:00
LevelX2
d94a2712ba * Fixed a bug that a dies ability did still trigger as the stack was not cleared meanwhile. 2015-11-28 12:52:13 +01:00
poixen
b22036c041 added javadoc and final modifiers 2015-11-28 11:57:46 +01:00
LevelX2
cb4f996bce * Fixed a problem were Menace restriction could be bypassed by using Undo Block action. 2015-11-27 20:23:04 +01:00
LevelX2
121e55f1d7 * Fixed a problem with calculation of playable lands. 2015-11-27 20:21:48 +01:00
LevelX2
f23756c20b * Fixed that DiesThisOrAnotherCreatureTriggeredAbility did not work if the source died itself (e.g. Omnath, Locus of Rage). 2015-11-27 12:27:46 +01:00
LevelX2
123afcb44c * Some minor tooltip rule text fixes. 2015-11-26 22:57:42 +01:00
LevelX2
0b832c9b11 * Fixed a bug of cost reduction calculation. 2015-11-26 22:56:42 +01:00
LevelX2
eb6a5e7dcb * Some rework of play card effects. 2015-11-26 17:06:50 +01:00
LevelX2
780702be1b * Fixed some problems with replaced play land special action. 2015-11-26 10:48:40 +01:00
LevelX2
e51c4d5f67 * Fixed a bug where wrongly a card object was moved for a copied spell. 2015-11-26 00:48:28 +01:00
poixen
c0ee279da9 methods now access and set state directly, rather than through the API, which is meant to prevent accidently setting minus values 2015-11-25 23:12:23 +01:00
poixen
3ffb11d2e9 Updated mana class to pass failing tests 2015-11-25 19:57:11 +01:00
LevelX2
fbb3929d0a * Fixed some adjustTargets methods of cards were that the target adjustment could be applied to abilities not intended (fixes #1384). 2015-11-25 16:30:18 +01:00
LevelX2
b637d2c65c * Fixed layer problem of BecomesCreatureSourceEffect (causes Chimeric Mass to die after entering the Battlefield). 2015-11-25 14:51:41 +01:00
Neil Gentleman
12b6a22327 improve Devotion formatting
fixes Aspect of Hydra, Evangel of Heliod
2015-11-25 00:32:02 -08:00
Neil Gentleman
19a0e1dcc4 correct grammar, remove duplicate parentheses 2015-11-25 00:32:02 -08:00
Neil Gentleman
b1cc464d98 remove useless .toString() 2015-11-25 00:32:01 -08:00
Neil Gentleman
f83cb32ed3 don't use <i/> to end italic text
it's not correct html, and causes all following text to render italic.

only visible on a few cards, because reminder text typically comes at
the end of line.
2015-11-25 00:32:00 -08:00
fireshoes
692c7d2812 Added some POR cards and a few misc cards. Fixed POR collector's numbers. 2015-11-25 01:07:43 -06:00
LevelX2
8b3958f7d5 Merge pull request #1385 from LoneFox78/master
Some Coldsnap
2015-11-24 09:09:21 +01:00
LoneFox
6b345fb291 Snow mana symbol is {S}, not {snow} 2015-11-23 16:47:16 +02:00
LevelX2
be49cfc561 * Myriad - Fixed that wrongly also a token was created for the defending player. 2015-11-23 12:24:46 +01:00
Neil Gentleman
230d1d37bd fix Grinning Totem, Thada Adel, Commune with Lava
opponent was able to cast the exiled cards

also changed Knacksaw Clique to use the same templating as Ornate Kanzashi
2015-11-22 18:40:38 -08:00
Neil Gentleman
a90d0e5597 reuse shared code for picking basic land sets 2015-11-22 18:00:10 -08:00
LoneFox
4214ef94b0 Fix the text of ripple abilities 2015-11-22 20:10:39 +02:00
LevelX2
05dd1daee6 * Added some information to the player tooltip in game (expericence counters, deck hash code, # of wins). 2015-11-22 11:07:48 +01:00
Neil Gentleman
038d02e8d7 add test for non-standard booster generation 2015-11-21 18:35:10 -08:00
LevelX2
96bc3172f5 * Fixed a problem of returning cards from exile (e.g. Fiend Hunter) if the triggering permanent made multiple zone changes before the left battlefield triggered ability resolved to return the exiled permanents. 2015-11-21 23:41:41 +01:00
poixen
b0da2f2260 Merge pull request #1378 from poixen/mana_cleanup
Removed minus subtraction limits
2015-11-21 12:06:02 +01:00
poixen
a5242ff087 resolved conflicts 2015-11-21 12:02:55 +01:00
poixen
5c6bdfceb8 Merge pull request #1379 from poixen/manasymbol
Manasymbol
2015-11-21 11:47:28 +01:00
LevelX2
0d86e8e063 Xmage 1.4.5v0 2015-11-21 10:33:43 +01:00
emerald000
59fabeee20 Added missing Scion subtype. 2015-11-20 17:42:14 -05:00
poixen
f2972c5b8e Updated Phyrexian Mana
+ “A Phyrexian mana symbol represents a cost that can be paid either
with *one mana of its color* or by paying 2 life”. These symbols are
mono colored, as such I have made them so.
+ Added test cases for phyrexian mana symbols
2015-11-20 22:43:26 +01:00
poixen
de13fb5cba Removed redundant modifiers
+ Removed the private modifiers. They are not needed in an ENUM class.
2015-11-20 22:08:39 +01:00
poixen
f34e69308e Updated mono colored hybrid mana type
+ “107.4e. Hybrid mana symbols are also colored mana symbols.” I have
added the Type COLORED to each mono hybrid symbol
+ added tests for hybrid mana symbols
2015-11-20 22:07:24 +01:00
poixen
f6cc03ec44 Added W mana test case
Added U mana test case
Added B mana test case
Added R mana test case
Added G mana test case
2015-11-20 20:59:52 +01:00
poixen
56be135532 Removed minus subtraction limits
+ Removed minus subtraction limits to allow other areas of code to work
2015-11-20 17:22:48 +01:00
LevelX2
8a133a43d0 Added test for Mana.enough method. 2015-11-20 15:06:00 +01:00
Quercitron
7e58dc70d5 Update Swiss tournament pairing - For the last round, for each unpaired player pair against the highest ranked player they haven't played against 2015-11-20 02:54:50 +03:00
LevelX2
c4ab5806e0 Revert "Mana Class Overhaul" 2015-11-19 22:59:57 +01:00
LevelX2
68ff09c219 Revert "Mana updates" 2015-11-19 22:59:15 +01:00
LevelX2
f4871fe489 Merge pull request #1375 from poixen/mana_cleanup
Mana updates
2015-11-19 22:37:14 +01:00
poixen
05b841577a added subtraction logic to enough()
+ added subornation logic to enough(). We do not want to mix the public
subtract() call with this method. As doing so would mean that either a)
subtraction can go below 0 (this should not happen) or b) we break this
function with exceptions. This is a work around for these scenarios.
2015-11-19 17:42:59 +01:00
poixen
2c617a6aaf Mana updates
+ calling subtraction will now throw an exception if you try and use
more mana than is available. This is better than setting it to 0.
Setting to 0 impose that you should still be allowed to perform the
action.
+ updated subtraction test to check for exception
+ subtractionCost() will not allow using mana that is not available,
same as subtract()
2015-11-19 17:09:40 +01:00
LevelX2
ec7c888044 Some fixes to put token onto battlefield handling of cards. Some minor reworks. 2015-11-19 15:52:45 +01:00
LevelX2
7bb5d1bb43 Merge pull request #1374 from poixen/mana_cleanup
Mana Class Overhaul
2015-11-19 14:37:39 +01:00
Quercitron
486d547f5e Fix Swiss pairing for the case when some players have left the tournament 2015-11-19 13:18:43 +03:00
poixen
1f5638539f Class Overhaul
+ added javadoc
+ added final to method variables that should not be mutated
+ Mana can no longer be initialised with minus values
+ added null assertions
+ renamed ‘addXXX’ to ‘increaseXXX’. Add implies that you are able to
add variable amounts.
+ subtraction can no longer allow minus values.
+ removed unused state
+ refactored classes use renamed/removed mana calls
+ added comment to contains(), needs to be looked into?
+ Added validation to setting of mana. Can no longer be set to minus
values. Will log if an attempt is made
+Added comment to static mana, this is unsafe.
2015-11-19 09:53:52 +01:00
Neil Gentleman
00ec431889 add Gorgon Recluse, cleanup similar cards
Added filtering to BlocksOrBecomesBlockedByCreatureTriggeredAbility,
so that non-wall and color-specific basilisks could reuse it.

Simic Basilisk and Deathgazer were incorrectly destroying the creature
immediately, not at end of combat.
2015-11-18 21:05:14 -08:00
Quercitron
05a789cd8b Use approach with minimal weight matching to determine Swiss tournament pairings 2015-11-19 02:58:02 +03:00
LevelX2
9b074876db Merge origin/master 2015-11-19 00:42:45 +01:00
LevelX2
fd0d9c166d [C15] Added Mizzix's Mastery, Mirror Match and Synthetic Destiny. 2015-11-19 00:39:43 +01:00
Fiorden
3991ec4ba0 Merge pull request #1 from magefree/master
testing update
2015-11-18 21:05:09 +01:00
Fiorden
bfb7d06cae Fixed that Mountain subtype was not remowed by Spreading Seas, Sea's Claim 2015-11-18 20:05:06 +01:00
LevelX2
dcf3ac87f1 [C15] Added Deadly Tempest and Dread Summons. 2015-11-18 20:04:00 +01:00
LevelX2
7044e58231 [C15] Added Scourge of Nel Toth. 2015-11-18 17:39:32 +01:00
LevelX2
bfb54ca112 * Deflecting Palm - Fixed a bug that the to the source controller redirected damage of Deflecting Palm could not be redirected to an existing planeswalker of that controller. 2015-11-18 17:38:48 +01:00
Neil Gentleman
1750bf32a1 fix Seance
Spirit subtype wasn't being added, and the token shouldn't have haste
2015-11-17 23:36:06 -08:00
LevelX2
1d590442d0 [C15] Added Awaken the Sky Tyrant and Dream Pillager. 2015-11-15 20:05:58 +01:00
LevelX2
160f14eed1 [C15] Oreskos Explorer, Bastion Protector and Dawnbreak Reclaimer. 2015-11-15 18:54:26 +01:00
LevelX2
d3751af0db [C15] Added Skullwinder and Ezuri's Predation. 2015-11-15 11:10:52 +01:00
LevelX2
576a9ea74f Updated mtg-cards-data.txt. Added a land deck for Mormir Basic format. 2015-11-15 10:25:02 +01:00