Commit graph

2495 commits

Author SHA1 Message Date
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
9a0c05f576 * ChangeSpellTargets - Fix that AI don't go to endless loop. 2014-02-06 00:59:49 +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
4dddb9ea12 Added Shunt, Deflection and Imp's Mischief. 2014-02-05 15:20:06 +01:00
LevelX2
8b180f0b9c * ChangeSpellTargets - Some more changes to handle change of targets better. 2014-02-05 08:41:27 +01:00
LevelX2
a1dc4ec5b3 * Scry - Fixed that if you play with the top card of library revealed you didn't reveal the next card during scry effect. 2014-02-04 22:54:59 +01:00
LevelX2
71fafb168c * Siren of the Silent Song - Fixed a bug that the controller also wrongly put a card into the graveyard from library. 2014-02-04 22:19:26 +01:00
LevelX2
022587e6f9 * Felhide Spiritbinder - Fixed a bug that the copied token did not have a supertype l(e.g. Legendary). 2014-02-04 22:18:06 +01:00
LevelX2
32699757c4 * ChooseNewTargets - Fixed some problems with amount targets. Some problem left fix coming soon. 2014-02-04 17:42:54 +01:00
LevelX2
733b0f6b8e Minor message formatting. 2014-02-04 08:35:20 +01:00
LevelX2
bf4ccf185c Some minor formatting. 2014-02-03 17:47:12 +01:00
LevelX2
9c5d5208b9 Some updates to pom dependency. 2014-02-03 17:46:19 +01:00
LevelX2
f734d89de6 * Ragemonger - Fixed a bug that the casting cost reduction did not work correctly. 2014-02-03 01:16:52 +01:00
LevelX2
0a18a7bea6 Removed majority of memory leaks from game / editor / dialog handling. 2014-02-02 21:57:02 +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
d9a03b35d2 Some more changes to get/check opponents. 2014-01-30 12:55:50 +01:00
LevelX2
d959edb4b3 Added new method game.isOpponent() for faster opponent check. 2014-01-30 10:46:30 +01:00
LevelX2
69d0159c99 * Fearsome Temper - Fixed wrong block restriction effect. 2014-01-29 00:50:14 +01:00
LevelX2
99c51f8091 * Tromokratis - added first implementation (can't handle forced block conflicts yet) 2014-01-28 17:05:30 +01:00
LevelX2
bd77e476ee Removed redundant combat code for handling block effect of Odric Master Tactician. 2014-01-28 15:11:23 +01:00
LevelX2
19679c9f6e Some minor changes / formatting. 2014-01-28 13:48:40 +01:00
LevelX2
51965b4bad Extended output for logging message if moveToZone is called in not the correct way. 2014-01-28 11:30:43 +01:00
LevelX2
8a98caa4c4 * AnnihilatorAbility - Fixed possible NPE. 2014-01-27 18:13:57 +01:00
LevelX2
2e8bbf0406 * Some minor code optimisations. 2014-01-27 18:04:14 +01:00
LevelX2
c75c5ac9e1 * Some changed to avoid ConcurrentModificationExceptions (fixes #333). 2014-01-27 18:03:25 +01:00
LevelX2
13d488757a * BestowAbility - Fixed that bestow creature cast fizzled instead to enter battlefield as creature enchantment if target left battlefield before resolve of the bestow ability. 2014-01-26 17:17:53 +01:00
LevelX2
d07c7b490b Added some methods to write card move infos more easy to game log. 2014-01-26 16:41:17 +01:00
LevelX2
778a3ce688 Added message about revealed cards to game log. 2014-01-26 15:43:55 +01:00
Quercitron
c96c0a1e9e Fix Nessian Wilds Ravager 2014-01-26 01:43:50 +04:00
LevelX2
ad71ec6aad Set Version 1.3.0. 2014-01-25 15:55:39 +01:00
LevelX2
f1b8fe3efb [BNG] Fixes to Nessian Wilds Ravager, Scourge of Skola Vale, Felhide Brawler, Mogis, God of Slaughter, Odunos River Trawler and TributeAbility. 2014-01-25 15:13:58 +01:00
LevelX2
7147e47199 [BNG] Added Champion of Stray Souls. 2014-01-25 15:11:55 +01:00
LevelX2
6436a06add Fixed multi color devotion for hybrid mana. 2014-01-25 11:27:14 +01:00
LevelX2
6a638051f6 [BNG] Some fixes. 2014-01-25 01:55:53 +01:00
LevelX2
709086236b [BNG] Added 7 red cards. 2014-01-24 23:48:08 +01:00
LevelX2
4eacc3871c [BNG] Added 5 green and 1 white card. 2014-01-24 22:37:45 +01:00
LevelX2
40bd40b526 [BNG] Added 5 red and 7 black cards. 2014-01-24 21:11:39 +01:00
LevelX2
ea0b24fea0 [BNG] Added 16 green cards. 2014-01-24 17:35:45 +01:00
LevelX2
a21dfeebdf [BNG] Added 9 black cards. 2014-01-24 14:58:31 +01:00
LevelX2
1961ec97e0 Some name refactoring to PutTopCardOfLibararyIntoGraveEffects. 2014-01-24 14:35:44 +01:00
LevelX2
f9607bb7ed [BNG] Added 9 red cards. 2014-01-24 14:18:44 +01:00
LevelX2
e60c9e724d Some updates/changes/refactoring to PutTopCardOfYourLibararyIntoGraveEffects. 2014-01-24 13:03:57 +01:00
LevelX2
4f4ce32fa6 [BNG] Added 11 blue cards. 2014-01-24 12:10:06 +01:00
LevelX2
5096d8b943 Added message to log if player shuffles his library. Fixed wrong calls to shuffle. 2014-01-24 00:53:40 +01:00
LevelX2
9ada87fe8a [BNG] Added 3 Archeype cards. 2014-01-23 00:00:16 +01:00
LevelX2
199af48a43 Minor framework fixes. 2014-01-22 23:59:33 +01:00
Plopman
b0b57fd475 Fixed GainAbilitySourceEffect 2014-01-22 18:09:35 +01:00
LevelX2
b0f137ffec [BNG] Added 5 cards. 2014-01-22 17:13:17 +01:00
Quercitron
28efe62339 Add SourceHasSubtypeCondition 2014-01-22 03:31:12 +04:00
LevelX2
a5063ef9ee Minor changes to the framework. 2014-01-21 17:18:44 +01:00
LevelX2
9dc1120500 Minor formatting. 2014-01-21 13:41:54 +01:00
LevelX2
2b78cbf958 Small fix for AsThoughEffectType.BLOCK_TAPPED. 2014-01-21 13:41:22 +01:00
LevelX2
da392d4297 [BNG] Added 5 cards. 2014-01-21 00:45:36 +01:00
LevelX2
4834dce33a Fixed a problem of TributeAbility. 2014-01-21 00:45:09 +01:00
LevelX2
3167fc0896 [BNG] Added 9 cards. Some fixes to other BNS cards. Some framework changes. 2014-01-19 02:55:08 +01:00
LevelX2
41132e0a59 [BNG] Added 12 cards. 2014-01-18 16:03:40 +01:00
LevelX2
4e4415e038 Some minor fixes. 2014-01-18 16:03:05 +01:00
LevelX2
d5feac4bfe Added TargetController parameter to DiscardEachPlayerEffect. 2014-01-18 16:02:46 +01:00
LevelX2
5f720983ee Changed SpellCostReduction effect to work with FilterSpell instead of FilterCard. 2014-01-18 16:00:44 +01:00
LevelX2
47a442ba28 * Divine Reckoning - Fixed that only active players in range of controller are asked to choose a creature. 2014-01-17 08:18:36 +01:00
LevelX2
296f71536a Fixed some wrong card numbers of 6th edition cards. Fixed some tooltip bugs. 2014-01-17 01:44:55 +01:00
Quercitron
4f3342a854 Fix notTarget usage in TargetPermanent 2014-01-17 02:40:36 +04:00
Quercitron
73650bf845 Fix SacrificeEffect (notTarget is set to true) 2014-01-17 02:39:42 +04:00
Quercitron
99ef7b7e02 Fix text for CantBeBlockedByMoreThanOneAllEffect and BecomesCreatureAllEffect 2014-01-17 02:33:38 +04:00
Quercitron
0452a333a4 Add CantBeBlockedByMoreThanOneSourceEffect 2014-01-17 02:24:59 +04:00
Quercitron
cbdad1b343 Add filter to DamageEverythingEffect 2014-01-17 02:24:16 +04:00
LevelX2
fb9e591c17 [BNG] Added TributeAbility. 2014-01-15 22:48:18 +01:00
LevelX2
9c37500685 [BNG] Added InspiredAbility. 2014-01-15 22:47:58 +01:00
LevelX2
b1f58d8d5b [BNG] Added Mogis, God of Slaughter. 2014-01-14 17:03:44 +01:00
LevelX2
caa32f6eb6 Improved DevotionCount DynamicValue to support a list of mana types. 2014-01-14 17:03:05 +01:00
Plopman
61c65ae75c Added Channel ability 2014-01-13 23:33:17 +01:00
Quercitron
9ac423f1f8 Add CantBeBlockedByMoreThanOneAllEffect 2014-01-14 01:03:23 +04:00
Quercitron
8a5dc5e287 Change FilterSpell and CantTargetEffect 2014-01-12 19:31:23 +04:00
LevelX2
d569b84d1b * Oloro, Ageless Ascetic - Fixed a bug that second ability did not trigger properly. 2014-01-11 10:41:51 +01:00
LevelX2
e490d6af61 Added cubes for Sealed and Daft Tournaments. Added a simple Swiss like tournament format. 2014-01-10 19:58:55 +01:00
LevelX2
e3d543fa76 Fixed a bug in handling ContinuousEffects introduced with 463cec8754. 2014-01-09 15:15:05 +01:00
LevelX2
c0323c168c Added user info text that user can set. Addd chat whisper command. Some minor changes to chat. Impoved display of user list. 2014-01-09 13:26:25 +01:00
LevelX2
7aa92de9c7 * Plant Token - Added set name for image retrieving. 2014-01-09 13:19:06 +01:00
Quercitron
dc66705f9b Move DamageSelfEffect to framework 2014-01-08 01:46:30 +04:00
Plopman
93a4796e92 Fixed issue #338. No limitation for Snow-Covered Land 2014-01-07 19:54:08 +01:00
LevelX2
463cec8754 * Joraga Treespeaker - Fixed a bug, that elves did not get the mana ability from Level 5 of the Joraga Treespeaker (caused by handling of continuous effects that added abilities that added abilities). 2014-01-07 15:23:33 +01:00
LevelX2
c80e9739af Some small fixes to cards submitted by cbt33. 2014-01-04 11:23:34 +01:00
LevelX2
0303138a49 Minor changes to ligging and command zone tooltip. 2014-01-03 12:39:41 +01:00
LevelX2
74e3fa63a8 * Bestow - Fixed that creature with bestow went to graveyard if enchanted target got protection from a color of the bestow permanent. 2014-01-03 12:38:51 +01:00
LevelX2
cb4b2cbc05 * Curse of Shallow Graves - Fixed that tokens did not enter the battlefield tapped. 2014-01-03 12:05:17 +01:00
Jeff
12c09545b5 - Added Barrenton Medic, Kinscaer Harpoonist, Knacksaw Clique. 2014-01-02 10:31:06 -06:00
LevelX2
825a949085 * Commander - Fixed a bug that if a player lost due to 21 commander damage the message was repeated every time state base effect were checked during the rest of the game of the remaining players. 2014-01-02 14:52:10 +01:00
LevelX2
383bc47ffd AddCountersTargetEffect set outcome of -1/-1 counter to unboost for AI handling. 2014-01-02 12:15:39 +01:00
LevelX2
149af107f6 * Commander - Added mana replacement effect to colorless for mana of colors not included in the mana of the commander. 2013-12-30 23:04:31 +01:00
LevelX2
9c003629cc Added ADD_MANA event to replace mana from one type to another. 2013-12-30 22:58:59 +01:00
LevelX2
5a12ef4aa3 * Eldrazi Spawn Token - Select one of three possible token images by random. 2013-12-30 19:26:36 +01:00
LevelX2
9958248ff8 * Commander - Fixed that mana cost from commander with x costs to cast were handled correctly. 2013-12-30 19:25:58 +01:00
LevelX2
acc3ac7b60 * Opal Palcar - Fixed a bug that the first mana ability also wrongly gave the commander boost. 2013-12-27 19:14:17 +01:00
LevelX2
a1ba324dba * Token images - added possibility to set a original set for the token to get the correct token image if it does not exist for the card itself. Fixed a lot of not found token images. Some more have to be corrected. 2013-12-27 16:43:58 +01:00
LevelX2
ed3caf7ded Added Fierce Empath, Hydra Omnivore, Tribute to the Wild, Coalition Relic and Animar, Soul of Elements. 2013-12-25 13:01:16 +01:00
LevelX2
05cbd90fe2 * Commander - Added commander multiplayer format. Fixed commander damage win condition to only counting combat damage. Added some info to tooltip text of commander. 2013-12-23 17:14:56 +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
766a7055c5 * Innistrad booster - Fixed rarity distribution of double faced cards. 2013-12-16 08:22:18 +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
cc35bbcf52 * Commander - added logic that AI can cast the commander. 2013-12-12 19:45:14 +01:00
LevelX2
481334a09b * Added Forecast ability. 2013-12-10 22:36:56 +01:00
LevelX2
8855489c7c * Game log - Added message about destroyed permanents. 2013-12-09 08:13:18 +01:00
LevelX2
80fc87a7f7 * Fixed a problem if some of multiple targets can't be targeted during resolution (e.g. target got hexproof meanwhile) it was still targeted (e.g. it happens for INto the void). 2013-12-07 15:51:10 +01:00
LevelX2
8cf788e9cc [C13] Added Tempt with Reflections. 2013-12-07 15:47:59 +01:00
LevelX2
2bcf0022c8 Merge pull request #368 from quercitron/master
new cards + script fix
2013-12-05 15:06:15 -08:00
LevelX2
479a6afe09 [C13] Added 13 cards. 2013-12-05 23:59:01 +01:00
Quercitron
3de5ac2158 Add Daraja Griffin, Divine Transformation, Exile, Heavy Ballista, Icatian Town 2013-12-05 23:00:59 +04:00
LevelX2
fac51c9e75 Added DrawCardOpponentTriggeredAbility. 2013-12-02 23:32:49 +01:00
Plopman
436a6be297 [DataBase]Optimize data base for queries using set and card number 2013-12-02 23:13:29 +01:00
LevelX2
36ec4a678d [C13] Added 5 cards. 2013-11-30 23:28:44 +01:00
LevelX2
b1250353ee Added logic to limit number of allowed attackers attacking defending player. 2013-11-30 23:26:45 +01:00
LevelX2
7a540d1fda [C13] Added Stormscape Battlemage, Serene Master and Act of Authority. 2013-11-27 23:46:48 +01:00
LevelX2
16eee07a74 [C13] Added Sun Droplet and Lim-Dul's Vaul. 2013-11-27 08:17:52 +01:00
LevelX2
0ad2d040b1 [C13] Added Azorius Herald, Oloro, Ageless Ascetic and Kingming 'Sleeping Dragon'. Sime fixes to commander handling. 2013-11-25 07:28:56 +01:00
LevelX2
a85f4a9848 [C13] Added 7 cards. 2013-11-24 02:09:27 +01:00
LevelX2
e83982498f Some fclean-up and fixes for commander handling. 2013-11-23 15:51:44 +01:00
LevelX2
6d0b38c8ca * Commander - Fixed a NPE if change control effects are used during commander game. 2013-11-22 00:30:14 +01:00
LevelX2
7d2aac1294 * Theros gods - Fixed that a god was not removed from the combat if he stopped beeing a creature (Fix #364). 2013-11-21 17:25:24 +01:00
LevelX2
b8af8106f6 Added ManaInAnyCombinationEffect and RemoveCountersForCostCondition and some minor formatting and additions. 2013-11-21 14:28:54 +01:00
LevelX2
b7c45a7090 Added CompoundCondition, AttachedToTappedCondition and EquipmentAttachedCondition. 2013-11-21 10:59:50 +01:00
LevelX2
176c2a76b4 Merge origin/master 2013-11-21 09:59:34 +01:00
LevelX2
5186f690d7 Added IsPhaseCondition, some minor framework formatting. 2013-11-21 09:58:22 +01:00
LevelX2
f9f26d3416 Added Horsemanship ability. 2013-11-21 09:57:12 +01:00
LevelX2
ba8bd5f576 * CommanderReplacementEffect - Fixed a bug that caused that the effect was not always applied. 2013-11-19 16:36:13 +01:00
LevelX2
bf3108a0d0 * Spell - Using correct zone for from zone instead of constant Zone.Hand. 2013-11-19 16:34:48 +01:00
LevelX2
aa6be2f4da * Commander - Allow activated abilities from command zone, card going back fom exile zone after commander mulligan are no longer face down in library. 2013-11-19 08:11:34 +01:00
LevelX2
408a66ee42 [C13] Added Wah Out and Unexpectedly Absent. 2013-11-18 08:20:35 +01:00
LevelX2
bfe3958aa8 Fixed a bug that Bestow creatures came back assigned to enchanted creature instead as creature if exiled and returned with Flickerform. 2013-11-17 09:48:40 +01:00
LevelX2
f9ecc06f6e Added CastAsThoughtItHadFlashEffect and changed cards to use it. 2013-11-17 08:35:19 +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
859f068e59 * DrawCardTargetEffect - Added UpTo option to allow the player to select how many cards to draw. 2013-11-17 08:31:29 +01:00
LevelX2
463c767d03 [C13] Added Kirtar's Wrath. 2013-11-14 17:20:21 +01:00
LevelX2
28daa2cd29 Added ExileGraveyardAllTargetPlayerEffect, changed cards using it. 2013-11-14 16:35:11 +01:00
ludwig.hirth
e8ee9b70f0 Fixed handling of controlling player for asThough cast abilities (hope this will fix #363). 2013-11-14 15:52:27 +01:00
LevelX2
e13c804f67 [C13] Added 7 cards. 2013-11-13 00:18:17 +01:00
LevelX2
436d1481ff [C13] Added Primal Vigor, Spoils of Victory and HuaTuo Honored Physician. 2013-11-11 16:54:14 +01:00
LevelX2
efc2aae026 * Disrupting Scepter - Fixed that it could only be activated as a Sorcery insteady correctly on your turn. (also for other cards) Replaced handling of the restriction as a cost to conditional ability. 2013-11-11 14:58:27 +01:00
LevelX2
e24ac705f6 Added logic to log choices of abilities to the game log. 2013-11-10 15:05:13 +01:00
LevelX2
3a0d0e9374 Added Dirge of Dreadm , Foster, Night Soil, Vile Requiem, Spoils of the Vault, Dirge of Dread, Isleback Spawn, Deep Sea Kraken. 2013-11-10 15:03:16 +01:00
Jeff
121b988e3b - Added Light from Within, Sanity Grinding, Springjack Shepherd, Umbra Stalker. Little addition to class. 2013-11-07 17:43:53 -06:00
LevelX2
0665165c99 [C13] Added 3 cards. 2013-11-07 08:31:41 +01:00
Jeff
be49bb3d13 - Added Evershrike, Ward of Bones, Springjack Pasture, Antler Skulkin, Batwing Brume. Small addition to class. 2013-11-06 12:04:47 -06:00
LevelX2
33c6bf1385 Ability picker shows now the name of the object instead of {this] in ability text.. 2013-11-06 14:32:50 +01:00
LevelX2
e8a7a66b52 Added rule text to PlayLandAbility (fixes #362). 2013-11-06 14:31:13 +01:00
LevelX2
03b7c0584f Some fixes to Mosswort Bridge and Mystic Barrier. 2013-11-05 22:38:29 +01:00
LevelX2
a85fb8d813 [C13] Added Prossh, Skyraider of Kher. 2013-11-05 00:12:09 +01:00
LevelX2
53d2098f74 Some minor formatting and some changes to framework classes. 2013-11-03 20:59:52 +01:00
LevelX2
47e8bd24cc * Vanishing - some changes to tooltip text. 2013-11-03 20:58:51 +01:00
LevelX2
18cd0d4615 Clean up to CastCommanderAbility. 2013-11-01 17:07:47 +01:00
LevelX2
17238bee3e Some minor changes to framework and card classes. 2013-11-01 17:04:27 +01:00