Commit graph

1346 commits

Author SHA1 Message Date
magenoxx
d04008a7d4 Added game.getAbility(abilityId, sourceId) method 2012-07-12 05:48:48 +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
jeffwadsworth
31fd406c9e - Added Trading Post. <M13> 2012-07-11 17:14:21 -05:00
North
dcfd5ece0c [filters][refactoring] Minor changes to Predicates 2012-07-12 00:04:44 +03:00
North
2198cae333 [filters] Replaced Subtype condition with Predicate 2012-07-11 23:59:41 +03:00
North
91d320eed2 [filters] Replaced Supertype condition with Predicate 2012-07-11 00:19:48 +03:00
North
dfd2413b89 [filters] replaced Power and Toughness conditions with Predicates 2012-07-11 00:19:47 +03:00
North
85b22de4b0 [filters] replaced ConvertedManaCost condition with Predicate 2012-07-11 00:19:47 +03:00
North
98feeb9968 [filters] replaced Name condition with Predicate 2012-07-11 00:19:46 +03:00
North
3d1f23e03b Added base Predicates and MageObject Predicates. 2012-07-11 00:19:46 +03:00
North
4b805ca3b1 [minor] 2012-07-09 19:54:21 +03:00
North
c71b9c83ab Fixed DrakeToken 2012-07-08 23:39:58 +03:00
North
2e457fda1d Fixed cards to use CantBlockTargetEffect instead of adding CantBlockAbility 2012-07-08 14:35:06 +03:00
North
3e0d565f97 Removed return statement inside loop - TapTargetEffect 2012-07-08 13:50:40 +03:00
magenoxx
1acf00a5da CompoundAbility 2012-07-08 09:38:34 +04:00
North
34576673dd [USG][USL][USD] cards submitted by Backfir3 2012-07-07 22:52:26 +03:00
North
f1ae135d97 [M13] Crippling Blight; Goblin Battle Jester 2012-07-07 21:48:03 +03:00
North
5a45c597bc Fixed cast exception for Rebound 2012-07-07 20:27:17 +03:00
North
94d7fa6ea3 [M13] 50 cards 2012-07-07 20:04:09 +03:00
Loki
4577bfda9c fix 2012-07-07 18:17:46 +12:00
Loki
08e46fad24 refactoring and use a proper ability 2012-07-07 12:29:05 +12:00
Loki
a0125c9581 8 M13 2012-07-07 11:16:29 +12:00
jeffwadsworth
c8c6cdaa0e - Added Time Stop. 2012-07-05 16:32:18 -05:00
Loki
663ec37b96 Merge branch 'master' of https://github.com/magefree/mage 2012-07-05 10:54:38 +12:00
Loki
25b596bff7 2 USG 2012-07-05 10:53:36 +12:00
North
e4438072c2 [refactoring][minor] formatting 2012-07-04 23:58:22 +03:00
North
f4bd912583 Fixed Smite. 2012-07-04 23:58:21 +03:00
Loki
4b91b6d4bb 2 USG 2012-07-04 18:28:18 +12:00
North
d1f3e62d03 [minor] formatting 2012-07-03 21:25:57 +03:00
North
4639abd279 [refactoring] Fixed issues caused by notCardType.
Removed notCardType - it was a relic from previous implementation.
Renamed notScopeCardType to scopeNotCardType.
Renamed notCardTypeList to notCardType for consistency with cardType.
2012-07-03 08:57:14 +03:00
jeffwadsworth
8cd16e21b3 Merge branch 'master' of https://github.com/magefree/mage.git 2012-07-01 17:30:21 -05:00
jeffwadsworth
f713b22b25 - Little fix 2012-07-01 17:28:57 -05:00
magenoxx
742b7c0180 Fixed bug when 2\2 creature was 6\2 on first turn 2012-07-02 00:29:49 +04:00
jeffwadsworth
1e62fc261f - Added Wind Zendikon. <Worldwake> 2012-06-30 17:49:36 -05:00
jeffwadsworth
b89f011455 - Added Butcher of Malakir. <Worldwake> 2012-06-30 15:03:03 -05:00
jeffwadsworth
ef823f5554 - Added Kezzerdrix and Perish. <Tempest> 2012-06-30 14:08:08 -05:00
jeffwadsworth
1796839179 - Added Rootwater Matriarch. <Tempest> 2012-06-29 21:04:16 -05:00
magenoxx
3f444ec6de Fixed Persist Ability 2012-06-29 18:16:31 +04:00
magenoxx
8ba88ff5f2 config changes 2012-06-29 17:19:12 +04:00
magenoxx
ba0925dc62 compilation error fix 2012-06-29 17:15:04 +04:00
magenoxx
5d397bfbee Updated other boost effect for AI outcome 2012-06-29 16:57:25 +04:00
magenoxx
3f14fdc0ca Test and fix for Oblivion Ring and Planeswalkers interaction 2012-06-29 15:56:04 +04:00
magenoxx
5541fe4163 updated version from 0.8.6.r5 to 0.8.7 2012-06-29 14:56:13 +04:00
magenoxx
ebd92b2a3c CHANGE_COLOR and COLOR_CHANGED events 2012-06-29 13:00:44 +04:00
magenoxx
6e3ee0e6fe Fixed EquipmentAttachedCount. Fixed Kemba, Kha Regent not working 2012-06-29 12:03:08 +04:00
magenoxx
533cc69101 Added builder method to cards 2012-06-29 10:02:02 +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
b983bb2e7d for AI: made BoostTargetEffect negative effect for */-X spells 2012-06-28 10:11:03 +04:00
magenoxx
2c063acbeb Fixed Miracle for Extra turns 2012-06-27 23:56:47 +04:00
magenoxx
2a9fc12f26 [TMP] 5 cards (requested by players) 2012-06-27 14:00:41 +04:00
magenoxx
d602aac403 Refactoring 2012-06-27 01:17:03 +04:00
magenoxx
653f236c65 Cards lazy loading 2012-06-26 17:20:05 +04:00
magenoxx
7646e8224e Fixed Sphere Of The Suns 2012-06-26 01:05:54 +04:00
magenoxx
490a4f8427 Fixed token displayed for HuntmasterOfTheFells 2012-06-25 13:16:19 +04:00
magenoxx
11de9f9ce3 Token types for correct token image displayed 2012-06-25 13:15:25 +04:00
magenoxx
6b57822f40 Fixed Rebound 2012-06-25 10:10:07 +04:00
North
976a9724cd Fixed ControlsBiggestOrTiedCreatureCondition. 2012-06-25 01:15:36 +03:00
magenoxx
9affdd1dcc Fixed Limited not working 2012-06-24 17:56:18 +04:00
jeffwadsworth
d37a9ec45d - Added Luminous Wake. <ROE> 2012-06-23 19:34:51 -05:00
jeffwadsworth
06887c6093 - Little fix Triumph of Ferocity. 2012-06-23 12:09:32 -05:00
magenoxx
515261920d merging 2012-06-23 09:47:58 +04:00
magenoxx
6b6f718bc4 Fixing limited: removed card lazy loading 2012-06-23 09:41:32 +04:00
jeffwadsworth
51d914c23e - Added Snake Umbra. <ROE> 2012-06-20 15:01:49 -05:00
jeffwadsworth
361dd739ff - Added Living Destiny. <ROE> 2012-06-20 11:09:11 -05:00
jeffwadsworth
937a3761f4 - Added Quest For Renewal. <WWK> 2012-06-19 17:43:58 -05:00
North
a6a333422b Fixed range fro SacrificeAllEffect and Burning Inquiry 2012-06-20 00:15:13 +03:00
North
239a4fb100 [refactoring][minor] Replaced all tabs with four spaces. 2012-06-19 23:50:20 +03:00
jeffwadsworth
e646e4768d -Added Battle-Rattle Shaman. <ROE> 2012-06-18 18:24:09 -05:00
magenoxx
b27593ab60 Merge branch 'master' of https://github.com/magefree/mage 2012-06-15 16:15:41 +04:00
magenoxx
1cb25812c9 Fixed replacement effects for copied creatures. All tests pass now. 2012-06-14 20:59:15 +04:00
Loki
d15339c5c4 Persist keyword 2012-06-14 19:59:08 +03:00
magenoxx
d6f1e8be48 Test and fix for UnblockableAbility not working 2012-06-14 20:18:38 +04:00
jeffwadsworth
8a46a2a52b - Added Razormane Masticore. 2012-06-13 16:43:42 -05:00
magenoxx
e34ee2e7f6 Added downloading and displaying emblem images 2012-06-13 09:48:10 +04:00
magenoxx
4393a55569 Added token type for displaying different images 2012-06-12 22:58:21 +04:00
magenoxx
9b2864044c Bushido fix. All tests pass now. 2012-06-12 22:12:32 +04:00
magenoxx
9c8fe7268b Reworked emblems 2012-06-12 20:57:23 +04:00
magenoxx
c22f0cf503 Reworked emblems 2012-06-12 16:27:28 +04:00
magenoxx
e759f8a0fc Added possibility to display any data on card's tooltip 2012-06-12 12:55:15 +04:00
magenoxx
faca6008cb EnterBattlefieldEffect: Displaying overriden rule without additions 2012-06-12 12:54:32 +04:00
magenoxx
3c9e3de9a2 Fixed color mana payment 2012-06-12 10:54:47 +04:00
magenoxx
f641ffe77b Test and fix for triggered abilities of double faced cards 2012-06-11 20:34:33 +04:00
magenoxx
17dbe0ae57 Test and fix for copying transformed creatures 2012-06-11 19:36:56 +04:00
magenoxx
5199e2e81a Test and fix for sacrificing creature with protection 2012-06-11 14:25:27 +04:00
magenoxx
12954eceee Refactored Target pointers. All tests pass now. 2012-06-11 11:21:31 +04:00
jeffwadsworth
13f547f1a2 - Added Smite. <ROE> 2012-06-10 12:09:10 -05:00
magenoxx
649fb13734 Fixed Dearly Departed 2012-06-10 15:48:15 +04:00
magenoxx
1d22d59c42 Added zoneChangeCounter to fix spell fizzle on flicker bug. All tests passed. 2012-06-08 17:55:44 +04:00
magenoxx
5cc8901e07 Fixed Dormant Gomazoa 2012-06-06 02:17:52 +04:00
magenoxx
d895b3e8d0 Lazy card loading 2012-06-05 19:41:17 +04:00
magenoxx
88a303a52f Added short living lki. Soul Warden works. All tests passed. 2012-06-04 21:19:11 +04:00
magenoxx
365bd2a50e Correct handling protection abilities for dealing damage. All tests passed. 2012-06-04 11:25:32 +04:00
magenoxx
17c88290af Fixed creatures without flying could block sometimes creatures with flying 2012-06-03 19:52:17 +04:00
magenoxx
037310c279 Mana and getPlayable fix. +1 test passed. 2012-06-03 17:50:13 +04:00
magenoxx
27d4997545 Fixed LKI and change controller interaction. +1 test passed. 2012-06-03 17:33:04 +04:00
magenoxx
cf8fa2b773 Fixed triggered abilities under opponent's control. +1 test passed. 2012-06-03 16:28:28 +04:00
magenoxx
9cb4ee1977 Fixed Descendants Path (bug in library's put from top to bottom) 2012-06-03 16:11:48 +04:00
magenoxx
4931365229 fix 2012-06-02 14:03:05 +04:00
magenoxx
04379e7c99 Fixed few bugs with transform effect. +4 tests pass. Some transform cards should be refactored. 2012-06-01 21:08:29 +04:00
jeffwadsworth
4cb48b342f - Fixed It That Betrays. 2012-05-31 09:56:52 -05:00
jeffwadsworth
ea13882a52 - Added It That Betrays. <ROE> 2012-05-30 14:36:23 -05:00
Loki
263b515216 fix Cascade, add test for it (test currently broken) 2012-05-28 21:12:48 +03:00
magenoxx
68dfe88b7a NotSerializableException fix 2012-05-28 15:36:55 +04:00
Loki
72ca542e99 small refactoring 2012-05-28 13:39:58 +03:00
Loki
f463e680cf fix NPE for Glimmerpoint Stag + Soul's Attendant + any other creature 2012-05-28 13:22:01 +03:00
magenoxx
cb63b900cd SacrificeEffect target required fix 2012-05-27 15:36:41 +04:00
magenoxx
def0260b9d Test and fix for Soulbound with ExileAndReturnBack effect 2012-05-26 21:57:53 +04:00
North
06a185a3a5 removed unused imports 2012-05-26 20:08:39 +03:00
North
aa8fbd6fab fixed Wall of Frost 2012-05-26 12:21:39 +03:00
North
5d0c7862c6 Fixed BecomesBlocked triggered abilities 2012-05-25 21:30:31 +03:00
North
11b692fa47 fixed BlocksTriggeredAbility 2012-05-25 21:30:31 +03:00
magenoxx
ec9ea835a5 target description NPE fix 2012-05-25 22:20:01 +04:00
magenoxx
12b21abe52 changed version from 0.8.5 to 0.8.6 2012-05-25 19:04:40 +04:00
magenoxx
5650c6c782 Fixed effect timestamps not working. +1 test passes. 2012-05-25 19:00:32 +04:00
magenoxx
1bb1df32b5 Updated lose ability test and corresponding effects. 2012-05-25 19:00:05 +04:00
magenoxx
b19934138c [AVR] Infinite Reflection 2012-05-25 10:42:34 +04:00
magenoxx
0335d4d77e Refactored copying permanents 2012-05-25 10:01:35 +04:00
magenoxx
ed54e78460 PlayerImpl.canPlay fix 2012-05-25 08:19:04 +04:00
magenoxx
897bb4503f Repaired Affinity for artifacts 2012-05-25 00:21:23 +04:00
North
5e6eb401ab [refactor] extracted common dynamic value 2012-05-24 22:46:07 +03:00
North
8618b45bc8 Added lockedIn parameter to BoostEffects. 2012-05-24 22:45:41 +03:00
magenoxx
0890d6e57f Fixed targeting prevent effects 2012-05-24 18:28:42 +04:00
magenoxx
f3598fd4db Enhanced TargetSource class 2012-05-24 18:22:12 +04:00
magenoxx
b3b0d25af7 [AVR] Rain Of Thorns. Fixed Wild Defiance trigger. 2012-05-24 10:01:37 +04:00
magenoxx
32e29392d2 [AVR] Second Guest + tests. Refactored filters. 2012-05-24 09:01:31 +04:00
magenoxx
a47b8c25df Various fixed. +3 tests passed. 2012-05-24 00:24:01 +04:00
magenoxx
29b7f9ab9b Fix. +2 tests passed. 2012-05-23 21:45:37 +04:00
magenoxx
a922310078 Continuous effect fix. +2 tests passed. 2012-05-23 21:24:30 +04:00
magenoxx
3d3e8bb36a +2 tests passed 2012-05-23 21:14:40 +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
bd03dce85b Fixed EquipmentAttachedCount dynamic value. +1 test pass. 2012-05-23 17:49:45 +04:00
magenoxx
d94361cee7 Added MANA_PAYED event 2012-05-23 14:01:04 +04:00
magenoxx
d88b373df2 Fixed anymanacolor ability. Enhanced mana system. 2012-05-23 12:49:38 +04:00
magenoxx
082a1fcb64 minor changes 2012-05-22 19:21:03 +04:00
jeffwadsworth
8ff22a673c - Added Moonlight Geist. <AVR> 2012-05-21 13:55:04 -05:00
magenoxx
6f31c00811 [AVR] 5 cards 2012-05-21 08:39:14 +04:00
magenoxx
abc3bbd36b [AVR] Angel of Jubilation + test 2012-05-20 23:00:12 +04:00
magenoxx
57223e0464 Fix for bug with continuous effects 2012-05-20 22:54:41 +04:00
magenoxx
e60613772d Returning stack object 2012-05-20 18:44:32 +04:00
magenoxx
8dda7eec1b Sacrifice effect fix 2012-05-20 18:44:16 +04:00
magenoxx
41006a822a Aura replacement effect fix 2012-05-20 17:41:09 +04:00
magenoxx
595310194c tooltip fixes 2012-05-20 15:58:18 +04:00
magenoxx
18a05231a8 [AVR] Somberwald Sage 2012-05-20 15:58:18 +04:00
magenoxx
0de461553c Added support classes for conditional mana ability 2012-05-20 15:58:17 +04:00
magenoxx
445efc8c18 [AVR] 5 cards with tests 2012-05-20 15:58:17 +04:00
magenoxx
3cca30ca97 [AVR] Alchemist's Refuge with test 2012-05-20 05:28:55 +04:00
North
e91f610d01 [refactor] moved effect to common 2012-05-19 22:02:36 +03:00
magenoxx
320dd240c1 [AVR] 3 cards 2012-05-18 18:57:47 +04:00
magenoxx
262f6cb095 [AVR] 3 cards 2012-05-18 18:08:25 +04:00
magenoxx
15527b8984 fixed fizzle for multi targets 2012-05-18 18:08:00 +04:00
magenoxx
cf6d9d8ac4 upkeep ability targeting fix 2012-05-18 16:00:40 +04:00
magenoxx
275142a143 [AVR] 32 cards. Tests. Common effects. Fixes. 2012-05-18 00:19:43 +04:00
magenoxx
8759b6de33 [AVR] 13 cards with Soulbond 2012-05-17 15:20:21 +04:00
magenoxx
36c2b240fb effect fix 2012-05-17 09:53:19 +04:00
magenoxx
3822e0d09b Soulbond keyword 2012-05-17 09:51:08 +04:00
magenoxx
407f10fa86 critical core fix for failing test 2012-05-15 07:21:51 +04:00
magenoxx
e003b43214 [AVR] Homicidal Seclusion + several tests 2012-05-15 07:21:11 +04:00
magenoxx
a40a1bb3f5 Support for null rule texts in effects 2012-05-15 07:20:18 +04:00
Loki
943555cebf [AVR] Moonsilver Spear, extract common ability 2012-05-14 12:48:07 +03:00
magenoxx
519e136431 More failing tests based on bug reports 2012-05-11 20:25:58 +04:00
magenoxx
d819774cc6 Added required flag to TargetCreaturePermanent constructor 2012-05-11 12:02:39 +04:00
magenoxx
55bf5714a0 [AVR] Harvester Of Souls + test. 2012-05-09 10:04:11 +04:00
magenoxx
419acfeabb [AVR] 5 cards 2012-05-09 09:33:53 +04:00
magenoxx
87c111a253 [AVR] 5 cards. Various fixes. 2012-05-08 18:41:39 +04:00
magenoxx
6cdce1be7c Removed unused common effect 2012-05-08 17:35:25 +04:00
magenoxx
a19c591311 Extracted DiesThisOrAnotherCreatureTriggeredAbility. Refactored some cards. 2012-05-08 17:16:39 +04:00
magenoxx
be7f01b0ba Enhanced card-by-text searching in deck editor 2012-05-08 14:28:06 +04:00
North
67cc42c637 [refactoring][minor] unused imports and formatting 2012-05-07 19:14:04 +03:00
magenoxx
108dec5a4f Reimplemented EverflowingChalice 2012-05-07 09:08:58 +04:00
magenoxx
d75af7c14e NPE fix for no deck loaded 2012-05-07 08:40:41 +04:00
magenoxx
fa0e623120 changed version from 0.8.4 to 0.8.5 2012-05-07 07:50:07 +04:00
Loki
cb945d997e Added looking at card and revealing it for Miracle keyword 2012-05-06 23:40:45 +03:00
Loki
9de37bea5a Fixed memory leak 2012-05-06 23:40:44 +03:00
Loki
f8af7202ef Some fixes for Miracle keyword. Added displaying spell in the stack 2012-05-06 23:40:41 +03:00
Loki
ca56f3b498 Extrace 'Take extra turn' to common effect 2012-05-06 23:40:40 +03:00
Loki
160504ef42 Support for multi X in variable cost 2012-05-06 23:40:39 +03:00
magenoxx
80a25377b5 GatekeeperOfMalakir kicker test. Fails. 2012-05-03 18:21:30 +04:00
magenoxx
9fa5d58174 Removed flying blocking restriction effect duplication 2012-05-03 08:32:27 +04:00
magenoxx
41a5bb7496 Fixed bug with PrimevalTitan and all cards with SearchLibraryPutInPlayEffect. 2012-05-03 05:39:45 +04:00
magenoxx
f39d5dbca1 New implementation for LevelUpAbility. All tests ok. 2012-05-02 20:20:01 +04:00
magenoxx
c2ea8246d2 Tests for LevelUpAbility 2012-05-02 19:21:29 +04:00
magenoxx
e17afdedc3 changed LevelUpAbility rule text 2012-05-02 17:16:16 +04:00
magenoxx
40ff3dd498 Tests reproducing bug in Mage.Core with creature CopyEffect for triggered abilities 2012-05-02 16:48:11 +04:00
magenoxx
b10e385221 formatting 2012-05-02 00:02:03 +04:00
magenoxx
0f950dbc50 [AVR] Miracle keyword 2012-05-01 23:59:36 +04:00
North
236a84cbcb Fixed potential NPE in SacrificeTargetEffect.getText 2012-05-01 22:28:21 +03:00
magenoxx
933f094f69 More careful fix for PlayerImpl.canPlay. Moved ThaliaGuardianOfThrabenTest to another package. 2012-05-01 12:33:51 +04:00
magenoxx
4526d50e43 Added tests for cost modification effects based on Arcane Melee card. One test fails because of bug in core. 2012-05-01 12:07:06 +04:00
magenoxx
26ac9d1967 Fixed PlayerImpl.canPlay - didn't take cost modification effects into account 2012-05-01 11:53:58 +04:00
magenoxx
1bf788a4e1 [AVR] 5 cards 2012-05-01 09:39:07 +04:00
magenoxx
537c326789 [load] loading testing: added simple test for starting game by two players 2012-04-30 18:56:36 +04:00
magenoxx
42108ef59c fixed downloading images from flip cards according to changes on magiccards.info site 2012-04-28 03:27:36 +04:00
North
15759532cf [minor] removed unused imports 2012-04-24 23:03:09 +03: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
jeffwadsworth
b6f1cba7fa - Added text to PreventCombatDamageSourceEffect class. 2012-04-19 16:18:13 -05:00
jeffwadsworth
c41c9c1f94 - Added Guard Gomazoa. <ROE> 2012-04-19 16:12:19 -05:00
North
93018628df AuraReplacementEffect fix - changed source id to the Aura's ID and not the ability source ID. 2012-04-15 20:23:39 +03:00
North
9632a3297d Added AuraReplacementEffect; cards with the Aura subtype don't change the zone they are in if there is no valid target on the battlefield. Also, when entering the Battlefield and it was not cast this effect gets the target to witch to attach it.
Updated Aura Enchantment cards affected by the AuraReplacementEffect.
2012-04-13 22:18:37 +03:00
North
6f57351096 Fixed Cryptoplasm copy effect. 2012-04-08 21:24:42 +03:00