Commit Graph

30046 Commits

Author SHA1 Message Date
Hanmac
1b1b90a1e6 fixed CardDetailUtil: currently if more equips are attached to one creature, it only shows the first name, because of the (nr) in the name it does think of it as reminder text.
FSkin: make the pattern not-greedy so it only does hide the number from it.
2016-05-27 12:02:34 +00:00
Hanmac
74423305e2 CardFactory: Fixed DFC Planeswalker not be able to targeted by damage redirection. 2016-05-27 08:26:38 +00:00
Hanmac
6684a597de AttachAi: fixed from variable name 2016-05-26 11:11:54 +00:00
Hanmac
6a41b928f2 Spellskite: fixed name in Description to CARDNAME 2016-05-26 10:13:21 +00:00
Hanmac
5f47a23c36 add missing TokenImage$ in Attended Knight, Blade Splicer, Master Splicer and Wing Splicer 2016-05-25 20:44:52 +00:00
Hanmac
d14e94b609 Card: add IsEquippedBy like isEnchantedBy from GameEntity
CardPredicates: use isEquippedBy and isEnchantedBy for Predicate<Card>
2016-05-25 07:18:16 +00:00
Hanmac
395cc70b3e Sasaya, Orochi Ascendant: fixed the SetState, SpellAbilityAi now does check for Restrictions and Conditions 2016-05-24 17:30:01 +00:00
Hanmac
52ff7515a3 Mishra's Bauble: fixed SpellDescription & StackDescription and TriggerDescription with the Carddraw. 2016-05-24 13:31:58 +00:00
Hanmac
845e21e47e add Welcome 2016 promo list 2016-05-24 13:27:51 +00:00
Sol
132dfed415 - InputAttack was not considering Bands with Others for the creation of bands 2016-05-24 01:41:51 +00:00
Hanmac
5b6fba4bda CardView: fixed color setting for transformed cards, now it works in the DeckEditor again, and does set the color right in the Game.
its still not 100% perfect for SOI cards. (they are the reason for this fixes)
2016-05-21 06:14:36 +00:00
Hanmac
be3bcd07b9 GameAction: LKI is only needed when something is moved from the battlefield.
otherwise it does messup with Blink Effects like Eldrazi Displacer.
2016-05-19 08:00:15 +00:00
Hanmac
d7f5c731b8 TriggerHandler: game.getCardState does not work for transformed cards if they does leave the battlefield 2016-05-19 07:05:04 +00:00
Hanmac
75ec82d817 ComputerUtil: have better check for Undying and Persist for Sacrificing. Do Check the counter too. 2016-05-19 05:04:59 +00:00
Hanmac
db8500fd1b EverAfter: Add SpellDescription 2016-05-19 04:57:58 +00:00
Sol
b1a7b72717 - Burn from Within is a sorcery 2016-05-18 20:37:16 +00:00
Hanmac
33df651e50 Gigantoplasm: add Permanent to Animate Effect 2016-05-18 09:15:40 +00:00
Sol
2baa2f3215 - Fix Shorecrasher Elemental's first ability 2016-05-17 00:23:21 +00:00
Hanmac
59ce1abe00 AI: move check for isUseless from AttachAi to SpellAbilityAi
update SetStateAi to use new canPlay()
add check for useless Legendary in SetStateAi (try to replace Legendary if current one is useless)
add extra check for Legendary KI creatures, more counters are better.
2016-05-16 15:26:07 +00:00
Sol
692bfd7e81 - AI shouldn't try to transform creatures that can't transform 2016-05-15 23:53:00 +00:00
excessum
d32644d68d - Added RemAIDeck for Liliana's Indignation (just plain bad card unless a specific deck is built for it) 2016-05-15 08:20:48 +00:00
excessum
acf9bdd64e - Updated RegenerateAllAi to use new canPlay() and predictThreatenedObjects() 2016-05-15 07:15:39 +00:00
excessum
e224066cca - Updated RegenerateAi to use new canPlay() and predictThreatenedObjects() 2016-05-15 07:08:23 +00:00
excessum
73e3066e26 - Added overload to predictThreatenedObjects() to check for top-stack only to stop the AI from duplicating "rescue" efforts in complicated stacks 2016-05-15 03:52:21 +00:00
excessum
c16a1e508a - Updated ProtectAi to use new canPlay() 2016-05-15 03:31:37 +00:00
excessum
8d84cc3210 - TokenAi to use default checkAiLogic()
- Updated FightAi to use new canPlay()
2016-05-15 03:05:49 +00:00
excessum
774396ec72 - Removed checkSpecificCardLogic(), use checkAiLogic() instead
- Added some commonly used checks to checkApiLogic()
2016-05-15 02:56:05 +00:00
Sloth
8c56c933e7 - Added the quest opponent Varys 2. 2016-05-14 20:51:00 +00:00
Sol
b1b895741c - Small fix to output of tournaments 2016-05-14 19:51:36 +00:00
Sol
06ff1215b9 - Fix potential NPE in SetStateAI
- Unroll UntapAI into new style
2016-05-14 19:49:57 +00:00
Hanmac
96276cb896 EffectAI: add SpellCopy AILogic for Chandra, the Firebrand and Howl of the Horde 2016-05-14 19:31:13 +00:00
Hanmac
b9c1c45ac7 Shoulder to Shoulder: fixed SpellDescription 2016-05-14 19:22:06 +00:00
excessum
e29bd3442d - Updated TokenAi to use new canPlay() 2016-05-14 03:42:18 +00:00
excessum
992a3ea5b4 - Updated MillAi to use new canPlay() (fixes AI spamming Autumnal Gloom in its own turn) 2016-05-14 01:34:56 +00:00
excessum
f69d077e11 - Re-factored SpellAbilityAi.canPlay() into a template pattern 2016-05-12 12:54:38 +00:00
Hanmac
cacaca536d CardView: update the color when it changes its State its a hotfix for some SOI cards, but not finish yet 2016-05-10 15:03:39 +00:00
Hanmac
0d797f2365 Narset Tramscendent: add Logic for the Rebound Ability, only aktivate it if it can play a spell without rebound this turn 2016-05-10 15:02:27 +00:00
excessum
8cc98a7d89 - Removed RemAIDeck for Tormenting Voice (has both checkDiscardCost and isWorseThanDraw for the discard decision) 2016-05-10 12:10:37 +00:00
excessum
f00e274006 - Added RemAIDeck for Narset Transcendent (AI cannot use rebound ability at all) 2016-05-10 11:51:06 +00:00
Sol
d6aaeb52ae - Frontline Strategist was missing the correct designation for a trigger 2016-05-08 23:15:51 +00:00
excessum
f31af9c1f8 - Added check for discard cost for TapAi (eg. Stern Constable)
- Added SacMe and DiscardMe flags for Drownyard Temple
2016-05-08 12:32:48 +00:00
Hanmac
37f0b07a28 SetStateAi: use more generic way to check if a Card should be transformed or not. Also does check if Legendary Rule does still apply for that. 2016-05-08 09:43:20 +00:00
Hanmac
b0a6f9ffdb Fixed FCollection: a Collection<? extends T> can only be turned into a List<? extends T> 2016-05-08 09:36:59 +00:00
excessum
2eb68946dd - Stopped AI from transforming Westvale Abbey if it controls Ormendahl 2016-05-08 08:50:50 +00:00
excessum
f645150aa0 - Fixed duplicated static effects caused by r31197 2016-05-08 04:08:42 +00:00
excessum
0bce2874b6 - Updated AiController to check for static effects like Elesh Norn, Grand Cenobite 2016-05-08 02:55:24 +00:00
excessum
17d75edc35 - Updated tokens AI to check for static effects like Virulent Plague 2016-05-07 04:41:34 +00:00
Sol
30c6a30bd4 - The AI shouldnt put AddTurn effects on the stack without a legal target 2016-05-05 21:20:33 +00:00
Hanmac
b4e58bc805 add NeedsToPlayVar to Creatures with Character defining abilites to prevent them from zero toughness. 2016-05-04 20:57:59 +00:00
Hanmac
5a971d6a59 add some variables to Accursed Witch so the AI does play more aggressive 2016-05-04 12:53:48 +00:00