Commit graph

63 commits

Author SHA1 Message Date
poixen
46eb6c0525 Restructured Mage module 2015-11-29 21:56:49 +01:00
LevelX2
f72ec06ecd * Serpentine Spike - Fixed that the three targets had not to be different. 2015-10-19 17:45:26 +02:00
LevelX2
8044940a97 * Fixed a bug that if all targets (if targets were set) of a spell with an up to target definition (e.g. Adverse Conditions) became illegal the spell did not fizzle as it should. 2015-09-30 00:53:33 +02:00
LevelX2
8f64a2ab54 * Fixed that a player doing a library search with a stated quality (701.15b) couldn't fail to find a card if cards with the stated quality did exist in the searched library. 2015-09-14 23:36:32 +02:00
LevelX2
4324a6a683 Fixes to token image handling. 2015-07-19 10:09:50 +02:00
LevelX2
0c0fe9984e Some fixes/improvements to AI target handling and tests. 2015-07-16 13:10:11 +02:00
LevelX2
1b690e5c8c * Fixed target change handling (e.g. with opponent filter - fixes #574). Added some tests. 2015-05-31 18:44:02 +02:00
LevelX2
7897485539 [TPR] Added Pandemonium, Cannibalize, Silver Wyvern and Coffin Queen. 2015-04-18 01:21:50 +02:00
betasteward
6405c8d2f0 move zoneChangeCounter to GameState - Card is now immutable 2015-03-29 08:30:31 -04:00
Duncan Townsend
601e442208
In TargetImpl, use accessor methods instead of minNumberOfTargets and maxNumberOfTargets so subclasses can easily reuse the functionality in TargetImpl. 2015-01-29 00:32:23 -05:00
Duncan Townsend
7e5f873251
Fixed capitalization mistake "setMaxNumberOftargets" -> "setMaxNumberOfTargets" 2015-01-25 17:06:00 -05:00
LevelX2
4b5191af26 * Fixed a bug with some of multiple targets getting illegal after casting Vines of Vastwood to protect a target. 2014-12-11 14:58:48 +01:00
LevelX2
67479bb5a4 * Fixed wrong timer handling while other player controlled a player's turn. Attackers now marked with blue frame. Playable cards have a violet frame. If a player has to select cards from hand, the possible cards are marked yellow now. Discard of multiple cards now marks already selected cards and happens in one selection. 2014-11-26 01:48:00 +01:00
LevelX2
3bbbd4c02b Replaced use of source.getId() by source.getSourceId() for Mage Framework. 2014-08-13 14:22:32 +02:00
LevelX2
7f6d5bcac6 * Fixed a bug introduced with TargetSource() fix. 2014-07-25 14:43:13 +02:00
LevelX2
de71d9b194 * Burrenton Forge-Tender - Fixed that damage prevention did not work for sources that were stack objects. This was a common problem of TargetSource class. 2014-07-24 16:30:58 +02:00
LevelX2
aad8ad0871 * Not targeted selections - Fixed a but where not targeted selections did trigger the target events (e.g. Kira, Great Glass-Spinner counter ability was triggered by taping creatures for convoke ability). 2014-07-14 14:19:18 +02:00
LevelX2
b602be2b53 * Fixed that spells with target amount distribution did not fizzle if all their targets were illegal at resolution (e.g. Electrolyze). 2014-07-12 19:31:57 +02:00
LevelX2
adcbcc75f7 * Fixed NPE in TargetImpl. 2014-06-15 19:05:58 +02:00
Quercitron
9629c3f0f5 Modify implementation of Target's required status 2014-06-15 19:23:30 +04:00
LevelX2
ba885fef91 * Ground Seal - Fixed a problem, that cards that need to target cards in graveyard caused a game lock, if ground seal was on the battlefield. 2014-06-15 11:14:08 +02:00
Quercitron
250909a464 Make required status of target based on the type of ability 2014-06-12 23:35:56 +04:00
North
82a45cee88 [refactor] removed generic parameter from Target 2014-06-02 16:06:05 +03:00
LevelX2
f7a48d9a0a * Game log - Some minor changes to game log output. 2014-03-28 15:06:31 +01:00
LevelX2
7ebb8a9cbe * Reworked non mana costs with variable amount. The values have now to be announced before targeting. Fixed some wrong implementations (Firestorm, Myr Battlesphere, Skeletal Scrying). 2014-03-09 19:47:31 +01:00
LevelX2
e9dc1a1c68 Improved change spell target(s) handling - Fixes finaly #379 and fixes #356. 2014-02-05 16:13:57 +01:00
LevelX2
ebb71b7dd7 Fixed a problem that not all effects of Smelt-Ward Gatekeeper's was resolved, because target was nor more legal after getting the control of target creature. Problem was cause by commit 80fc87a7f7. Now both problems should be solved (hopefully). 2013-12-21 16:33:49 +01:00
LevelX2
5186f690d7 Added IsPhaseCondition, some minor framework formatting. 2013-11-21 09:58:22 +01:00
LevelX2
4f2f08840b * Fixed some functions which locked or stopped the game after a player conceded the game. 2013-09-25 20:42:00 +02:00
North
0bb110be45 [refactor] moved enums from Constants class 2013-06-16 12:28:10 +03:00
LevelX2
0a8e1ff014 New framework effect, added random targets to targets, some rule text changes. 2013-04-29 22:59:42 +02:00
LevelX2
361ac7f602 Fixed a bug that if no target was selected because of up to X targets are possible, the target was returned as not legal. 2013-04-14 01:17:17 +02:00
LevelX2
ad256a43bd Added OrCost for additional costs. Small chnage to rul text generation of TargetImpl. 2013-04-02 16:35:23 +02:00
North
addfe34c0e [minor] code style 2012-12-27 22:15:31 +02:00
magenoxx
cc4d772483 Fixed Issue#53: AI casts Rancor, but Rancor goes to graveyard 2012-08-31 13:46:29 +04:00
North
239a4fb100 [refactoring][minor] Replaced all tabs with four spaces. 2012-06-19 23:50:20 +03:00
magenoxx
1d22d59c42 Added zoneChangeCounter to fix spell fizzle on flicker bug. All tests passed. 2012-06-08 17:55:44 +04:00
magenoxx
15527b8984 fixed fizzle for multi targets 2012-05-18 18:08:00 +04:00
BetaSteward
48f5a469d4 fixes for monte carlo ai 2012-02-13 09:05:01 -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
cdc45d99f9 some more optimizations 2011-10-26 13:24:39 -04:00
magenoxx
82dcb53cb9 Target refactoring. Fixed Issue 273. 2011-10-08 12:46:34 +04:00
BetaSteward
f9c6762c11 ISD - Curse of Oblivion 2011-10-06 14:06:47 -04:00
BetaSteward
61638f6453 NPH - Spellskite 2011-09-12 22:58:01 -04:00
North
17ca2de0c9 Fixes issue 253.
This needs a review. I couldn't see any need for the second loop which would be infinite for targets with no upper limit.
2011-09-12 22:49:49 +03:00
magenoxx
3521c7dd08 Fixed Protection from color. Fixed spell fizzling. 2011-08-14 22:19:22 +04:00
magenoxx
a60fe86fbb Fixed filter for "Target ANOTHER permanent" not working. Now sourceId is passed to match method. Updated sever plugins (game freezes otherwise). 2011-08-10 12:28:57 +04:00
Loki
6fa9877042 Iname, Death Aspect and Bold Defense 2011-08-06 10:48:39 +03:00
Loki
f16a880680 Engulfing Slagwurm 2011-07-12 20:22:54 +03:00