Commit graph

1582 commits

Author SHA1 Message Date
LevelX2
04c8351712 [SOI] Fixed some cards. 2016-03-26 02:17:14 +01:00
drmDev
a66e64f595 Mulldrifter tests for reported bug 2016-03-24 06:17:47 -04:00
LevelX2
285cff0b33 * Disrupting Shoal - Fixed that the target spell was not countered if the spell was cast with the regular mana costs. 2016-03-21 11:00:02 +01:00
LevelX2
916836d0c9 * Fixed a problem with creatures forced to block while not able to do because the attacker has restrictions (e.g. menace). 2016-03-20 10:27:57 +01:00
LevelX2
672ac28931 * Voice of Resurgence - Fixed a bug that the dies trigger did not work correctly if Voice of Resurgence was copied e.g. by a Phantasmal Image. 2016-03-20 09:05:39 +01:00
drmDev
72fad81bd5 Test for Breaker of Armies with Menace, reported bug. 2016-03-17 10:33:40 -04:00
drmDev
ea961d3cfc whoops... fix test 2016-03-17 08:28:28 -04:00
drmDev
eb9747d0d1 tests for reported bug Rabid Elephant. typo fixes 2016-03-17 08:21:36 -04: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
drmDev
79c4798ff9 Renamed Thought-Knot Seer tests to match conventions. 2016-03-14 02:54:10 -04:00
drmDev
72cbaaf3ab Tests for Thought-Knot Seer reported bug 2016-03-14 02:27:32 -04: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
jeff
1bff8d1f70 - Removed irrelevant note from test. 2016-03-11 11:23:50 -06: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
a38216ccf2 Added test. 2016-03-10 17:07:45 +01:00
LevelX2
16330ff474 Some minor changes. 2016-03-10 16:53:39 +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
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
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
LevelX2
29b37b046d Fixed some trap cards and removed old AlternateCostImpl. 2016-03-06 19:41:30 +01:00
drmDev
3e12590d9b Additional test for sources of differing colors 2016-03-06 08:57:37 -05:00
drmDev
7cc6de86ad Card implementation and tests for CircleOfAffliction 2016-03-06 08:40:32 -05: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
drmDev
82225e7b85 Optional Sacrifice tests for Glint Hawk and Drake Familiar 2016-03-04 12:48:33 -05:00
LevelX2
080a1b883c Wild Pair - fixed condition handling. 2016-03-04 12:21:47 +01:00
drmDev
f1bbc16a75 Fixed disrupting shoal test for CMC 5 2016-03-03 20:33:50 -05:00
drmDev
f05afca73d Disrupting Shoal tests for fuse cards (reported bug) 2016-03-03 20:10:27 -05:00
LevelX2
c3f32a39bd Merge. 2016-03-03 23:19:45 +01:00
LevelX2
527bb2a492 Modified Blood Moon test. 2016-03-03 10:21:11 +01:00
drmDev
db2784ff5d Tests for reported bug on Skyline Cascade. 2016-03-02 22:29:42 -05:00
drmDev
50e1828d41 tests for Blood Moon and Pithing Needle interactions 2016-03-02 19:33:51 -05:00
drmDev
a9214e6d35 unit tests for Dread Cacodemon Cast from hand and Not Cast from hand 2016-03-01 18:45:21 -05:00
LevelX2
b19b43c4c8 * Scion of Vitu-Ghazi - Fixed that conditional trigger was not handled correctly. 2016-03-01 15:39:37 +01:00
LevelX2
739b7d6535 Added a test for Serra Ascendant and Commander FFA. 2016-02-28 19:00:41 +01:00
LevelX2
0f1839af56 Reworked some trap cards using old AlternateCosts class. 2016-02-27 23:44:59 +01:00
LevelX2
2613e3113f Added some tests. 2016-02-26 00:55:31 +01:00
LevelX2
288d951ae7 * Fixed Eldrazi Mimic test failing sometimes. 2016-02-25 22:29:28 +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
LevelX2
8e671fecaa Added a test. 2016-02-25 00:25:33 +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
LevelX2
7aa0ff1f13 Fixed a bug if EntersBattlefieldAllTriggeredAbility. (Fixed the Eldrazi Mimic bug). 2016-02-21 23:22:17 +01:00
LevelX2
e9638bcc4d Release 1.4.9v0 2016-02-21 12:58:58 +01:00
LevelX2
a87bb6f5e6 Added a test (#1544). 2016-02-21 10:52:23 +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
53f48a6602 * Containment Priest - Fixed that it also did exile permanents that entered the battlefield transformed and the transformed permanent was no creature (e.g. flipwalker). 2016-02-18 16:52:57 +01:00
LevelX2
ff52fcd588 * Essence of the Wild - Fixed that the copy effect did not work correctly. 2016-02-17 15:52:09 +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
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
eb3531c8bf Added another myriad test. 2016-02-13 12:49:37 +01: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
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
Quercitron
741c20afd8 Added Needle Drop. 2016-02-07 16:51:33 +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
LevelX2
6a0554966e Added deck format test. 2016-02-04 23:53:07 +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
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
LevelX2
7b326685c1 * Lymph Sliver - Fixed that the absorb ability was applied for every creature on the battlefield. 2016-02-02 13:28:21 +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
78ac6688ea Some tests and minor changes. 2016-01-31 09:51:23 +01:00
LevelX2
3f898aa67b * Quicken - Fixed possible null pointer exception. 2016-01-30 11:38:08 +01:00
LevelX2
bb9dd1600e Added some tests and minor changes. 2016-01-30 01:14:17 +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
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
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
d2031d81f3 Added test. 2016-01-26 10:39:51 +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
85bfa29c9f Added missing method for PlayerStub. 2016-01-23 17:05:54 +01:00
LevelX2
a507cc88a1 Added missing delegation method for TestPlayer. 2016-01-23 17:00:46 +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
LevelX2
ecedc360e9 Fixed some cards that did not correctly retrieve target object if it was not destroyed (fixes #1486) . 2016-01-22 12:56:58 +01:00
LevelX2
9ebc2d5991 * Tatterkite - Fixed that it was not prevented to add counters if the counters were added while Tatterkite entered the battlöefield (e.g. Undying). 2016-01-21 17:44:30 +01:00
LevelX2
a0f6a1bee9 Added missing method to TournamentSub test. 2016-01-20 22:22:34 +01:00
LevelX2
c2b91bfd61 Added surge test. 2016-01-15 23:33:36 +01:00
LevelX2
56485d7ee6 * Fixed a bug of block requirement check. 2016-01-15 22:59:29 +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
52d8fce569 * Clutch of Currents - Fixed wrong target handling. 2016-01-12 15:38:44 +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
688fe42f90 Set failing tests to ignore. 2016-01-10 22:13:07 +01:00
LevelX2
89350f1a91 [OGW] Added Oath of Gideon, Wall of Resurgence and Cultivator Drone. 2016-01-10 12:02:46 +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
782190bac3 Some changes to mana handling to handle {C} mana. 2016-01-08 23:25:42 +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
e9f58d20a5 * Fossil Find - Fixed card movement handling. 2016-01-06 22:11:09 +01: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
7676c5e894 [OGW] Added General Tazri and Stone Haven Outfitter. 2016-01-01 14:10:40 +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
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
LevelX2
af5ff0f407 [OGW] Fixed Surge to work with triggered abilities of permanents. 2015-12-30 11:24:55 +01:00
Quercitron
c73cee90a5 * Laquatus's Champion - Fix that player didn't get life when Laquatus's Champion left the battlefield 2015-12-30 02:03:44 +03:00
Quercitron
88ca1ec1b0 Fix player targets processing in tests 2015-12-30 01:54:51 +03:00
LevelX2
dcfb593059 * Added a test. 2015-12-25 16:14:58 +01:00
LevelX2
e7e290e787 * Archfiend of Depravity - Outcome tweaked for AI behaviour. 2015-12-25 11:45:55 +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
c83f906525 * Fixed some cards doing preventable non combat damage but handled the damage wrongly as non preventable combat damage. 2015-12-23 16:38:56 +01: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
855ac6e4e1 * Hallowed Moonlight - Fixed a bug in the way cards were moved to exile. 2015-12-14 23:26:16 +01:00
LevelX2
803b948a66 Added a test. 2015-12-14 12:16:17 +01:00
LevelX2
207f486afc * Xmage 1.4.6v0 2015-12-13 19:47:04 +01:00
LevelX2
ac7cd27f34 * Added test and some minor changes. 2015-12-13 19:18:26 +01:00
LevelX2
ae34fd795a * Savage Summoning - Fixed that the +1/+1 counter was not added. 2015-12-13 18:10:55 +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
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
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
74d2ff0316 * Perplexing Chimera - Fixed that the control effect was not discarded as Perplexing Chimera changed zone. 2015-12-04 19:00:10 +01:00
LevelX2
0af5ed4e7b * Chandra's Phoenix - Fixed check for source object doing damage to opponents. 2015-12-03 16:36:30 +01:00
poixen
46eb6c0525 Restructured Mage module 2015-11-29 21:56:49 +01:00
Neil Gentleman
e678577720 run Mage.Tests with a fresh card db
currently tests are failing in Jenkins
2015-11-28 21:35:07 -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
28a087812a Add comments to Turntimber Basilisk test 2015-11-29 00:31:38 +03: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
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
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
3ffb11d2e9 Updated mana class to pass failing tests 2015-11-25 19:57:11 +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
LevelX2
62992d46db Fixed the sometimes failing Evolve test. 2015-11-25 14:50:27 +01: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
LevelX2
db669f02d5 * Zada, Hedron Grinder - Fixed that the spell copy target setting did not work correctly for targets that optional allowed more than one target creature (e.g. spells with Strive). 2015-11-24 17:07:52 +01:00
LevelX2
d65b236d0a Added some tests. 2015-11-24 16:37:43 +01:00
LevelX2
8c0b615faf Merge pull request #1380 from poixen/evolveTestFix
Fixed broken evolve test
2015-11-24 09:08:22 +01:00
Neil Gentleman
085b00499c fix Grinning Totem
the exiled card wouldn't be put in its owner's graveyard if Grinning Totem
changed zones before the delayed trigger

any cards using CardUtil.getCardExileZoneId for delayed effects are likely
broken in the same way
2015-11-22 18:40:46 -08: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
f06de472a4 fix Hostility
was preventing damage to opponents regardless of source
2015-11-22 18:00:28 -08: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
poixen
bb8137c81a Fixed broken evolve test
As mentioned in the test comments:

“* I take two Ivy Lane Denizen on to the stack and then Renegade
Krasis's Evolve
     * Ability, so resolving Renegade Krasis's Evolve Ability is first
. (Maybe
     * Ivy Lane Denizen's target is any.) When Renegade Krasis's Evolve
Ability
     * resolves, +1/+1 counter is placed on it, but doesn't triggers
Renegade
     * Krasis's second ability.”

This means that Renegade dent put a counter on Adaptive, as the ivy +1
triggers are still on the stack
2015-11-21 00:12:23 +01: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
6138af0ffb Added Snow Mana Test
+ Added test case for snow mana
2015-11-20 22:29:49 +01:00
poixen
09ea717ed3 Added Hybrid Mana Tests
+ Added hybrid mana test cases
2015-11-20 22:24:55 +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
b30a6c4b15 * Cryptoplasm - Fixed that the copied creature did not have the triggered ability (fixes #1367). 2015-11-19 23:28:12 +01: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
Quercitron
05a789cd8b Use approach with minimal weight matching to determine Swiss tournament pairings 2015-11-19 02:58:02 +03:00
LevelX2
7044e58231 [C15] Added Scourge of Nel Toth. 2015-11-18 17:39:32 +01:00
LevelX2
70bce1c082 * Void Winnower - Fixed that the check for even casting costs did not work correctly. 2015-11-14 11:24:26 +01:00
LevelX2
d3000da3a3 * Void Winnower - Fixed that the check for even casting costs did not work correctly. 2015-11-14 11:14:50 +01:00
LevelX2
50b5602459 * Conflagrate - Fixed that the damage amount could be calulated if cast by flashback. 2015-11-14 10:01:13 +01:00
LevelX2
1335d58e77 * Collapsing Borders - Fixed that it did not give life to players. 2015-11-14 02:33:24 +01:00
LevelX2
4711e0cf99 Changed ability handling of modal spells to be able to select the same mode multiple times with different targets. 2015-11-14 01:56:56 +01:00
LevelX2
431d0005f2 Updated modes to handle selection of modes multiple times (not working yet if targets included). 2015-11-08 20:07:02 +01:00
LevelX2
6f2d3a18c0 [C15] Added Myriad keyword. 2015-11-08 11:51:36 +01:00
LevelX2
f3e8a93316 * Renegade Krasis - Fixed that check if Renegade Krasis was evolved did not always work correctly. 2015-11-07 21:21:03 +01:00
LevelX2
b1c3d690f5 * Fixed some ability and subtype removing effects (fixes #1352). 2015-11-07 12:29:31 +01:00
LevelX2
27ae613ce8 * Fixed handling of zoneChangeCounter of PermanentCard (fixes #1353). 2015-11-06 12:28:58 +01:00
LevelX2
3de7ff6808 * Some rework of card moving after spell countering. 2015-11-05 00:37:30 +01:00
LevelX2
1139495fd7 * SetPowerToughnessSourceEffect - Set the correct sublayer to use (fixes #1354). 2015-11-04 22:31:35 +01:00
LevelX2
af18f95bba Minor changes. 2015-11-04 17:16:45 +01:00
LevelX2
54d28550b4 Added a test. 2015-11-04 12:28:48 +01:00
LevelX2
2e49a74aab * Fixed test with Flashback and converge. 2015-10-31 10:32:45 +01:00
LevelX2
3beb5568c4 * Karn Liberated - Fixed that commanders were not returned to command zone after game reset. 2015-10-31 00:55:12 +01:00
LevelX2
e0c1492f88 * Fixed a problem that the AI was locked if a attack fee has to be paid but the AI was not able to pay the costs. 2015-10-30 22:34:42 +01:00
LevelX2
2153d5ccf5 * Fixed that for spells cast with flashback values calculated from the paid mana (e.g. Converge) did not work correctly. 2015-10-30 00:30:53 +01:00
LevelX2
d79776e589 * Added some tests. 2015-10-28 17:05:58 +01:00
Neil Gentleman
0c988de9fb fix Impelled Giant 2015-10-27 20:24:57 -07:00
LevelX2
5c31b03c00 * Fixed a problem that ability controller of replacement effects for cards entering the battlefield were not changed early enough (e.g. causing problem if putting Canopy Vista of opponent with Oblivion Sower onto th ebattlefield). 2015-10-27 17:55:38 +01:00
Toby Lawrence
d42e5fed78 Razorverge Thicket should enter untapped only if you control two or less lands. 2015-10-25 17:58:20 -04:00
LevelX2
f14cbb7f36 * Fixed a bug with removing spells from stack (e.g. Split Second had some problems) fixes #1333. 2015-10-23 18:25:36 +02:00
LevelX2
92bcd0d522 * Changed some more card movement handling. 2015-10-22 23:02:07 +02:00
LevelX2
2aaea46dc6 * Fixed that the exile and return effect of the flip planeswalker did not always work correctly. 2015-10-22 15:38:50 +02:00
LevelX2
af67e27bcd * Alesha, Who Smiles at Death - Fixed that the move card to battlefield worked not correctly. 2015-10-22 15:37:58 +02:00
LevelX2
4629366ae7 * Fixed that spells without mana costs but suspend could be cast with no mana (e.g. Ancestral Vision). 2015-10-21 20:16:52 +02:00
LevelX2
d906fc8c00 * Fixed that damage redirection to planeswalker did cause an exception. 2015-10-21 15:35:58 +02:00
LevelX2
d20bbcfe0b * Fixed that permanents brought onto battlefield by search abilities were always tapped. 2015-10-21 15:14:20 +02:00
LevelX2
701a722904 * Fixed some redirect effect sthat were implemented as prevention effects (fixes #1216). 2015-10-20 22:58:24 +02:00
LevelX2
d58288da6d Some changes to RedirectionEffect class. Fixed that Harm's Way and Shaman en-Kor prevented the damage instead of only redirecting the damage. 2015-10-20 17:16:13 +02:00
LevelX2
606bf4d6e0 * Fixed that it was not possible to play spells without costs with alternative costs (e.g. Ancestral Visions with Omniscience). Fixed that playing spells with alternate costs did also remove additional costs (e.g. card with entwine cast with Omniscience). 2015-10-20 00:44:32 +02:00
LevelX2
7c35a69360 * Fixed a bug that if copied spells should be shuffled into the library the original spell was removed from the stack. 2015-10-19 22:36:28 +02:00
Neil Gentleman
3817118bc0 Fix 'Of', 'By' and 'The' in card names 2015-10-19 00:44:26 -07:00
LevelX2
415700ccb2 * Some more changes for rework of ENTERS_THE_BATTLEFIELD event and card movement. 2015-10-18 23:33:23 +02:00
LevelX2
4216fbab8c * Some more changes for tework ENTERS_THE_BATTLEFIELD event for replacement effects. 2015-10-18 11:11:48 +02:00
LevelX2
d145885d2d * Sylvan Library - Fixed that a player that controlled a Sylvan Library from another player was not forced to play life for cards he kept from Sylvan Library's triggered ability (fixes #1307). 2015-10-18 10:21:12 +02:00
LevelX2
4243a1d3a3 Merge origin/master
Conflicts:
	Mage.Sets/src/mage/sets/gatecrash/MasterBiomancer.java
2015-10-17 16:33:05 +02:00
LevelX2
59ef2a2889 * Reworked ENTERS_THE_BATTLEFIELD event for replacement effects. Some rework to card movement. 2015-10-17 16:30:28 +02:00
LevelX2
597d530a37 Some minor changes. 2015-10-16 15:03:40 +02:00
LevelX2
d264dd83e1 * Replaced some custom card effects. Updated enters battlefield replacement effects for new handling. 2015-10-15 23:47:06 +02:00
LevelX2
046da0f5d1 * Some changed to card moving (not finished) 2015-10-15 08:32:58 +02:00
LevelX2
52d0adcac1 Fixed some problems with UUID comparing and some problems with card moving. 2015-10-14 17:54:55 +02:00
LevelX2
e166018027 * Fixed that continuous effects were not yet applied to lands entering the battlefield (preventing Prismatic Omen and Valakut the Molten Pinnacle combo to work). 2015-10-13 22:35:50 +02:00
LevelX2
00f48b005d Added test. 2015-10-12 23:50:29 +02:00
LevelX2
288a1ec02c * Oath of Lieges - Fixed target handling (fixes #1312). 2015-10-12 23:10:16 +02:00
LevelX2
303362fa12 * Paradox Haze - Fixed that check if a step is the first upkeep step of a turn did not work always correctly (fixes #1313). 2015-10-12 17:35:04 +02:00
LevelX2
aa525bf0d2 Merge origin/master 2015-10-12 09:12:22 +02:00
LevelX2
8dd9fbea40 Conspire - The player is now asked to use conspire only if he is able to pay the tap costs. 2015-10-11 23:56:29 +02:00
LevelX2
981a27ccbf * Fate transfer - Fixed that +1/+1 or -1/-1 counters on target permanent were not applied. 2015-10-11 18:13:14 +02:00
LevelX2
8b8097878c * Reworked/Cleaned card movement handling. 2015-10-11 03:52:38 +02:00
LevelX2
819d341fbb * Nissa, Sage Animist - Added test for +1 ability. 2015-10-09 14:55:39 +02:00
LevelX2
987280c4e7 * Blizzard Specter - Fixed that the seond mode (discard) did not work. 2015-10-09 14:22:21 +02:00
LevelX2
d8cf0d7a4b Fixed that land enchantments that caused the enchanted land to become a basic land type removed wrongly other card types than Land and non basic land subtypes (e.g. Spreding Seas enchanting animated Blinkmoth Nexus). 2015-10-09 00:13:41 +02:00
LevelX2
cb250a065a Fixed that triggered abilities from sacrificed permanents did also trigger if the permanent was face down before the sacrifice. 2015-10-07 17:47:25 +02:00
LevelX2
f24a1b3898 * Fixed check of dies attched triggered abilities not always triggering if attachment and attached object went to graveyard at the same time. 2015-10-03 19:23:58 +02:00
LevelX2
85f0cc6bb3 Fixed variable remove counter costs to work also correctly if X=0 (e.g. Retribution of the Ancients and Willbreaker). 2015-10-03 18:22:14 +02:00
LevelX2
f6ec543b1b TestPlayer fixed that target events created by RestPlayer are reset back if ability activation failed. 2015-10-03 18:20:59 +02:00
LevelX2
7b68604471 Some changes/fixes to conspire ability. 2015-10-03 13:33:22 +02:00
emerald000
435eb49b58 Added missing Licids + tests (including 2 failing tests). 2015-10-02 23:38:11 -04:00
LevelX2
63c6aa226a * Spellskite - Fixed a bug that wrong log message was written if target was chnaged from a player to spellskite. 2015-10-01 22:01:49 +02:00
LevelX2
4b41628032 * Added test. 2015-09-30 16:58:03 +02:00
LevelX2
8044940a97 * Fixed a bug that if all targets (if targets were set) of a spell with an up to target definition (e.g. Adverse Conditions) became illegal the spell did not fizzle as it should. 2015-09-30 00:53:33 +02:00
LevelX2
0d755b3c89 Some minor changes. 2015-09-29 17:37:51 +02:00
LevelX2
6cc2ac0e70 * Zada, Hedron Grinder - Fixed a bug with checking and copying modal spells. 2015-09-28 19:27:51 +02:00
LevelX2
0680560225 * Compost - Fixed that it triggered for all cards going to opponents graveyard (instead of only black cards). 2015-09-28 15:14:50 +02:00
LevelX2
7650f53dee * Rosheen Meanderer - Fixed that the created conditional mana could only be used for spells. 2015-09-27 10:29:30 +02:00
LevelX2
9e1111748d * Enslave - Fixed that the set source of the damge was wrong. 2015-09-27 09:23:40 +02:00
LevelX2
f22fb380b7 * Reaper of Sheoldred - Fixed that damage was sometimes dealt to Reaper of Sheoldred controller. 2015-09-27 01:21:47 +02:00
LevelX2
46fa935172 * Emrakul, the Aeons Torn, Ulamog, the Infinite Gyre, Kozilek, Butcher of Truth - Fixed that the shuffle graveyard to library was wrongly done for the controller of instead the owner. 2015-09-27 00:22:51 +02:00
LevelX2
822528d05c * Splice onto Arcane - Fixed that an arcane spell with no targets did not fizzle if a targeted spell was spliced with it that has no more legal targets on resolution (so all targets of the spell were illegal). 2015-09-21 17:57:27 +02:00
LevelX2
b2ff7ac380 * Monocolor hybrid mana - Fixed that the payment did not always try to pay the colored cost if possible. 2015-09-20 19:13:18 +02:00
LevelX2
391d247e7c * Brutal Expulsion - Fixed that also spell targets were handled correctly. 2015-09-20 10:31:14 +02:00
LevelX2
5a8ca36916 * Ondu Rising - Fixed that the attacking creatures did not get lifelink. 2015-09-20 09:25:25 +02:00
LevelX2
391b766b6e Some minor changes. 2015-09-16 15:45:38 +02:00
LevelX2
8f64a2ab54 * Fixed that a player doing a library search with a stated quality (701.15b) couldn't fail to find a card if cards with the stated quality did exist in the searched library. 2015-09-14 23:36:32 +02:00
LevelX2
6b50a02e3c Added a test. 2015-09-14 17:47:06 +02:00
LevelX2
63e25cf132 * Shallow Grave - Fixed that the delayed triggered ability did also effect the target if it changed zone meanwhile (fixes #1262). 2015-09-13 08:47:45 +02:00
LevelX2
b29fe86aa0 Added a test. 2015-09-12 20:37:24 +02:00
LevelX2
88c18bcd8c * Infernal Scarring - Fixed that the "Dies" trigger did not work if the enchanted creature was sacrificed (e.g. using Nantuko Husk). 2015-09-12 20:14:44 +02:00
LevelX2
0ca991c4ba * Starfield of Nyx - Fixed that the continuous effect's dependancy to continuousEffects that add subtype aura was not checked. Reworked the dependency check to be a bit more generic (#1259). 2015-09-12 19:35:02 +02:00
LevelX2
1175a18661 * Fixed put token into play thta's of copy of target effects to handle targets correctly that already copy something (e.g. Kiki-Jiki, Mirror Breaker copying a Body Double creature). 2015-09-12 14:52:14 +02:00
LevelX2
963f371c12 * Anafenza the Foremost - Fixed that animated permanents (e.g. Lavaclaw Reaches) were not moved to exile if they died while beeing a creatures. 2015-09-11 21:50:23 +02:00
LevelX2
464955bd3a Fixed that for enchantments put into play (e.g. by Zur the Enchanter) that the selection of the enchanted permanent is not handled targeted. 2015-09-10 23:59:53 +02:00
LevelX2
340398fb74 * Fixed that state triggered abilities were not checked at the correct times. 2015-09-09 00:51:41 +02:00
LevelX2
e37c9a6472 * Fixed some problems with creation of tokens of target permanents (fixes #1244). 2015-09-08 18:13:32 +02:00
LevelX2
9aa14cdba8 * Added some tests. 2015-09-07 16:14:57 +02:00
LevelX2
94c0e05891 * Suspend - Fixed that creatures coming into play with suspend didn't gain haste anymore. 2015-09-07 15:03:19 +02:00
LevelX2
fb819f1f51 Added test (failing because bug not fixed yet). Some minor changes. 2015-09-06 23:29:58 +02:00
LevelX2
9a37bd28ad Xmage 1.4.4v0 2015-09-05 12:51:07 +02:00
LevelX2
e5c667cca9 * Roiling Terrain - Fixed exception bug as it was cast. 2015-09-05 11:37:57 +02:00
LevelX2
0aacff4e6a * Fixed a bug that ended continuous effects were not already removed before an aura enters the battlefield (e.g. Brago + Pentarch Ward combo) fixes #1238. 2015-09-05 10:27:04 +02:00
LevelX2
707c1acf6b * Added an option to auto order triggers with the same text. Added options to pass priority automatically after spell cast and ability activation. Fixed a problem of the tests with the new Scry mulligan. 2015-09-04 00:25:23 +02:00
LevelX2
5a812f022d Added the new mulligan rule with Scry. Litte Scry rework. 2015-09-03 17:27:43 +02:00
LevelX2
71860b0168 Adde AbilityWord "Rally" to rule text of AllyEntersBattlefieldTriggeredAbility. Added a test. 2015-09-03 11:29:59 +02:00
LevelX2
7627935d93 * Chain of Vapor - Fixed that the copied spell did nor work correctly. 2015-09-03 01:28:26 +02:00
LevelX2
1ee22be81a [BFZ] Added Radiant Flames. 2015-09-02 23:28:25 +02:00
LevelX2
74109afcbb [BFZ] Added Awaken ability. 2015-09-02 16:20:58 +02:00
LevelX2
2c4d23bbb4 * Protection - Fixed that protection from spells is also checked for determining if a spell can be cast due to have a valid target available. 2015-09-02 08:32:57 +02:00
LevelX2
bb1839f79b Added a test. 2015-09-01 23:54:56 +02:00
LevelX2
fa14128486 * SOURCE_CAST_SPELL_ABILITY check for sourceId added. 2015-09-01 22:52:00 +02:00
LevelX2
1213fd22c8 * Followed Footsteps - Fixed that the token copy was not working correctly if the target was already copying something (e.g. a Cryptoplasm). 2015-09-01 17:34:21 +02:00
LevelX2
be485dc810 Added a test. 2015-08-31 17:06:22 +02:00
LevelX2
8d683a7e5c * Split cards - Fixed a bug when split cards get copied (e.g. by Isochron Scepter) refering still to the copied card. 2015-08-30 23:49:38 +02:00
LevelX2
eb3aef7ee5 * Fixed that the new early way to add counters to permanents entering the battlefield (e.g. used for Undying) checked effects while the permanents was not already set to Zone battlefield. That caused e.g. the ability of Tatterkite not to work at that time. 2015-08-30 10:04:36 +02:00
LevelX2
1d8c3949be * Fixed test after fix of emblem ability. 2015-08-30 10:01:26 +02:00
LevelX2
fb965ebdd6 * Opalescence - Fixed that the dependent effect (613.7) Opalescence was applied before the effect of Enchanted Evening if Opalescence was cast earlier. 2015-08-29 18:52:46 +02:00
LevelX2
dfe1e2ef5a Some minor changes. 2015-08-28 16:52:33 +02:00
LevelX2
758f56792e * Added button popup menu to be able to automatically answer ability related "Yes" / "No" requests (related to #328). 2015-08-28 11:44:14 +02:00
LevelX2
78071ce0a3 * Fixed a bug that order of triggered abilities of tokens were not shown to human player and the UI was locked (fixes #910). 2015-08-25 23:34:15 +02:00
LevelX2
b62dadf95d * Fixed that conditional mana (e.g. River of Tears) did not trigger mana adding effects like Vorinclex, Voice of Hunger. 2015-08-25 22:38:45 +02:00
LevelX2
c5718e3f19 * Phasing - Fixed that idirect phasing (attachments of permanents with phasing) were not phased out with the permanent they attached to. 2015-08-25 15:09:44 +02:00
LevelX2
ad9e08991e * Buyback - Fixed that the buyback spell with activated buyback returned also to hand if the spell fizzled or was countered. 2015-08-25 14:25:42 +02:00
LevelX2
9a22cd2068 Added a test. 2015-08-22 23:23:02 +02:00
LevelX2
532d4e0af0 * Added automatic handling for order of triggered abilities going to stack (fixes #701 / related to #328). 2015-08-22 19:29:57 +02:00
LevelX2
2cf5907189 Fixed that the X value of permanents like Hangbar Walker isn't used again if the permanent enters the battlefield later without beeing cast (e.g. returning from leaving Oblivion Ring). 2015-08-19 11:21:22 +02:00
LevelX2
454bd5ca57 Fixed that effects that prevented permanents from using activated abilities also prevented use of special abilities (e.g. Linvala, Keeper of Silence preventing Morph creatures to turn face up). 2015-08-19 10:44:01 +02:00
LevelX2
bd6eb91ee2 Fixed that move cards event included cards that were not successful moved (fixes #1211). 2015-08-19 10:19:12 +02:00
LevelX2
1dbe6243f4 Fixed transmute test after change of transmute rule text generation. 2015-08-19 10:17:45 +02:00
LevelX2
9ab58b1f5c * Ghostfire - Fixed to be colorless (fixes #1208). 2015-08-19 09:39:56 +02:00
LevelX2
bd6fa770aa * Fixed a lot of cards where order of card discarding/hand,graveyard,permanents into library shuffling and card draw order was not correctly implemented. This could cause bugs for draw replacement effects (e.g. Notion Thief). 2015-08-19 03:31:44 +02:00
LevelX2
9df993bd3a * Intet, the Dreamer - Improved handling to look at face down cards exiled with Intet. Works now also if Intet has left the battlefield. 2015-08-19 00:59:05 +02:00
LevelX2
618033c947 Added some test. 2015-08-19 00:57:09 +02:00
LevelX2
aa1eb354ef * Removed some data from player restoring to fix unintended draws after a player concedes game (#1205) 2015-08-18 17:20:04 +02:00
LevelX2
b40c8535e9 * Reworked Perisist and Undying to not use replacement effects to add the needed counters. 2015-08-18 12:30:52 +02:00
LevelX2
7f45e5bc7e * Spellskite - Fixed that targets of modal spells could only be changed from the last selected mode of the modal spell. 2015-08-17 14:04:56 +02:00
LevelX2
8d1da5c35f * Fixed a lot of sacrifice handling that was targeted and some sacrifice where the player that could sacrifice was not checked correctly (e.g. Kiki-Jiki, Mirror Breaker Token). 2015-08-17 12:36:42 +02:00
LevelX2
f50e67e385 * Fixed card movement handling for face down cards. 2015-08-16 19:16:41 +02:00
LevelX2
c6e08a8872 * Fixed that effects created from attachments to the attached object by activated or triggered abilities did not exists independent from the attachment (fixes #1206). 2015-08-16 13:02:02 +02:00
LevelX2
325776c9ad Some changes to can't be the target of spells or abilities framework effects. 2015-08-13 12:01:01 +02:00
LevelX2
c98577cc6a Xmage 1.4.3v0 2015-08-06 22:18:01 +02:00
LevelX2
55fe68d718 * Some more rework of card mobement handling. 2015-08-05 17:46:56 +02:00
LevelX2
a644e66b7f * Some rework of card movement. 2015-08-04 17:54:17 +02:00
LevelX2
efb5e06e57 * Rollback - Fixed that UI is locked after a accepted rollback request (fixes #1158). 2015-08-02 12:39:02 +02:00
LevelX2
eccc367920 Some minor changes. 2015-08-02 10:59:03 +02:00
LevelX2
2df109cf0b * Norin the Wary - Fixed that it also returned from commandzone if put there from commander replament effect. Some other move and return from exile fixes. 2015-08-02 10:34:57 +02:00
LevelX2
2b617fa6f7 * Fixed a bug of ConditionalTriggeredAbility if the ability triggered multiple times at the same time. 2015-08-01 18:27:17 +02:00
LevelX2
5fae4878c0 Added a test, some minor changes. 2015-07-31 15:46:14 +02:00
LevelX2
a3bc452795 Added Gustcloak Savior, Spurnmage Advocate and Gleancrawler; 2015-07-30 16:13:27 +02:00
LevelX2
f677a779ae * Stranglehold - Fixed the not working abilities. 2015-07-28 22:24:08 +02:00
klayhamn
cac6a03e7f * fix potential bug where the copy constructor of the continuous effect of ThrummingStone did not copy its object parameters
* unignore the thrumming stone test
2015-07-28 17:38:50 +03:00
klayhamn
634f7fc064 Merge branch 'master' of https://github.com/klayhamn/mage 2015-07-28 15:20:38 +03:00
klayhamn
4044817641 * add ThrummingStone test
* Add rule text for Thrumming Stone
* change ThrummingStones effect to be a static continuous effect that gives a triggered ability to spells, rather than being a triggered ability triggered by the stone itself
2015-07-28 09:50:24 +03:00
LevelX2
dbff7bedb9 * Some changes to skip turn handling (turn count and messages). 2015-07-27 17:21:52 +02:00
LevelX2
5fb17ce920 Merge pull request #1151 from klayhamn/master
Adding the Ripple keyword, and two cards that use it
2015-07-27 14:31:57 +02:00
klayhamn
37dbdeb07f correct some incorrect documentation comments in ripple test 2015-07-27 02:11:08 +03:00
klayhamn
4d798e81b8 add thrumming stone and surging dementia 2015-07-26 19:30:15 +03:00
LevelX2
5694f8aa8c * Added a test. 2015-07-26 09:19:57 +02:00
LevelX2
9dd6e616cd * Fixed that commander mana replacement effect did wrong mana replacements if additional mana was produced from abilities of opponents (fixes #1146). 2015-07-26 00:38:56 +02:00
LevelX2
a380bfa196 * Gideon, Battle-Forged - Fixed that giving indestructibility effect did not end as intended. 2015-07-25 09:09:20 +02:00
LevelX2
2ca8595789 * Reworked Order of the Stars protection handling. 2015-07-24 13:47:22 +02:00
LevelX2
6e4b63dfd9 * Heartstone - Fixed that it can also reduce mana costs of abilities that include only 1 colorless mana and some colored mana. 2015-07-23 23:38:05 +02:00
LevelX2
7d3ff0551d Added a test. 2015-07-23 15:58:10 +02:00
LevelX2
b169e7e6c7 * Mage-Ring Network - Fixed calculation of available mana. 2015-07-23 12:42:02 +02:00
LevelX2
eca37467a3 * Added a auto select color for color choices of mana abilities that ask the human player to select a colo (implements #690). 2015-07-21 17:23:10 +02:00
LevelX2
fcd74a65a9 Added test. 2015-07-20 17:35:35 +02:00
LevelX2
46d2bb9313 * Added Recover ability (closes #1119). 2015-07-20 17:08:04 +02:00
LevelX2
597d1ab832 Added a test. 2015-07-20 12:28:30 +02:00
LevelX2
0df7983937 Added some test. 2015-07-19 19:27:49 +02:00
LevelX2
4324a6a683 Fixes to token image handling. 2015-07-19 10:09:50 +02:00
LevelX2
6ef50c42bf Some minor changes. 2015-07-19 10:08:58 +02:00
Simown
9de285a876 Removed rogue print statement from test 2015-07-18 14:54:56 +01:00
Simown
05b14dad66 Fixed Strive aditional costs, added Battlefield Thaumaturge tests to
verify.
2015-07-17 22:35:36 +01:00
LevelX2
e209114a26 * KickerAbility - Fixed that KickerCondition did not work coorectly for kicker cards with multiple kicker options. 2015-07-16 23:15:11 +02:00
LevelX2
540f1f2eac * Touch of Moonglove - Fixed that the dealayed trigger only worked for one creature instead of for all damaged creatures. 2015-07-16 22:21:18 +02:00
LevelX2
0db7c5cff4 * Fixed a bug of the rollback turns feature locking sometimes the UI. 2015-07-16 16:54:32 +02:00
LevelX2
96036ce97b Added a test (#1076). 2015-07-16 13:51:14 +02:00
LevelX2
0c0fe9984e Some fixes/improvements to AI target handling and tests. 2015-07-16 13:10:11 +02:00
LevelX2
68d5f7bb9f * StormAbility - Fixed that the storm amount was not calculated correctly if a game state was restored (fixes #1051). 2015-07-16 11:05:32 +02:00
Gal Lerman
584e7fb394 edited TODOs and comment header in clean_dbs.sh 2015-07-15 22:06:02 +03:00
glerman
cb89230327 added todos 2015-07-15 22:06:01 +03:00
glerman
6aa23b0b2e added DustOfMoments counter addition test 2015-07-15 22:06:01 +03:00
glerman
afe9c27aa5 finally made DustOfMoments to work, CounterPredicate didn't see counters for Chronozoa (permanent). why the hell is PermanentImpl.getCounters() and CardImpl.getCounters(game) don't return the same value for the same card 2015-07-15 22:06:00 +03:00
glerman
45e269de77 added empty test for DustOfMoments 2015-07-15 22:06:00 +03:00
glerman
9e4a7aad8a added empty test for DustOfMoments 2015-07-15 22:06:00 +03:00
glerman
0a293063cf added test for NornsAnnex still in progress, dur to friends bug 2015-07-15 22:06:00 +03:00
glerman
5ebfacecb5 added test case of Chronozoa being destroyed with time counters on it (end case) 2015-07-15 22:05:59 +03:00
glerman
9b44c9a087 fixed the LastTimeCounterRemovedCondition, moved the Chronozoa test to fit the package convention, added a test case 2015-07-15 22:05:59 +03:00
glerman
1567c4efe9 Adding Chronozoa card impl 2015-07-15 22:05:59 +03:00
LevelX2
cd354bacc3 Added a test. 2015-07-15 17:24:18 +02:00
LevelX2
3bac7b550c Added a test for storm with flashback. 2015-07-15 16:54:31 +02:00
LevelX2
7f8822ae19 Added a test for Crypt Ghast 2015-07-14 16:25:06 +02:00
LevelX2
b1f5b15f2d * The Abyss - Fixed non conform target handling. 2015-07-13 16:01:49 +02:00
LevelX2
f955316225 * Liliana, Defiant Necromancer - Fixed that the emblem did not trigger (fixes #1110). 2015-07-13 13:08:12 +02:00
LevelX2
b2fcb8ea8c Added some tests. 2015-07-12 23:16:02 +02:00
LevelX2
fa0a40b0d6 * Some fixes/chnages to AI player. Needs probably some more testing. 2015-07-12 19:51:04 +02:00
LevelX2
c53c09a59b * Fixes to handling of triggered abilities of tokens. 2015-07-12 19:50:20 +02:00
LevelX2
55966f3056 * Fixes to spend any mana to pay handling- 2015-07-12 19:49:53 +02:00
LevelX2
4094fe5ecf * Fixed a problem that triggered abilities of created tokens were not removed properly if the token left has left the battlefield. 2015-07-12 11:08:33 +02:00
LevelX2
2cc62aada0 Some minor tooltip text fixes. 2015-07-12 09:56:49 +02:00
LevelX2
0e3d4b335a Some fixes/improvements to generation of available mana. 2015-07-12 09:11:13 +02:00
LevelX2
2deb89bfa7 * Hixus, Prison Warden - Fixed that the triggered ability did not exile the creature. 2015-07-10 14:45:24 +02:00
LevelX2
77b3706c9f * Fixed that permanents that became creatures are not removed from combat if the creature making effect is removed during combat (fixes 366). 2015-07-08 23:40:15 +02:00
LevelX2
072987b96d Updated RemoveFromCombatTest. 2015-07-08 17:15:56 +02:00
LevelX2
8e0354d50a * Kicker - Fixed that kicked status was not correctly checked, if a spell with kicker was cast again. 2015-07-08 16:20:43 +02:00
LevelX2
8c725ef86b * Hallowed Moonlight - Fixed exception if a token should be moved to exile. 2015-07-08 00:05:52 +02:00
LevelX2
51c6a89753 * Enshrouding Mist - Fixed that the target creature was not untapped if renowned. 2015-07-07 17:09:52 +02:00
LevelX2
ee738786b9 * Liliana, Heretical Healer - Fixed that she was exiled and transformed even if no longer on the battlefield as the effect resolved. 2015-07-07 16:23:12 +02:00
LevelX2
de47259a49 * Fixed that end turn effects (e.g. Day's Undoing) did not remove triggered abilities waiting to go onto the stack. 2015-07-07 15:55:37 +02:00
LevelX2
381603666d Added test. 2015-07-07 07:55:31 +02:00
LevelX2
7bb93fbb25 * Willbreaker - Fixed that it didn't trigger when targeted by abilities. 2015-07-06 17:23:47 +02:00
LevelX2
d38910b81b * Liliana, Heretical Healer - Fixed that the Zombie token was not created if Liliana was exiled by her effect. 2015-07-06 16:49:24 +02:00
LevelX2
1ee75e3e94 * Angel of Serenity - Fixed that the exiled cards did not return when the Angel left the battlefield (fixes #1083). 2015-07-06 15:22:16 +02:00
LevelX2
c942592c3b * Dash - Fixed that the creature was returned to hand from dash also if it left battlefield before. 2015-07-06 13:36:23 +02:00
LevelX2
0b26aaff6e Fixed Ensoul Artifact not giving P/T to the target artifact. 2015-07-06 00:57:53 +02:00
LevelX2
a4f76a1fb8 Fixed another bug of renown. 2015-07-05 11:51:51 +02:00
LevelX2
b2ed48da87 Fixed a bug about must be blocked requirement forcing the blocker to block multiple attackers locking the game. 2015-07-05 11:48:19 +02:00
LevelX2
9c53e7f984 [ORI] Renown - Fixed that renown was not applied again after creature left and returned to battlefield. 2015-07-05 08:58:19 +02:00
LevelX2
cd0cba6ec7 XMage Release 1.4.2v0 2015-07-04 01:28:19 +02:00
LevelX2
9ef707c0fa Fixed / changed some tests. 2015-07-03 14:59:19 +02:00
LevelX2
25ca463520 [ORI] Added Tainted Remedy and Liliana Planeswalker. Fix for build bug of Sigled Starfish. 2015-07-03 12:26:14 +02:00
LevelX2
a33ed68c74 * Possibility Storm - Fixed a bug that it was not correctly checked if the player was able to cast modal spells. 2015-07-03 08:29:17 +02:00
LevelX2
4aebcd2399 * Savage Summoning - Fixed that it did not work to cast a commander from command zone. 2015-07-02 23:38:37 +02:00
LevelX2
7b4f2dd33a * Added a bestow test. 2015-07-02 21:53:28 +02:00
LevelX2
0a0cb40783 * Fixed that creatures that have to pay costs to block were wrongly forced to block causing UI locks. 2015-07-01 23:00:22 +02:00
LevelX2
9059f7a1e4 * Fixed a bug of check if two objects sharing a colors were also to colorless objects did return a positive result (e.g. caused Dream Halls to cast Artifacts by discarding lands). 2015-07-01 13:40:52 +02:00
LevelX2
bf21de745a * Fixed a bug of check if two objects sharing a colors were also to colorless objects did return a positive result (e.g. caused Dream Halls to cast Artifacts by discarding lands). 2015-07-01 13:37:32 +02:00
LevelX2
15fe85c5da Fixed that creatures forced to attack that have to pay a cost to attack lock the UI (not completed for all existing cards yet). 2015-07-01 02:00:07 +02:00
LevelX2
a174bef27b * Fixed a bug with Infernal Scarring that the ability did not trigger that let you draw a card as the enchanted creature died. 2015-06-30 12:29:17 +02:00
LevelX2
123d1e4ec6 [ORI] Added 6 black cards. 2015-06-30 01:24:51 +02:00
LevelX2
f45c5cedeb Fixed handling and initialization of Fixedtarget object. Fixing a problem of ReturnToBattlefieldUnderYourControlTargetEffect that caused objects to return taht already left the zone they should be moved from. 2015-06-29 18:34:53 +02:00
LevelX2
148fd0e6ae * Golem's Heart - Fixed that the triggered ability did not work. 2015-06-28 22:42:18 +02:00
LevelX2
df3e6db569 Please test! Some changes to the display of user choices, showing also a longer text in tooltip window. 2015-06-28 21:55:48 +02:00
LevelX2
87f3978589 Some changes to userData handling. Added country flag to some dialogs. Saved and restored some more table columns width and order information. 2015-06-28 00:10:38 +02:00
LevelX2
25f09e1891 Added Test. 2015-06-27 11:58:53 +02:00
LevelX2
b668209f7d Fixed for Flameshadow Conjuring and Felhide Spiritbinder that the created tokens did not get haste or the added card type enchantment. 2015-06-26 19:20:27 +02:00
LevelX2
d65581809f * Notion Thief - Fixed that the replacment effect was not always applied as intended. 2015-06-26 15:16:33 +02:00
LevelX2
5b7d57aec9 Added some tests. 2015-06-26 12:10:17 +02:00
LevelX2
ee304e773e * Daxos of Meletis - Fixed that the mana as thought ability did not work. Fixed that a instant could also be cast from other players. 2015-06-25 16:57:44 +02:00
LevelX2
7bc8649585 * Animate Dead - Fixed that the target card in graveyard was not handled correct, if the Animate Dead reentered the Battlefield(e.g. with Worldgorger Dragon combo). 2015-06-25 14:31:23 +02:00
LevelX2
94ad36058c [ORI] Added 5 cards with Renown relation and a renown test. 2015-06-24 00:11:03 +02:00