Commit Graph

1220 Commits

Author SHA1 Message Date
Agetian
16da11a828 - NPE protection. 2015-10-08 20:06:12 +00:00
Agetian
7df36900e4 - Reveal face down cards leaving the stack zone and not entering the battlefield (per rule 504.6). 2015-10-08 20:03:20 +00:00
Agetian
b84c5dbc23 - Implemented the "Remove X counters from among creatures you control" logic when testing the availability of counters on cards to do the CostRemoveCounter payment. Fixes Novijen Sages and similar cards (Ooze Flux, Retribution of the Ancients). 2015-10-07 11:12:19 +00:00
Agetian
ed36eeb728 - Update the visual state of a card when adding KW Haste to ensure that the summoning sickness icon is removed from it. 2015-10-07 09:31:57 +00:00
Agetian
5ea54f78eb - Fix Devoid not interacting correctly with Clone and other things that grab current information about the card (Devoid used to add "colorless" as a temporary color text-changing ability). 2015-10-06 04:53:14 +00:00
Agetian
90698bc892 - Use a temporary card copy with full information about changed colors, types, and keywords when processing TriggerSacrificed such that the trigger is based on the most up-to-date information about the card (e.g. Savra, Queen of the Golgari + Painter's Servant + Warren Weirding on a creature with the changed color from Painter's Servant).
- Somewhat experimental, testing is welcome!
2015-10-04 13:51:46 +00:00
Agetian
25362f728f - Ensure that a card is returned to its original state when it's being moved from the battlefield (fixes e.g. a Manifested tapland returning to hand that then causes a crash when that same land is played from hand later).
- This is a little experimental, please test for possible issues!
2015-10-04 07:57:59 +00:00
Sol
8c549a982d - Display Devoid for Sorcery/Instants 2015-10-03 21:20:11 +00:00
Agetian
7c0631b1ab - Better implementation of card text generation for Kor Castigator. 2015-10-03 18:29:56 +00:00
Agetian
cd4d300293 - Fixed card text generation for Kor Castigator. 2015-10-03 18:25:23 +00:00
Chris
d26d25fd85 [maven-release-plugin] prepare for next development iteration 2015-10-02 17:20:52 +00:00
Chris
10cb50140a [maven-release-plugin] prepare release forge-1.5.46 2015-10-02 17:20:43 +00:00
Sloth
1f53269cd9 - Fixed Rush of Ice. 2015-09-29 07:17:08 +00:00
Sloth
25924bbab9 - (Fixed) Converted the Echo keyword to a script macro. 2015-09-27 11:29:12 +00:00
Agetian
273e71cc0a - Temporarily reverted 30117:30118 (related to Echo update) because the current new implementation misbehaves (please see the related forum post) and I could not fix the rule interaction bug in a timely manner.
- Feel free to revert this commit and continue working on the new Echo implementation.
2015-09-27 06:00:21 +00:00
Agetian
9e6ec0ed2c - Fix for Awaken + Flesh Allergy and other similar interactions, part 2. 2015-09-26 15:07:49 +00:00
Agetian
9ab1629aa5 - Another attempt at fixing Morbid + Awaken and other similar interactions (e.g. Awaken + Flesh Allergy). 2015-09-26 15:03:51 +00:00
drdev
bd9ee4f24d Avoid being unnecessarily prompted when tapping multi-color creature for convoke 2015-09-26 15:01:45 +00:00
Agetian
e9552ec17f - A more correct fix for color identity update. This fix also fixes Morph/Manifest cards leaking color to the "current card colors" display in card detail panel. 2015-09-26 14:42:26 +00:00
Agetian
a3eebd0e77 - Fixed the transformed cards displaying wrong color identity in the card detail panel. 2015-09-26 14:38:34 +00:00
Sloth
9947ff1b09 - Removed another obsolete part of the old Echo system. 2015-09-26 12:34:26 +00:00
Sloth
3d38a21349 - Converted the Echo keyword to a script macro. 2015-09-26 12:14:55 +00:00
Agetian
6938c66ee5 - Attempt to fix a bug which made it possible for the player to use the mana ability of a card with the {Q} (Untap) in its mana cost while paying its own mana cost (e.g. Zhur-Taa Druid + Umbral Mantle). 2015-09-26 08:43:27 +00:00
Agetian
5c9f0e0b2f - Reverting my previous attempt at fixing Morbid + Awaken, wasn't a very good idea (broke a lot of stuff). Will see if I can come up with a better solution. 2015-09-26 05:40:57 +00:00
Agetian
1a8260ac84 - Temporarily revert the change for Morbid that's breaking both Echo and Sunburst (will try to recommit a better fix). 2015-09-26 04:45:45 +00:00
Agetian
e92e205a5c - Reverting r30101 (breaks Echo). 2015-09-26 04:20:13 +00:00
Sol
0a7286fbd9 - Add Halimar Tidecaller 2015-09-26 00:03:25 +00:00
Agetian
c4d8edc05a - Experimental: make getThisTurnEntered and getLastTurnEntered return information based on the latest state of the card instead of on the pristine state of the card. Fixes e.g. the interaction of Flesh Allergy and Awaken. Let me know if this breaks anything. 2015-09-25 18:31:26 +00:00
Agetian
f615ad82e5 - Implement a way for the game to correctly process Awaken + Morbid (e.g. a land creature dying is counted as a creature dying for the purposes of Morbid). 2015-09-24 05:17:59 +00:00
Agetian
55393af656 - Fix March of the Tomb incorrectly returning an additional Ally card from the graveyard (even if in excess of total CMC restriction) if only one targetable Ally card was left in the graveyard after targeting. 2015-09-23 09:04:45 +00:00
Agetian
182ac122e0 - Do not allow an ability that has the maximum total CMC limited to target a single creature with CMC greater than the limit. 2015-09-23 08:20:25 +00:00
Agetian
fe9ac18f44 - Support CARDNAME generalization in the optional prompt for AB Dig. 2015-09-23 06:40:35 +00:00
Agetian
6e3eac1258 - A somewhat cleaner implementation for the fixes for Explorer's Scope and Quest for Ula's Temple. 2015-09-23 06:09:05 +00:00
Agetian
ed6afbc77b - Implemented a better fix for Explorer's Scope that does not break a ton of other AB Dig abilities. Also fixes Quest for Ula's Temple.
- Note, however, that this fix as it is introduces an additional complication for card scripting in the form of extra parameters ForcedRevealToController / ShowOptionalAbilityPrompt. I tried making these global and based on card logic but there are enough card scripts that utilize ChangeNum$ All + NumToDig$ 1 in different ways that making it global in different ways tends to break different card scripts. Better ideas are welcome.
2015-09-23 05:07:13 +00:00
Agetian
e49f694eb3 - Removed unnecessary code.
- Tweaked a comment a little bit.
2015-09-22 08:14:52 +00:00
Agetian
723a607c9f - Added code support for cards dependent on the maximum total CMC of targets (e.g. March from the Tomb). Basic AI support also added (but can most likely be made smarter, feel free to improve).
- Note that the relevant SA parameter has been renamed to "MaxTotalTargetCMC" (from "WithTotalCMC") to avoid confusion with the ChangeZone parameter "WithTotalCMC" that means "the total CMC of a single card".
2015-09-21 16:34:53 +00:00
Agetian
0c05987129 - Fixed Proteus Machine type-changing effect not lasting indefinitely. 2015-09-21 11:36:41 +00:00
Agetian
ab0aba007f - Improvement to the default optional ability prompt for AB Dig. 2015-09-21 08:49:18 +00:00
Agetian
f21bc2901f - Fixed AB Dig to correctly allow optional abilities and to reveal the card to the controller of the ability even in case it's not valid for further action.
- Fixed Explorer's Scope effect. This also fixes abilities like that of Ajani, Mentor of Heroes which are supposed to be optional but were not treated as optional before.
- Note that this change may break something. Testing is welcome.
2015-09-21 08:39:13 +00:00
Agetian
984f567054 - Some improvements to alternate destination support in ChangeZone (also support library position override from known zones). 2015-09-20 18:38:06 +00:00
Agetian
71e0eba678 - Added support for alternative ChangeZone destinations from a known (non-hidden) zone. 2015-09-20 15:13:38 +00:00
Sloth
92b9b69ee2 - Added support for Unnatural Aggression. 2015-09-20 08:33:52 +00:00
Sloth
b7aaba3e29 - Fixed Venser, Shaper Savant not countering spells. 2015-09-20 08:10:46 +00:00
Krazy
2e57435881 Added stack description formatting for charm effects inside triggers. 2015-09-20 05:00:59 +00:00
Krazy
ea9432471c Slightly changed formatting of trigger descriptions to allow charm-style triggers to be properly displayed. 2015-09-20 04:37:19 +00:00
Agetian
d96dbb2bcc - Implemented "HasNoSubtype" property that allows e.g. to limit the type of Landfall (for example, ValidCard$ Land.YouCtrl+HasNoSubtype Plains). Could be useful for BFZ. 2015-09-19 19:35:03 +00:00
Agetian
3123539242 - Implemented "HasSubtype" property that allows e.g. to limit the type of Landfall (for example, ValidCard$ Land.YouCtrl+HasSubtype Plains). Could be useful for BFZ. 2015-09-19 19:28:48 +00:00
Krazy
a4abf3131a Added crystal counter type to support Prism Array (BFZ). 2015-09-19 18:08:25 +00:00
Krazy
a8301e6c4b Added isolation counter type to support Quarantine Field (BFZ). 2015-09-19 16:38:34 +00:00
Krazy
83984f3e7e Changed CostExiledMoveToGrave's toString method to better match text on cards. 2015-09-19 05:05:27 +00:00