Commit Graph

2908 Commits

Author SHA1 Message Date
Agetian
687e26e23a - Fixed Forgotten Ancient not allowing to choose multiple targets. 2017-05-27 04:15:58 +00:00
Hanmac
54b9f104e0 CostAdjustment: now can reduce Hydrid Mana 2017-05-26 15:50:18 +00:00
Hanmac
055ae04ee0 CounterEffect: add more Aftermath stuff 2017-05-26 15:48:38 +00:00
Hanmac
52ffee21b2 ChangeZoneEffect: add part for Aftermath exiling card 2017-05-26 15:45:14 +00:00
Hanmac
8e4220fb67 CardFactoryUtil: fixed inheritic Prevent Keywords not doing ReplacementEffects 2017-05-23 04:11:05 +00:00
Agetian
ccda031d9e - Counterspells should move sources of Aftermath SAs to exile by default instead of to graveyard. 2017-05-22 04:13:55 +00:00
Agetian
010f3adcea - Fix rare corner case crashes when an attempt is made to insert a card to the zone at a specific index position but that zone ends up being empty at that point (for instance, this can happen when clicking "Concede" during a mana payment for a spell). Currently this is set to issue a console warning for testing purposes to see if this happens in any other cases. 2017-05-20 18:30:58 +00:00
Hanmac
4adbde656e Player: fixed CardLKI for Sacrificed Trigger 2017-05-18 19:50:29 +00:00
Sol
d163bb4648 Add Shadow of the Grave 2017-05-14 21:01:38 +00:00
Hanmac
cb586dea4a DebuffEffect: fixes Lose Protection on something like Order of the Stars 2017-05-14 09:26:35 +00:00
Agetian
e7be54f8db - Fixed parsing legendary creature names with a comma in them for the purpose of Protection:ChosenName (fixes e.g. Runed Halo against Sheoldred, Whispering One). 2017-05-14 04:40:23 +00:00
Hanmac
32feaa8b3e Card: fixed Property InZone using getChangeZoneLKIInfo
TriggerSpellAbilityCast & MagicStack: update code a bit using
2017-05-13 10:46:55 +00:00
Agetian
974bbd694c - NPE prevention in AF Attach (prevents a crash if e.g. the AI assumes control of Nahiri, the Lithomancer and tries to use its +2 ability). 2017-05-13 04:30:49 +00:00
Hanmac
cb2d1a8777 Aftermath: now a property of SpellAbility the Game now knows to exile the card even if it got countered. 2017-05-12 04:52:08 +00:00
Agetian
1cf3d9c975 - Added code support for Optional$ True in DB RemoveCounter. Fixed Shed Weakness not being optional. 2017-05-11 04:51:06 +00:00
Hanmac
2fc3f12fa8 CardFactoryUtil: fixed Prevent$ parameter on Replacement Effects 2017-05-10 05:49:23 +00:00
Hanmac
42dc6c3662 CardFactoryUtil: fixed Prevent all damage Replacement Effects add first part for PreventAllDamageBy 2017-05-10 05:18:55 +00:00
Hanmac
0c327f2f39 CardFactoryUtil: "Prevent all (combat) Damage" + Cardname is now done as Replacement Effect 2017-05-07 10:23:57 +00:00
Blacksmith
23c1f08d7e [maven-release-plugin] prepare for next development iteration 2017-05-06 16:34:15 +00:00
Blacksmith
e271742b11 [maven-release-plugin] prepare release forge-1.5.62 2017-05-06 16:34:06 +00:00
Agetian
a2aa0f02f7 - For now, make the controller->getController() change local to Exert (to fix exerting a stolen creature). Reverted other cases for now since they didn't seem to cause problems but might have had a negative impact on checking LKI controller in hasProperty. 2017-05-06 10:43:54 +00:00
Agetian
56dc3802db - Added an exception for Aftermath cards to SpellAbilityRestriction so that the right split half is only castable from the graveyard.
- TODO: somehow generalize this?
2017-05-06 05:44:40 +00:00
Hanmac
9d66df4e50 CardFactoryUtil: fixed Vanishing without amount 2017-05-04 16:34:45 +00:00
Hanmac
65c014c0f5 CardState#hasProperty add cmc for stuff like cmcLEX, this only checks the cmc of the current card state, dont remove the variant in Card#hasProperty 2017-05-03 05:32:25 +00:00
Agetian
f39abb2c31 - getController() call consistency in Card. 2017-05-03 04:08:26 +00:00
Agetian
97c0d1cc43 - Changed direct references to the "controller" var in Card to a getController() call since "controller" is not guaranteed to be set correctly and may be null if the controller is switched temporarily (fixes e.g. exerting a stolen creature, among possibly other things.) 2017-05-03 04:07:30 +00:00
Agetian
f1dc07bbae - Comment tweak. 2017-05-02 05:57:49 +00:00
Agetian
0edf693613 - AF ChangeZone should be able to fizzle spells on stack when moving spells to the library (e.g. Commit // Memory).
- Originally I wanted to avoid duplicating the code from the other branch of the clause, but that ended up being not so easy since that part of the clause is not guaranteed to move the card at all.
2017-05-02 04:51:31 +00:00
Agetian
97937c5485 - Attempting to fix the interaction between Cavern of Souls and cards that create cast triggers (e.g. Blight Herder), where the counterability var would get reset upon the resolution of the cast trigger. This change makes the game not reset the counterability flag on wrapped triggers. Keep your eyes peeled please, while the tests indicate that things work fine, something might get broken somewhere...
- Added an exception for tapping Cavern of Souls in response to a mana prompt requesting payment for generic mana (handled manually to avoid e.g. the game automatically pre-selecting the {C} producing ability when casting cards like Endless One, Blighted Herder, and others and willing to create a colored mana that would also make the spell uncounterable).
2017-05-01 14:04:31 +00:00
Sol
8ccee98f5e Add Approach of the Second Sun
Add BranchEffect
2017-04-30 20:27:15 +00:00
Hanmac
e39949895d Cards & CardState: move parts from Card#hasProperty into CardState 2017-04-30 16:57:22 +00:00
Hanmac
7161ca5f97 Spell: better fix for Split Cards 2017-04-30 15:59:21 +00:00
Agetian
52c75bf0d9 - One more attempt at patching up Aftermath split cards with dual Sorcery/Instant or Instant/Sorcery type. 2017-04-30 15:09:55 +00:00
Agetian
c5d36b3086 - Oracle Update: place -> put (part 2 + code support) 2017-04-30 05:29:57 +00:00
Hanmac
7ecfd7fcaf PhaseHandler: only show Exert Dialog if there are creatures to exert 2017-04-28 05:38:41 +00:00
austinio7116
f5dbde0cf3 Added optional customformats.txt file (to be put in the user preferences folder) to append formats to the regular list so that custom formats can be retained between upgrades 2017-04-27 18:53:44 +00:00
Hanmac
b3a6403867 StaticAbility: fixed EffectZone 2017-04-27 18:09:43 +00:00
Sol
69a07daa00 Add to Time to Reflect 2017-04-27 03:39:34 +00:00
Sol
b165c5f11c Add Combat Celebrant (AKH) 2017-04-27 02:28:05 +00:00
Hanmac
b3791f6a2d StaticAbility: refactor a bit using hasParam and getParam
Fix with EffectZone when Card does not have a Zone yet
2017-04-26 20:15:08 +00:00
Hanmac
a9fbd267aa GameActionUtil: add CyclingForZero for New Perspectives 2017-04-26 05:00:55 +00:00
Hanmac
4059a12169 GameAction: if Card does leaves the Battlefield and Enters the Graveyard, use LastStateBattlefield for LKI 2017-04-24 18:43:47 +00:00
Hanmac
a4a7b01a05 CountersPutOrRemoveEffect: add EachExistingCounter 2017-04-23 15:48:59 +00:00
Hanmac
b8fc526a88 CloneEffect now has own Choices Params and doesn't need ChooseCard anymore 2017-04-22 15:42:05 +00:00
Agetian
9257839ae1 - Removed the hacky Aftermath type rigging code, creates more problems than it solves. 2017-04-22 14:25:04 +00:00
Agetian
22f5a6c173 - Removed a debug experiment line. 2017-04-22 12:21:28 +00:00
Agetian
40e0bc9782 - FIXME: A somewhat better hack to get the Aftermath cards to behave more or less as a correct card type from the graveyard (still requires a better, more universal solution; and notice that visually the card type is still broken - e.g. Destined // Lead is visualized as Instant in the graveyard, at least until an attempt is made at casting it, although it behaves as a Sorcery). 2017-04-22 12:20:40 +00:00
Krazy
f1bfe69960 [maven-release-plugin] prepare for next development iteration 2017-04-22 06:10:37 +00:00
Krazy
8ef8197c92 [maven-release-plugin] prepare release forge-1.5.61 2017-04-22 06:10:22 +00:00
Agetian
e9e8d9b3f0 - Attempting to resolve the issue with Aftermath cards with Sorcery speed right split being castable at Instant speed from the graveyard by force-setting the SA speed restrictions for the right split.
- This seems to work, but I'm not sure if it's the desired solution. I couldn't figure out where else this can be effected in a more appropriate way, so please check/update as necessary.
2017-04-21 17:20:23 +00:00