Commit Graph

1812 Commits

Author SHA1 Message Date
Hanmac
8d1b533f4f ProtectAllEffect & ProtectEffect: use updateKeywords when a Protection is added 2016-07-15 09:44:29 +00:00
Hanmac
f61cf0f929 StaticAbilityContinuous: applyContinuousAbility: use StringUtils.capitalize for ChosenColor 2016-07-15 09:40:41 +00:00
Hanmac
c1b818e813 DebuffEffect: improved the removing of Protection, while something has protection from all colors or some special wording like Spectra Ward 2016-07-15 08:20:10 +00:00
Hanmac
94fdf94383 Card: add Protection form all colors, this is better than splitting it into different colors 2016-07-14 19:20:25 +00:00
Hanmac
ffd6ab924d CharmEffect: prevent setTargetCard from doing an warning, when copy the target, when no target is given 2016-07-12 18:20:08 +00:00
Hanmac
3dacb43a9c ReplaceDiscard: add ReplacedSource so using it in Player for the Cause of the Discard Effect 2016-07-12 06:21:02 +00:00
Hanmac
56ee36c7a3 AbilityUtils: applyTextChangeEffects: some fixes about textChange
now replacement does not try to replace what was already replaced. (in description with a strike)
exclude the ChosenColor from Any (replace Blue to Blue doesn't make any sense)
for Types does use PluralType, that does help to replace "Forests" with "Plains", but also fixed the Problem with replaceing Creature Types in Keywords which are written as Plural and should stay as such.
2016-07-11 13:41:30 +00:00
Hanmac
6ce4256f2f CardUtil: add LandTypes to plural/singular Maps 2016-07-11 13:33:32 +00:00
Hanmac
7dc270565f CardTraitBase: add OriginalMapParams for TokenEffect 2016-07-11 05:02:43 +00:00
Hanmac
11c414c5d7 Effects: for that which are not direct SubAbilities, apply the changeText if the parent is Intrinsic 2016-07-11 05:01:04 +00:00
Hanmac
4662e9b542 ChangeZoneEffect: removeing a Spell from Stack is special, and does need to set ExiledWith too 2016-07-09 18:22:02 +00:00
Hanmac
d0133a0f86 CopyPermanentEffect: add SetPower and SetToughness, but they should overwrite CDA and they should not copied. 2016-07-08 11:21:44 +00:00
Hanmac
bea96b6aaf CloneEffect: SetPower and SetToughness should overwrite CDA and they should not copied. 2016-07-08 11:17:03 +00:00
Sol
abf66a5555 - Improving how the AI handles certain counterspells especially Hive Mind + Pact of Negation. 2016-07-07 17:54:43 +00:00
Hanmac
641e4cba68 Card: update Type, color and keywords of the view if they have changed on StateChange 2016-07-06 11:22:59 +00:00
swordshine
c6106d7f58 - EMN: Added Lupine Prototype by Marek 14
- EMN: Added Decimator of the Provinces (Emerge)
2016-07-03 08:09:31 +00:00
Hanmac
6db36f78fd Card, and Effects: add ExiledWith Attribute, that is used for Linked Abilities with stuff like "exiled with CARDNAME" 2016-07-02 12:14:45 +00:00
Hanmac
b9fac30bc8 Card: add StrictlySelf to have timestamp check, also add cards where that is used 2016-07-01 17:54:49 +00:00
Hanmac
5dcee79d54 EffectEffect: now does treat emblems different than Effects, also does try to guess the ImageKey from Name for Emblems
shows the PlaneswalkerType for the Emblem but thats only cosmetic.
2016-07-01 17:41:19 +00:00
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