Commit Graph

3292 Commits

Author SHA1 Message Date
Sloth
6cc38f04ce - The AI will no longer pump combatants to kill creatures like Rukh Egg. 2015-07-19 09:29:04 +00:00
Sloth
51997090e7 - The AI will no longer target fetchlands with Spreading Seas and similar cards. 2015-07-19 09:03:18 +00:00
Sloth
bf0302b817 - Fixed AI targeting Mystic Retrieval to itself. 2015-07-19 08:35:43 +00:00
Sloth
d01910cdaa - Fixed logic of last commit. 2015-07-19 08:21:36 +00:00
Sloth
595739699b - Improved Mulligan AI: It will now ship hands of five cards without any lands. 2015-07-19 08:15:32 +00:00
Sloth
4213b537ab - Fixed AI not always playing Shivan Meteor from suspend. 2015-07-18 11:47:03 +00:00
Sol
2c487a89a2 - Fixing compile error 2015-07-18 02:51:28 +00:00
Sloth
37d3b68166 - Fixed AI not playing Cyclical Evolution from suspend. 2015-07-17 22:14:30 +00:00
Sloth
551c306530 - Fixed AI not playing Reality Strobe from suspend. 2015-07-17 21:12:06 +00:00
Sloth
54bdff3bb8 - Improved AI mulligan decisions when faced with Lair lands or similar stuff. 2015-07-17 14:19:14 +00:00
Sloth
4ad634b57e - Fixed a possible infinite loop caused by creatures with "can't attack alone" and "must attack if able". 2015-07-14 22:07:30 +00:00
Sloth
638b0ea722 - Fixed possible div by 0 errors. 2015-07-11 13:06:16 +00:00
Sloth
d9950b2609 - Fixed AI stopping to play lands and permanents when life <= 0. 2015-07-11 12:57:32 +00:00
Sloth
7b181e0450 - The AI can now use Dig abilities with an X cost. 2015-07-10 21:44:24 +00:00
Sloth
7305a05be0 - Improved AI targeting opponents cards with "When CARDNAME becomes the target of a spell or ability, sacrifice it.". 2015-07-10 21:31:29 +00:00
swordshine
640ce4a6de - ORI:Added Alhammaret, High Arbiter 2015-06-23 12:33:40 +00:00
swordshine
05e5966a0d - ORI: Added Boggart Brute 2015-06-23 11:33:24 +00:00
swordshine
f4bf0e4fc7 - ORI: Added 2 Renown cards 2015-06-23 10:44:04 +00:00
drdev
3e6d5cd3e9 Show "Waiting for opponent..." while you wait for the other player to choose whether to go first or keep their first hand 2015-06-13 19:12:39 +00:00
elcnesh
fcd98ef99d Update, cleanup and fully document FCollection and related classes. 2015-06-07 09:40:43 +00:00
Chris
c48418a77f [maven-release-plugin] prepare for next development iteration 2015-06-05 20:31:07 +00:00
Chris
f3edbb23af [maven-release-plugin] prepare release forge-1.5.40 2015-06-05 20:31:00 +00:00
Agetian
7381e5b77e - Fixed the AI attacker bonus prediction triggering a user prompt window via ComputerUtilMana::getMana. 2015-06-03 17:01:52 +00:00
Sloth
df213262ec - Improved AI using Curse of the Cabal. 2015-06-01 18:03:16 +00:00
Krazy
5a4959e59d Better fix for that concurrent modification exception. Don't know what I was thinking. 2015-05-25 03:35:40 +00:00
Krazy
7f060a0b1f Fixed concurrent modification in AI blocking. Fixes Vraska, the Unseen's tokens and probably some other things, too. 2015-05-25 03:22:33 +00:00
elcnesh
b3f38edef3 Huge cleanup: use collection interfaces (List, Set, Map) rather than
implementations (ArrayList etc.) in references to objects
2015-05-17 11:28:21 +00:00
elcnesh
49dc0e2e59 Cleanup: use Lists rather than arrays whenever applicable (removes some methods) 2015-05-11 14:22:08 +00:00
Sloth
0b50144aec - Improved AI using Figure of Destiny and Warden of the First Tree. 2015-05-10 21:48:55 +00:00
elcnesh
658fd8f953 Mostly cosmetic changes to color code 2015-05-06 16:26:45 +00:00
drdev
03b78eb1f1 Version bump to 1.5.40.001 2015-05-03 17:19:52 +00:00
Krazy
86aaac2dab [maven-release-plugin] prepare for next development iteration 2015-05-03 15:03:03 +00:00
Krazy
f05b0aee30 [maven-release-plugin] prepare release forge-1.5.39 2015-05-03 15:02:57 +00:00
Krazy
97aeacde09 Removed Maven release backup files. 2015-05-03 14:20:29 +00:00
elcnesh
ca21f3a298 Clean up CardType
- Treat core types and super types as static, no longer
  read them from a file. Adding types this way isn't compatible
  with the program so it served no purpose for users anyway.
