Commit Graph

32398 Commits

Author SHA1 Message Date
Agetian
2853fcc200 - Added AI logic to play a simple Illusions-Donate Trix deck.
- Added a quest opponent The Great and Powerful Trixie 4, a mono blue Trix combo deck with Illusions of Grandeur and Donate and a wide array of permission. It may be a little haphazard and not always very consistent, but it does beat many hard and very hard opponents with a decent chance.
2017-01-04 18:48:56 +00:00
Agetian
70ada910be - Improved mana source detection for Nykthos, Shrine to Nyx AI. 2017-01-04 14:35:18 +00:00
Agetian
ba71d9ec8c - Added deck construction hint to River of Tears. 2017-01-04 04:54:24 +00:00
Agetian
46ad0cb4d6 - Retested River of Tears, it no longer glitches when used by the AI (mana does not linger in the pool as it used to) and works correctly in auto mana payment tests.
- Remarking River of Tears as RemRandomDeck instead of RemAIDeck (useful for Faeries lists, played reasonably well by the AI in those deck lists).
2017-01-03 20:07:37 +00:00
Hanmac
71180403a0 Player: add ReplacementEffect for addCounter (using existing one) 2017-01-03 20:04:57 +00:00
Hanmac
d96a79177b API: add ReplaceSplitDamageEffect its used for Damage splitting like en-Kor 2017-01-03 19:06:48 +00:00
Agetian
e1deb2541d - Removed a debug print line. 2017-01-03 18:48:10 +00:00
Agetian
ba68e337b7 - Added some AI priorities for Cryptic Command to specify a subability that is generally good and a subability that is good under a particular circumstance. Tests show that the AI plays the card rather sensibly with these priorities in mind, on par with other Command cards.
- Marking Cryptic Command as AI playable.
2017-01-03 18:47:34 +00:00
Agetian
a89c37af02 - Removing debug line. 2017-01-03 17:26:15 +00:00
Agetian
a8b48da7c3 - For now, limit Nykthos, Shrine to Nyx activations to abilities coming from cards in hand, on the battlefield or in command zone (fixes some more wasted activations). 2017-01-03 17:25:43 +00:00
Agetian
98f56af6ca - Fixed Faerie Artisans. 2017-01-03 14:33:37 +00:00
Agetian
e59ed8a34a - Removed unused imports. 2017-01-03 13:39:29 +00:00
Agetian
103c62cab7 - Improved AI logic for Nykthos, Shrine to Nyx. Should prevent wasted activations in many (but not all) cases. 2017-01-03 13:39:01 +00:00
Agetian
2687b9a6a3 - Clarification. 2017-01-03 10:50:15 +00:00
Agetian
d6f084e6e3 - Play Combustible Gearhulk even if the opponent can't be targeted (e.g. through Sigarda, Heron's Grace), a 6/6 first strike creature is decent. 2017-01-03 10:49:21 +00:00
Agetian
faa2634ec4 - Don't forget to set target opponent for Combustible Gearhulk 2017-01-03 10:45:30 +00:00
Agetian
50760a396c - A more targeted solution for Combustible Gearhulk (in ChooseGenericEffectAi), since that card has a special hard-coded AI logic for it anyway. 2017-01-03 09:18:17 +00:00
Agetian
0290413128 - The AI should not immediately disregard triggered abilities in doTriggerAINoCost that have AI logic specified for them (fixes e.g. the AI never playing Combustible Gearhulk at all). 2017-01-03 08:54:21 +00:00
Agetian
5a3207273e - Minor cosmetic change. 2017-01-03 08:20:52 +00:00
Agetian
7eef52d7dd - Some improvements to QuestTournamentsScreen for the upcoming draft tournament support in mobile Forge. 2017-01-03 08:19:39 +00:00
Agetian
ee8b1dd237 - Show the source of the triggered ability on the battlefield if it's a WrappedAbility when ordering simultaneous SAs (e.g. Evolve) [affects desktop Forge, already taken care of in mobile Forge].
- Treat triggers with the same description coming from different sources as different for the purpose of auto-ordering them (do not auto order by default).
2017-01-03 06:06:31 +00:00
Agetian
7feaa42299 - Code formatting. 2017-01-02 20:33:32 +00:00
Agetian
47acef1262 - Tidying up the new quest opponent deck. 2017-01-02 19:51:14 +00:00
Agetian
b5fd21b1fd - More robust check for editions that should be ignored when generating quest draft tournaments. 2017-01-02 19:42:43 +00:00
Agetian
6fa6600756 - Added quest deck Gadget Hackwrench 2, an Izzet Ramp artifact-centric deck with Kaladesh vehicles and Metalwork Colossus. 2017-01-02 16:39:43 +00:00
Agetian
c6b8c2cf4e - Some tidying up in ChooseColorAi 2017-01-02 15:25:20 +00:00
Agetian
9f2158c762 - Code formatting. 2017-01-02 15:17:50 +00:00
Agetian
79ae8c2e3d - No need for an extra view update if the AI vs. AI match was randomly simulated. 2017-01-02 15:16:53 +00:00
Agetian
0c18195558 - Added some basic hardcoded logic for Nykthos, Shrine to Nyx to make the AI not to waste it completely and to try to use it to get a mana advantage in main phase 2 instead, when possible.
- Marked Nykthos, Shrine to Nyx as AI playable.
2017-01-02 15:15:13 +00:00
Agetian
56cba1365e - Prevent a crash if the player clicks "Start Next Match" in random simulation mode once all the matches in a quest draft tournament have already been played. 2017-01-02 11:18:27 +00:00
Agetian
31cb66a3d5 - AI vs AI matches should never be played out from an update call if the user has chosen to simulate random outcomes for AI matches. 2017-01-02 11:04:46 +00:00
Agetian
66c84da4f1 - Fixed the code for running quest draft tournaments normally (without random outcome simulation). 2017-01-02 09:36:05 +00:00
Agetian
c6e61b2547 - Updated AI vs. AI random match outcome simulation code, now the matches will be simulated one by one. It might be a little less convenient (you need to click a Start per every match) but the visual update of the results will be a lot more consistent and far less error-prone. 2017-01-02 09:31:38 +00:00
Agetian
dd9e06b8f7 - Updated CHANGES.txt. 2017-01-02 06:02:01 +00:00
Agetian
331ad768f3 - Removed a completed TODO entry and unused imports, some other tidying up. 2017-01-02 05:22:27 +00:00
Agetian
b386f5f9d7 - Refactored limited deck evaluation into a new class LimitedDeckEvaluator to avoid code duplication. 2017-01-02 05:16:54 +00:00
Agetian
643d2a0170 - Corrected a typo in Shrine of the Forsaken Gods. 2017-01-02 04:57:39 +00:00
Agetian
c838b46c17 - Fixed Mesmeric Sliver. 2017-01-02 04:55:49 +00:00
Sol
9eeb7cdb11 Add Ludevic Necro-Alchemist (C16) 2017-01-02 02:52:55 +00:00
Myrd
d45da5f3db [Simulated AI] Move out anon class to make the code more readable. 2017-01-02 00:53:21 +00:00
Myrd
7f068eb87a [Simulated AI] Refactor SpellAbilityChoicesIterator to its own class. 2017-01-02 00:46:37 +00:00
Myrd
0c6a7bbd18 [Simulated AI] Support modal spells where allowRepeat is true. (e.g. C15 confluence cycle) 2017-01-02 00:29:56 +00:00
Sol
939a1b4a53 Add Kynaios and Tiro of Meletis (C16) 2017-01-01 20:27:48 +00:00
Agetian
798cc430b7 - Removed unused imports. 2017-01-01 20:16:04 +00:00
Agetian
699a0b95bc - File correction. 2017-01-01 20:14:58 +00:00
Agetian
cc3a587e42 - Implemented biasing random (simulated) AI vs AI matches towards decks with higher draft rank value.
- Better name for the random decision simulation option.
2017-01-01 20:14:13 +00:00
Hanmac
56cf064e0b fixed Identity Thief 2017-01-01 19:26:08 +00:00
Agetian
98a05bb353 - Added comment to Rhys the Exiled script (for AIPreference SVar). 2017-01-01 17:27:03 +00:00
Agetian
bb8b0d3e4e - Fixed StackOverflowError on Rhys the Exiled when blocking tramplers by adding an explicit AI preference for SacCost. 2017-01-01 16:45:01 +00:00
Agetian
ac2881cc6c - Added a new quest preference "Do Not Play AI Matches" which allows the player to decide the outcome of AI vs. AI matches randomly instead of playing them out and thus simulating them. This is disabled by default, set to "1" to enable.
- Currently determines the outcome of all AI vs. AI matches in a 50-50 fashion. Might be upgraded later to bias the outcome towards a stronger deck judging by the total card draft rating value.
2017-01-01 16:06:28 +00:00