Commit Graph

1772 Commits

Author SHA1 Message Date
Agetian
74eea096b1 - Added some more experimental combat AI options, currently disabled by default.
- Enabling some of the previously experimental, now tested combat AI options (random favorable trades, holding combat tricks until block, trading to save a planeswalker, attempting to avoid attacking into certain blocks).
2017-09-11 17:37:43 +00:00
Agetian
2a87d338b4 - Removed a superfluous comment. 2017-09-11 14:17:19 +00:00
Agetian
8759532964 - Experimental: in combat AI, try to avoid counting static abilities that grant power bonuses twice in case the creature has already attacked and the relevant bonus is already accounted for in getNetPower/getNetToughness (aims to fix AI prediction of creature power in presence of cards such as War Horn). 2017-09-11 14:16:02 +00:00
Agetian
f332db93ad - Added a couple final declarations in PumpAi. 2017-09-11 11:08:21 +00:00
Agetian
6ffc687174 - Some improvements to Aristocrats PumpAi and Electrostatic Pummeler AI.
- Added some final declarations in SpecialCardAi.
2017-09-11 11:06:39 +00:00
Agetian
f5decd2221 - Improvement to the PumpAI Aristocrat logic. 2017-09-09 17:15:41 +00:00
Agetian
48bd65cd3b - Do not double the Infect damage when predicting it (already accounted for later) 2017-09-09 16:07:29 +00:00
Agetian
8cd9c5e8a3 - Minor formatting fix. 2017-09-09 15:35:46 +00:00
Agetian
0ef1019d1c - Implemented a simple logic for Aristocrats (Vampire Aristocrat, Bloodthrone Vampire, Nantuko Husk and friends).
- Improved prediction of Infect damage for the AI in shouldPumpCard.
2017-09-09 15:34:35 +00:00
Agetian
990bd7e291 - AiController: attempting to fix a "Comparison.sort violates general contract" error which is likely caused by an internal NPE inside the sort method (difficult to prove if this really fixes the issue since I can't reproduce the problem yet, though it had been reported twice already). 2017-09-09 03:14:34 +00:00
Agetian
5264873645 - [XLN] Added Search for Azcanta / Azcanta, the Sunken Ruin.
- Minor fix in Welcome to the Fold.
2017-09-08 16:03:21 +00:00
Agetian
a00a6734b3 - Further tweaks to surprise pump experimental feature. 2017-09-07 05:27:33 +00:00
Agetian
edb1343676 - For the time being, hiding the latest change to attack controller behind an experimental option, enabled in the experimental profile (may be defaulted and removed as a profile option later after extensive testing). 2017-09-06 16:51:32 +00:00
Agetian
f1426103ff - An important tweak to the previous commit. 2017-09-06 16:43:50 +00:00
Agetian
7a767327c0 - AiAttackController: don't attack into a guaranteed block unless the attacker has some kind of an attack/combat effect. 2017-09-06 16:21:49 +00:00
Agetian
d73b3c44e3 - More work and parameter tweaking for attack/block trade experimental AI. 2017-09-06 15:32:24 +00:00
Agetian
2b11afbb2d - More tweaks to the attack/block trading experimental options. 2017-09-06 14:30:24 +00:00
Agetian
8de7099c0f - A little tweak to the "attack to trade" experimental code. 2017-09-06 11:36:02 +00:00
Agetian
5352514c2b - KeepTapped Attach AI logic: try not to activate on things that can't tap. 2017-09-06 05:07:49 +00:00
Agetian
5c18270826 - ComputerUtilCost: sac costs (Sac<...>) use ";" as a delimiter and not "," (fixes e.g. the AI never sacrificing anything to Defiant Salvager).
- Added SacMe to Puzzleknot cards.
2017-09-05 19:35:35 +00:00
Agetian
4a1b147a25 - A little improvement in script execution code in GameState. 2017-09-05 03:37:33 +00:00
Agetian
5970908a3f - GameState: added a way to precast from a custom script line for the needs of Puzzle Mode. 2017-09-05 03:35:52 +00:00
Agetian
9fd8c1f546 - Basic Survival of the Fittest logic (in addition to it already accounting for DiscardMe cards), most likely needs tweaking. Promoted Survival of the Fittest to RemRandomDeck from RemAIDeck. 2017-09-04 17:32:46 +00:00
Agetian
ebb06b34b0 - Some more work on attack/block trades [experimental]. 2017-09-04 12:18:06 +00:00
Agetian
bbc3a75e4a - A NPE guard in the experimental pump code. 2017-09-04 09:59:07 +00:00
Agetian
86c5ef363e - A tweak in the lure pump experimental code. 2017-09-04 09:00:23 +00:00
Agetian
daefcab8f5 - A little modification for the previous commit. 2017-09-04 05:42:41 +00:00
Agetian
3d5f9beac5 - ChangeZoneAi: implemented AILogic SacAndRetFromGrave, added it to Recurring Nightmare. 2017-09-04 05:40:27 +00:00
Agetian
cc78904582 - GameState: support for targeting scripted abilities that use a Defined$ parameter originally (for Puzzle Mode needs). 2017-09-04 04:32:25 +00:00
Agetian
306b4652eb - Fixing a potential crash in the experimental holdCombatTricks code. 2017-09-04 04:10:41 +00:00
Agetian
721a629ba8 - LifeInDanger AI: account for special cases with Worship and Elderscale Wurm 2017-09-03 18:58:51 +00:00
Agetian
88ca671965 - Some more work on surprise attacks/trades [experimental, disabled by default]. 2017-09-03 15:26:28 +00:00
Agetian
b82516ba4d - Minor improvement related to my previous commit. 2017-09-03 11:19:23 +00:00
Agetian
bbe7ff3c9b - Further work on surprise pump spells on attack [experimental, disabled by default, may still cause issues when enabled]. 2017-09-03 11:12:48 +00:00
Agetian
1a7a5fe6a8 - Fixed some AB$ Cost 0 -> DB$ declarations in card scripts.
- Fixed Nova Pentacle (the card needs some additional combat AI support though, or the AI will suicide its own creatures if the opponent has nothing on the battlefield).
2017-09-03 08:55:26 +00:00
kevlahnota
9426c531e3 More Refactoring of String.format 2017-09-03 08:11:28 +00:00
Agetian
1143a43d30 - Attempting to improve LifeGain AI for creatures with negative SA activation costs like Spike Feeder. 2017-09-02 17:00:10 +00:00
Agetian
f9569895b4 - Hermit Druid: added AILogic$ DontMillSelf 2017-09-02 16:31:07 +00:00
Agetian
bb82c6fa02 - Further work on trick/lure attacks with held pump spell. 2017-09-02 14:19:34 +00:00
Agetian
7593dad6c8 - Some more improvements for block-baiting into a pump. 2017-09-02 11:32:52 +00:00
Indigo Dragon
9f7bbd6efc Upgrade Tamiyo, the Moon Sage ai emblem name 2017-09-02 10:41:45 +00:00
Agetian
190703d74b - Some changes in PumpAi related to the in-dev experimental features. 2017-09-02 10:05:17 +00:00
Indigo Dragon
a772cf9910 Changes to Emblems
Emblems now read "Emblem Planeswalker" instead of "Planeswalker emblem"
Image name now is "emblem_planeswalker"

If this breaks anything please revert.

Also added some colons to oracle texts for some planeswalkers.
2017-09-02 05:52:02 +00:00
Agetian
c4fc168369 - Minor comment fix. 2017-09-02 04:00:29 +00:00
Agetian
41409fb5c1 - An AI option to hold combat tricks until block, experimental and disabled by default (more work to follow soon). 2017-09-02 03:57:06 +00:00
Agetian
11bbcf5b42 - More work on "surprise trade on block" project (experimental, disabled by default). 2017-09-01 15:45:17 +00:00
Agetian
badf68b80a - Further work on random trades (experimental, disabled by default.) 2017-09-01 14:53:44 +00:00
Agetian
01e1c2ab0a - Added Prowess, Outlast and Afflict to CreatureEvaluator. 2017-09-01 14:02:55 +00:00
Agetian
bef51732e0 - Fixed an inverted clause in the experimental "random combat trades" code. 2017-09-01 13:42:12 +00:00
Agetian
2a623957c3 - A little tweak to the previous commit. 2017-09-01 08:49:30 +00:00