Commit Graph

2538 Commits

Author SHA1 Message Date
Hanmac
4c9f84602e SpellAbility: hasProperty add more properties 2017-07-09 08:46:59 +00:00
Blacksmith
ffb1cddff4 [maven-release-plugin] prepare for next development iteration 2017-07-08 18:41:58 +00:00
Blacksmith
95bd589291 [maven-release-plugin] prepare release forge-1.6.0 2017-07-08 18:41:48 +00:00
Hanmac
829a9eccde Card: hasProperty: extend some Ctrl properties to work with Own too 2017-07-08 15:57:20 +00:00
Hanmac
5b1c9d6de4 ReplaceMoved: add Cause and NotCause parameter 2017-07-08 04:48:12 +00:00
Hanmac
a80902ae4d SpellAbility: add Cycling to hasProperty 2017-07-08 04:38:49 +00:00
Hanmac
0db00666d1 Card: fixed addEtbCounter 2017-07-08 04:14:40 +00:00
Hanmac
c04bae00d0 Card: EtbCounters now use a Table to store what the cause of the etb counter was, for something which does care about that 2017-07-07 18:30:29 +00:00
Agetian
3b47418826 - Imports fix. 2017-07-07 16:34:34 +00:00
Agetian
4c2b35c488 - Added a runtime parameter to TriggerCountered that contains the spell ability that was countered (for use in cards that care whether the countered SA is a spell or an ability). 2017-07-07 16:33:10 +00:00
Hanmac
eaadc8e09c ChangeZoneEffect: WithCounters should be go throuh etbCounter function 2017-07-07 16:25:37 +00:00
Hanmac
458642977c CardFactoryUtil: allow FullCost to have Param for AILogic 2017-07-07 05:46:27 +00:00
Hanmac
ff071e1374 Card: add Extra Cost into getAbilityText for Permanent 2017-07-06 18:04:15 +00:00
Hanmac
c581531cff GameAction: fix ETB counters with Solemnity 2017-07-06 08:45:07 +00:00
Hanmac
506a15f839 MeldEffect: add the Exile parts into MeldEffect 2017-07-05 21:16:36 +00:00
Hanmac
b5514c014f Card: add MeldWith info into getAbilityText 2017-07-05 21:13:51 +00:00
Agetian
e6b762b6b7 - Added code support for shared keywords to AF Pump (needed for Majestic Myriarch). 2017-07-05 04:40:39 +00:00
Hanmac
ee0845ab3c CardFactory: fixed makeToken and Keywords 2017-07-04 15:20:07 +00:00
Hanmac
f338aa1f80 Card: for MayEffectFromOpeningHand, look for the SpellDescription directly 2017-07-04 09:08:10 +00:00
Hanmac
8802eea032 GameAction: fixed unlikey equals 2017-07-04 08:57:16 +00:00
Agetian
54e3d48d47 - NPE prevention in SacrificeEffect. 2017-07-03 19:04:20 +00:00
Agetian
8bedbfa853 - Fixed ReplaceDyingCondition mistype causing Scorching Lava not to work correctly. 2017-07-03 03:57:11 +00:00
Agetian
ae1f9d9ca8 - NPE prevention when trying to add KW Alternative Cost to a card with no spell abilities (e.g. a Vanguard avatar). 2017-07-02 12:49:04 +00:00
Agetian
9fe7ee457a - Removed an extra empty line. 2017-07-02 04:30:51 +00:00
Agetian
14d2b8ae61 - Fixed Unequip triggers triggering twice. 2017-07-02 04:30:15 +00:00
swordshine
6c104d2751 - Fixed Vizier of the Anointed 2017-07-01 09:39:36 +00:00
swordshine
497b8cb215 - Crew triggers when it's activated 2017-07-01 05:43:36 +00:00
swordshine
538df24c9b - HOU: Added Overwhelming Splendor 2017-06-30 11:17:36 +00:00
Agetian
70df2d2d97 - Removing a temporary experimental check in Spell.java that does nothing. 2017-06-30 07:12:31 +00:00
Agetian
986f95b46b - Attempting to fix Suspend by making it exempt from the canPlay() check in HumanPlay.
- Better place for IsCastFromPlayEffect SVar assignment + cleanup
- Adding some previously missed card fixes from Marek.
2017-06-30 07:11:56 +00:00
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