Commit Graph

31636 Commits

Author SHA1 Message Date
Hanmac
dad9a04f60 SpellAbility: add findSubAbilityByType Helper function 2016-11-27 19:31:16 +00:00
Hanmac
eb2bd76ac2 WrappedAbility: use getTriggeringObjects, can't use RunParams because they might be overwritten. 2016-11-27 16:47:46 +00:00
Hanmac
5b763c63b7 AiCostDecision: fixed CounterType for Quest logic 2016-11-27 09:02:21 +00:00
Hanmac
142652729c GameActionUtil: fixed order of SetHostCard and SetActivationPlayer for Splice Cards 2016-11-26 14:01:19 +00:00
Hanmac
61dd6e992b Helm of Kaldra: fixed References, fixed some code if something else get the Ability and update oracle 2016-11-26 12:39:38 +00:00
Hanmac
cf9095b2ad AI now knows how to use Chisei 2016-11-26 12:11:41 +00:00
Hanmac
f14c4ab564 AiCostDecision: CostRemoveAnyCounter add logic how to remove counters from cards. 2016-11-26 11:57:25 +00:00
Hanmac
1811724beb Thing in the Ice: add DeckHints and use ConditionPresent 2016-11-26 11:39:05 +00:00
Hanmac
7144059251 oviya: add TokenImage and add DeckHints 2016-11-26 11:34:46 +00:00
Hanmac
ab5148d8f9 Timberline Ridge: updated use of counters_GE1_DEPLETION 2016-11-26 11:31:28 +00:00
Hanmac
29a0adcfff cards: update Cards with Quest counters, they now got MaxQuestEffect SVar to check their max. Also add DeckHints and Update Oracle Text 2016-11-26 11:27:28 +00:00
Hanmac
fdcf7be18a ComputerUtil: extend isNegativeCounter with more counters and Special cases
add isUselessCounter for Counters with no effect
2016-11-26 11:23:47 +00:00
Hanmac
1e7d900ba0 CardLists.filter now uses Predicates.and 2016-11-26 10:26:10 +00:00
Hanmac
f341d2cdb1 CardPredicates: add more Predicates for Counters 2016-11-26 10:20:28 +00:00
Hanmac
df81795426 CostExile: use more convertAmountTypeToWords to get better formated cost 2016-11-22 20:32:08 +00:00
Hanmac
cc8732715d Goryo's Vengeance: use AtEOT$ Exile for the Trigger 2016-11-21 19:01:15 +00:00
Hanmac
02d1699663 AbilityActivated: need to be cloneable too 2016-11-21 18:57:42 +00:00
Hanmac
2c7bcf31b7 Fixed Problem with TriggeringObjects on OverwritingAbility
for that AbilitySub need to be clonable too, and if a SpellAbility is cloned,
the triggeringObjects Map does need to be cloned extra.
2016-11-21 06:17:04 +00:00
Hanmac
5c6376557d CardFactory: makeToken: prevent a copy to be done with the first token 2016-11-21 05:39:12 +00:00
Myrd
0bb4356d05 Fix lazy-loading cards from zip. 2016-11-20 23:47:15 +00:00
Hanmac
a70afad681 cards: updated cards with using new MultiplyCounter API 2016-11-20 15:06:57 +00:00
Hanmac
c9d6f72d77 CountersMultiply: add new API type for double counters on cards
remove it from RepeatEachAi
add more AI logic into it. it does support Strive Spell
2016-11-20 15:03:27 +00:00
Hanmac
df1557831d SpellAbility: fixed new Helper for WrappedAbility 2016-11-20 14:07:57 +00:00
Hanmac
88d919cb81 CardPredicates: add compareByCounterType to sort by the amount of counters of a given Type 2016-11-20 11:45:16 +00:00
Hanmac
07cb03889f SpellAbility: add helper functions to check if more Targets can be added. 2016-11-20 11:34:00 +00:00
Agetian
230bef59fa - Fixed some rarities in Commander 2016 edition file according to Indigo Dragon's list of fixes. 2016-11-20 11:19:42 +00:00
Hanmac
7a36b36835 CountersProliferateAi: use better AI logic 2016-11-20 09:23:57 +00:00
Hanmac
ab8401fadf Spell: fixed flickering of Bestow creatures.
it should not need to check if Card can be played with Bestow
if it is already on the Battlefield.
2016-11-19 17:52:03 +00:00
Hanmac
7400baf1c7 Card & Player: changed Commander Effect to work with multiple Commanders
Player: removed Leftover from Miracle
2016-11-19 16:47:09 +00:00
Hanmac
a78cd7cb54 CardFactoryUtil: moved Evolve to new Trigger Format 2016-11-19 10:52:14 +00:00
Hanmac
34017dbce4 cards: fixed Dreampod Druid 2016-11-18 20:10:29 +00:00
Hanmac
3c5eb2248b CardFactoryUtil: Miracle is a Trigger now, and make PlayAi a bit better to check if it can play it 2016-11-18 19:55:05 +00:00
Hanmac
959fd5471e CardFactoryUtil: fixed Haunt trigger 2016-11-18 19:08:09 +00:00
Sol
474fbcb8ab - Fix Damping Engine casting cost 2016-11-17 20:05:26 +00:00
Sol
1b875d94a3 - Fix PT of sinuous_vermin.txt 2016-11-17 13:25:59 +00:00
excessum
4178d0f7e3 - Fixed timing for AI self-mill
- Fixed chkAIDrawBack() for ChooseCardAi
2016-11-17 06:57:09 +00:00
Sol
09ec692374 - Revenant characteristic defining ability wasn't written appropriately. 2016-11-16 20:48:13 +00:00
Hanmac
b6465a9c6f CardFactoryUtil: move part of Unearth into ChangeZone Effect to use registerDelayedTrigger Helper 2016-11-16 16:28:17 +00:00
Hanmac
3af0976cd3 SpellAbilityEffect: make registerDelayedTrigger output better with using Lang.joinHomogenous and use intrinsic 2016-11-16 16:25:01 +00:00
Hanmac
b5f30b687f CardFactoryUtil: moved Transmute to new Format 2016-11-16 12:02:14 +00:00
Hanmac
72df8e241b cards: updated cards with DelayedTrigger 2016-11-16 09:30:30 +00:00
Hanmac
852f6b77d6 DelayedTriggerEffect: add CopyTriggeringObjects when RememberObjects does not work 2016-11-16 09:25:07 +00:00
Hanmac
ff947651f0 AbilityUtils: add helper for getDefinedPlayers, that makes DelayTriggerRememberedController and others possible 2016-11-16 08:45:01 +00:00
Hanmac
e9ddecbc8c AiController: checkETBEffects: make it better working with OverridingAbility (and use better getAbility function) 2016-11-16 06:23:15 +00:00
Hanmac
5ac07c67af Pharagax Giant: fixed TrigNotTribute Ability 2016-11-16 06:18:57 +00:00
Sol
76f125d215 - Executed trigger subabilities either need to be "DB" or contain "Cost$ 0" 2016-11-15 15:46:52 +00:00
excessum
f698239c86 - Voltaic Brawler does not have Trample 2016-11-15 09:28:15 +00:00
Hanmac
5729ec0779 ComputerUtil: getDamageFromETB fixed Trigger with OverwridingAbility 2016-11-14 21:00:33 +00:00
Hanmac
e79ebedced CardFactoryUtil: make LifeLostThisTurn work with multiple players 2016-11-14 20:49:58 +00:00
Hanmac
997ac450fb CardFactoryUtil: fixed Trigger for Annihilator 2016-11-14 07:45:28 +00:00