Commit Graph

31985 Commits

Author SHA1 Message Date
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
Hanmac
163cb460ab GameEntity moved addCombatDamage from the other classes there. Also add a more generic AddDamage version 2017-01-01 13:47:22 +00:00
Agetian
46a76ce69b - Do not generate quest booster drafts for sets that do not have a booster template available for them and will thus crash. 2017-01-01 10:30:57 +00:00
Agetian
beadf13c30 - Added a TODO entry for now. 2017-01-01 09:01:58 +00:00
Agetian
3a285fcd92 - Reverting r32912 for now, more investigation needed. 2017-01-01 08:29:35 +00:00
Agetian
7797224826 - Simpler solution for Boonweaver Giant + Animate Dead 2017-01-01 08:13:38 +00:00
Agetian
451db2a5db - Removed unused import. 2017-01-01 07:18:22 +00:00
Agetian
8d2cf088a0 - Attempting to fix interaction of Boonweaver Giant with cards that can't legally target it (e.g. Animate Dead) such that those auras trying to enchant the creature do not move (per 303.4i/303.4j) and other similar interactions. 2017-01-01 07:17:48 +00:00
Agetian
e251f88b2f - Fixed Saffi Eriksdotter 2017-01-01 06:56:24 +00:00
Sol
544f72b02d Add Yidris, Maelstrom Wielder (C16) 2016-12-31 19:34:26 +00:00
Myrd
51af35db2e [Simulated AI] Remove SIMULATE_LAND_PLAYS constant since it's enabled by default now. 2016-12-31 18:38:52 +00:00
Myrd
52711b7b33 [Simulated AI] Make game copier copy player mana pools along with a test. 2016-12-31 18:07:36 +00:00
Agetian
4d5fae1c6f - Only add avatars to decks if the Vanguard or Momir Basic variant is applied. 2016-12-31 10:58:29 +00:00
Agetian
f105b3f1c1 - Allow the player to draw cards before the game starts (drawing the initial hand, drawing a new hand after a mulligan), fixes Maralen of the Mornsong Avatar. 2016-12-31 10:55:13 +00:00