Commit graph

395 commits

Author SHA1 Message Date
LevelX2
8914c204f6 Added logic for state base effects to remove copied cards in exile. Fixed a bug that triggeredEffects were null because player was no more in game. Added isInGame method for Player. 2013-05-30 15:24:45 +02:00
LevelX2
4f8fe8c510 Fixed a bug that the event LIFE_GAINED event did not include the correct amount of life, if replacement effects had changed that amount. 2013-05-24 14:49:47 +02:00
LevelX2
8dd1a0fad0 Throwing exception if triggerdAbility == null. 2013-05-20 10:51:45 +02:00
LevelX2
b352217e17 Some improvements to split card handling. Better display of tooltip of split cards, also added handling if not cast from hand. 2013-05-09 21:26:15 +02:00
LevelX2
b01cb551b7 Update to split cards functionality. Fuse and flashback works now. No correct ability filtering yet for split cards. 2013-05-07 00:44:57 +02:00
LevelX2
97505873aa Fixed PlayerImpl by adding some missing attributes to copy and restore method (fixes an undo bug). Added new PutTopCardOfTargetPlayerLibraryIntoGraveEffect. 2013-05-06 15:14:18 +02:00
LevelX2
d32600dbb1 [minor] toss a coin text extended. 2013-05-02 16:06:42 +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
2e34bf356e Small fix to won method of PlayerImpl. 2013-04-10 01:13:20 +02:00
LevelX2
fe051b5d29 Fixed a bug that Free For All multiplayer games were never finished because no player got wins. Only losses were set. 2013-04-10 01:10:03 +02:00
LevelX2
48f1560cb8 Added new AsThoughtEffectType to reveal face down cards (not a perfect solution I know, but better as using the cast type. If someone has a better idea to handle this, I'm open). 2013-04-06 00:04:21 +02:00
Plopman
cecc8bc1df Fix AlternativeCost. It's no longer possible to cast spells with alternative caost for any zone 2013-04-05 17:58:37 +02:00
magenoxx
29b84e0d92 Closed #169: Make it possible to untap lands 2013-03-29 20:35:16 +04:00
magenoxx
05191e8793 Closed #168 : Enhance priority hot keys 2013-03-29 17:18:12 +04:00
LevelX2
9450074b70 Changed AI X costs handling according human handling. Fixed AI handling of modal spells. Changed some AI setting. Changes to AI lgging. 2013-03-14 23:55:14 +01:00
LevelX2
707ce8fca4 [minor] format. 2013-03-11 17:39:01 +01:00
LevelX2
1baa60e9de Added the possibility to limit library search to an amount of cards (Aven Mindcensor). 2013-02-28 17:15:40 +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
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
f9cd3e08da [Minor] code style 2012-12-30 11:03:24 +01:00
LevelX2
67ed36e315 Reworked Kicker. 2012-12-08 02:20:29 +01:00
jeffwadsworth
8dcfead462 - Attempt to fix the AI attacking with your creatures. Small enchancements to AI attacking. 2012-11-08 11:57:13 -06:00
LevelX2
59f70c28f5 The targets of casted spells are shown again in the log. 2012-11-07 23:39:11 +01:00
LevelX2
7c44b16504 AbilityPicker shows abilities now always in the order they were defined on the object. 2012-10-10 20:43:18 +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
magenoxx
df58763fe4 Fixed Issue#70: Game handles to lose by draw from empty library not correct 2012-09-07 23:24:50 +04:00
magenoxx
41304c4a58 Fixed NOP for AI 2012-08-31 12:16:06 +04:00
magenoxx
309ebc7ee3 Fixed Rebound for multi keywords. Added Player.#getSideboard method 2012-08-29 22:44:48 +04:00
magenoxx
4a70d28706 [M13] Elderscale Wurm with test 2012-07-23 00:17:20 +04:00
magenoxx
b18d6f2fc8 One more fix for AsThoughEffects 2012-07-19 13:40:12 +04:00
magenoxx
60bd1f9585 [M13] Serra Avenger with tests 2012-07-18 21:52:57 +04:00
magenoxx
ed0af0faee Added skip-all-turns-and-actions feature. Bound to F9. 2012-07-18 10:15:50 +04:00
magenoxx
dc6888788d Fixed gain and lose life events that didn't interact with replacement effects correctly 2012-07-12 05:19:45 +04:00
magenoxx
354b07d50e Draft bot - only draft picks, will be auto eliminated and doesn't participate in tournament 2012-06-28 19:32:32 +04:00
magenoxx
6b57822f40 Fixed Rebound 2012-06-25 10:10:07 +04:00
North
239a4fb100 [refactoring][minor] Replaced all tabs with four spaces. 2012-06-19 23:50:20 +03:00
magenoxx
ed54e78460 PlayerImpl.canPlay fix 2012-05-25 08:19:04 +04:00
magenoxx
32e29392d2 [AVR] Second Guest + tests. Refactored filters. 2012-05-24 09:01:31 +04:00
magenoxx
abc3bbd36b [AVR] Angel of Jubilation + test 2012-05-20 23:00:12 +04:00
magenoxx
933f094f69 More careful fix for PlayerImpl.canPlay. Moved ThaliaGuardianOfThrabenTest to another package. 2012-05-01 12:33:51 +04:00
magenoxx
26ac9d1967 Fixed PlayerImpl.canPlay - didn't take cost modification effects into account 2012-05-01 11:53:58 +04:00
North
fa0445b544 Added support for player searching another players library
Fixed Haunting Echoes and Sadistic Sacrament to use this feature
2012-04-24 23:03:09 +03:00
BetaSteward
97c6f33154 fixes 2012-03-29 08:32:52 -04:00
North
8ea3cc741c Fixes issue when source for damage isn't on the battlefield anymore 2012-03-12 23:27:48 +02:00
BetaSteward
e03aaee4b6 updated searching/shuffling interaction 2012-03-08 13:53:23 -05:00
BetaSteward
82f8a7cdee added replace event to putOntoBattlefield call - moved logic for moving cards to putOntoBattlefield 2012-03-05 09:15:47 -05:00
BetaSteward
67fb349224 3 DKA 2012-03-02 15:42:34 -05:00
BetaSteward
c64c597467 DKA - Fiend of the Shadows 2012-02-26 21:48:55 -05:00
BetaSteward
68391a7522 fixed some NPE's and other errors 2012-02-23 15:26:57 -05:00