- Merge instant and sorcery types into "spell types", as specified
  by the comp rules.
- Remove some unused methods and restructure/clean up some others.
2015-04-29 18:24:58 +00:00
Sloth
d82c71bb98 - Fixed possible NPE caused by Balance effects. 2015-04-28 18:33:46 +00:00
elcnesh
addcece582 - Huge update to network play
- Updated protocol: now used everywhere for type checking
  - No more locks between server and client: client no longer expects any replies
  - More code reuse
  - Fixed issue with location of multiple abilities selection popup menu
  - Improved stability; actual games should now be possible
- Other updates
  - Mobile version player panel now uses same code as desktop
  - Remove automatic "view all cards" cheat in hotseat (no longer necessary)
  - Code cleanup
2015-04-26 10:54:55 +00:00
Sloth
ca84d46eec - Improvements and cleanup in AiAttackController. 2015-04-16 19:05:35 +00:00
Sloth
b56b535aed - Improvements and cleanup in AiBlockController. 2015-04-15 21:50:05 +00:00
elcnesh
f61a1aa179 Cleanup
- Use collection interfaces (List) rather than classes (ArrayList)
- Remove some unnecessary null pointer checks
2015-04-15 15:40:54 +00:00
Sloth
28132b65d7 - Cleanup in AiBlockController. 2015-04-14 22:04:38 +00:00
Sloth
59e1cdfca0 - Improved AI defending against attackers with MustBeBlocked (like Phage the Untouchable). 2015-04-14 21:42:55 +00:00
Sloth
8944b7dfdd - Fixed AI preferring blocking attackers attacking his planeswalkers. 2015-04-14 18:46:42 +00:00
elcnesh
6dacb83c37 Lots of code cleanup, including removing some useless null checks,
preventing some NPE's before they ever occur, and clean up some
of the inheritance hierarchy.
2015-04-13 14:29:01 +00:00
drdev
5f68844fa4 Refactor deck import logic to be reusable by mobile game
Don't prompt about replacing deck contents if deck is empty
2015-04-05 16:36:02 +00:00
elcnesh
dc4559c577 Attempt to combat game memory leaks after game finishes.
- Make PLAY_LAND_SURROGATE a game field rather than static
- Remove games from cache more aggressively
- Remove targeting overlay from global view after game ends
2015-04-02 14:35:42 +00:00
elcnesh
6491ea51b9 Support command zone when loading game state. 2015-04-02 07:57:23 +00:00
Sloth
c632461339 - Fixed AI using Nomad Mythmaker and Daybreak Coronet. 2015-03-29 19:14:34 +00:00
Sloth
5fab7fb644 - Improved AI using cards with Flash. 2015-03-28 22:13:32 +00:00
Sloth
1483f0429a - Tweaked AI with Ugin, the Spirit Dragon to use his +1 in Main1 when there's something to kill. 2015-03-28 13:23:56 +00:00