Commit Graph

1413 Commits

Author SHA1 Message Date
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
Chris
216a28ea7e [maven-release-plugin] prepare for next development iteration 2015-03-27 13:50:52 +00:00
Chris
2112965a0a [maven-release-plugin] prepare release forge-1.5.38 2015-03-27 13:50:44 +00:00
Sloth
2f83db4972 - Fixed a possible IllegalArgumentException in ChangeZoneAllAi. 2015-03-23 13:41:33 +00:00
elcnesh
963b415e65 Prevent possible NPE in AI code. 2015-03-20 15:26:53 +00:00
Sloth
939fe43e7e - Added support for the keyword "CARDNAME assigns combat damage equal to its toughness rather than its power". 2015-03-20 14:15:40 +00:00
Chris
3a655c17ec Push the newest pom.xml.releaseBackup files. 2015-03-19 00:05:46 +00:00
Chris
7601fe4465 [maven-release-plugin] prepare for next development iteration 2015-03-14 22:28:02 +00:00
Chris
ce48d06433 [maven-release-plugin] prepare release forge-1.5.37 2015-03-14 22:27:54 +00:00
elcnesh
b98684877d Refactor lobby and add network support.
- Lobby code has been revised completely to support network lobbies;
  code has been separated into model and view parts.
- Added preliminary network game support; most of it should be working
  but hasn't been tested thoroughly.
- Fixed issue where controlling another player wouldn't be recognised
  by the GUI.
- Fixed issue where hand panels wouldn't display anymore.
- Minor fixes/cleanup.
2015-03-14 10:53:09 +00:00
excessum
1b3fe1d996 - Fixed NPE caused by Protect sub-ability 2015-03-14 02:36:31 +00:00
Sloth
803cd36626 - Improved AI using Cauldron Dance and Surprise Deployment. 2015-03-13 12:54:44 +00:00
Sloth
9d10e9df03 - More improvements for Exploit AI. 2015-03-11 22:52:39 +00:00
Sloth
6352b480f8 - Added AI support for Exploit.
- Improved AI using Devour.
2015-03-11 22:10:13 +00:00
Sloth
26277be232 - Reverted a change to the value of evaluateCreature introduced in r28784. 2015-03-11 22:08:42 +00:00
Myrd
1a3025d3be Some improvements to simulated AI:
- When evaluating creatures, ignore temporary boosts unless the creature is likely to participate in combat.
  - Set default search depth to 2.
2015-03-09 02:45:10 +00:00
Myrd
219eae0a00 Refactor logic for continuing simulation to SimulationController class. 2015-03-08 17:13:43 +00:00
swordshine
aed4b5cdfa - ORI:Added Liliana, Heretical Healer 2015-03-08 06:35:08 +00:00
Myrd
13f5a43aa6 Cards can enchant players - fix game copier for simulated ai to account for this. 2015-03-08 05:53:07 +00:00
excessum
64e9d0867c - Expanded r28953 to support bouncing creatures to save them 2015-03-07 12:26:33 +00:00
excessum
3b8bf1cc83 - Implemented AI for Tasigur, the Golden Fang 2015-03-07 07:59:24 +00:00
Myrd
fac4381cf7 Fix Marath, that would previously die immediately after entering the battlefield. 2015-03-07 05:16:00 +00:00
excessum
e1ad69e417 - Implemented AI for Temur Sabertooth 2015-03-07 03:54:12 +00:00
Myrd
8fd362240c Fix simulation in commander games. 2015-03-05 02:44:45 +00:00
Myrd
3b54fd2fce Fix copying game objects with chosen things (for simulation AI). 2015-03-03 00:50:52 +00:00
excessum
f064fd5602 - Implemented AI for Feat of Resistance 2015-03-02 13:33:03 +00:00
excessum
29a0411833 - Fixed predictThreatenedObjects for toughness curses to support r28919 2015-03-02 12:57:46 +00:00
excessum
8a0e405fcd - Fixed NPE caused by r28919 2015-03-02 12:36:28 +00:00
Myrd
29a7b3a692 Fix NPE with abilities that require player to "divide as you choose" in simulation AI. 2015-03-01 18:08:29 +00:00
excessum
b527dace1b - Better AI for instant-speed CountersPutAi 2015-03-01 13:05:53 +00:00