Commit graph

3089 commits

Author SHA1 Message Date
LevelX2
650ca1616a Fixed failing Kiki-Jiki Mirror Breaker test. 2014-08-28 13:16:25 +02:00
emerald000
690ba64d97 Added Decree of Justice, Diabolic Intent, Martyr's Cause, Victimize and Winding Canyons. 2014-08-27 19:18:56 -04:00
LevelX2
cb7d3ab284 Added custom duration handling to delayed triggered abilities. 2014-08-27 17:08:19 +02:00
LevelX2
a2fe968582 Adjusting font position and size of counter amount. 2014-08-27 08:45:03 +02:00
emerald000
bab5df1385 Added Compost, Dread, In the Eye of Chaos, Karmic Justice, Oblation, Return to Dust and Teysa, Orzhov Scion. 2014-08-27 01:42:25 -04:00
LevelX2
37efad7d2c Added Release the Ants. Created package for post resolve effects and started moving post resolve effects there. 2014-08-26 17:45:13 +02:00
LevelX2
dcdbc10187 Fixed some effects that did target doesn't untap next untap step not handle quite correctly. 2014-08-26 16:59:37 +02:00
LevelX2
7c0f93afcd Clash - Fixed handling of Titan's Revenge. 2014-08-26 15:29:50 +02:00
Plopman
b7a51adbc3 Fixed DiesCreatureTriggeredAbility 2014-08-26 14:30:46 +02:00
LevelX2
a43182ef4a * Fixed a bug of exile target and search other zones function searching for wrong name (fixes #541). Concerned Eradicate, Scour, Sowing Salt and Splinter. 2014-08-26 12:00:01 +02:00
LevelX2
5d9a3a5867 Added isActive method to PostResolveEffect. 2014-08-26 08:35:46 +02:00
LevelX2
03c868c3df Added 11 more cards with clash. 2014-08-25 21:34:15 +02:00
LevelX2
f004b1a28c Some fixes/changes to clash. 2014-08-25 21:33:44 +02:00
LevelX2
b0b0f05c82 Added clash effect to framework. 2014-08-25 17:19:54 +02:00
LevelX2
48e8be4fc2 Added Mana Drain and Spell Crumple. Fixed replacement effect of Hinder. 2014-08-25 13:54:47 +02:00
LevelX2
e9560bb2b6 Added apply effects to handle successive events without getting again priority (e.g. creature dies that boost other creature and so on). 2014-08-24 18:33:50 +02:00
LevelX2
28d3d72c5d Fixed that a spell was still shown on the stack if triggered abilities from enters the battlefield event of the cast spell were put on the stack. 2014-08-24 09:11:34 +02:00
LevelX2
30ea2188bf * Restric activated abilities - Fixed a bug that restriction effects that prevented permanents from using activated abilities were not applied to activated mana abilities used tp pay mana costs (e.g. Linvala, Keeper of Silence). 2014-08-24 06:56:47 +02:00
LevelX2
f57828a77b Can't regenerate effects changed to ContinuousRuleModifyingEffects. 2014-08-23 19:45:10 +02:00
LevelX2
b0a18d4f36 Used new MageObjectReference class for DamagedByWatcher damaged object comparison. 2014-08-23 18:01:55 +02:00
LevelX2
36444b9496 Added new MageObjectReference class that checks also zoneChangeCounter for object comparison. 2014-08-23 18:00:36 +02:00
LevelX2
2f802ad467 Changed some comments. 2014-08-23 17:59:31 +02:00
LevelX2
b094df2a52 Fixed some put into graveyard effects that were implemented wrongly as triggered effects to replacment effects (LegacyWeapon, Progenitus, Darksteel Colossus, Blightsteel Colossus). 2014-08-21 15:13:29 +02:00
LevelX2
cc676b2258 PutOnLibraryTargetEffect - Updated tooltip text creation. 2014-08-21 10:42:43 +02:00
LevelX2
af8c5880a1 * Plow Under - Fixed tooltip text. 2014-08-21 08:35:43 +02:00
LevelX2
3a63108ff3 Replaced use of static color object. 2014-08-20 23:37:06 +02:00
LevelX2
9239bc0465 Added new common OpponentControllsMoreCondition and a new common FilterBySubtypeCard. 2014-08-20 17:08:36 +02:00
Dustin Conrad
4307b3f01b Re-implement Leonin Arbiter using continuous rule modifying effect. Fix #483 2014-08-19 18:41:17 -04:00
LevelX2
f1ed6338db Fixed alternate cost handling to be able to only user alternate MANA costs (fixes Dream Halls, Fist of Suns and Omniscience to supress also additional costs instead of only mana costs). 2014-08-19 17:06:09 +02:00
LevelX2
7c8d5ea1be * Bile Blight - Fixed a but that the discard cost was not properly reset. 2014-08-19 15:06:22 +02:00
LevelX2
746c86363f Fixed a bug that caused mass boost / unboost of spells to be applied to wrong objects. 2014-08-19 15:04:33 +02:00
LevelX2
9219d79b25 Minor changes. 2014-08-18 23:54:33 +02:00
LevelX2
b54785688d Fixed Omniscience to work as alternate casting costs (also with split/fused cards). Added test. 2014-08-18 23:53:50 +02:00
magenoxx
edd1563c12 Fixes #468 :Rollback on error doesn't work 2014-08-18 23:58:43 +04:00
magenoxx
e697cae98d Requested cards: added Skushroud Elf, Pill of the Paruns 2014-08-18 23:35:35 +04:00
magenoxx
43e82b7a1a Added zoneChangeCounter into LKI. Reimplemented Trostani. PersistTest and LastKnownInformationTest do work now. 2014-08-18 19:45:37 +04:00
magenoxx
ffa987755b Added using RuleModification effect and setting targetAbility for triggered abilities 2014-08-18 19:42:29 +04:00
LevelX2
5ea1bc8c37 Using put instead of map.replace. 2014-08-18 09:31:42 +02:00
LevelX2
d651fb65fa Fixed CMC compare order. 2014-08-18 01:09:15 +02:00
LevelX2
b602b4e160 Multiple blocker are listed in blocker damage assign order now in the game log. 2014-08-18 00:47:44 +02:00
LevelX2
d02f272bca * Fixed that attacker has not always to assign all damage to multiple blockers. Improved AI behaviour of assigning damage to multiple blockers. Tries to kill blocker if possible now. 2014-08-18 00:46:45 +02:00
LevelX2
eb89f95f07 * Proliferate - Fixed a bug that only creatures could be used for the proliferate add counter effect. 2014-08-17 21:13:26 +02:00
LevelX2
ddb9c786b4 Some changes to logging and NPE handling. 2014-08-17 20:38:57 +02:00
LevelX2
3e789ccb1f * Combat - Fixed a bug were forced attackers could be set to not attacking. 2014-08-17 20:38:33 +02:00
LevelX2
53465ec0c9 Fixed tooltip text of Angus Mackenzie and added Blistering Firecat. 2014-08-17 11:23:27 +02:00
LevelX2
0c03ce3727 Some changes to game end handling (in hope to fix/improve server handling of games). Some chanmges to log messages. 2014-08-17 02:49:21 +02:00
LevelX2
821398211b * Counterbalance, Hisako, Minamp Sensai - Fixed that converted mana comparison of spilt cards did not work correctly. 2014-08-17 01:12:41 +02:00
LevelX2
bff01090b5 * Fixed a bug of each player sacrifice a creature/permanent effect, that permanent with shroud could not be sacrificed - locking the game. 2014-08-16 22:39:56 +02:00
LevelX2
f633d35bfd * Wall of Roots - Fixed that Wall could not be used after beeing exiled and returned with Momentary Blink. 2014-08-16 19:27:43 +02:00
LevelX2
df475d8049 * BattleCry - Fixed that power boost did not last until end of turn. 2014-08-16 17:37:38 +02:00
LevelX2
5ce105e699 * Voice of Resurgence - Fixed a bug that the triggered ability did not work if a token copy of Voice of Resurgence died. 2014-08-16 16:55:27 +02:00
LevelX2
f84d624f1f * Fixed a bug that mana source restrictins got lost with mana cost madification (e.g. cast Myr Superion while Etherium Sculptor in play). 2014-08-16 13:03:13 +02:00
LevelX2
06cc8d8771 Merge pull request #514 from magefree/feature/SacredGround
Sacred Ground implemented.  Re-ordered logic in GameImpl to handle simultaneous events before removing top of the stack.
2014-08-16 10:00:27 +02:00
LevelX2
57ccef6092 * Fixed can't counter ability that did not work correctly. 2014-08-16 09:33:31 +02:00
Dustin Conrad
893e83ef7c Sacred Ground implemented. Re-ordered logic in GameImpl to handle simultaneous events before removing top of the stack. 2014-08-15 22:24:42 -04:00
LevelX2
bdb05d4ca0 * Added tests for Valakut, the Molten Pinnacle. All worked already correct so far. No bug found. Closes #506. 2014-08-15 16:46:47 +02:00
LevelX2
429e114f69 * Convoke - Fixed that creatures with protection from color of convoke spell could not be tapped. Fixes #513- 2014-08-15 12:42:56 +02:00
magenoxx
de6d1bf46b Asserting action count in tests. minor changes. 2014-08-15 10:52:37 +04:00
magenoxx
0597aaf4f4 [TestAPI] Cast when spell or ability are not on the stack 2014-08-15 10:16:28 +04:00
Dustin Conrad
a545ed3b60 Added CantBlockCreaturesSourceEffect. Sneaky Homunculus, Brassclaw Orcs, Ironclaw Orcs, Ironclaw Buzzardiers. Fix Curse of the Nightly Hunt 2014-08-14 23:41:45 -04:00
magenoxx
5ede7221c8 Fixes #512 2014-08-15 00:12:29 +04:00
LevelX2
2326fcc0d1 * Trickbind and Stiffle - Fixed that the spells could wronly also counter spells. 2014-08-14 15:27:33 +02:00
LevelX2
f0e8041906 * Fixed a bug that winning with alternate win condition (e.g. Biovisionary) did not set game end date. That leads to a NPE in client. 2014-08-14 14:08:41 +02:00
LevelX2
484a4fe0f6 * Leyline of Anticipation - Fixed that it only worked for creatures instead of all nonland permanents. 2014-08-14 12:48:41 +02:00
LevelX2
a8bf35e39a Fixed that canPlayCardsFromGraveyard of player was not taken into account for getPlayable() method. 2014-08-14 12:47:54 +02:00
Dustin Conrad
ee65d08160 Paralyze implemented 2014-08-13 20:58:19 -04:00
LevelX2
15b08c110e Some minor fixes to tooltip texts. 2014-08-13 21:59:09 +02:00
LevelX2
98bfd16680 Fixed adouble calss name. 2014-08-13 18:44:43 +02:00
LevelX2
a42318070e Changed duration of Intimidate to EndOfGame (like Flying and Shadow) instead of WhileOnBattlefield. 2014-08-13 16:58:01 +02:00
LevelX2
3bbbd4c02b Replaced use of source.getId() by source.getSourceId() for Mage Framework. 2014-08-13 14:22:32 +02:00
Quercitron
a2b650722a * Add Predict, Mask of Memory, Rhystic Study and Perplex 2014-08-13 03:02:41 +04:00
LevelX2
ae9f056e1a Some log improvement for player moves card. 2014-08-12 23:58:38 +02:00
magenoxx
5ec0b656bb Returning source.getSourceId() for DISCARED_CARD event 2014-08-12 21:19:45 +04:00
magenoxx
06b61fcba7 Made Elemental token origin set Conflux 2014-08-12 13:44:24 +04:00
magenoxx
a2e93986bc Added Research/Development card 2014-08-12 09:57:01 +04:00
magenoxx
709dc83ae6 2 requested cards 2014-08-11 20:30:39 +04:00
magenoxx
e6750f2f58 Merge branch 'master' of https://github.com/magefree/mage 2014-08-11 17:45:53 +04:00
magenoxx
e2bc5756e0 Requested card: Fire Covenant 2014-08-11 17:45:45 +04:00
LevelX2
9ade5efde0 * Fixed possible NPE in CostsImpl. 2014-08-11 13:57:18 +02:00
LevelX2
057f3aed07 * Added 4 cards. 2014-08-11 13:56:54 +02:00
emerald000
58bdbb8c13 M15 Oracle changes.
See: http://magic.wizards.com/en/articles/archive/magic-2015-update-bulletin-2014-07-17
2014-08-11 00:44:03 -04:00
Quercitron
294f5cfc19 * Add Tornado, Lyzolda the Blood Witch, Mental Note, Blood Knight 2014-08-10 21:36:59 +04:00
Quercitron
f93624f827 Add ability to Cost.canPay method parameters 2014-08-10 21:34:17 +04:00
LevelX2
a4866a9782 Fixed that looking in the top x cards while playing with the top card revealed shows wrongly the next card in library (fixes #487). Maybe there are some individual cards left that also need fixing. 2014-08-10 15:20:57 +02:00
LevelX2
c8fa685735 Fix for issue #493. Tests do all work, need some more checking if this really works. 2014-08-10 11:28:02 +02:00
Dustin Conrad
809d61d5ea Use dependency management to use common versions of log4j and junit in all the projects. 2014-08-09 19:38:34 -04:00
LevelX2
826005c945 * Fixed a bug that prevented some continuous effects of permanents to work correctly if the permanents controller changed (e.g. play lands from libraray with a controlled Courser of Kruphix). 2014-08-09 23:38:20 +02:00
LevelX2
6068357c3f Set all cards at game start to face up (can be set to face down from previous game of the match e.g. by Pyxis of Pandemonium). 2014-08-09 19:44:14 +02:00
LevelX2
a7fc5b9583 * Hushwing Gryff - Fixed a bug that the effect was wrongly implemented as replacement effect with potential to repalce other replacement effects. 2014-08-09 16:40:21 +02:00
LevelX2
609b5af2fe Fixed a bug in TargetSpell that allowed a spell to select itself as target (#491). 2014-08-09 15:27:39 +02:00
LevelX2
2ca945fabf Some more changes concerning ThoughtAsEffects. 2014-08-09 11:48:40 +02:00
LevelX2
4f0f42133d Divided thoughtAs.Cast into two different states CAST_FROM_NON_HAND_ZONE and CAST_AS_INSTANT. Some checks and tests still needed. 2014-08-08 17:27:10 +02:00
LevelX2
e893999657 * Chandra Pyromaster - Fixed that the exiled card from second ability could e.g. not be cast with overload. Fixes #486. Added tests. 2014-08-08 12:00:57 +02:00
LevelX2
8140893f0d *Fixing handling return state. 2014-08-08 01:18:59 +02:00
LevelX2
f7cc260219 Returning only a copy of netMana in ManaAbility. Try to fix issue #432. 2014-08-08 00:14:46 +02:00
LevelX2
49a23503a1 Some changes to logging. 2014-08-07 17:17:04 +02:00
LevelX2
471c5bed4a * Pauper - Added pauper format. 2014-08-07 17:16:42 +02:00
LevelX2
a05077f558 * Player tournament result - Fixed a bug that draws were not shown correctly. Instead of "1-1-1" it was "11--1" shown for the result ( 1 win, 1 draw, 1 loss). 2014-08-07 16:41:20 +02:00
LevelX2
2b3352b3b8 * Fixed some "enter the battlefield as a copy of " effects (e.g. Phyrexian Metamorph, Quicksilver Gargantuan) that were handled targeted and so protection abilities could prevent that a permanent was selected. 2014-08-07 15:53:44 +02:00
LevelX2
fe7ec072c1 * reverted change that caused endless loops while applying continuous effects. 2014-08-07 14:29:46 +02:00