Commit graph

16282 commits

Author SHA1 Message Date
Oleg Agafonov
e9f9b05141 Fixed NPE errors for some cards (#5471) 2019-01-02 20:06:01 +04:00
Ingmar Goudt
4b857f24c0 remove calls to mode.getEffects().add and mode.getTargets().add , and replace them with addEffect and addTarget . This way we hide the implementation of the modes. Cards should not be interested in how an effect is to be added, rather they should just be able to use a service for that. Refer to Law of Demeter or Principle of Least Knowledge 2019-01-01 14:19:06 +01:00
Jeff
dad4ce3312 - Added Lim-Dul's Cohort and Mind Whip. 2018-12-31 14:05:46 -06:00
Ingmar Goudt
43d305a4b1 no need to use a stringbuilder for single line String creation. Java will compile this to use a StringBuilder automatically. StringBuilder performs best when initialized outside a loop 2018-12-31 20:40:21 +01:00
Ingmar Goudt
da3c861344 add nullchecks for game.getObject 2018-12-31 16:03:36 +01:00
Ingmar Goudt
09dd9d5a26 include more player null checks 2018-12-31 00:56:03 +01:00
Jeff
cc2871a356 - changed card number 2018-12-28 17:05:58 -06:00
Jeff
7808453461 - Added enhancement #5480 2018-12-28 16:56:24 -06:00
Jeff
54e70016cd - Added Gaze of Pain. 2018-12-28 09:02:42 -06:00
jeffwadsworth
ba4bc5cca2 - changed card number 2018-12-28 00:09:46 -06:00
L_J
d0fbe6d35c Implemented Alliances cards (#5470)
* Implemented Alliances cards (#84)

* Fixed Storm Elemental

* Fixed Sworn Defender
2018-12-27 22:53:10 -06:00
Jeff
ff11727596 - Added Krovikan Vampire. Fixed Duplicity. 2018-12-27 18:01:37 -06:00
Evan Kranzler
8485d70552 small additional change to Rakshasa Vizier 2018-12-27 12:23:56 -05:00
Evan Kranzler
d27765863d fixed Rakshasa Vizier issue (fixes #5479) 2018-12-27 09:35:49 -05:00
Evan Kranzler
ce10d20517 Reworked Rakshasa Vizier triggered ability to only trigger once (fixes #5475) 2018-12-25 16:11:20 -05:00
Evan Kranzler
e45dda28a9 updated RNA spoiler and reprints 2018-12-25 13:26:22 -05:00
Oleg Agafonov
d36cca02aa Fixed NPE errors for some cards (#5471) 2018-12-23 20:24:20 +04:00
Evan Kranzler
be43613da1 Implemented Emergency Powers 2018-12-21 20:07:21 -05:00
Evan Kranzler
d9ca4f2ff6 Implemented Sphinx's Insight 2018-12-21 19:40:59 -05:00
Evan Kranzler
20d5bfc3c9 Implemented Incubation // Incongruity 2018-12-21 13:21:19 -05:00
Jeff
2fca196f79 - Fixed #5468 2018-12-21 11:46:30 -06:00
Oleg Agafonov
5d1289a66e
Merge pull request #5465 from magefree/ui-new-download-window
UI: added new download images window
2018-12-21 18:03:55 +04:00
Oleg Agafonov
2fdef83284
Merge pull request #5455 from SpikesCafe-google/AddSpinyStarfish3
Add Spiny Starfish from Alliances.
2018-12-21 05:33:04 +04:00
Evan Kranzler
20247f2fef Implemented Tithe Taker 2018-12-20 19:21:52 -05:00
Evan Kranzler
9d99a04fd6 Implemented Gruul Spellbreaker 2018-12-20 18:56:43 -05:00
Evan Kranzler
2b6f85df23 Implemented Frenzied Arynx 2018-12-20 18:44:57 -05:00
jmharmon
8a3ebd1f44
Update SimicAscendancy.java 2018-12-20 00:19:29 -08:00
jmharmon
9192b2fdcf
Implement Simic Ascendancy 2018-12-19 22:28:41 -08:00
jmharmon
3d26198fdd
Implement Simic Ascendancy 2018-12-19 22:26:26 -08:00
Evan Kranzler
ad7ca19b56 fixed an error 2018-12-19 23:42:14 -05:00
theelk801
6a77f8c430
Merge branch 'master' into master 2018-12-19 23:41:02 -05:00
jmharmon
ccd3c31349
Update RakdosFirewheeler.java 2018-12-19 20:08:52 -08:00
Evan Kranzler
9c1b4b9f60 Implemented Zegana, Utopian Speaker 2018-12-19 18:33:12 -05:00
Evan Kranzler
02406e2c7c Implemented Bedevil 2018-12-19 18:22:57 -05:00
Evan Kranzler
fd25ac8ccb Implemented Aeromunculus 2018-12-19 18:19:49 -05:00
jmharmon
7c5cbe44d0
Update RavnicaAllegiance.java 2018-12-18 21:57:54 -08:00
Evan Kranzler
c7bc799f86 Implemented Light Up the Stage 2018-12-18 21:23:35 -05:00
Evan Kranzler
abf859b754 Implemented Gate Colossus 2018-12-18 20:59:47 -05:00
Evan Kranzler
226628bb1b Implemented Rafter Demon 2018-12-18 19:56:04 -05:00
Evan Kranzler
4416834e2c Implemented Imperious Oligarch 2018-12-18 19:47:36 -05:00
Evan Kranzler
846c133d04 Implemented Rix Maadi Reveler 2018-12-18 19:44:55 -05:00
Oleg Agafonov
bd644c273f Fixed card numbers in PUMA set; 2018-12-18 17:31:13 +04:00
jmharmon
785a1cbdf3
Implement Rakdos Firewheeler 2018-12-17 21:20:34 -08:00
Evan Kranzler
d0e4ecaba1 Implemented The Haunt of Hightower 2018-12-17 22:36:05 -05:00
Evan Kranzler
b5f383254c implemented Afterlife ability 2018-12-17 22:25:52 -05:00
Evan Kranzler
4d9caa4ee1 fixed a small test fail problem 2018-12-17 21:57:52 -05:00
Evan Kranzler
9cc92553ad Implemented Growth Spiral 2018-12-17 21:43:00 -05:00
Evan Kranzler
d3e5b64719 Added RNA set file 2018-12-17 21:36:09 -05:00
Jeff
d6dfeebe0d - Fixed #5460 2018-12-17 09:52:37 -06:00
Oleg Agafonov
498edb4138 Fixed card numbers 2018-12-14 06:49:36 +04:00
Jeff
28a7ad0031 - added sets for previous cards 2018-12-13 18:38:31 -06:00
Jeff
c2739c004b - Added Dread Wight and Cloak of Confusion. 2018-12-13 17:43:11 -06:00
Jeff
09827e1e11 - Fixed #5457 2018-12-11 17:54:35 -06:00
Jeff
8452d50409 - refactored Search for Survivors. 2018-12-11 17:32:25 -06:00
Jeff
83ca46610a - Prophecy Set 100%. Added Search for Survivors and Sheltering Prayers. 2018-12-11 08:32:05 -06:00
Jeff
4bb1b7c29a Merge origin/master 2018-12-10 13:23:53 -06:00
Jeff
9f35d69c99 - Exodus Set 100%. Added Dizzying Gaze, Mind Maggots, Paroxysm. 2018-12-10 13:22:35 -06:00
SpikesCafe-google
a852d5c9e5 Add Spiny Starfish from Alliances. 2018-12-09 13:48:55 -05:00
jeffwadsworth
6ae86a7f7d - refactored Grollub. 2018-12-07 19:55:08 -06:00
Jeff
fa65ef0237 - Added Cunning and Grollub. 2018-12-07 17:52:14 -06:00
Jeff
605abc1624 - Added Limited Resources and Aether Tide. 2018-12-07 16:19:26 -06:00
Oleg Agafonov
1986b01bf6 Fixed card name in GRN; 2018-12-07 07:32:49 +04:00
Oleg Agafonov
a922cb4d07 Fixed Stronghold card numbers 2018-12-07 02:51:11 +04:00
Oleg Agafonov
1d450730c0 Merge origin/master 2018-12-07 01:21:32 +04:00
Oleg Agafonov
02b7e2cf10 Refactor: extract card names compare logic (is empty name, is same name)
Fixed last broken tests
2018-12-07 00:26:50 +04:00
Jeff
88578502ad - Added Monstrous Hound and Keeper of the Flame. 2018-12-06 09:57:24 -06:00
Jeff
21c6afa1c7 - Added Volrath's Dungeon. 2018-12-05 16:05:46 -06:00
Jeff
d397c8126a - added card info to Starter1999 set. 2018-12-04 17:17:46 -06:00
Jeff
dcec3ad66e - Stronghold Set 100%. Added Hidden Retreat, Ransack, Rebound, and Samite Blessing. 2018-12-04 16:32:23 -06:00
Oleg Agafonov
6e64e08bd2 * Pattern Of Rebirth - Fixed that it can shuffle lib without search; 2018-11-29 19:40:47 +04:00
Oleg Agafonov
bb18814c84 * Fixed wrong re-targeting on copy complex cards (fixed adjustTargets for copies)
* Oath Of Lieges - Fixed that copy of opponent's card don't work;
* Oath Of Lieges - Fixed that it can shuffle lib without search;
2018-11-29 19:39:13 +04:00
Jeff
a948a1101a - small edit to Jeleva. 2018-11-29 09:30:05 -06:00
Oleg Agafonov
59bda7f1d5 Refactor: added copyFrom info for all objects (original card used for copy, copy of copy and etc); 2018-11-29 19:29:39 +04:00
Jeff
47dac3940c - Fixed #5401 2018-11-29 09:26:31 -06:00
Jeff
258bb2b623 - Added Skeleton Scavengers and Contempt. 2018-11-28 15:43:28 -06:00
Jeff
eb996716bc - Added Walking Dream and Mogg Bombers. 2018-11-26 17:57:15 -06:00
Jeff
fbf2b5f7b6 - A few fixes for Jace, Architect of Thought. 2018-11-26 15:34:07 -06:00
LevelX2
e6ce58d6bf XMage 1.4.32V0 2018-11-26 19:30:22 +01:00
LevelX2
2323654a22 Fixed Duplicity casting costs. 2018-11-26 19:00:59 +01:00
LevelX2
c4cd4b8b6a
Merge branch 'master' into JaceArchitectOfThoughtFix 2018-11-26 17:29:31 +01:00
LevelX2
288f2be76e
Merge pull request #5443 from Zzooouhh/Zzooouhh-cons
Implemented Canal Dredger and Deal Broker (without "draft matters")
2018-11-26 17:21:46 +01:00
LevelX2
27da462716
Merge pull request #5265 from magefree/FixFlickerform5084
Flickerform
2018-11-26 17:19:38 +01:00
LevelX2
eb02409f19
Merge pull request #5366 from Zzooouhh/Zzooouhh-jace
Jace, Architect of Thought ultimate fix (fixes #5357)
2018-11-26 16:53:14 +01:00
L_J
4844d439db
Implemented Canal Dredger and Deal Broker 2018-11-26 14:31:09 +00:00
L_J
3fd738b5e5
Implemented Deal Broker 2018-11-26 14:30:58 +00:00
L_J
6e2dde92aa
Implemented Canal Dredger 2018-11-26 14:30:17 +00:00
L_J
c24077a5fb
Goblin Machinist fix
Card didn't reveal the nonland card and put it on the bottom of library
2018-11-26 12:47:41 +00:00
jeffwadsworth
77ab630001 - Added Duplicity. 2018-11-25 21:38:07 -06:00
L_J
4f1e9b0394
Implemented some Legends cards 2018-11-26 04:16:41 +01:00
jeffwadsworth
a01891f11e - added some null checks. 2018-11-25 19:11:12 -06:00
jeffwadsworth
4f0725586b - Urza's Destiny 100%. Added Private Research, Lurking Jackals, Incendiary. 2018-11-25 11:40:10 -06:00
jeffwadsworth
2e9879616c - Updated Urza's Destiny set. 2018-11-25 10:52:16 -06:00
jeffwadsworth
ea4c202a40 - Added Fatigue and Disappear. 2018-11-25 10:51:27 -06:00
jeffwadsworth
2144ae75a4 - Added Archery Training and Fend Off. 2018-11-25 10:08:30 -06:00
Ingmar Goudt
ed69c04490 fix for #5417 2018-11-23 20:05:30 +01:00
jeffwadsworth
2e17cb334e - Fixed #5100. Added a replacement effect for skipping the combat phase. 2018-11-23 11:36:29 -06:00
LevelX2
43ee5e9c43 * Acklay of the Arena - Fixed triggered ability (fixes #5416). 2018-11-23 12:30:44 +01:00
LevelX2
dbbe92ff0a * Outer Rim Slaver - Fixed rule text. Improved target description text (#5416). 2018-11-23 10:59:04 +01:00
Oleg Agafonov
e5bdb85076 * Mirari - Fixed that it can select any spell instead triggered use. 2018-11-22 21:53:32 +04:00
LevelX2
57d5c391fa * Adroit Hateflayer - Fixed triggered ability only doing damage to opponents instead of all players (#5416). 2018-11-22 16:22:07 +01:00
Oleg Agafonov
738cb59eaf Added all cards to Ultimate Masters 2018-11-22 19:17:18 +04:00
Jeff
c61badc2c3 - Fixed Stadium Vendors. 2018-11-20 15:22:58 -06:00
Jeff
1bac7fc04c - Fixed Soul Strings. DoUnlessAnyPlayerPays now supports X costs. 2018-11-20 09:46:36 -06:00
Jeff
9916dbdad7 - Fixed #5434 2018-11-19 16:55:46 -06:00
Jeff
0eedca5283 - Fixed #5393 2018-11-19 15:09:36 -06:00
Jeff
d1c1abb967 - Fixed #5433 2018-11-19 11:17:14 -06:00
Oleg Agafonov
9cb69fbc83 * Mind Bomb - Fixed that it can't do damage to players with 0 selected cards; 2018-11-19 01:46:44 +04:00
Jeff
ed7c32f9e8 - Added Scrying Glass and Metathrane Elite. 2018-11-16 16:14:10 -06:00
Jeff
c4d13ab37a - Fixed #5430 2018-11-16 11:36:05 -06:00
Jeff
fab9a79443 - Added Viashino Bey, Lurking Skirge, and Opal Avenger. Urza's Legacy Set 100% done. 2018-11-15 19:09:23 -06:00
Jeff
f4f24502f4 - Added Discordant Dirge. Urza's Saga Set 100% done. 2018-11-15 12:05:06 -06:00
Jeff
27b2fed8ce - Added Outmaneuver and Antagonism. 2018-11-14 17:18:17 -06:00
Jeff
9d8d623341 - Text fixes for Opal Acrolith. 2018-11-13 18:36:03 -06:00
Jeff
d3bfeccb01 - Added Veiled Sentry,
Hidden Predators, 
Veiled Crocodile, 
Veiled Serpent.
2018-11-13 18:29:12 -06:00
Oleg Agafonov
51dce7a447 Karametra, God of Harvests - Fixed typo in card text 2018-11-14 02:14:29 +04:00
Oleg Agafonov
44ed8cebb7 * Pemmin's Aura - Fixed exception error after enchanted creature was dies; 2018-11-14 02:10:40 +04:00
Jeff
8d4f44bee6 - Added Veil of Birds and Veiled Apparition. 2018-11-13 11:27:44 -06:00
Jeff
69e795e75e - Added Power Taint 2018-11-12 17:55:45 -06:00
Jeff
e953f5e2cc - Modified 2 sets to include new card 2018-11-12 17:24:25 -06:00
Oleg Agafonov
a4ed0f0c3b Merge remote-tracking branch 'remote-production/master' into local-production 2018-11-13 03:21:38 +04:00
Oleg Agafonov
2ebe05c85e [GNT] implemented Goblin Goliath, GNT set now fully implemented 2018-11-13 03:20:20 +04:00
Jeff
c22217c22c - Added Enchantment Alteration 2018-11-12 17:15:45 -06:00
Oleg Agafonov
2c89ec92d3 [GNT] implemented Rot Hulk 2018-11-13 01:15:24 +04:00
Oleg Agafonov
9986c1d365 [GNT] implemented Militant Angel 2018-11-13 00:25:48 +04:00
Oleg Agafonov
209bccef0c [GNT] implemented Inspired Sphinx 2018-11-12 22:31:42 +04:00
Oleg Agafonov
a0e4791ad6 [GNT] implemented Avatar of Growth 2018-11-12 04:17:04 +04:00
Oleg Agafonov
2452e07a0f * Added new set Ultimate Box Topper Promos (PUMA) with 40 cards; 2018-11-12 01:36:14 +04:00
Oleg Agafonov
4b87af1c74 * Added new set Ultimate Masters (UMA) with 41 cards (other cards will be added later); 2018-11-12 01:29:13 +04:00
Oleg Agafonov
9ba6a7ec5c * Added new set Game Night (GNT) with 63 cards (5 not implemented yet); 2018-11-12 01:17:42 +04:00
Oleg Agafonov
fe3eda4944 * Spell Contortion, Warleader's Helix - fixed wrong card text;
Removed unused getRules in cards code;
2018-11-11 22:54:49 +04:00
Oleg Agafonov
20fe92b98b * Machinate - fixed wrong card text; 2018-11-11 22:04:48 +04:00
Oleg Agafonov
45bb2a12fd Fixed card name duplicate 2018-11-09 20:56:19 +04:00
Jeff
61fb31bea0 - Added Serra's Hymn and Venomous Fangs. 2018-11-08 17:54:05 -06:00
Jeff
a3206785ab - Fixed #5410 2018-11-05 11:02:58 -06:00
Jeff
5a6bed313d - Fixed #5409 2018-11-05 09:21:17 -06:00
brodee
a399f94bb1 fixed: Earthsurge should affect all players 2018-11-04 20:31:45 -08:00
Oleg Agafonov
08e88b8a65
Merge pull request #5351 from magefree/plane-and-emblem-implements-controllable
Refactor: make plane and emblem implement Controllable
2018-11-04 23:38:54 +04:00
Jeff
4c56baac03 - Fixed #5392 2018-11-01 18:18:14 -05:00
davidmfritz
c37832944e Fixed cards to put onto the battlefield to one call
Fixed cards to put into exile to one call
2018-11-01 11:51:36 +01:00
davidmfritz
1dc421a545 Fixed to get the correct player list
Refactor to reveal first, then take action
2018-11-01 10:13:57 +01:00
davidmfritz
336732eba2 Performance fix to get out of the loop quicker if library is empty 2018-10-31 23:27:16 +01:00
davidmfritz
bf8123b7a5 Implementation of the card Clear the Land 2018-10-31 22:50:13 +01:00
davidmfritz
369beb213b Fixed Scepter of Empires AA Cost
Fixed Scepter of Empires Activated Ability Cost from "{0}, {T}" to "{T}"
2018-10-29 22:22:24 +01:00
Jeff
29e34934d9 - Added Hidden Stag and Soul Sculptor. 2018-10-29 11:45:37 -05:00
brodee
893fd5dfc9 correct justice strike outcome removal to damage 2018-10-28 00:33:47 -07:00
brodee
4f61afa62b AI updates, more cards will have the isRemoval bonus to their card rating
these weren't being picked up as removal spells and now are:
* modal spells where one mode is a removal spell
* spells that do a dynamic amount of damage, such as fireball
* cards that reduce the toughness temporarily or permanently
* cards that keep a creature tapped down
* cards that exile a creature
* cards that damage creatures that are attacking or blocking
* enchantments that exile a creature when they etb
* fight cards, and one sided fight cards

the ai will now rate those types of cards higher as they are removal
2018-10-28 00:16:14 -07:00
Jeff
22364300ee - Added Opal Titan and Opal Acrolith. 2018-10-26 15:35:55 -05:00
LevelX2
44d3276046 * Brilliant Ultimatum - Fixed that it was not checked if the player is still allowed to play a land. 2018-10-25 16:15:24 +02:00
LevelX2
52f0ae8bd5 * Whispering Snitch - Fixed that it also triggered if other players surveilled. 2018-10-25 15:03:18 +02:00
LevelX2
7fef8113c0 * Sylvan Library - Fixed that the order of the cards put back to library was random. 2018-10-25 14:32:35 +02:00