Commit Graph

1812 Commits

Author SHA1 Message Date
Hanmac
e8b78e65dd AbilityFactory & CharmEffect: do create the SpellDescription from its Choices 2016-07-26 16:59:04 +00:00
Hanmac
2f5102d01d MagicStack: prevent crash caused by Devtools 2016-07-26 16:41:26 +00:00
Agetian
b5dcda6ef0 - [Hotfix] Fixed Ulrich of the Krallenhorde and Huntmaster of the Fells "Transformed" triggers crashing with a No API error. Please review and update if necessary. 2016-07-26 16:26:29 +00:00
Hanmac
db258031bf CardFactoryUtil: fixed output for Escalate with not only manacost 2016-07-26 15:10:57 +00:00
Sol
d41c0bc3e0 - Add changes to allow for a one of the two piles to be facedown
- Add Fortune's Favor
2016-07-26 14:32:42 +00:00
Hanmac
5bf160bcb6 CostAdjustment: avoid params.getOrDefault, its not available in earlier java versions 2016-07-26 13:12:46 +00:00
Hanmac
1cf4bc02fd CostAdjustment does absorb ManaCostAdjustment 2016-07-26 10:19:17 +00:00
Hanmac
c9b5bba65b CardFactoryUtil: do Escalate as Keyword 2016-07-26 08:42:59 +00:00
Hanmac
db7d07b170 CostAjustment: remove one count by Escalate too. 2016-07-26 08:25:47 +00:00
Hanmac
eee1e26bc2 CardFactoryUtil: Strive is a keyword now using better raise cost 2016-07-26 07:52:16 +00:00
Hanmac
35bba44c04 ManaCostAdjustment: disable RaiseCost for something with "Cost",
to prevent it colide with new CostAdjustment
2016-07-25 18:31:27 +00:00
Hanmac
2fe1278a85 CostAdjustment: use RaiseCost already but check for Cost parameter 2016-07-25 12:43:35 +00:00
Hanmac
f24d6cb86b CostAdjustment: add new Adjustment class for raising non-mana costs
should somehow merged with ManaCostAdjustment later
2016-07-25 10:39:49 +00:00
swordshine
153b14446f - Fixed spell description of Wailing Ghoul 2016-07-25 07:12:17 +00:00
Sol
29cae3e892 LKI should also grab getMeldedWith 2016-07-25 01:53:32 +00:00
Hanmac
4d21e610f7 CardFactoryUtil & GameAction: turn Persist and Undying into Triggers 2016-07-24 16:20:39 +00:00
Agetian
d5787897b0 - Fixed Permeating Mass triggering for cards in graveyard (might need a more generic solution later). 2016-07-24 14:17:06 +00:00
Hanmac
21d2ebf05c CloneEffect & CardFactory: fixed Clone of a Meld card 2016-07-24 11:00:08 +00:00
Hanmac
86d9d2e5f7 CardDb & CardRules & Card & CardFactory: use MeldPair to get the Backside from the Secondary
if CardFactory use StaticData to get the other card
2016-07-24 07:14:51 +00:00
swordshine
1a33df88f9 - EMN: Added Bruna, Gisela and Brisela 2016-07-24 05:01:06 +00:00
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