Commit graph

83 commits

Author SHA1 Message Date
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
BetaSteward
2e21b7197b fixes and optimizations for monte carlo ai 2012-01-16 18:49:11 -05:00
BetaSteward
dfffdfcf8c latest monte carlo ai - has a memory leak 2012-01-10 21:29:53 -05:00
BetaSteward
7c69bc6f30 fixes + optimizations + allow games to be paused and resumed 2011-11-02 21:39:03 -04:00
BetaSteward
39404820de fixed AI targeting cards with Hexproof 2011-10-17 09:08:22 -04:00
BetaSteward
4fc38b4548 prevent multiple singleton abilities on a permanent 2011-10-15 23:43:32 -04:00
BetaSteward
9924713583 fixed issue 207 2011-10-12 21:45:57 -04:00
magenoxx
da2bdfb893 Fixed game.restoreState causing double-faced cards to transform back. 2011-10-07 23:34:19 +04:00
magenoxx
e7bb796d48 Double-faced cards support 2011-09-17 16:47:28 +04:00
BetaSteward
cd81f4197d created events for adding counters to players 2011-09-14 21:31:08 -04:00
magenoxx
2e97eb38fd Dealing combat damage at the same time. Fixed Issue 236. Note: implemented only for damage resultings. 2011-09-01 14:14:31 +04:00
BetaSteward
8b62a1d06f MBS - Spire Serpent + improved getAvailableAttackers check 2011-08-26 23:23:30 -04:00
BetaSteward
a38e441e08 MBS - Spin Engine + modifications to Restriction Effect 2011-08-26 15:42:29 -04:00
magenoxx
096ae6e3ca possible fix for wither instant spells 2011-08-22 14:20:59 +04:00
magenoxx
e2d4fa8899 [M12] Stormblood Berserker 2011-08-22 09:39:37 +04:00
magenoxx
b8076aa1d3 [M12][10E] Sengir Vampire 2011-08-20 22:59:49 +04:00
BetaSteward
18064114e0 added events for adding counters 2011-08-12 10:09:41 -04:00
magenoxx
fe4ba3c590 connected cards 2011-08-01 00:45:51 +04:00
North
d2e67d2702 Added cards (Shadowmoor). 2011-07-29 20:32:11 +03:00
magenoxx
73e525c75a Imprint. [SOM] Semblance Anvil. 2011-07-29 12:31:35 +04:00
BetaSteward
76c1fa5d8b add SOM - Ogre Geargrabber 2011-07-26 12:40:59 -04:00
magenoxx
a3a38823d6 Fixed evasion abilities. Splitted canBlock to canBeBlocked and canBlock methods (previous version caused bugs). Refactored some cards. 2011-07-05 17:00:05 +04:00
magenoxx
2dba0ca829 Fixed Issue 169 2011-06-30 15:07:38 +04:00
magenoxx
ec79873a0d Fixed Issue 17 2011-06-30 11:27:43 +04:00
magenoxx
5f169381a1 Fixed Signal Pest (NPE + effect wasn't applied so any could block). Enhanced canBlock restriction effect - wasn't called for attacker. 2011-06-13 14:47:09 +04:00
magenoxx
8fb65cedd9 Fixed canBlock restriction effect - Fixed Issue 138. 2011-06-03 09:49:30 +04:00
magenoxx
d5c4ac371a Now Planeswalkers use counters for loyalty. Fixed Issue 69. 2011-05-15 16:42:45 +04:00
magenoxx
3bcff30680 Fixed dealing damage to permanents (Please review). Fixed Corrupt not working correctly (Issue 108) 2011-05-15 12:58:07 +04:00