Commit Graph

34074 Commits

Author SHA1 Message Date
Agetian
b147a16487 - Simplified implementation of LastRemembered. 2017-08-15 11:06:54 +00:00
Agetian
411b86197a - RememberedLast->LastRemembered for consistency with FirstRemembered (+ move the code closer to FirstRemembered). 2017-08-15 11:05:25 +00:00
Agetian
8acab6b662 - Minor formatting fix. 2017-08-15 11:00:21 +00:00
Agetian
dba550550c - Shifting Shadow: use the last remembered object as a reattachment target for compatibility with cards that remember other things too (e.g. Myr Welder). 2017-08-15 10:59:48 +00:00
Agetian
74cfc733dd - Removed code from the previous implementation of Shifting Shadow which is no longer needed. 2017-08-15 10:35:40 +00:00
Agetian
23981accd1 - A cleaner and hopefully sturdier implementation of Shifting Shadow that avoids the need for an intermediate effect card. 2017-08-15 10:32:37 +00:00
Agetian
209f34124e - Fixed Grasp of the Hieromancer. 2017-08-15 07:14:11 +00:00
Agetian
14cff4facf - Fixed Kothophed, Soul Hoarder trigger description. 2017-08-15 07:08:10 +00:00
Agetian
dac089b0fb - Added puzzle PC_082515 coded by Xitax. 2017-08-15 06:54:24 +00:00
Agetian
52aeda7faf - Avoid using a dedicated special parameter for Shifting Shadow spell description override. 2017-08-15 06:49:10 +00:00
Agetian
5273f5c9b6 - NPE protection measures. 2017-08-15 06:40:18 +00:00
Agetian
d2a30ea049 - [C17] Added Shifting Shadow.
- One of the hackier/more complicated scripts, so may not be perfect, though was tested in most situations, including stealing the enchanted creature.
2017-08-15 06:35:08 +00:00
Agetian
716ba3eea8 - Fixed a miscalculation in DamageAllAi. 2017-08-15 04:42:59 +00:00
Agetian
5cece53e50 - Fixed Madcap Experiment and Heirloom Blade "...the rest on the bottom of your library in a random order" clause. 2017-08-14 14:53:24 +00:00
Agetian
ba73f8a323 - ChangeZoneAi: do not activate the AF if it'll try to put a creature on the battlefield that will end up with toughness below zero after it enters the battlefield (Reassembling Skeleton + Elesh Norn, Grand Cenobite). 2017-08-14 14:13:14 +00:00
Agetian
81379a49a7 - A better variable name for Magus of the Mind. 2017-08-14 11:14:07 +00:00
Agetian
77e4862b3e - Minor formatting fix. 2017-08-14 11:01:59 +00:00
Agetian
1a3bd2aa74 - [C17] Added Magus of the Mind. 2017-08-14 11:01:36 +00:00
Agetian
9997b4a2de - A somewhat more comprehensive anti-cheating solution for Cavern of Souls AI. 2017-08-14 05:15:30 +00:00
Agetian
74b12606ef - Prevent the AI from cheating with Cavern of Souls, paying an arbitrary amount of mana with it. 2017-08-14 04:50:22 +00:00
Hanmac
14d5034b8e make Worms of the Earth into a GlobalRuleChange 2017-08-13 18:35:10 +00:00
Agetian
8b282818e9 - Fixed a couple NPEs in mobile Forge when canceling a Sealed/Draft match with a specific opponent. 2017-08-13 15:47:27 +00:00
Agetian
48a4f8ba67 - [C17] Removed the TODO entries from Curses since they use RepeatEach now, which should theoretically work for multiple attackers when that is implemented. 2017-08-13 15:18:59 +00:00
Agetian
1dd048eed4 - A little update to the previous commit. 2017-08-13 15:15:18 +00:00
Agetian
e398d6af75 - [C17] updated Curses to work correctly for "you and the triggered attacking player". 2017-08-13 15:13:32 +00:00
Agetian
39b1c1f7e4 - Removed a couple empty lines in new scripts. 2017-08-13 14:21:37 +00:00
Agetian
ff78b384ac - [C17] Added Izzet Chemister. 2017-08-13 14:10:35 +00:00
Agetian
d45a6f94f5 - [C17] Added Galecaster Colossues, Kindred Boon, Kindred Dominance. 2017-08-13 10:37:50 +00:00
Agetian
48fe8d5762 - Fixed a mistype in the C17 edition definition file. 2017-08-13 10:10:45 +00:00
Agetian
36b493f03a - Puzzle Mode: don't award Challenge achievements in this mode (take two). 2017-08-13 09:46:51 +00:00
Agetian
670ccaf891 - [C17] Added the 5 Curse cards. Currently there is no way to ensure that they work correctly with multiple attackers since Forge doesn't support shared turns yet. If support for shared turns is introduced, this should work correctly if TriggeredAttackingPlayer is expanded to return multiple attackers or if a RepeatEach construct is introduced iterating over an array of all attackers. 2017-08-13 09:40:18 +00:00
Maxmtg
d16a48a1a2 Move booster generation code to a separate package 2017-08-13 09:01:45 +00:00
Maxmtg
3f4eedbeab clean up more warnings about unused fields 2017-08-13 08:29:54 +00:00
Maxmtg
ef3dd4a833 Remove unused imports - to decrease number of warning from IDE. 2017-08-13 08:26:42 +00:00
Agetian
fee074db42 - Added a basic NeedsToPlayVar to other Pacts. 2017-08-13 07:19:57 +00:00
Agetian
5463af7f60 - Added a basic NeedsToPlayVar to Pact of the Titan. 2017-08-13 07:17:03 +00:00
Agetian
b776cd4a91 - Added a basic NeedsToPlayVar to Pact of Negation. 2017-08-13 03:55:33 +00:00
Maxmtg
45945e839f fix more warnings 2017-08-13 02:25:48 +00:00
Maxmtg
043ad7e3aa simplify ConquestAwardPool 2017-08-13 02:19:15 +00:00
Maxmtg
d04e186dea more unused methods and imports removal 2017-08-13 01:44:36 +00:00
Maxmtg
4253365e03 Moved AIOption to ai package, where it belongs 2017-08-13 00:53:26 +00:00
Maxmtg
07437b7880 Clean up unused imports that popped up in eclipse warnings List 2017-08-13 00:40:48 +00:00
Maxmtg
5ddd007f67 Remove player.getOpponent method, route former calls from AI through ComputerUtil.getOpponentFor(player) 2017-08-13 00:27:26 +00:00
Agetian
814978a178 - Fixed a NPE related to one of the previous commits. 2017-08-12 16:15:30 +00:00
Agetian
5350e77125 - When a permanent leaves the battlefield, remove all changed keywords on it (fixes e.g. the results of Magical Hack on Leviathan still partially persisting after it dies and is reanimated by something). 2017-08-12 14:56:22 +00:00
Agetian
22e2e32377 - Some subtype corrections. 2017-08-12 14:13:29 +00:00
Agetian
58b2c36498 - Added a comprehensive map of plural card subtypes to their singular counterparts, to the best of my knowledge of how the plural forms are formed (please take a look and update if necessary). Needed for the correct function of text change effects with any type (e.g. Homing Sliver + New Blood).
- Added an exception for the card text generation for the compound subtype "Eldrazi Scion" (e.g. Kor Castigator).
2017-08-12 13:58:26 +00:00
Agetian
0e4af7dbcf - Kess, Dissident Mage: don't remember the instant/sorcery card in case it was bounced from stack to a zone other than graveyard (e.g. to hand via Remand). 2017-08-12 12:37:52 +00:00
Agetian
3aba1c5ccf - Added NeedsToPlay AI var to Vizier of Many Faces. 2017-08-12 10:56:51 +00:00
Agetian
44af80f336 - [C17] Added O-Kagachi, Vengeful Kami. 2017-08-12 09:53:55 +00:00