Commit Graph

27953 Commits

Author SHA1 Message Date
Myrd
cfd38b7111 Fix game copy inconsistency with paid echo cost during simulation. 2015-02-07 02:55:48 +00:00
Myrd
62f790e9fe Add code for debugging simulation copy errors. 2015-02-07 02:31:46 +00:00
Myrd
d5d8e9a11a Tweak logic for holding off playing creature spells for M2 so that instant/sorceries aren't unfairly selected for M1, in simulation AI. 2015-02-07 01:09:18 +00:00
Hellfish
8eede91c88 *Fixed leaving planes. 2015-02-06 22:13:37 +00:00
Myrd
2c25351a2e Fix ETB effects not triggering during simulation and add a test. 2015-02-06 04:06:11 +00:00
Myrd
7a5c8fd61f Move USE_SIMULATION boolean to AIController class.
Otherwise, with the previous set up, if simulation code returned null (= "don't play anything"), the regular AI code would then choose something to play.
2015-02-06 03:02:03 +00:00
Myrd
ac81b60a1d Count cards beyond max hand size for less. 2015-02-06 02:48:30 +00:00
Myrd
4819c1e03d Fix activator being clobbered up during simulation. 2015-02-05 04:21:50 +00:00
Myrd
8b40da32de Print more info about targets chosen during simulation. 2015-02-05 04:14:23 +00:00
Myrd
be8b250d27 Making the simulation AI less eager to play instants during early phases. 2015-02-05 03:41:23 +00:00
Myrd
392e8e7008 Fix game copy error with equipment. 2015-02-05 02:52:15 +00:00
Myrd
8d5706b36e Fix copying game with static effects to not double count them along with expanded tests for this. 2015-02-03 04:43:40 +00:00
Myrd
16ac1713c5 Add a failing simulation test related to static abilities.
Will enable the test in the CL that fixes it.
2015-02-03 03:26:58 +00:00
Hellfish
464ee0252e *Fixed Alabaster Dragon's trigger description and optionalness 2015-02-01 19:23:12 +00:00
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