Commit Graph

2240 Commits

Author SHA1 Message Date
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
Agetian
e46c9b6aff - Fixed Failure // Comply returning to hand together with the targeted spell on stack. 2017-04-21 13:41:00 +00:00
Hanmac
9b2adf7686 TriggerCounterAdded: add ValidSource Parameter for Triggers that only should affect your sources 2017-04-21 07:47:13 +00:00
Hanmac
58d013e5be GameEntity#AddCounter now has a Source parameter
update all Effects using them
2017-04-20 12:34:31 +00:00
Hanmac
de9ff7575b Exert: get it working without keyword using flags 2017-04-20 06:12:48 +00:00
Sol
bbd6c7b249 Ading Nest of Scarabs 2017-04-20 01:51:15 +00:00
Hanmac
8a7321f255 TriggerSacrificed: add ClauseParam to connect it with some special Sacrifice Effect 2017-04-17 19:56:06 +00:00
Sol
2f9319c420 Initial pass of Exert (lots of things to be improved, but should be good enough to start scripting) 2017-04-16 20:00:42 +00:00
Hanmac
ea91d23bc2 add MayPlayIgnoreType in addition to MayPlayIgnoreColor, fixed the ignore Color part, it should not work with {C} 2017-04-16 19:30:45 +00:00
Hanmac
dc83cdb2b1 Card: add Embalmed flag into it, used in CopyPermanentEffect and CloneEffect Vizier of Many Faces 2017-04-14 17:05:38 +00:00
Hanmac
39f7b041a7 CardView & PlayerView: remove CanSeeOpponentsFaceDownCards 2017-04-10 19:44:22 +00:00
Hanmac
263cfe4dd6 CardFactoryUtil: move LevelUp to addSpellAbility section 2017-04-10 19:40:32 +00:00
swordshine
9667bf8de5 - Update more scripts 2017-04-10 04:00:48 +00:00
Sol
54de9f1009 Fix GameState counters for Permanents 2017-04-09 02:36:22 +00:00
Hanmac
63bef4e0ec Card: Drop that SplitCards has two different CMC, newest rule update only allows only combined CMC 2017-04-08 16:54:11 +00:00
Sol
836ebdc5e6 Initial checkin for Puzzle Mode 2017-04-08 15:17:07 +00:00
Hanmac
5592139454 CopyPermanentEffect: add Embalm 2017-04-08 11:05:14 +00:00
Hanmac
28813be8b5 Card: add Aftermath keyword 2017-04-04 20:41:12 +00:00
Hanmac
c9530982c8 CardFactoryUtil: make Cycling use ReminderText 2017-04-02 06:42:48 +00:00