Commit Graph

8293 Commits

Author SHA1 Message Date
Sol
a2facc6e39 - Fix issue with Sen Triplets and targeting in controllers zone 2016-06-30 18:22:00 +00:00
Krazy
8d73ffb52b [maven-release-plugin] prepare for next development iteration 2016-06-29 04:09:17 +00:00
Krazy
4e6dd62a54 [maven-release-plugin] prepare release forge-1.5.53 2016-06-29 04:09:06 +00:00
Agetian
4b2ac8924d - Fixed KW "CARDNAME's power and toughness are switched" not visually changing back power and toughness upon end of turn. 2016-06-28 13:12:36 +00:00
Hanmac
c37fce0d93 Card: use for Remembered/Imprinted that getDefinedCards can filter them now, also use CardPredicates for sharesSomethingWith stuff
also add game.getCardState into sharesNameWith for DoubleFacedCards
2016-06-28 12:04:47 +00:00
Hanmac
d5a7df5818 StaticAbilityContinuous: set OriginalHost for abilities gained though "GainAbilities" 2016-06-28 11:15:01 +00:00
Hanmac
8a9d85abfc SetStateEffect: TurnFace should be allowed in other zones to allow to turn them up in exile 2016-06-28 11:06:43 +00:00
Hanmac
849116faae CardPredicates: add Predicate for sharesControllerWith 2016-06-28 11:00:30 +00:00
Hanmac
375a8c19b7 AbilityUtils: add that getDefinedCards works with extra values using CardLists.getValidCards for filtering 2016-06-28 10:43:01 +00:00
Sol
4c98302954 - Adding capability to calculate how many modes were chosen 2016-06-28 02:32:12 +00:00
Agetian
9738250215 - Properly report in case the chosen pile somehow ended up being empty. 2016-06-26 15:01:41 +00:00
Agetian
af947b35b3 - DB TwoPiles now lists the contents of the chosen pile in addition to its number (otherwise it's typically confusing and makes the player need to memorize not only the content of both piles but also remember which pile is the first one and which one is the second). 2016-06-26 14:15:03 +00:00
Hanmac
34c27ebe69 AbilityUtils: fixed ThisTargetedPlayer 2016-06-25 10:51:43 +00:00
Hanmac
f745b18350 EffectEffect: store ChosenPlayer and ChosenType in the Effect too 2016-06-25 04:10:12 +00:00
Hanmac
5babb133c0 AbilityUtils: add ThisTargetedPlayer like ThisTargetedCard 2016-06-25 04:08:12 +00:00
Sol
836b0121e9 - Fix Cream of the Crop not revealing a card when x = 1. 2016-06-24 21:45:22 +00:00
Sol
3deea21ca2 - Missed a file on Cost update 2016-06-23 16:46:23 +00:00
Sol
884fc0fbfd - Add values to Costs so they can be sorted. Fixes kicker costs being paid earlier than they usually are (Pegasus Stampede) 2016-06-23 14:50:23 +00:00
swordshine
c952fda344 - EMN: Added Emrakul, the Promised End 2016-06-22 08:19:12 +00:00
Hanmac
e6e0ce1775 ChangeZoneAllEffect: add Optional Option 2016-06-20 07:05:05 +00:00
Hanmac
ab29a9f61a CleanUpEffect: add extra flag to clear chosen player 2016-06-19 20:07:46 +00:00
Hanmac
23272f45e3 ChoosePlayerEffect: allow to RememberChosen 2016-06-19 15:35:14 +00:00
Hanmac
806fc1cb0f AbilityUtils: add "ChosenCardController" useful for later cards 2016-06-19 12:21:43 +00:00
Hanmac
56c6fa3a7b Card: allow more than one PreventAllDamageBy and allow to have "," in the definition.
add Silhouette which does use same PreventAllDamageBy effect than Bronze Horse
2016-06-18 20:52:06 +00:00
Hanmac
f4ac7b1b5e ChosenCards should not be stored in ChosenColor (why was that?)
add new TrackablePropterty for that and EffectEffect does copy it.
2016-06-18 13:51:31 +00:00
Hanmac
aff5d546de Card & Player: add "ColorSource" Property to check what color the damage source would have (for "Ghostly Flame")
add Extra check in hasProtectionFrom to check for the damage source too
2016-06-17 13:12:00 +00:00
Hanmac
9a0bb81f10 ReplaceDamage: use applyAbilityTextChangeEffects to change the Text of a Damage Replacement Effect
ReplacementEffect: use applyDescriptionTextChangeEffects for the Description
2016-06-17 13:01:28 +00:00
Hanmac
50a90b177f CardUtil: add more creature type names into singularTypes map 2016-06-17 12:56:59 +00:00
Hanmac
5f634369bf CardFactory: for DoubleFacedPlaneswalker, add the SVars to the State instead of the Card
ReplacementHandler: for Cards with AlternateState, ask the game for the current CardState
AIController: use game.getCardState
2016-06-14 15:33:15 +00:00
Sol
ad1595ed34 - Don't clear echo related variables for creatures that ETB during the upkeep 2016-06-12 21:33:56 +00:00
Hanmac
fda1cbb88b AbilityUtils: make "OppNon" more generic to allow "OppNonParentTarget"
add "The Fate of the Flammable", "May Civilization Collapse", "Feed the Machine" and "Surrender Your Thoughts"
update ChooseGenericEffectAI, currently it does prefer others over self, even if targeted wouldn't hurt target player.
2016-06-11 18:39:32 +00:00
Hanmac
7f82601190 TokenEffect: use more of the applyChanges effect for the Keywords (protection from color, landtype walk), Abilities (for each landtype) and also the Name.
Need to add OriginalName, OriginalColors and OriginalTypes for autogenerate TokenFileName or otherwise it will fail
2016-06-11 08:59:54 +00:00
Hanmac
5dcf5c4113 TokenEffect: add applyAbilityTextChangeEffects to the Token Color and Token Types. 2016-06-10 15:28:48 +00:00
Hanmac
e821abf86a Zone: fixed the check in add. Effects and Emblems count as Token and are allowed in Command. 2016-06-10 05:32:52 +00:00
Hanmac
c065dbde0e Add Malfegor Avatar:
add IsUnearthed for Card check and CardUtil.getLKICopy does copy Unearthed too
when a Creature is exiled because of Unearth, use LKI for the ChangesZone Trigger
2016-06-09 08:32:01 +00:00
Hanmac
beadafd2d9 Zone: do not add Tokens to the cardList if its not the Battlefield
that does fix The Great Aurora
2016-06-08 17:11:11 +00:00
Hanmac
2ed6d5d9e4 CardFactory: copy SpellAbility does try to copy X from the SpellAbiityStackInstance
Replicate does try to copy Parent SpellAbility instead of SourceFirstSpell

that should fix xMadness Spells with Replicate
2016-06-07 08:39:45 +00:00
Sol
9c78718a5c - Cleanup "leftover" triggers that in between ability effects. (Fix Glazing Gladeheart + Path of Exile issue) 2016-06-07 01:07:44 +00:00
Hanmac
d6bd09bb99 GameAction: remove some hidden keywords when cards are exiled.
That does fix casting spells with the Second Ability of Jace, Telepath Unbound
2016-06-06 16:37:46 +00:00
Hanmac
5edafc7480 CombatView: use ConcurrentHashMap to prevent Crashing with ConcurrentModificationException 2016-06-05 20:27:32 +00:00
Sol
4dc91ad5cb - Grafted Wargear doesn't detach when targeting the creature it's already equipping 2016-06-04 19:35:27 +00:00
Hanmac
95f7728d03 CountersPutEffect: add check for max so only it does not try to autofill the counters, but also does not try to remove them when current are creater than max.
that fixes Clockwork Beast and similar creatures.
2016-06-03 09:57:34 +00:00
Sol
c760b425e4 - Prevent AI Triggers from hitting the stack when no legal targets are available 2016-06-02 12:35:39 +00:00
Hanmac
f469196f99 ReplaceUntap: need Controller of affected Card, not HostCard of the Ability 2016-06-02 09:16:22 +00:00
Hanmac
d3fb9b0190 ReplaceUntap: fixed in UntapStep that it checks for Controller.
that fixes Freyalise's Winds.
2016-06-02 06:36:13 +00:00
Hanmac
db98f237c6 Card: add sharesCMCWith use it for DifferentCMC in ChangeZoneEffect
also use sharesNameWith for DifferentNames in ChangeZoneEffect
that does fix Seasons Past with SplitCards
2016-06-01 18:37:59 +00:00
Hanmac
cc89541131 Card: add sharesNameWith to respect SplitCards 2016-06-01 14:27:09 +00:00
Hanmac
035b1f35d9 TriggerHandler: fixed getCardState, should be done for all cards with alternate State, not just DoubleFaced 2016-05-31 06:03:31 +00:00
Hanmac
2808a03631 SetStateEffect: from this Effect, cards outside of the battlefield (like graveyard or exile) should not be able to transform. 2016-05-31 02:31:04 +00:00
Hanmac
41479cc3cf TriggerHandler: fixed getCardState, other Zone are okay if the card is not double-faced (i don't know if Flip cards are a problem too) 2016-05-30 17:58:18 +00:00