Commit Graph

1812 Commits

Author SHA1 Message Date
Hanmac
7ebd88bf8d CardFactoryUtil: move Devour to addReplacementEffect
Card: use Keyword getReminderText for Devour
Jund: use Animate Keywords for Devour:5
2016-07-20 12:18:56 +00:00
Hanmac
4015bda00a CardfactoryUtil: move Bloodthrist to addReplacementEffect
Bloodlord of Vaasgoth: use addKeyword
2016-07-20 11:39:55 +00:00
Hanmac
fc7f9407ca CardFactoryUtil: add Dethrone into addTriggerAbility, also rewrite it for Cascade, can't have the loop inside.
Dack's Duplicate & Marchesa, the Black Rose : updated to use addKeyword for Dethrone
2016-07-20 11:26:47 +00:00
Hanmac
3e6771ca85 CloneEffect: extra added Keywords need to go through CardFactoryUtil to be turned into Triggers and Keywords 2016-07-20 11:22:46 +00:00
Hanmac
6c40adf089 CardFactoryUtil: move Cascade to addTriggerAbility
Maelstrom Nexus: turn Trigger into Static with Keyword
2016-07-20 10:30:34 +00:00
Hanmac
7f01da10eb CardFactoryUtil & Card: move Uneath to addSpellAbility
Sedris, the Traitor King: make this card more easier.
2016-07-20 10:18:18 +00:00
Hanmac
6b2e718f37 KeywordsChange & CardFactoryUtil: add SpellAbilities that can be created by Keywords 2016-07-20 08:32:38 +00:00
Hanmac
f52aa96ca1 Card: add some changes in the keyword output
Keyword: add Soulbond
2016-07-20 08:22:17 +00:00
Hanmac
e56bef4306 CardFactoryUtil & PhaseHandler: make Exalted a real Keyword 2016-07-20 08:07:54 +00:00
Hanmac
83a810e710 CardFactoryUtil: move Extort to addTrigger
Pontiff of Blight: cleanup the code
2016-07-20 08:01:12 +00:00
Hanmac
5d3ffcce0f CardFactorUtil: make "makeEtbCounter" an extra function to use it elsewhere 2016-07-20 07:52:48 +00:00
Hanmac
0d2d233fec Card: Fix removed duplicated line 2016-07-20 07:48:37 +00:00
Hanmac
2c00afd42a Card: add some missing part about changedCardKeywords 2016-07-20 07:47:54 +00:00
Hanmac
74dd8cd90d Card & CardFactoryUtil & KeywordsChange: now adding Keywords to card, does add Trigger and Replacement effects into it. 2016-07-20 07:44:07 +00:00
Hanmac
34d3b57bdb Card: remove unused Keywords which are replaced with CantTarget 2016-07-20 07:30:01 +00:00
Hanmac
f9048a81a2 Keyword: add more keywords and fixed the Type for some of them. 2016-07-20 06:23:55 +00:00
Hanmac
6cc0708a35 KeywordWithAmount: add parse, and improve reminderText for keywords with X 2016-07-20 06:23:27 +00:00
Hanmac
9419e8bd6a KeywordInstance: improved getReminderText to use some pluralification with "{\d:+1/+1 counter}"
might be improved to have pluralification from creature and other types too.
2016-07-20 06:22:25 +00:00
Hanmac
2334e1c35d KeywordWithAmountAndType: add class for Amplify 2016-07-20 06:16:16 +00:00
Hanmac
b448b49380 KeywordWithCostAndAmount: add parse 2016-07-20 06:15:33 +00:00
Hanmac
825497833e KeywordWithCost: add parse and improve getReminderText 2016-07-20 06:14:43 +00:00
Hanmac
f047062369 KeywordWithType: add parse of the info 2016-07-20 06:13:40 +00:00
Hanmac
ea545acbf9 StaticAbility: Fixed layer Problem with my recent changes 2016-07-20 05:20:15 +00:00
Hanmac
28f7df0933 StaticAbility & StaticAbilityContinuous: "can't gain or have" is now applied in Ability1 Layer, instead of Rules later. 2016-07-19 19:05:20 +00:00
Agetian
d46c53668b - Fixed Scrying Sheets not showing the top card of the library to the card's controller. 2016-07-19 18:07:57 +00:00
Hanmac
49b00ca650 GameAction: don't clear ExiledWith when card is moved to Stack. (because it can't know if the spell was canceled) 2016-07-19 06:31:27 +00:00
Hanmac
9ca43bcb17 PlayEffect should only forget if the cast was successful 2016-07-19 06:29:37 +00:00
Sol
7661e44e2b - Kaalia of the Vast has a defined Defender 2016-07-18 21:56:42 +00:00
Agetian
d8eba36dcb - A simpler fix for Kaho, Minamo Historian that does not need an extra parameter in AB Play. 2016-07-18 12:54:51 +00:00
Agetian
2ce131f7bb - Added ForgetTargetRemembered to AB Play which removes only one (target) remembered card instead of clearing the entire remembered list.
- Fixed Kaho, Minamo Historian by making it forget cards one by one as they are played.
2016-07-18 10:54:46 +00:00
Hanmac
ec762d652f CombatUtil: add "CARDNAME can block creatures with landwalk abilities as though they didn't have those abilities."
ts not a global deactivating, but a local one.
2016-07-18 07:52:09 +00:00
Hanmac
fc046a582d ReplacementHandler: do FaceDown check for Necropotence 2016-07-18 05:08:08 +00:00
Hanmac
96d1c1c6db CombatUtil: add MustBeBlockedBy for Slayer's Cleaver 2016-07-17 20:12:40 +00:00
drdev
4ecb5e17fa Fix compile warnings 2016-07-17 18:41:00 +00:00
Hanmac
87f47dc570 CardFactoryUtil: add SacrificedThisTurn to be used with Count 2016-07-17 12:42:45 +00:00
Hanmac
60f53fb369 GameAction & Player: move the Sacrifice Trigger to Player and add SacrificedThisTurn to keep track of what was sacrificed. 2016-07-17 12:34:21 +00:00
Hanmac
d0755c4cba TriggerDamageDone: add OncePerEffect 2016-07-17 12:30:13 +00:00
Krazy
6d9a7146b3 [maven-release-plugin] prepare for next development iteration 2016-07-17 00:57:42 +00:00
Krazy
a4ab46bc8c [maven-release-plugin] prepare release forge-1.5.54 2016-07-17 00:57:30 +00:00
Hanmac
0c0ed397e0 AbilityUtils: the Helper should only replace it if card has this variable, otherwise it might be false positives 2016-07-16 11:08:02 +00:00
Hanmac
f7cc29aaa0 AbilityUtils: using ImmutableList for the comperators 2016-07-16 10:56:33 +00:00
Hanmac
6ee50faf8e AbilityUtils: if filtering a ListByType check for other Compare like LT, LE, GT, GE too
it does optimize the calculating
2016-07-16 04:37:53 +00:00
Hanmac
c44876d1e0 Card: hasProperty cmc uses AbilityUtils.calculateAmount to get the compared value 2016-07-16 04:29:43 +00:00
Hanmac
a79d066949 DelayedReveal: use empty string as default to prevent crashing 2016-07-15 16:38:10 +00:00
Hanmac
115c125886 DigEffect: add MessagePrefix for DelayedReveal, to prevent crashing 2016-07-15 16:37:07 +00:00
Hanmac
86de7cd591 GameAction & TriggerSacrificed: give the TriggerSacrificed to CostPaymentStack and its peek.
add WhileKeyword to TriggerSacrificed, to check if a Spell with given Keyword is on CostStack (or its cost is in paying)
Currently used once for Emerge
2016-07-15 14:49:00 +00:00
Hanmac
80ffb62a4a CostPayment & IndividualCostPaymentInstance: need access to the SpellAblity from the PaymentInstance over the CostPayment object 2016-07-15 14:45:00 +00:00
Hanmac
5ff0845311 CostPaymentStack: while not changeable, it should be Iterable to look whats inside 2016-07-15 14:42:45 +00:00
Hanmac
a06b1c8ef1 Player: DiscardToTopOfLibrary and Madness are replacement discards, that should not trigger other Replacement again 2016-07-15 11:16:24 +00:00
Hanmac
811c8ae1e8 DebuffEffect: Protection Keywords with ChosenColor are Capitalized, need to use regex for matching 2016-07-15 10:32:18 +00:00