Commit Graph

31474 Commits

Author SHA1 Message Date
Hanmac
71a22ff7ca AbilityFactory: prevent StackError on cards like Crooked Scales 2016-12-08 06:16:57 +00:00
Hanmac
234178dfd5 SpellAbilityAi: fixed general Logic, Restriction should be ignored for Trigger
AiController: for ETB Effects, ignore IsPresent Conditions (used in Fabricate)
2016-12-07 21:14:34 +00:00
Hanmac
1db8d7636c cards: fixed more cards with delayed trigger 2016-12-07 18:20:10 +00:00
Hanmac
ce64f9b541 RevealAi: fixed for Miracle 2016-12-07 06:14:48 +00:00
Hanmac
4cf2d22c76 Card: add Reminder for Miracle 2016-12-07 06:13:27 +00:00
Hanmac
7ca9786501 RevealAi: updated to new SpellAbilityAi format,
add Code Part for Miracle Reveal Effect (only reveal if ai wants to cast it)
2016-12-06 06:34:11 +00:00
Hanmac
8968ea3382 add new TriggerRevealed to use it for Miracle 2016-12-06 06:32:02 +00:00
Hanmac
f0bc477319 CardFactory: when a SpellAbility is copied, use Orignal Description and StackDescription in case last is autogenerated 2016-12-06 06:29:56 +00:00
Agetian
a954856cb2 - Fixed a NPE in SpellAbilityEffect (e.g. when generating Varchild's War-Riders trigger description). 2016-12-04 15:29:15 +00:00
Agetian
b26a9e7975 - Fixed Temporal Aperture. 2016-12-04 15:14:31 +00:00
Hanmac
7636090b83 TokenEffect: into Battlefield attacking only works when you are the Attacking Player 2016-12-04 07:55:13 +00:00
Hanmac
205586cc01 cards: updated DelayedTrigger, replace some of them with AtEOT, fixed some other cards 2016-12-03 22:02:32 +00:00
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