Commit Graph

33958 Commits

Author SHA1 Message Date
Agetian
f9b88c2738 - Removed a comment that doesn't apply anymore. 2017-08-17 06:35:38 +00:00
Agetian
f47a679dda - Allow precasting specific SAs from cards by their ordinal number (allows e.g. precasting planeswalker abilities).
- Added puzzle PS_AKH0 scripted by Rooger.
2017-08-17 06:34:55 +00:00
Agetian
e5e56b5260 - Allow precasting specific SAs from cards when setting up game state (needed by Puzzle Mode game states). 2017-08-17 06:06:44 +00:00
Agetian
c62f6b41d2 - A more correct interpretation of 901.6+901.10: the next player in turn order should initPlane in a planechase game if the planar controller leaves the game. 2017-08-17 05:37:33 +00:00
Agetian
6b32c4997d - Fixed Selesnya Loft Gardens. 2017-08-17 04:56:27 +00:00
Agetian
cb89c96dac - Momir Basic: when auto-generating the deck, only update the original deck instead of fully overwriting it. Allows the Momir Basic variant to be used in conjunction with other variants, such as Planechase, without crashing Forge. 2017-08-17 04:51:43 +00:00
Agetian
b31ca263fd - Implemented rule 901.6 for Planechase games. Should fix an issue with the planar deck cards disappearing when a player loses the game on his or her own turn. 2017-08-17 04:13:32 +00:00
Agetian
a0451cfab0 - Added 2 puzzles coded by Xitax. 2017-08-17 03:45:11 +00:00
Maxmtg
4baecd9f79 hasProperty of SpellAbility moved to ForgeScript 2017-08-16 21:38:26 +00:00
Maxmtg
381851aba7 moved player's hasProperty to ForgeScript 2017-08-16 20:36:30 +00:00
Maxmtg
23d3d5973b Move hasProperty of Card to ForgeScript 2017-08-16 20:10:26 +00:00
Agetian
fcdf9cf2ec - Do not run the replacement handler query if defender damage is determined to be 0. 2017-08-16 13:34:49 +00:00
Agetian
9831236d79 - Combat AI: Query the replacement handler for possible damage prevention when trying to determine if a blocker can destroy the attacker (fixes e.g. the AI chump blocking an exerted Oketra's Avenger even though all damage is to be prevented). 2017-08-16 13:32:30 +00:00
Agetian
c644d6bf2f - Removed a duplicated comment. 2017-08-16 12:26:41 +00:00
Agetian
d82b008c33 - Removed a testing useless reference. 2017-08-16 12:25:58 +00:00
Agetian
d53f9e99af - Fixed a miscalculation and related NPE when trying to predict the bonus from Arahbo, Roar of the World.
- Some extra NPE prevention measures in related trigger processing code.
2017-08-16 12:25:23 +00:00
Agetian
870b168cea - Disposal Mummy trigger is not optional. 2017-08-16 08:54:25 +00:00
Agetian
094e2478f9 - C17 rule update: tokens can phase out and phase in now (August 11, 2017 release notes). 2017-08-16 06:40:06 +00:00
Agetian
110b9f5058 - Removing some extra spaces in Commander 2017 edition file. 2017-08-16 06:10:40 +00:00
Agetian
d959753641 - A more generic check for LKI in ChangesZone Battlefield->Graveyard triggers (e.g. Dross Scorpion). 2017-08-16 06:08:46 +00:00
Agetian
027ecf29ae - Experimental: check LKI for the ChangesZone trigger of Dross Scorpion (fixes interaction with cards equipped with cards providing the Artifact type, e.g. Firemaw Kavu + Silversilk Armor). Should this be the default behavior? 2017-08-16 05:08:56 +00:00
Agetian
d4392635bf - Added 2 puzzles coded by Xitax. 2017-08-16 04:53:38 +00:00
Agetian
c72370eff0 - Removed an unused line from a test. 2017-08-16 03:48:18 +00:00
Agetian
6b799be7dd - Added support for PhasedOut to GameState. 2017-08-16 03:47:54 +00:00
Maxmtg
244d5bba47 Moved hasProperty code (it's forge script parsing in fact) out of CardState object to keep the class clean. 2017-08-15 21:40:03 +00:00
Agetian
d539ddf018 - Documenting changes in CHANGES.txt. 2017-08-15 19:28:25 +00:00
Agetian
f279792273 - AI should not overprioritize Gavony Township, otherwise it locks itself on mana too much. 2017-08-15 19:19:10 +00:00
Agetian
aa4a793566 - Added AILogic$ Fight to Ambuscade. 2017-08-15 17:41:20 +00:00
Agetian
1aaa2340f8 - Menace: do not display reminder text in game (an evergreen keyword that has appeared with no reminder text for a while). 2017-08-15 16:29:41 +00:00
Agetian
329247391b - Integrating Oracle updates by Indigo Dragon. 2017-08-15 16:10:51 +00:00
Agetian
3fc5daef01 - Corrected descriptions for Embalm and Eternalize. 2017-08-15 16:07:41 +00:00
Agetian
e087d04c17 - Basic AI logic for Shadow of the Grave. 2017-08-15 14:45:53 +00:00
Agetian
a3a713b608 - Preparing Forge for Android publish 1.6.1.005 [incremental]. 2017-08-15 13:45:45 +00:00
Agetian
98251a8631 - Added puzzle PC_090115 coded by Xitax. 2017-08-15 13:40:16 +00:00
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