Commit Graph

27789 Commits

Author SHA1 Message Date
Myrd
2696f75f16 Add a text file with some high-level TODOs for the AI simulation framework. 2015-02-01 18:03:21 +00:00
Hellfish
9e1633fec9 *Fixed Planechase Phenomenon brokenness. 2015-02-01 17:52:26 +00:00
Agetian
7f16ada195 - For now, set USE_SIMULATION to false for the default AI configuration in snapshots (I assume it was turned on in r28764 accidentally... if I'm wrong please let me know or feel free to revert) 2015-02-01 05:24:23 +00:00
Maxmtg
36bc0d08e1 removed the FCollection from forge-core 2015-02-01 03:13:08 +00:00
Myrd
6db238833d Make simulation AI play creatures in MAIN2 unless they have haste or give bonuses in other ways.
Also, properly handle summoning sickness when copying game state.
2015-02-01 01:56:33 +00:00
Chris
22eac76494 Cleared out the changes.txt file, now ready for new material. Moved Net Decks support from README.txt back to CHANGES.txt. 2015-02-01 01:49:02 +00:00
Chris
9618b85dc0 Checking in the pom.xml.releaseBackup files which failed to be checked in when the maven goal ended. 2015-02-01 01:45:18 +00:00
Myrd
58b2e2b24a Add first unit test for game simulation AI - tests the fix for activations of ability triggers from my last commit. 2015-01-31 19:02:37 +00:00
Myrd
30b3644668 Moved package. 2015-01-31 17:34:41 +00:00
Myrd
8dedbf083d Fix package name.
Also, fix cast triggers not resolving during simulation.
2015-01-31 17:30:50 +00:00
Agetian
3d1f812a26 - Removed debug spam that I forgot to take out. 2015-01-31 15:17:25 +00:00
Agetian
92b3dd38c2 - Fixed a bug that prevented the AI from using pump creatures correctly. 2015-01-31 15:16:53 +00:00
Chris
3fd3b876d4 [maven-release-plugin] prepare for next development iteration 2015-01-31 15:00:24 +00:00
Chris
87d8d96c7d [maven-release-plugin] prepare release forge-1.5.34 forge-1.5.34 2015-01-31 15:00:17 +00:00
Agetian
62657532ef Reverting 28752 as requested by Chris 2015-01-31 05:21:08 +00:00
Chris
0ea0288f72 test commit 2015-01-30 23:33:39 +00:00
Chris
223ca54671 Preparing the changes.txt file for the next beta build and release. 2015-01-30 13:40:14 +00:00
Maxmtg
1eeaa685db another clean-up for quest drafts (add ROE x3 drafts, fix core set drafts) 2015-01-30 07:26:48 +00:00
Agetian
0594145a4f - Fix triple draft set choices in Quest draft tournaments. 2015-01-30 05:49:17 +00:00
Maxmtg
aea1512435 ref: CardBlock offers sets as unmodifiable list, QuestEventDraft takes up less code :) 2015-01-30 05:22:09 +00:00
Sloth
38ab9ceeb2 - Added the quest deck Mr Smith 3 (by tojammot). 2015-01-29 21:31:08 +00:00
Chris
fc0e1384f1 Cleared out the changes.txt file, now ready for new material. 2015-01-29 17:31:15 +00:00
Agetian
783f9c094c - Recreate default card properties and spell abilities for cards returning to hand (fixes e.g. Genju of the Fields unplayable after returning from graveyard, Far // Away and other splits not allowing to choose another ability if mana payment was canceled, etc.). 2015-01-29 16:55:54 +00:00
Myrd
48e20a9b67 Remove assumption about having a single opponent in game scoring function for AI simulation. 2015-01-29 03:56:28 +00:00
Myrd
e332b383e9 Reduce some spam in simulation AI:
- Don't evaluate mana abilities.
  - Produce a diff of the game eval state instead of printing out two full sets.
  - Cut down on some extra evaluations.
2015-01-29 03:35:24 +00:00
Myrd
4e7565dd2a Create a LobbyPlayerAI when simulating, so that UI elements don't pop up to the human. 2015-01-29 03:02:31 +00:00
Myrd
e22029463d Commit initial version of experimental AI simulation code.
It's disabled by default. Set SpellAbilityPicker.USE_SIMULATION = true to enable.

It's nowhere near complete and there are still tons of issues to work out, but it works a lot of the time.
2015-01-29 00:27:02 +00:00
Myrd
f083b9055d Fix a NPE. 2015-01-29 00:24:49 +00:00
Sloth
145326a753 - Updated 3 AI SVars. 2015-01-28 22:49:39 +00:00
Sloth
882fdc8b82 - Updated some quest decks with FRF cards. 2015-01-28 18:46:48 +00:00
Myrd
b9005faf1c Missed a space. 2015-01-28 03:39:46 +00:00
Myrd
ee5549c489 Disambiguate triggered vs. activated abilities in game log. 2015-01-28 02:23:26 +00:00
Agetian
610c5d308c - Somewhat more meaningful and correct variable names. 2015-01-27 19:32:20 +00:00
Agetian
b112a63d22 - Fix the draft order for sets before Mirrodin Besieged in Quest draft tournaments. 2015-01-27 19:30:43 +00:00
Agetian
86b2ff054b - A little further fix for AB RemoveCounter. 2015-01-27 18:57:43 +00:00
Agetian
16100096a7 - Fixed the AB RemoveCounter not correctly remembering multiple instances of removed counters of the same type (fixes Give // Take, Delaying Shield and possibly other similar cards). 2015-01-27 18:01:34 +00:00
elcnesh
864b967465 Don't ask to delve if graveyard is empty. 2015-01-27 15:42:32 +00:00
elcnesh
5f08b5710f Use a List rather than a Set for storm count so that the same card can be counted twice. 2015-01-27 14:47:31 +00:00
elcnesh
28a92e34df Fix Grim Haruspex plus some cleanup. 2015-01-27 14:29:31 +00:00
elcnesh
f9b473c8fd - Move changed card colors to the Card rather than CardState
- Fix Kusari-Gama
2015-01-27 14:28:54 +00:00
elcnesh
4a74fe87fc Fix some possible issues with attack constraints and how the AI handles them. 2015-01-27 14:22:03 +00:00
Sloth
01b6032e93 - Updated some quest decks with FRF cards. 2015-01-27 13:26:36 +00:00
swordshine
a83df8fb94 - Fixed Homura, Human Ascendant 2015-01-27 04:55:01 +00:00
swordshine
e32030bc35 - Fixed Hardened Scales 2015-01-27 04:35:40 +00:00
Sloth
2021adb21e - Fixed difficulty of Invisible Man 4. 2015-01-26 23:01:52 +00:00
Sloth
10458c9729 - Added the quest deck Yogi Bear 2 (by tojammot). 2015-01-26 23:00:10 +00:00
elcnesh
7952bdaac0 Fix static abilities that remove a type (like those on Theros gods). 2015-01-26 13:32:50 +00:00
elcnesh
ef1b397647 Fix cards with a static ability that adds hidden keywords, like Courser of Kruphix. 2015-01-26 13:18:15 +00:00
elcnesh
92b80c69ff Refactoring changes and other updates:
- Completely refactor continuous static effects. Layers are now implemented properly in the sense that every effect applies the relevant parts in the relevant layer, while locking in the set of cards to which it applies.
- Refactor the (un)freezing of Trackable objects to a per-game Tracker object rather than static methods, to allow multiple games hosted on the same machine.
- Refactor the changing of card colours to match other parts of the code (like type and P/T changing) more closely. Also get rid of some static parameters in that code.
- Some changes in how split cards on the stack are handled to make them more robust.
- Some more minor changes/cleanup.
2015-01-26 10:41:06 +00:00
Sloth
90f88cce9d - Updated some AI SVars of FRF cards. 2015-01-25 15:44:17 +00:00