Commit Graph

2301 Commits

Author SHA1 Message Date
Sloth
2d12c8faac - Fixed AI not using the first ability of Vraska the Unseen. 2014-08-06 09:18:47 +00:00
Sloth
772cade20b - The AI will now take the trigger of Godsend into account. 2014-08-05 19:46:50 +00:00
elcnesh
a5c255e72a Fix AnimateAi: the source card of the AnimateEffect need not be the animated card.
Fixes Genju of the Fields.
2014-08-05 08:48:21 +00:00
swordshine
4419a85ea2 - Added Cultural Exchange 2014-08-03 13:24:59 +00:00
elcnesh
49df281a2f In multiplayer games, let the coin toss winner decide who starts the game, rather than have him choose between himself and the first opponent. (Nothing changes in 1-vs-1 games.) 2014-07-30 11:20:58 +00:00
elcnesh
ecc4620dda - Fix Crawlspace in multiplayer
- Move a method using getOpponent() to AI (only place it's used, to group the methods using this deprecated function in the AI code)
2014-07-29 22:22:14 +00:00
swordshine
3526e80b0e - Prevent a potential NPE 2014-07-29 00:49:11 +00:00
swordshine
49deb45bea - Fixed “CARDNAME attacks each turn if able.” 2014-07-27 08:10:50 +00:00
Sol
c42f6fea9d - !PrintSheets can now be referenced inside Booster contents of an edition file
- M15 Boosters no longer contain cards only found in Intro decks
- Adding a few Conspiracy type cards, along with the capability of their use (NOTE: Deck editors still need a way to add Conspiracy types)
- Added Brago's Favor, Immediate Action, Muzzio's Preparations, Secret Summoning, Secrets of Paradise
2014-07-21 02:56:13 +00:00
Sloth
f8f7be5617 - Fixed AI attaching Mask of Memory to creatures with 0 power. 2014-07-12 08:14:29 +00:00
Sloth
00ae5d6de8 - Improved attachAIAnimatePreference. 2014-07-09 14:48:16 +00:00
rikimbo
e63274d411 Minor change to PumpAI.pumpTgtAI so that if an irrelevant/redundant/unrecognized AiLogic tag is found, the process continues through to the default logic. 2014-07-02 00:44:30 +00:00
swordshine
8f52c2d379 - M15: Added Indulgent Tormentor, Mercurial Pretender, and Resolute Archangel 2014-07-01 12:43:09 +00:00
elcnesh
48086b30b7 Start removing logic that depends on a single opponent, as this (naturally) doesn't work in multiplayer games.
'OppLifeTotal' is now removed, and started removing 'OppPoisonCounters'.
2014-06-25 10:07:23 +00:00
swordshine
e0b478ca3a - M15: Added Master of Predicaments 2014-06-24 04:37:57 +00:00
swordshine
4e9793e60b - M15: Added Ob Nixilis, Unshackled 2014-06-23 14:10:05 +00:00
excessum
c6b0cb31b5 - Prevent AI from paying the trigger for Athreos, God of Passage for dying tokens 2014-06-18 12:27:40 +00:00
swordshine
5e43fc1300 - Fixed UntapAi so cards like Snap, Palinchron will never uptap lands controlled by opponents 2014-06-18 06:03:55 +00:00
excessum
c2f1aae631 - Fixed bug with Polukranos logic if the target(s) are not the highest evaluated ones 2014-06-14 14:44:32 +00:00
excessum
c4c74cccfd - Allow AI to use Bloodrush ability 2014-06-14 14:19:04 +00:00
swordshine
963177e940 - Fixed DamageDealAi (r26280 totally broke cards like Shock) 2014-06-13 07:53:57 +00:00
rikimbo
3c66861b48 Added logic so that the AI can now use triggered abilities that put X counters on the source permanent, where X is a mana cost paid (eg. Hero of Leina Tower). The AI action is now to spend all remaining mana on X. 2014-06-12 22:50:22 +00:00
excessum
e80b8a9422 - Fixed bug with PowerDmg targets being reset in DamageDealAi 2014-06-11 13:39:36 +00:00
swordshine
c349c3df29 - Prevent potential NPE 2014-06-11 02:55:58 +00:00
swordshine
6d7be31a50 - Attempt to fix a potential NPE in PumpAiBase for cards in alternate modes. 2014-06-10 05:37:59 +00:00
elcnesh
5cbc4e5703 Fix NPE in AI decision on giving attacking creature protection. 2014-06-09 20:30:23 +00:00
swordshine
8ccdcf93c8 - Added Order of Succession 2014-06-08 11:01:14 +00:00
excessum
b8aa37891d - Fixed missing conditional from r26240 2014-06-08 02:06:59 +00:00
excessum
69b76f31d3 - AI will not always use Boros Charm for damage at opponent EOT unless DamageDealAi.shouldTgtP() holds 2014-06-08 02:03:43 +00:00
swordshine
fba3ba212b - Added Time Distortion 2014-06-07 11:46:48 +00:00
excessum
345cacade9 - Changed useRemovalNow() condition from isSpell() to !isTrigger. Added "PlayMain1" to Xenagod to make use of pre-combat trigger. 2014-06-07 11:06:49 +00:00
swordshine
65fa1dd5d2 - Fixed a potential NPE in AnimateAi 2014-06-06 04:51:55 +00:00
excessum
816b65fbb1 - Update for PumpAiBase.pumpedCreature() to copy counters onto pumped Card 2014-06-05 11:26:27 +00:00
elcnesh
0a51c45081 Fix putting creatures onto the battlefield blocking. They are inserting into the existing damage assignment order. 2014-06-03 14:24:36 +00:00
Sloth
57bdab6a24 - The AI will no longer kill itself with Mana Confluence. 2014-06-03 06:08:07 +00:00
excessum
6412dd2702 - AI will check for targets for Oblivion Ring effects before casting them 2014-06-02 13:57:52 +00:00
excessum
7afd1cea5d - Fix for CharmAi with probabilistic choices that might resolve with a null choice 2014-06-02 12:10:33 +00:00
swordshine
943ff54013 - Missing file in r26122 2014-06-01 14:51:19 +00:00
excessum
581553e3f9 - Minor tweak to r26118 2014-06-01 11:52:27 +00:00
excessum
821298eaf5 - PumpAiBase update for buffing attackers 2014-06-01 10:45:21 +00:00
excessum
51bdf2484d - Extend AI pump spell usage to PumpAll 2014-06-01 08:52:43 +00:00
swordshine
b459ca2ec0 - Fixed a potential NPE 2014-06-01 05:10:51 +00:00
Sol
f2e7347ad3 - Since Morph creatures don't have an official Card in the database, they need to be copied instead of being looked up 2014-06-01 02:46:14 +00:00
excessum
9e50785b73 - Improved AI for creating attackers using pump effects 2014-05-31 12:30:25 +00:00
excessum
c713895f7a - PumpAiBase update to support Haste and better odds for multiple beneficial effects from a single pump. Removed RemAiDeck for Judge's Familiar since it is almost impossible to find a situation where a 1-mana Force Spike is bad 2014-05-31 12:02:41 +00:00
swordshine
d4f9badca0 - Added Nix 2014-05-31 08:48:35 +00:00
swordshine
30e67c4556 - Fixed a possible NPE 2014-05-28 06:48:52 +00:00
excessum
de91e28b4f - AI update for pump spells 2014-05-26 12:27:52 +00:00
swordshine
eef787261a - Added Goblin Game and Menacing Ogre 2014-05-24 16:54:05 +00:00
swordshine
56801c5032 - CNS: Added Coercive Portal and Council's Judgment 2014-05-24 03:55:15 +00:00