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
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
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
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
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
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
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
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
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
Sol
d66402dfca
- Fix Vesuva recursing on itself if its the "best" choice for the AI
2016-05-03 21:27:41 +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
2016-05-03 03:12:15 +00:00
Hanmac
5cceb922ae
add more EndOfTurnLeavePlay to some creatures
...
also should not attach Aura to creature that does leave play (using the SVar)
EnchantMe creatures should not be attached when they are useless
2016-04-30 13:59:39 +00:00
Hanmac
0040b1eab5
ChooseGenericEffectAI: add missing imports
2016-04-29 17:52:03 +00:00
Hanmac
6452d02471
Sin Ponder AI: fixed )
2016-04-29 16:48:25 +00:00
Hanmac
7b94b26f3f
Sin Ponder AI: add more AI when to mill a card and when not.
2016-04-29 16:30:29 +00:00
Hanmac
04ce82966a
Fatespinner: fixed second FatespinnerSkipDraw to FatespinnerSkipMain
2016-04-28 18:36:16 +00:00
Sol
632b34e13c
- They do nothing. (Added Pyromancer's Goggles)
2016-04-26 01:00:02 +00:00
excessum
16b38de9f7
- Separated AI logic for bouncing and blinking
2016-04-23 06:18:54 +00:00
excessum
c97791a144
- Fixed bug with Clip Wings
2016-04-23 05:55:54 +00:00
Sol
3c39c1b21c
- Added Sin Prodder
2016-04-22 00:52:59 +00:00
Sol
203a2dbdd6
- Attempting to alleviate some issues with the memory leak
2016-04-21 03:51:24 +00:00
Sol
87c7e8bbdd
Large Commit: Passing in SpellAbilities into isValid/hasProperty to fix Harness the Storm not being possible otherwise.
...
Fixes a bunch of javadoc errors
2016-04-20 17:47:28 +00:00
Agetian
b32d45f1f4
- Attempting to fix an issue where the AI distributed twice the allowed number of counters for any card that said "Distribute N counters among any number of creatures you control" (Armament Corps, Blessings of Nature etc.). The math is a bit dodgy here, please review and update if necessary and possible.
2016-04-15 12:23:37 +00:00
Krazy
aed7a5712b
[maven-release-plugin] prepare for next development iteration
2016-04-14 02:29:05 +00:00
Krazy
b975bcf38d
[maven-release-plugin] prepare release forge-1.5.51
2016-04-14 02:28:45 +00:00
Sol
3deb83080e
- Adding Watcher in the Web
2016-04-12 16:26:12 +00:00
excessum
c33f08318c
- Added another check for r31096
2016-04-08 11:47:14 +00:00
excessum
d745dda1b0
- Implemented AI for Sorin, Grim Nemesis
2016-04-08 11:44:53 +00:00
jje4th
3171f0d3a9
Fix NullRef in TokenAi - one of the checks assumes the token is a creature which causes a NullRef on Clue Tokens. Added null checks.
...
Fix for "SubAbility not found for: Liliana's Indignation (109)"
2016-04-07 04:36:36 +00:00
Sol
b132d93d68
- I don't know why TokenEffect never had a default for Amount, but now it does
2016-04-06 02:07:16 +00:00
Sloth
1cda53dbb5
- Fixed AI not playing To the Slaughter.
2016-04-03 12:58:51 +00:00
Sloth
9f65cbd3bd
- Fixed AI sometimes targeting nothing with Twinflame.
2016-04-03 09:49:04 +00:00
excessum
448bce81b7
- Implemented AI for Chandra, Flamecaller and improved DamageAllAi for X
2016-03-19 06:12:15 +00:00
Krazy
57d7dcad0b
[maven-release-plugin] prepare for next development iteration
2016-03-19 04:51:28 +00:00