Commit Graph

30632 Commits

Author SHA1 Message Date
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
Sol
d66402dfca - Fix Vesuva recursing on itself if its the "best" choice for the AI 2016-05-03 21:27:41 +00:00
Sol
6d631c6a96 - Can't clear player cache while a different thread might still need to get the players (ante crash) 2016-05-03 17:27:43 +00:00
jje4th
be23361026 A fix for OncePerEffect script ability applying too much when triggered by costs. Affects The Gitrog Monster and Sidisi, Brood Tyrant. Before the fix if multiple lands are discarded/sacrificed to a single cost (e.g Keldon Arzonist, Zombie Infestatio, etc) it would trigger the Girtog Monster's card draw ability multiple times. (Similar for Sidisi milling multiple creatures as part of a cost. Don't know a card that has mill multiple cards as a cost.)
It implements a new stack for tracking cost payments and a wrapper to track the cost payment instance.  Change zone triggers use this information to de-dupe multiple triggers firing from the same cost.
2016-05-03 17:25:13 +00:00
Hanmac
bb77ae962c Cover of Winter: add new card 2016-05-03 17:01:57 +00:00
Hanmac
41a27726ab Brain in a Jar: add missing References$ Y 2016-05-03 16:59:28 +00:00
Hanmac
122ecb4045 Decorated Griffin: it does only prevent Combat Damage 2016-05-03 16:58:17 +00:00
Krazy
a34996ee3b [maven-release-plugin] prepare for next development iteration 2016-05-03 03:12:25 +00:00
Krazy
9b8e57aee3 [maven-release-plugin] prepare release forge-1.5.52 forge-1.5.52 2016-05-03 03:12:15 +00:00
Krazy
38eb5ead2f Correctly update CHANGES.txt 2016-05-03 03:07:53 +00:00
Krazy
d0f0bc54ef Update CHANGES.txt 2016-05-03 03:05:22 +00:00
Hanmac
d5ab95a777 Devils' Playground: fixed SpellDescription 2016-05-02 19:12:11 +00:00
Hanmac
e99165093e added missing TokenImage to Pack Guardian 2016-05-01 08:59:08 +00:00
Myrd
bd12bbfad5 Fix spell description for engulf the shores. 2016-05-01 04:54:20 +00:00
Sol
8203877eca - Can the AI use MoveCounters without setting targets? 2016-04-30 23:37:48 +00:00