Commit Graph

31895 Commits

Author SHA1 Message Date
Agetian
84cb569c92 - Fixed Tezzeret, Agent of Bolas AI logic for the -1 ability (currently by adding AITgts and an extra parameter, AITgtsStrict, which makes the AI targets a necessary requirement instead of a merely favorable one). 2016-12-02 06:30:13 +00:00
Hanmac
f897d79f5f Merseine: fixed double "|" 2016-12-01 18:45:48 +00:00
Hanmac
acb2490ac6 Mikaeus: fixed Undying only for Creatures on the Battlefield 2016-12-01 18:45:20 +00:00
Hanmac
ba3412abc8 SpellAbilityAi: moved part of canPlayAI into extra function without Restriction
also add extra checkPhaseRestrictions variant with AiLogic
2016-11-29 06:34:02 +00:00
Hanmac
abb4d6f31f PlayAi & PermanentAi: add more functions to make Suspend cards working again 2016-11-28 19:07:02 +00:00
Hanmac
f9f13275b1 GoadAi: do it without TargetRestrictions 2016-11-28 19:05:35 +00:00
Hanmac
3914f2137d Card: hide suspend keyword, it is done though ability 2016-11-28 19:04:22 +00:00
Hanmac
f0cef50d73 ChooseGenericEffectAi: used new SpellAbilityAi format, and make Fabricate possible 2016-11-28 17:57:29 +00:00
Hanmac
708b65fe13 AttachEffect: use getFirstAttachSpell instead of getAttachSpellAbility 2016-11-27 19:38:11 +00:00
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