Commit Graph

31762 Commits

Author SHA1 Message Date
Hanmac
3b637b093e PumpEffect: add AtEOT for (some) DelayedTrigger 2016-12-03 19:46:38 +00:00
Hanmac
02221b9fe2 AbilityUtils: add more fixes for stuff like Skill Borrower 2016-12-03 19:33:12 +00:00
Hanmac
32bd46f0e0 cards: updated Investigate cards with new oracle 2016-12-03 19:11:07 +00:00
Hanmac
eedb37eca9 cards: update Entwine cards, removed SpellDescription and updated oracle 2016-12-03 17:35:44 +00:00
Hanmac
42f359a222 Untap & StaticAbility: add better coding for Blinding Beam 2016-12-03 17:34:17 +00:00
Hanmac
828c9d70b2 RepeatAi: use new getAdditonalAbility 2016-12-03 17:08:07 +00:00
Hanmac
b12c8166b2 ChooseGenericEffectAi: fixed it to prevent the AI from using it then it doens't have the AI for
Also add some Logic for Pump Abilities like Choose Keyword
2016-12-03 17:07:22 +00:00
Hanmac
f544605e5b CharmAi: updated for new SpellAbility Format, and does check Entwine 2016-12-03 17:04:15 +00:00
Hanmac
0453409490 SpellAbility: now does store the SubAbilities which are used by some Effects,
that makes it working to copy them to other cards.
rewrite Entwine to use CardFactoryUtil
2016-12-03 16:59:41 +00:00
Agetian
5eaa9aca53 - Removed an unnecessary change in the previous commit. 2016-12-02 10:19:17 +00:00
Agetian
dd950f589a - Fixed creating card pools with cards that have specific art indices specified. 2016-12-02 10:18:08 +00:00
Hanmac
a23d06b8c4 SpellAbilityRestriction: fixed Affected and revert Melek 2016-12-02 07:38:36 +00:00
Agetian
7eb9c1e32e - Fixed Melek, Izzet Paragon not working for sorceries. 2016-12-02 07:09:20 +00:00
Hanmac
9c8f1f364d cards: add IsCurse to Animate abilities 2016-12-02 06:42:06 +00:00
Hanmac
72ee5baf7c AnimateAi: non-Curse Animate not for opponent stuff 2016-12-02 06:38:44 +00:00
Hanmac
f3ad503f42 Cry of Contrition: update Haunt 2016-12-02 06:33:21 +00:00
Hanmac
497bba1329 Cycle of Life: its a delayed trigger, not an extra Effect 2016-12-02 06:32:03 +00:00
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