Commit graph

174 commits

Author SHA1 Message Date
Quercitron
e5b2b39701 Make order of parameters the same for methods player.damage and permanent.damage 2014-07-18 02:11:11 +04:00
LevelX2
810434932b * Planeswalker - Changed handling of LoyayltyAbilities to a times used based handling. 2014-07-10 08:52:21 +02:00
LevelX2
18e78b8294 Some fixes to M15 cards or by M15 used classes. 2014-07-06 16:00:32 +02:00
Quercitron
bba23e05cb Fix handling of multiple simultaneous control changing effects 2014-06-26 03:30:05 +04:00
LevelX2
48f149c549 * LogName - Changed some more messages to use the logName instead of name. 2014-06-13 15:09:06 +02:00
LevelX2
d244551e3b * Added Morph ability. 2014-06-09 17:53:55 +02:00
North
782518f336 [refactor] removed generic parameter from PermanentImpl 2014-06-03 12:42:55 +03:00
North
14fa5b0f57 [refactor] removed generic parmaeter from CardImpl 2014-06-02 21:15:53 +03:00
LevelX2
8e56d06121 * Geju of the Fiels, Raging Ravine fixed that the given triggered ability was wrongly only given one time instead as often the activated ability was used. 2014-05-10 18:01:41 +02:00
LevelX2
042552aa1e * Sacrifice cost - Fixed a bug that made wrongly sacrificing invalid, because sacrificed permanent did not go to graveyard (e.g. Rest in Peace in play). 2014-04-05 02:46:21 +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
8fa23501ee * Polis Crusher - Fixed that it can't be the target of enchantments.
* Polis Crusher - Fixed that the targeted enchantment of it's second ability was chosen too late during resolution.
2014-02-27 16:42:44 +01:00
LevelX2
0d1921d8cb * Added target replacement check to canBeTargeted check of permanent to get correct possible targets (fixes #381). 2014-02-09 11:22:33 +01:00
LevelX2
ca831aee05 if multiple permanents come to battlefield at the same time, they are aware now of each other. (e.g. useful for for Valakut, the Molten Pinnacle). 2014-02-06 01:02:44 +01:00
LevelX2
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
2b78cbf958 Small fix for AsThoughEffectType.BLOCK_TAPPED. 2014-01-21 13:41:22 +01:00
LevelX2
6d0f30178d * Commander - Fixed that sacrificing a commander as cost was not possible. Added game log message if creature was removed from combat. 2013-12-15 14:17:39 +01:00
LevelX2
8855489c7c * Game log - Added message about destroyed permanents. 2013-12-09 08:13:18 +01:00
LevelX2
77ac99b03f Added AtTheBeginningOfNextUpkeepDelayedTriggeredAbility, fixed ability picker giving not always text back for spell ability. 2013-11-17 08:33:53 +01:00
LevelX2
2c46929fff [C13] Added Command Tower, Homeward Path, Contested Cliffs, Marath Will of the Wild. 2013-10-31 17:30:30 +01:00
LevelX2
60336cbc4b * Fixed possible NPE (fixes #358). Added game log info about sacrificed permanents. 2013-10-13 11:00:28 +02:00
LevelX2
db1521d30c * Fixed some problems with blocking requirements (fixes #355). 2013-10-08 17:12:04 +02:00
LevelX2
a7f9ba65fe * Doran, the Siege Tower - Fixed handling of use toughness instead of power for damage effect. Prevention effects work now always for the correct amount of damage. 2013-10-01 14:41:19 +02:00
LevelX2
0357dcb59d Prevented 0 damage prevention events. 2013-09-27 16:14:13 +02:00
LevelX2
2c55591172 Added MonstrosityAbility for Theros. 2013-09-03 17:10:52 +02:00
LevelX2
277f9363fd * Fury Charm - Fixed that Suspended Cards could not be cast, if last counter was removed with Fury Charm. 2013-09-01 11:15:31 +02:00
LevelX2
4a28881f71 Added as thought effect to let creatures block tapped. 2013-08-03 20:14:11 +02:00
LevelX2
d5efeb3e95 Moved copy copy statement from PermanentImpl to MageObjectImpl object. 2013-07-10 14:12:05 +02:00
North
0bb110be45 [refactor] moved enums from Constants class 2013-06-16 12:28:10 +03:00
LevelX2
5addb63757 * Changed indestructible to an ability according M14 rule change. Also fixed that for indestructible permanents the DESTROY_PERMANENT event was triggered what led to bugs with abilities like Totem Armor. 2013-06-15 17:57:01 +02:00
LevelX2
1677373c13 Added canUseActivatedAbilities method to RestrictionEffect. 2013-05-31 17:38:59 +02:00
LevelX2
7bb6fabfef Fixed Alpha Authority and combat to handle a defined maximum of blockers. 2013-05-29 17:41:30 +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
0ebd265197 Fixed a bug, that a ability gained to multiple permanents (e.g. Forestwalk) was only gained to the first permanent because no uniquie id was set for the copied ability added to state. Added a test for the bug. 2013-04-13 18:18:24 +02:00
LevelX2
f36cf88da3 Changed PermanentImpl to make 0 damage events replacable. 2013-03-24 16:04:47 +01:00
magenoxx
2b01a03418 Fixed Issue#89: Unattach event does not trigger if equipped creature is exiled 2013-03-15 14:11:57 +04:00
LevelX2
1263607862 Fixed a bug that abilities of creatures weren't applied correct after the creature was controlled by opponent and the controll effect ended. Test for this bug. 2013-03-10 02:31:14 +01:00
LevelX2
50bb73fa08 Expanded handling of the ENTERS_THE_BATTLEFIELD event to fix issue #82. 2013-02-17 01:13:15 +01:00
LevelX2
b2aef4225c Fixed issue #137 that counters didn't trigger ADD_COUNTER event for each single counter. 2013-02-15 18:12:45 +01:00
LevelX2
db7694ae60 Solved a bug, that by removing the abilities of a permanent (LoseAllAbilitiesTargetEffect), the permanent was removed from locked in objects of effects from other sources than this permanent. 2013-02-14 16:18:18 +01:00
LevelX2
1121c7c562 Fixed a bug in EntersTheBattlefield event of PermanentImpl using ownerId instead controller id. Fixes issue #133. Some minor formating. 2013-02-14 12:58:04 +01:00
LevelX2
a4f4e7dc52 Added asThoughEffectType HEXPROOF and integrated the check in PermannetImpl and PlayerImpl. Removed uneccessary CantTargetSourceEffect from HexproofAbility. 2013-01-26 20:31:46 +01:00
LevelX2
452794bf1e Moved methods and attributes concerning counters from Permanent to Card (to support e.g. suspend in the future). 2013-01-04 15:04:31 +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
bb5b9587e0 Fixed the causes that triggered abilities were applied more often than they should. Fixed the lose ability bug (test with Master of the Pearl Trident giving island walk). Tests now build without errors. Only rarely the Grounded/Drake Umbra lose ability test fails. 2012-12-05 01:16:28 +01:00
LevelX2
a2506ffa69 appliedEffects parameter added to addCounters methods for tracking replacementEffect consumation 2012-10-13 00:54:52 +02:00
LevelX2
06624ed116 Added appliedEffects parameter to Player.damage to handle damage redirection effects correct. Fixed Furncae of Rath damage redirectionEffect. 2012-10-09 17:54:21 +02:00
LevelX2
d42e27247d Added a list for appliedEffects (ReplacementEffects) to GameEvent that can be used to comply with rule 614.5. 2012-10-09 16:22:30 +02:00
North
204d2410a1 Reimplemented Indestructable using a replacement effect 2012-09-05 00:01:08 +03:00
magenoxx
c61e4f2b32 Fixed Issue#35. All tests pass now. 2012-08-22 22:36:19 +04:00