Commit graph

87 commits

Author SHA1 Message Date
LevelX2
9219d79b25 Minor changes. 2014-08-18 23:54:33 +02:00
magenoxx
ffa987755b Added using RuleModification effect and setting targetAbility for triggered abilities 2014-08-18 19:42:29 +04:00
LevelX2
ddb9c786b4 Some changes to logging and NPE handling. 2014-08-17 20:38:57 +02: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
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
2ca945fabf Some more changes concerning ThoughtAsEffects. 2014-08-09 11:48:40 +02:00
LevelX2
1a1fc09221 * Fixed a bug that allowed to apply damage prevention replacement effects under certain circumstances multiple times to the same event. 2014-07-31 15:16:48 +02:00
LevelX2
1f51d243ec * Finished to change ReplacementEffects for UNTAP event to ContinuousRuleModifyingEffect. 2014-07-29 17:45:48 +02:00
LevelX2
05a2e09b2a Adeded ContinuousRuleModifyingEffect and handling for it. This effects will also be taken into account when checking if a spell gets yellow frame if it can be cast. 2014-07-25 13:09:48 +02:00
LevelX2
45618309fb Removed some redundant casts. Added missing type definitions. 2014-07-23 17:42:07 +02:00
LevelX2
142e95fe42 * Fixed provisional game freezing bugs of the show playable cards feature #457 (caused by DelverAbility, OfferingAbility, Rooftop Storm, Omniscience, Aluren). 2014-07-21 13:03:41 +02:00
Quercitron
bba23e05cb Fix handling of multiple simultaneous control changing effects 2014-06-26 03:30:05 +04:00
Quercitron
f9fc2246e8 Remove unnecessary set of required status with setRequired method 2014-06-13 16:35:31 +04:00
LevelX2
d244551e3b * Added Morph ability. 2014-06-09 17:53:55 +02:00
LevelX2
84f25d72d3 Fixed a possible problem with continuous effect and Mage Singletons. 2014-04-03 15:08:07 +02:00
LevelX2
d8236a8d3a * Fixed that ThoughtAs effects could be used by any player instead of only the controller of the effect. (Fixes e.g. that Misthollow Griffin could be cast by any player from exile). 2014-03-11 00:14:56 +01:00
LevelX2
f32b28abcc * Tromokratis - Added check that blockers can't be selected to block if they are not able to block anyway. Some redesign of combat. 2014-01-30 15:01:25 +01:00
LevelX2
e3d543fa76 Fixed a bug in handling ContinuousEffects introduced with 463cec8754. 2014-01-09 15:15:05 +01:00
LevelX2
463cec8754 * Joraga Treespeaker - Fixed a bug, that elves did not get the mana ability from Level 5 of the Joraga Treespeaker (caused by handling of continuous effects that added abilities that added abilities). 2014-01-07 15:23:33 +01:00
LevelX2
6d0b38c8ca * Commander - Fixed a NPE if change control effects are used during commander game. 2013-11-22 00:30:14 +01:00
Plopman
3144409c2c Fixed cost modification order (Rule 601.2e) and added CostModificationType 2013-09-24 19:52:58 +02:00
LevelX2
3bf75385a8 Fixes and improvements to framework classes. 2013-09-16 21:42:49 +02:00
LevelX2
7c34668f0d Reworked AsThoughEffect. Added SPEND_ANY_MANA AsThoughType. Added some framework effects. 2013-09-16 17:04:42 +02:00
LevelX2
90ec6123b2 Some changes to RedirectionEffect. 2013-08-24 17:16:42 +02:00
LevelX2
375d3ebf64 Fixed a recently added problem with MageSingleton restriction effects. 2013-08-13 11:24:22 +02:00
LevelX2
0cf7ca3fca Added effect type and logic to handle multiple untap restriction effects. 2013-08-10 13:06:32 +02:00
Plopman
8b6cfc9529 Fixed a bug with multiple replacement effect. The bug appear with the fix of #198 and #196 2013-07-23 23:20:16 +02:00
LevelX2
3572cbdc87 * Slice onto arcane - Fixed a bug that splice cards of opponents were counted as own splice cards. Leading to lock down the client. 2013-06-29 20:50:13 +02:00
LevelX2
c8c1680084 Some improvements for Splice onto Arcane Ability (game log text, reveal all spliced cards at once). 2013-06-26 22:03:12 +02:00
LevelX2
725ee6e042 Added SpliceOntoArcane Ability. It's working but it will need some handling improvements. 2013-06-26 17:34:14 +02:00
LevelX2
9c6db9405a * UnearthAbility - Fixed that unearthed creatures had no haste. 2013-06-18 15:14:53 +02:00
North
0bb110be45 [refactor] moved enums from Constants class 2013-06-16 12:28:10 +03:00
LevelX2
b7a22aa283 * Sovereigns of Lost Alara - Fixed a bug that the effect attaching the aura to the attacking creature throws an error. 2013-06-15 00:24:10 +02:00
LevelX2
f84177bbcd Added missing logic to remove continuous effects with duration EndOfCombat. 2013-05-09 09:06:31 +02:00
LevelX2
768ef9a4fc Improved handling of applied efffects for replacement effects. 2013-04-21 22:34:44 +02:00
LevelX2
1e5100e0d6 Added the logic, that one continious effect in game state can be connected to multiple abilities. This fixes issue #198 and #196. 2013-04-17 23:44:50 +02:00
LevelX2
32dff5ae72 Added replacement of {this} and{source} for selection of replacement effect order. 2013-03-23 16:40:15 +01:00
LevelX2
b46bdef429 Added the possibility to handle the enteres_the_battlefield event according to rule 614.12 (issue #164). 2013-03-22 15:00:06 +01:00
LevelX2
2e60801df6 Fixed some problems concerning applying layeres effects in timestamp order. Tests now always successful.
1.Timestamps not distinct.
  2. Timestamps not updated when attachments are attached (mainly equipments).
2012-12-12 15:51:54 +01:00
LevelX2
29222dfcbf Added reloading of effects during apply that is needed if some effects are added during the apply. According to the reverted fix of Plopman from 19.11.2012. 2012-11-23 00:53:09 +01:00
Plopman
814bb081a7 Revert "Fix copy effect and gain triggerAbility effect"
This reverts commit bfd3bcaf78.
2012-11-19 11:38:05 +01:00
Plopman
bfd3bcaf78 Fix copy effect and gain triggerAbility effect 2012-11-19 11:25:15 +01:00
magenoxx
3b3d02b3f8 Fixed Issue#67: Evernight Shade doesn't loose +1/+1 effects 2012-09-07 20:05:03 +04:00
magenoxx
c61e4f2b32 Fixed Issue#35. All tests pass now. 2012-08-22 22:36:19 +04:00
magenoxx
f2229f9fd7 Test and fix for Issue#44: War Falcon - Attack condition does not work properly. Fixed changing controller for game state effects 2012-08-16 08:54:53 +04:00
magenoxx
cdb3ccfc38 new effect discarding mechanism 2012-07-20 13:06:42 +04:00
magenoxx
a3faf6eb90 Fixed AsThoughEffects: fixed Issue#23. Tests pass. 2012-07-19 13:18:08 +04:00
North
239a4fb100 [refactoring][minor] Replaced all tabs with four spaces. 2012-06-19 23:50:20 +03:00
magenoxx
1cb25812c9 Fixed replacement effects for copied creatures. All tests pass now. 2012-06-14 20:59:15 +04:00
magenoxx
5650c6c782 Fixed effect timestamps not working. +1 test passes. 2012-05-25 19:00:32 +04:00