Commit Graph

1592 Commits

Author SHA1 Message Date
Hanmac
9b525d4409 CardFactoryUtil: add createETBReplacement as helper function for ETBReplacement and update "Enter the Battlefield tapped" a bit.
also add Unleash as ReplacementTrigger and StaticAbility
2016-07-23 19:51:48 +00:00
Hanmac
c4059005df CardFactoryUtil: makeEtbCounter now works without SVar 2016-07-23 14:20:41 +00:00
Hanmac
f694299f6b CardFactoryUtil: add Ninjutsu as Trigger 2016-07-23 11:36:29 +00:00
Hanmac
439ee9edf7 AnimateEffect: add AtEOT from TokenEffect and others 2016-07-23 07:06:22 +00:00
Hanmac
a0e4ba6cc7 TriggerHandler: revert zoneCheck with LKI ... it does break more than it fix. 2016-07-23 07:03:15 +00:00
Agetian
cc186478d4 - A somewhat simpler implementation of untransform condition 2016-07-23 05:09:02 +00:00
Agetian
e5f06f8808 - Fixed Werewolf untransform condition 2016-07-23 05:02:52 +00:00
Sol
9c6d4e69a9 - Initial checkin for Meld (still some kinks to work out, but ya gotta start somewhere)
- Add Graf Rats/Chittering Host and Midnight Scavengers
2016-07-23 01:26:51 +00:00
Hanmac
bc9ac9037b CopyPermanentEffect: move AtEOTTrig before the View is updated, to make the trigger visible 2016-07-22 19:57:39 +00:00
Hanmac
14f5998bec Trigger: make getOverridingAbility copyable (for now only for AbilitySub) 2016-07-22 19:56:34 +00:00
Hanmac
0ebea0a495 SpellAbilityEffect: for TokenEffect and CopyPermanentEffect add "AtEOTTrig".
it works similar to AtEOT but instead of a DelayedTrigger, it will add the Trigger to the Card itself.
2016-07-22 18:15:37 +00:00
Hanmac
82fcfc65c9 CopyPermanentEffect: add PumpKeywords, they are gained instead of the token having them.
(this is important for when a token is copied. gained keywords are not copied.)
2016-07-22 17:34:42 +00:00
Hanmac
c8f31282fb SpellAbilityEffect: extend registerDelayedTrigger to be able to use end of combat. 2016-07-22 17:32:04 +00:00
Hanmac
b7e2c7bf41 CardFactoryUtil: move Conspire to Triggers, and remove it from the Cards itself 2016-07-22 15:11:16 +00:00
Hanmac
3bfccc55e5 SpellAbilityEffect: registerDelayedTrigger: add more modi for what happend at the next end step. 2016-07-22 14:42:27 +00:00
Hanmac
e70abbae7c Card: replace "wasDealtDamageBy*ThisTurn" with "DamagedBy"
also Card: fixed removeTempController Exception
Unscythe, Killer of Kings: fixed card, the equipment should have the trigger, not creature
2016-07-22 13:39:53 +00:00
Hanmac
271ba3c7aa SpellAbilityEffect: add registerDelayedTrigger from CopyPermanentEffect, to be use it in TokenEffect too. 2016-07-22 11:30:57 +00:00
Hanmac
d30bd6ef33 CardTraitBase: fixed WerewolfUntransformCondition for multiplayers 2016-07-22 10:02:29 +00:00
Hanmac
9314f35389 TriggerHandler: for ChangeZoneTrigger isTriggerActive does check for the LKI Zone instead of the current one. 2016-07-22 08:44:27 +00:00
Hanmac
68dcc2db92 CardUtil: set Zone for LKICopy 2016-07-22 08:35:03 +00:00
Hanmac
4abfb4fe8b CardFactoryUtil & PhaseHandler: moved Bushido into Trigger 2016-07-21 16:02:29 +00:00
Hanmac
4710684a2e Card: improved getKeywordMagnitude for Keywords with X, it then does look for a SVar named "KeywordX" 2016-07-21 15:56:47 +00:00
Hanmac
87fb91bcd5 Keyword & KeywordWithAmount: add better replacement for Keywords with X 2016-07-21 15:54:34 +00:00
Hanmac
000c1b41dd CardFactoryUtil & CombatUtil & PhaseHandler: move Rampage to CardFactoryUtil
Keyword: fixed Reminder for Rampage
2016-07-21 11:14:24 +00:00
Hanmac
5d857488fe TriggerAttackerBlocked: use CardLists.getValidCardCount to make things cleaner
also add MinBlockers, to make that the trigger needs a min at blockers.
2016-07-21 11:08:40 +00:00
Hanmac
29b34dcf87 CardFactoryUtil & CombatUtil & PhaseHandler: move Flanking to CardFactoryUtil to turn it into a Trigger 2016-07-21 07:50:48 +00:00
Hanmac
7e58350e34 CardFactoryUtil: Move Madness to addReplacementEffect and addTriggerAbility
Falkenrath Gorger: use Madness with AddKeyword (only effects Hand, because Madness only works with Hand)
2016-07-20 17:17:42 +00:00
Hanmac
c4fe518336 StaticAbilityContinuous: use new Variable to not overwrite the original one. 2016-07-20 15:56:44 +00:00
Hanmac
805e6a718c CardFactoryUtil: add Scavenge as Keyword 2016-07-20 14:37:31 +00:00
Hanmac
dab0a28931 ManaCost & StaticAbilityContinuous: move code from StaticAbilityContinous to ManaCost to make it more reuseable 2016-07-20 14:13:04 +00:00
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