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
Hanmac
478198b43a
fixed DFC Planeswalker: etbCounter only for Original card
...
That is a hotfix patch because it probably should be fixed in the ReplacementHandler.
2016-05-30 06:08:51 +00:00
Hanmac
6f6f372f63
ChangeZoneEffect: updated the code that it does only shuffle once and not per card.
...
Also some cards like Serene Remembrance and Gaea's Blessing should only cause one shuffle event if possible.
2016-05-29 15:27:53 +00:00
Hanmac
74423305e2
CardFactory: Fixed DFC Planeswalker not be able to targeted by damage redirection.
2016-05-27 08:26:38 +00:00
Hanmac
d14e94b609
Card: add IsEquippedBy like isEnchantedBy from GameEntity
...
CardPredicates: use isEquippedBy and isEnchantedBy for Predicate<Card>
2016-05-25 07:18:16 +00:00
Hanmac
5b6fba4bda
CardView: fixed color setting for transformed cards, now it works in the DeckEditor again, and does set the color right in the Game.
...
its still not 100% perfect for SOI cards. (they are the reason for this fixes)
2016-05-21 06:14:36 +00:00
Hanmac
be3bcd07b9
GameAction: LKI is only needed when something is moved from the battlefield.
...
otherwise it does messup with Blink Effects like Eldrazi Displacer.
2016-05-19 08:00:15 +00:00
Hanmac
d7f5c731b8
TriggerHandler: game.getCardState does not work for transformed cards if they does leave the battlefield
2016-05-19 07:05:04 +00:00
Hanmac
cacaca536d
CardView: update the color when it changes its State its a hotfix for some SOI cards, but not finish yet
2016-05-10 15:03:39 +00:00
Sol
6d631c6a96
- Can't clear player cache while a different thread might still need to get the players (ante crash)
2016-05-03 17:27:43 +00:00
jje4th
be23361026
A fix for OncePerEffect script ability applying too much when triggered by costs. Affects The Gitrog Monster and Sidisi, Brood Tyrant. Before the fix if multiple lands are discarded/sacrificed to a single cost (e.g Keldon Arzonist, Zombie Infestatio, etc) it would trigger the Girtog Monster's card draw ability multiple times. (Similar for Sidisi milling multiple creatures as part of a cost. Don't know a card that has mill multiple cards as a cost.)
...
It implements a new stack for tracking cost payments and a wrapper to track the cost payment instance. Change zone triggers use this information to de-dupe multiple triggers firing from the same cost.
2016-05-03 17:25:13 +00:00
Krazy
a34996ee3b
[maven-release-plugin] prepare for next development iteration
2016-05-03 03:12:25 +00:00
Krazy
9b8e57aee3
[maven-release-plugin] prepare release forge-1.5.52
2016-05-03 03:12:15 +00:00
Sol
8203877eca
- Can the AI use MoveCounters without setting targets?
2016-04-30 23:37:48 +00:00
jje4th
dbf7b96111
Support for crawling sensation. Provides the ActivationLimit keyword for triggers now (was already supported on SAs)
2016-04-30 05:45:41 +00:00
jje4th
bc4ee13ca5
The Gitrog Monster was not triggering on discard because of a null check. As far as I can tell the null check was there just to prevent null-ref but indadvertently caused OncePerEffect triggers to fail triggering when the stack is empty (such as when discarding a land card to pay a cost)
2016-04-29 20:17:44 +00:00
Hanmac
8341e92fa6
TokenEffekt: only show power and toughness when the token is a creature
2016-04-29 05:55:14 +00:00
Sol
8c8ef6d595
- Fix Silverfur Partisan interaction with Zada
2016-04-28 02:35:26 +00:00
Sol
fd315ca217
- Reflector Mage needs to use LKI for name remembering
2016-04-27 21:39:08 +00:00
Sol
e873123a8a
- Fix issue with Eye for an Eye
2016-04-26 15:34:18 +00:00
Sol
2a87d86351
- Champions not clearing remembered (by Hanmac)
2016-04-26 15:34:02 +00:00
Sol
632b34e13c
- They do nothing. (Added Pyromancer's Goggles)
2016-04-26 01:00:02 +00:00
Sol
3c39c1b21c
- Added Sin Prodder
2016-04-22 00:52:59 +00:00
Sol
187658aefd
- Fixing some issues with Swiss Tournament, and cleaning up some output
2016-04-21 15:19:06 +00:00
Sol
203a2dbdd6
- Attempting to alleviate some issues with the memory leak
2016-04-21 03:51:24 +00:00
Sol
1375f4b503
- FIrst pass of Swiss Tournaments
2016-04-20 23:24:38 +00:00