Commit graph

2526 commits

Author SHA1 Message Date
LevelX2
238e31dcac Added GainLiverPlayersCost and GainLiveOpponentCost. 2014-02-18 14:41:00 +01:00
LevelX2
a7b7a88bde Added PlayerCanGainLifePredicate. 2014-02-18 14:40:10 +01:00
LevelX2
6049a69348 Added generic AlternateCostSourceAbility. Some adjustments to alternate cost handling. 2014-02-18 14:39:33 +01:00
LevelX2
4e5de2b7f9 * Tournament handling - Finished pairing are updated now to tournament players list immediately. 2014-02-17 00:41:40 +01:00
LevelX2
ce967ee88c Added 5 cards (Sylvan Library, Tsabo's Web, Sylvan Safekeeper, Null Rod, Peacekeeper). Minor formatting. 2014-02-16 17:42:05 +01:00
LevelX2
f2736807f3 * Fixed a bug that occured if a copied spell was countered and should be moved to another zone as graveyard. 2014-02-16 10:24:58 +01:00
LevelX2
4cad29f50a * Added gain life info to game log. 2014-02-16 01:51:15 +01:00
LevelX2
d97d697a53 * Fixed a problem with SacrificeSourceTriggeredAbility that did not Trigger because source is no more on the battlefield. 2014-02-15 22:32:54 +01:00
LevelX2
a0346109a2 * Changed block requirment checking so that block lock is less probable. 2014-02-15 09:28:06 +01:00
Jeff
f01692f804 - Added some requested cards. 2014-02-14 17:19:26 -06:00
LevelX2
b10ad8e663 * Game log - The announced value for X costs is now posted to the log at a later point in time to avoid posting canceled announcements. 2014-02-14 15:13:59 +01:00
LevelX2
2eebdb3b5b Fixed a recently committed bug that added cardType and subtype of tokens cumulative on each permanent reset. 2014-02-14 15:11:36 +01:00
LevelX2
c59c182cab Added SkipUntapAllEffect and used it for appropriate cards. 2014-02-13 17:12:40 +01:00
LevelX2
ee76ccfee4 Added option that AbilityPicker is forced to show if ability or spell has no or only tap cost (not finished yet). 2014-02-12 17:18:06 +01:00
LevelX2
81eaac46c7 * Added new preference option to enable sound in game and other sounds separately. 2014-02-12 08:35:27 +01:00
LevelX2
8e3ca7e5ca Added CantAttackControllerAttachedEffect. Minor formatting. 2014-02-11 17:28:59 +01:00
LevelX2
acdabbaaac Set the correct TimingRule for Spells != Instants, some minor changes to can be cast checks (missing class). 2014-02-11 16:11:45 +01:00
LevelX2
aa359cd1b6 Set the correct TimingRule for Spells != Instants, some minor changes to can be cast checks. 2014-02-11 15:53:35 +01:00
LevelX2
753ada0a01 * Fixed a cleanup problem that locked the game at game end. Minor formattings and cleanup additions. 2014-02-11 00:38:10 +01:00
LevelX2
efb664c743 * DestroyTargetEffect - Fixed wrong source reference given to permanent.destroy method. 2014-02-10 13:04:07 +01:00
LevelX2
1131a84892 * Moved concede messages before execution, so the order in the log is more logical. 2014-02-09 17:13:16 +01:00
LevelX2
0d1921d8cb * Added target replacement check to canBeTargeted check of permanent to get correct possible targets (fixes #381). 2014-02-09 11:22:33 +01:00
LevelX2
9fcfb8527a * Changed handling of search library limiting effect. 2014-02-09 11:20:20 +01:00
LevelX2
3b03a0500a * Fixed some library search effects that didn't sort the library and didn't take search limitations into account (Aven Mindcensor) 2014-02-09 00:21:43 +01:00
LevelX2
c1685b518c * Fixed a bug of defenders that have "can attack as though it didn't have defender" abilities. If the abilitiy was triggered it was applied to all defenders. 2014-02-08 20:20:28 +01:00
LevelX2
81d630b65b Some changes/fixes to epic effect and cards using it. 2014-02-08 14:08:53 +01:00
Jeff
1c2f0ae65d Added Epic Ability and add the 5 cards that use it. Did not get the chance to test it well due to some memory issues with the client/server. 2014-02-07 17:27:50 -06:00
LevelX2
e6f55d3b80 * Some changes to game handling to support replay in the future (not working yet). 2014-02-07 16:07:15 +01:00
LevelX2
9a15bdb933 * Trace Util - Added Intimidate to the combat traced abilities (for finding reason for bug). 2014-02-07 16:06:06 +01:00
LevelX2
40c25fae34 Fixed some bugs in table handling. Fixed that matches were not set to finished yet, if players left match during sideboarding phase. 2014-02-07 02:04:14 +01:00
LevelX2
4e2ed0178b * Fixed a bug that abilities of sacrificed permanents did trigger if the spell they where sacrificed for triggered their triggered ability. (e.g. a Valakut sacrificed for a Scapeshift did still trigger if enough mountains where on the battlefield). 2014-02-06 01:05:45 +01:00
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