Commit Graph

2301 Commits

Author SHA1 Message Date
swordshine
f67ea4a7f0 - Fixed TwoPilesEffect 2014-05-22 01:43:02 +00:00
excessum
a2102d4a4a - Replaced AiAttackController.shouldThisAttack() with ComputerUtilCard.doesSpecifiedCreatureAttackAI() that takes AI aggressiveness into account 2014-05-21 12:23:48 +00:00
swordshine
833d944f14 - CNS: Added Plea for Power, Selvala's Charge, and Split Decision 2014-05-19 13:00:09 +00:00
swordshine
933488f9e9 - CNS: Added Brago's Representative 2014-05-19 06:00:43 +00:00
excessum
08039be686 - Added AI for Pongify and Rapid Hybridization that compares the token's value to the destroyed target 2014-05-17 08:48:44 +00:00
excessum
cb46b9c0c3 - Changed TokenAi.spawnToken() into a static method for easier usage 2014-05-17 08:40:15 +00:00
excessum
60c427ed25 - Allow AI to create tokens in response to sacrifice effects to protect more valuable targets 2014-05-17 03:05:36 +00:00
Sloth
fb9f440a4c - Improved declareAttackers AI function. 2014-05-16 16:50:58 +00:00
excessum
3662440e23 - Allow AI to animate creatures in response to sacrifice effects to protect more valuable targets 2014-05-13 02:15:10 +00:00
excessum
47c455a967 - Tweak to 25825 to check for regeneration shields and fix useRemovalNow() 2014-05-11 13:56:15 +00:00
excessum
6f555670c2 - Allow AI to use ChangeZone effects against a blocker before trying to bounce its own attacker. Ensure that the AI will use its removal on a blocker if it can save an attacker 2014-05-11 02:54:48 +00:00
excessum
e382b29212 - Improved AI logic when attacking by applying AiBlockController logic block for each attacker 2014-05-10 06:28:01 +00:00
Sloth
fb41eb5992 - Improved DestroyAllAi (AI will now check if the human can kill the ai next turn). 2014-05-09 16:03:52 +00:00
swordshine
2685419a05 - Attempt to fix another crash based on getAbility of RepeatEachEffect (Experimental Kraj) 2014-05-06 01:57:14 +00:00
swordshine
c91f1854ea - Fix Premature Burial so it works when casting from other's hand 2014-05-05 05:43:29 +00:00
swordshine
89cf695545 - Added Heartwood Storyteller Avatar 2014-05-05 02:04:25 +00:00
swordshine
e933ecc70c - Added three bid life cards 2014-05-03 12:54:33 +00:00
excessum
37a7f291f1 - Check for intrinsic regenerate abilities before using targeted regenerate 2014-05-03 03:55:00 +00:00
swordshine
eba7491804 - Fixed Nivmagus Elemental so it can exile ciphered spells 2014-05-02 12:35:17 +00:00
Maxmtg
74f9a5f722 Detach network code from game and gui. 2014-05-02 05:40:50 +00:00
swordshine
6cd67b8012 - Fixed Lethal Vapors 2014-05-02 04:57:10 +00:00
swordshine
5a671223b7 - Fixed a bug in CostTapType 2014-05-01 10:53:21 +00:00
excessum
01c2b528b1 - Removed obsolete code from ProtectAi 2014-05-01 05:06:09 +00:00
excessum
8bcbc00fc4 - Remove invalid targets after resolved Shroud/Hexproof/Protect from list of threatened objects to prevent duplicate saves 2014-05-01 04:10:05 +00:00
Sol
e1f851360f - Adding a nullcheck for the PumpAI Targeting 2014-05-01 03:56:41 +00:00
excessum
6192e66a00 - Allow AI to use pump-all spells/abilities as interrupts to opponent's removal. 2014-05-01 02:47:59 +00:00
excessum
b2fb1ecd05 - Added check in pumpAgainstRemoval() to prevent illegal number of targets 2014-05-01 02:16:13 +00:00
excessum
e1c791eabd - Added AI support for multi-target pumps as interrupts to opponent's removal 2014-05-01 02:13:03 +00:00
Sloth
0127161620 - Added infinite loop protection to prevent cases like AI using Sky Hussar. 2014-04-30 18:59:53 +00:00
Krazy
e711c1bca1 2014-04-30 17:11:11 +00:00
excessum
6e0a528c41 - check for regeneration shields when using curses to deal lethal damage 2014-04-30 14:11:07 +00:00
excessum
85883108ca - Allow AI to use pump spells/abilities as interrupts to opponent's removal. Added support for curses to predictThreatenedObjects() 2014-04-30 13:28:41 +00:00
Sloth
11799fd2ca - Fixed AI not targeting with Armistice. 2014-04-29 06:56:24 +00:00
drdev
f770986aa9 Fix so multiple abilities can be selected via menu in desktop app
Remove straggler java.awt reference in forge-core
2014-04-28 18:43:03 +00:00
excessum
811d59ed24 - Fixed bug with extra targets when activating Polukranos, World Eater 2014-04-27 02:18:41 +00:00
excessum
c044332de1 - Prevent AI from using Nature's Panoply with zero targets 2014-04-26 05:08:25 +00:00
Sloth
dffdaad6b5 - Improved and fixed AI using Ashiok, Nightmare Weaver. 2014-04-24 16:12:14 +00:00
swordshine
9516f2a502 - Conspiracy: Added Magister of Worth 2014-04-24 12:54:39 +00:00
Sloth
34480385e8 - Fixed infinite loop caused by Ashiok. 2014-04-23 13:49:51 +00:00
excessum
002f7d1d95 - Fixed bug with normal pump spells falling into useRemovalNow() 2014-04-23 12:42:45 +00:00
swordshine
40483b9437 - Fixed filterListByType 2014-04-21 03:03:38 +00:00
swordshine
9f6e258acb - Update scripts 2014-04-21 00:30:36 +00:00
excessum
5252609d7b - Allow AI to use removal as interrupts to opponent's pump/enchant. Removed a check for duplicate kills in DamageDealAi and added a TODO for a general duplicate removal algorithm in its place. Fixed a bug in PumpAi that prevents curses from being used when the stack is not empty. 2014-04-20 02:41:05 +00:00
excessum
a4b41c94c2 - Allow AI to hold back removal based on chance instead of always using them when a suitable target is available 2014-04-19 05:19:29 +00:00
excessum
d1609866ff - Minor update to EffectAI to prevent negative "fight" logic from falling through to the random return in canPlayAI(). Prevent Polukranos activation from targeting shielded or creatures that can regenerate. 2014-04-18 03:15:27 +00:00
Sloth
4e4702db5d - Fixed ordering of AI spellability priorities. 2014-04-17 09:33:15 +00:00
swordshine
39194d7d80 - JOU: Added Desperate Stand and Disciple of Deceit 2014-04-17 06:39:16 +00:00
Sloth
3cea12e3dc - NPE protection (Delayed Triggers have no Execute param). 2014-04-15 14:10:22 +00:00
excessum
ec9331ceb8 - Minor update to FightAI 2014-04-15 13:44:10 +00:00
excessum
3f0e238919 - Improved FightAI by considering regeneration shields and Heroic triggers that place +1/+1 counters 2014-04-15 13:12:52 +00:00