Commit Graph

2301 Commits

Author SHA1 Message Date
Sloth
29a8595752 - Removed the Effect type DebuffAll. The 5 cards that used it were converted to AnimateAll. 2014-10-19 20:37:04 +00:00
drdev
af19135c2e Fix so Prossh, Skyraider of Kher properly has tokens come into play 2014-10-18 23:44:25 +00:00
Sloth
0948cdb133 - Added AI support for Frenetic Efreet. 2014-10-18 20:17:12 +00:00
Sloth
ab9fc96f3e - The PlayMain1 AI SVar now has the distinctions "TRUE", "ALWAYS" and "OPPONENTCREATURES". 2014-10-18 19:53:49 +00:00
Sloth
d0b4c9e734 - Fixed some AILogics not reseting targets in PumpAI. 2014-10-18 10:57:07 +00:00
Sloth
0c43d3a829 - Fixed and improved getWorstLand AI function. 2014-10-17 18:45:37 +00:00
Sloth
b2707e9e13 - Make some more use of the isCardInPlay function. 2014-10-17 14:41:24 +00:00
Sloth
cf52edd1bc - Expanded getCardPreference AI function. 2014-10-17 14:08:44 +00:00
Sloth
ac43f7d229 - Tweaked two AI functions. 2014-10-16 12:55:43 +00:00
drdev
ab7fb0788e Fix Mindslaver so you can actually take actions for your opponent 2014-10-15 15:33:47 +00:00
drdev
f8a54eed14 Rename Attack/Defense to Power/Toughness for consistency 2014-10-13 04:37:55 +00:00
drdev
f905903db1 Fix bugs related to mana abilities being excluded 2014-10-13 01:17:02 +00:00
drdev
994903d080 Fix so log is updated immediately 2014-10-13 00:13:55 +00:00
drdev
57890310d8 Remove duplicate function for getting mana abilities 2014-10-12 22:52:11 +00:00
drdev
4cfb6a8659 Refactor card abilities into FCollections to protect access 2014-10-12 22:47:48 +00:00
drdev
144f651fa0 Support caching ability text and certain keywords in view
Update names of certain classes and fields for better consistency
Fix so summoning sickness icon doesn't appear for creatures with Haste
2014-10-12 21:23:27 +00:00
Sloth
4cbd16d7b5 - Cleanup and performance fixes in AI functions. 2014-10-12 21:06:55 +00:00
Sloth
10bd22a944 - Fixed and improved predictThreatenedObjects. 2014-10-12 20:07:30 +00:00
drdev
92f187f6e3 Refactor card types to use class instead of a List<String>
Optimize Zone and other areas to use CardCollection
2014-10-12 01:37:27 +00:00
drdev
3538823e11 Swap out old GameView structure for new one 2014-10-10 05:52:18 +00:00
Sloth
94b81a6ec9 - Fixed AI not playing Sarkhan, the Dragonspeaker in Main1. 2014-10-09 20:07:30 +00:00
drdev
6c95af229a Support storing commander and commander damage in player view 2014-10-09 00:33:38 +00:00
Sloth
fcada08599 - Improved AI's doAssault function. 2014-10-08 18:07:48 +00:00
Sloth
ad0921ecbe - Added AI support for Tyrant's Choice. 2014-10-08 14:59:23 +00:00
Sloth
9872b3c9d3 - Improved AI handling Glacial Fortress and friends. 2014-10-08 11:41:57 +00:00
Sloth
9c5e6beefa - Added a new AI SVar "FreeSpellAI" which makes the AI play these cards before other spells. 2014-10-08 11:03:31 +00:00
drdev
75d1f5dea6 Add CardCollection class and special methods to CardView to make it easier to track changes to collections and make it possible to prevent changes outside Card class
Add delayed initialization of certain collection fields to Card to reduce memory usage and improve performance
2014-10-06 23:12:49 +00:00
drdev
44664bd30e Optimize the logic around for attaching cards to other cards/players 2014-10-06 15:12:02 +00:00
drdev
afcad4e672 Commit stage 1 of large game view refactoring 2014-10-06 04:06:42 +00:00
Sloth
e599aef134 - Added basic AI support for Necropolis Fiend. 2014-10-05 21:02:45 +00:00
swordshine
2428a6b0b1 - A better fix for ComputerUtilCard.applyStaticContPT() 2014-10-04 12:31:09 +00:00
excessum
f7e8d51701 - Fixed typo in r27822 2014-10-04 12:23:34 +00:00
excessum
2f49deed12 - Fixed NullFormatException with ComputerUtilCard.applyStaticContPT() 2014-10-04 12:22:27 +00:00
excessum
135a11fb3d - Fixed bug with AI using double-strike damage when trying to kill an attacker in the first-strike phase with gang-blockers 2014-10-04 11:52:02 +00:00
drdev
9391b0b486 Refactor logic that reveals cards before selecting a card so that it will be possible to combine the dialogs later 2014-10-03 10:32:16 +00:00
Sloth
3ea9e25c66 - Added AI support for Fume Spitter. 2014-10-02 19:00:58 +00:00
excessum
82e7d6a1e4 - Re-implemented Convoke shard mapping for AI 2014-10-02 12:34:11 +00:00
excessum
214c929ca3 - Re-factored payManaCostFromPool() out from payManaCost() 2014-09-29 12:36:33 +00:00
elcnesh
9ce50662fe Fix counter placement sound playing repeatedly. 2014-09-29 09:08:45 +00:00
Sloth
97a46fae15 - Fixed several bugs in isPreferredTarget. 2014-09-28 21:35:46 +00:00
excessum
f9a4cd63d7 - AI will now take note of static P/T abilities when using Animate and Pump effects 2014-09-28 02:53:03 +00:00
excessum
4b51b0f9e7 - Simplified removal of likely blockers in chooseCardsForConvoke() 2014-09-28 01:10:06 +00:00
Sloth
14f31bfabe - Improved ordering in playReusable. 2014-09-27 20:23:04 +00:00
Sloth
422271ab4d - Fixed NPE when AI's Goblin Arsonist dies. 2014-09-27 20:17:32 +00:00
excessum
1cd69ebcb3 - Implemented AI for Convoke 2014-09-27 15:12:38 +00:00
excessum
3c9d6645e4 - Re-factored AiBlockController.assignBlockers() overloads and associated utility functions. 2014-09-27 15:03:11 +00:00
excessum
2f70494c14 - AI will now consider multi-blocks before attacking (avoid 1/4 lifelink attacking two 2/2s) 2014-09-24 13:27:35 +00:00
excessum
7226e24cf5 - Moved canBeBlockedProfitably() from AiBlockController to ComputerUtilCard 2014-09-24 13:12:52 +00:00
excessum
14c4b95658 - Re-factored AiBlockController.shouldThisBlock() into ComputerUtilCard.doesSpecifiedCreatureBlock()
- Changed Outlast AI to use doesSpecifiedCreatureBlock()
2014-09-24 13:04:46 +00:00
swordshine
edf8c58754 - Added Ashcloud Phoenix 2014-09-23 11:21:15 +00:00