Commit graph

110 commits

Author SHA1 Message Date
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
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
eefedc03b9 [AI] enhanced targeting. card fixes 2012-07-29 10:31:46 +04:00
magenoxx
6fbf4c1257 Renamed parameter name. [UI] Fixed big card image blinking on mouse move 2012-07-21 14:10:07 +04:00
North
239a4fb100 [refactoring][minor] Replaced all tabs with four spaces. 2012-06-19 23:50:20 +03:00
magenoxx
17dbe0ae57 Test and fix for copying transformed creatures 2012-06-11 19:36:56 +04:00
magenoxx
365bd2a50e Correct handling protection abilities for dealing damage. All tests passed. 2012-06-04 11:25:32 +04:00
magenoxx
32e29392d2 [AVR] Second Guest + tests. Refactored filters. 2012-05-24 09:01:31 +04:00
magenoxx
0d732e8f86 New way of copying permanents - supports copies of copies. +1 test pass. 2012-05-23 20:48:31 +04:00
magenoxx
e5b6807d91 Reimplemented imprinted and connected cards 2012-05-23 20:48:31 +04:00
magenoxx
cf6d9d8ac4 upkeep ability targeting fix 2012-05-18 16:00:40 +04:00
magenoxx
3822e0d09b Soulbond keyword 2012-05-17 09:51:08 +04:00
Loki
f14559d71d fix summoning sickness, 1 DKA 2012-02-07 16:52:53 +04:00
BetaSteward
bf9e25fc34 other fixes 2012-02-04 17:05:48 -05:00
BetaSteward
1d32f49fd0 modified triggered abilities, continuous effects and zones 2012-02-02 23:27:23 -05:00