Commit Graph

30310 Commits

Author SHA1 Message Date
Hanmac
b1b06fed77 Update Cards to have RedSource istead of Red when they are looking for "red source"
Prevention Effects now does check inside the Effect too (if the color or a source did change), also use ChosenCard instead of Remember, and Cleanup the ChosenCard.
add Ghostly Flame which does add Colorless Damage Source
2016-06-17 13:23:40 +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
Agetian
5cffc8577d - Fixed a little typo. 2016-06-16 18:35:39 +00:00
Sol
128a053c6b - For some reason Skeleton Shard wasn't targeting? 2016-06-16 17:42:13 +00:00
Sol
dbe972886d - Massacre Wurm should reference the triggered controller 2016-06-16 17:31:29 +00:00
Hanmac
7978674351 EffectAi: do not use Prevent effect on something which has already Prevent Effect 2016-06-16 16:42:58 +00:00
Hanmac
e9e7d1bb5a Hidden Retreat: add damage prevention similar to Dromoka's Command 2016-06-16 16:41:13 +00:00
Hanmac
d27f001321 Barbed Wire: add card, like Copper Tablet with damage prevent effect 2016-06-16 12:58:10 +00:00
Hanmac
6b5d372331 Torrent of Lava: add Card, use OriginalHost to get the Source of the Damage 2016-06-16 09:36:09 +00:00
Hanmac
12cebdbf87 Seraph: add Card, use DelayedTrigger and lose Control Effects 2016-06-15 18:46:29 +00:00
Hanmac
1e607538ca Stensia: add Plane, Remember creatures it does only happen once for each creature. 2016-06-15 13:25:15 +00:00
Hanmac
e2b79f1e8c I Bask in Your Silent Awe: add new ongoing scheme 2016-06-15 12:05:20 +00:00
Hanmac
6fe2391adb Krosan Verge: only shuffle once 2016-06-15 12:03:40 +00:00
Hanmac
ae4fc01083 add My Crushing Masterstroke use special Attack to attack owner. 2016-06-14 16:34:08 +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
Hanmac
116220a2ef add Firestorm Phoenix: you can look at it when it did return to hand, and it can't be played 2016-06-14 08:08:33 +00:00
Hanmac
e9f32d344e ChooseGenericEffectAi: add Logic for SelfOthers cards, only use self, if it doesn't has consequences 2016-06-14 07:52:25 +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
c6ad6d30d0 BecomesTarget: does add inZoneBattlefield checks for BecomesTarget Trigger 2016-06-12 19:08:51 +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
Agetian
b724f44ea6 - Android build publish 1.5.53.002 (forgot to update this) 2016-06-10 05:56:55 +00:00
Agetian
edc9cb939c - Android build publish 1.5.53.002 (hotfix for broken effects in command zone) 2016-06-10 05:49:44 +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
792fbf00b4 The Great Aurora: remove unneeded CleanImprint 2016-06-09 08:26:57 +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
Agetian
2b0261aa49 - Added alternate token images for the Clue token to cards which were missing TokenAltImage. 2016-06-07 08:05:20 +00:00
Agetian
1cda0e7584 - Updating Mobile Forge project definitions in preparation for deployment of a new Android build. 2016-06-07 04:30:51 +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
3c2a6fbaa3 ComputerUtil; add more checks for hasACardGivingHaste:
add Check for StaticAbilities for non-Equipment
add Check for Trigger which does trigger on EnterTheBattlefield
and ad Check for Special Cases like Anger and Odric
2016-06-04 10:44:57 +00:00
Hanmac
4ceceb15e1 Mirror-Sigil Sergeant: make the Trigger Optional 2016-06-03 10:16:14 +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
2350eed06a - Eternal Masters Rankings 2016-06-02 16:18:14 +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
03ab296f59 MindBlaze: add Shuffle Effect
Prophecy: use better ParentTarget
2016-06-01 10:50:27 +00:00
Hanmac
a3e01bbb84 Eternal Masters: fixed more Rarity 2016-06-01 08:36:42 +00:00
Hanmac
2077b7f71e Eternal Masters: fixed Rarity 2016-06-01 05:10:10 +00:00
Agetian
bb8274b0b5 - Allow generation of Eternal Masters booster packs for draft and sealed games. 2016-06-01 03:53:38 +00:00