Commit Graph

31762 Commits

Author SHA1 Message Date
Agetian
841fb9f465 - Adding AER cards created so far by Marek14 (to upcoming). 2017-01-05 19:21:04 +00:00
Agetian
46674dca85 - A generic solution for Donate, now supports potentially donating cards other than Illusions of Grandeur (via SVar DonateMe specifying the donate priority, with 5 being the highest and 1 being the lowest priority). 2017-01-05 19:03:54 +00:00
Agetian
a168875f37 - Added Chain of Smog with basic AI support when the player casts it targeting AI, it will only continue the chain if it ends up having no cards in hand. The AI itself currently does not know when/how to time it properly when casting it from hand (will always cast it), 2017-01-05 16:16:42 +00:00
Agetian
18b465b879 - Removed an unused import. 2017-01-05 14:25:29 +00:00
Agetian
c5d83f177f - Added AI cast preferences to either always cast a card when AI life is under a certain threshold or never to cast it under these circumstances.
- Set Illusions of Grandeur to always be cast if life is at 3 or below (in hope to save the AI's virtual skin via a topdecked/tutor-topdecked/looted Donate).
- Set Bitterblossom to never be cast if life is at 3 or below to avoid dying to it (not sure if maybe it needs to be set higher).
2017-01-05 14:24:58 +00:00
Agetian
77089b12ad - Added medium version of Ariel quest opponent deck (Ariel 2). 2017-01-05 13:51:59 +00:00
Agetian
880b7664d1 - Somewhat more generic solution for Nykthos, Shrine to Nyx AI. Currently still hard-coded to that card only, but can potentially be reused later for other cards (AILogic is already taken on Nykthos; maybe via a special AI SVar?) 2017-01-05 12:44:09 +00:00
Agetian
2ae95906fb - Updated Ariel 3 quest opponent deck. 2017-01-05 11:13:24 +00:00
Agetian
b6f21f5492 - More appropriate variable name in ChooseColorAi. 2017-01-05 06:58:59 +00:00
Hanmac
3f15270d75 ReplaceSplitEffect: update prevent variable on card, not on SpellAbility 2017-01-05 06:39:07 +00:00
Hanmac
126b1c3e7b ReplaceDamage: add DamageTarget param, use it for DamageRedirection and SplitDamage to check if Damage can be redirected 2017-01-05 06:18:47 +00:00
Agetian
1c40bc3215 - A little modification to make the Illusions-Donate AI smarter (currently hardcoded). 2017-01-05 06:04:28 +00:00
Agetian
57ee650801 - Updates to the Trix deck. Added hard version. 2017-01-05 06:03:47 +00:00
Agetian
b2709acc36 - Committed "exile from hand/battlefield" dev menu options by Zuchinni. 2017-01-04 20:14:35 +00:00
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