Commit Graph

2908 Commits

Author SHA1 Message Date
Agetian
b06d639bff - Fixed stack description of AF RevealEffect. 2017-06-29 18:11:46 +00:00
Agetian
ea28c67ffd - A temporary hacky fix to make it possible to disable the damage prevention replacement effects when a card loses the relevant keyword (e.g. Glittering Lion).
- Most likely won't work in certain corner cases, so it's in until a rewrite is done to properly support this.
2017-06-29 16:24:12 +00:00
Agetian
7080f777e2 - Fixed Phyrexian Portal. 2017-06-29 15:22:27 +00:00
swordshine
246542bdad - Removed hasLevelUp 2017-06-29 05:45:00 +00:00
Hanmac
84f13fe9c9 Card: remove unused hasEmbalm and hasEternalize again 2017-06-29 04:40:09 +00:00
Hanmac
98f97f8fb8 CopyPermanentEffect: fixed Embalm trigger and fix some Remove StaticAbilities too 2017-06-29 04:35:31 +00:00
swordshine
2c91682a23 - HOU: Added Vizier of the Anointed 2017-06-29 02:33:42 +00:00
Agetian
4e48078d2b - Clean up PayX and SunburstValue when a card goes to a zone like graveyard,exile,etc., so that it's not remembered in case a card is replayed via something like Goblin Dark-Dwellers. 2017-06-28 19:37:42 +00:00
Agetian
65a303f71c - NPE prevention in SpellAbility#canTarget. 2017-06-28 13:51:45 +00:00
Agetian
247f8f5be1 - Integrating the zone restriction check as a mandatory part of SpellAbility#canTarget. 2017-06-27 16:35:49 +00:00
Agetian
39267c0a9a - Fixed trigger description of Afflict. 2017-06-27 10:45:01 +00:00
Agetian
1ea54bcd45 - Reverted previous commit (doesn't work as intended). 2017-06-27 03:38:23 +00:00
Agetian
6a43403d6c - Better fix for the AI cheating with X values on replay (fixing the cause and not the effect). 2017-06-27 03:09:29 +00:00
Agetian
83d34ee456 - Attempting to improve feedback notification messages for Munda, Ambush Leader and other similar cards. 2017-06-26 19:25:07 +00:00
Agetian
ef38f82d1e - Added a way for the complex unless cost to specify a fallback ability that fires when neither unless cost ends up being legally playable.
- Made it possible for the AIPreference card parameter to specify multiple cost preferences using the standard pipe delimiter.
- Made the complex unless cost in ChooseGenericEffect a little more generic (TODO: we need to generalize it using a "can pay" check of some kind to make the logic both simpler and more universal).
2017-06-26 11:30:59 +00:00
Agetian
9e37b9a01c - Updated ChooseGenericEffect to determine if one of the choices is not valid and then exclude the relevant choice (currently tries to determine the presence of "SAs your opponents control can't cause you to sacrifice permanents" in presence of Sigarda, Host of Herons; to be used for cards like Torment of Hailfire). 2017-06-26 08:08:06 +00:00
Hanmac
885c95c2b9 CopyPermanentEffect: Fixed SetColor using the right Name
refactor "remove characteristic static abilties"
2017-06-26 04:46:45 +00:00
Hanmac
c7a8b25b5b CardFactoryUtil: do Devoid as Static Ability
remove Entwine because it's optional Cost now
2017-06-26 04:42:14 +00:00
Krazy
cd7a00ab05 Increment version numbers 2017-06-26 03:57:43 +00:00
Blacksmith
b9a6fc507a [maven-release-plugin] prepare for next development iteration 2017-06-26 03:21:20 +00:00
Blacksmith
9fe8948f0b [maven-release-plugin] prepare release forge-1.5.65 2017-06-26 03:21:11 +00:00
Hanmac
9e84472d4c CopyPermanentEffect: add missing SetColor, move the remove Static Abilties into later code and check them for Embalm and Eternalize too 2017-06-25 23:59:07 +00:00
Agetian
a5f0a08bd9 - Fixing imports. 2017-06-25 05:26:58 +00:00
Agetian
f66532049e - A somewhat cleaner implementation of SetCreatureTypes in CopyPermanentEffect. 2017-06-25 03:40:06 +00:00
Agetian
dced441209 - CopyPermanentEffect: update SetCreatureTypes to correctly maintain supertypes and core types of the original card (for The Scarab God). 2017-06-25 03:37:45 +00:00
Agetian
52cad4cc8e - Fixing imports. 2017-06-25 03:11:10 +00:00
Agetian
88304beb1b - Added an additional zone check for ChangeTargetsEffect/ChangeTargetsAi so that it's impossible to retarget a spell targeting something only in the graveyard/exile/etc.
- Most likely the zone check should be a mandatory part of SpellAbility#canTarget, but that has too much breaking potential, so I'll test it post-release.
2017-06-25 03:10:34 +00:00
Agetian
56a3b65804 - Added code support for SetTypes in CopyPermanentEffect. 2017-06-24 19:39:32 +00:00
Agetian
32ae08986e - Updated Transgress the Mind to reveal the hand to everybody and then let the player choose a card and exile it (with an additional switch not to reveal the hand two times to the activator). 2017-06-24 10:37:46 +00:00
Agetian
33a9638205 - AF ChangeZoneAll: when searching someone else's hand, reveal the cards in it first to the activator of the ability (since searching the zone involves seeing what's in it first). 2017-06-24 09:33:15 +00:00
Agetian
4b9f226949 - Experimental: always check the combat LKI when determining if a card was blocked, since isInPlay can't be used at this point to determine if a card is still on the battlefield (combat methods receive LKI copies of cards?). This fixes e.g. Abu Ja'Far not working correctly when blocking a creature, but has potential to break something, please keep your eyes open. 2017-06-23 16:56:34 +00:00
Agetian
648023f66d - Fixed the wrong player being marked as a loser when winning the game via a spell effect (alt wincon), which led to various side effects, most notoriously awarding a mythic Hellbent achievement when winning via an alt wincon such as Felidar Sovereign. 2017-06-23 15:48:30 +00:00
swordshine
397924034b - HOU: Added 2 cards 2017-06-22 11:14:52 +00:00
Krazy
6e891101ce Add new counter display and associated preference; clean up preferences screen a little 2017-06-22 02:25:06 +00:00
Hanmac
581ffadfb1 CardFactoryUtil: do Persist and Undying as DB 2017-06-21 19:04:16 +00:00
Agetian
850e446fbe - Only show the Retrace optional cost for cards in graveyard. 2017-06-21 13:53:34 +00:00
Agetian
ceb7951dcb - A somewhat better play effect check which only ignores timing and activator restrictions for a spell, but tests everything else (so it's impossible e.g. to cast a Retrace spell 2017-06-21 13:48:28 +00:00
Agetian
70a6032e68 - A different approach to remedying the broken Play Effect problem (uses a dedicated SVar on a SpellAbility). 2017-06-21 13:33:11 +00:00
Agetian
c9fef205e4 - Fixed visualization of Kicker alt cost name in the dialog window. 2017-06-21 12:19:44 +00:00
Hanmac
e29ec6fb83 GameActionUtil: add getOptionalCostValues to return OptionalCost with its Cost objects
SpellAbility: add canPlayWithOptionalCost
PlayerControllerHuman: got formated
2017-06-21 04:23:30 +00:00
Hanmac
d2b1c17f4e OptionalCost: add Name to Enum to have Kicker display as the same
OptionalCostValue: add Holder for enum -> cost
2017-06-21 04:17:11 +00:00
Hanmac
055bce58ce Surge: removed part from restriction and use OptionalCost value of SpellAbility 2017-06-19 18:00:38 +00:00
Hanmac
a5069036cd CardTraitBase: add more Desert flags 2017-06-17 23:12:04 +00:00
Hanmac
8ba50cf61f Player: add hasDesert for Desert Battlefield or Graveyard checks 2017-06-17 13:17:03 +00:00
swordshine
4881224b06 - HOU: Added Oasis Ritualist 2017-06-17 08:19:41 +00:00
Hanmac
39d22d1912 GameAction: remove outdated keyword "If CARDNAME would be put into a graveyard, exile it instead." 2017-06-17 08:01:54 +00:00
Hanmac
1dc8f21244 PlayEffect: add ReplaceGraveyard 2017-06-17 07:54:59 +00:00
Hanmac
e36ad290ab Player: add Triggered into hasProperty 2017-06-17 07:53:19 +00:00
swordshine
788e60bc6a - HOU: Added Adorned Pouncer and Steadfast Sentinel 2017-06-17 06:38:32 +00:00
swordshine
5ff714c139 - HOU: Add Nissa, Genesis Mage 2017-06-17 05:41:53 +00:00