Commit Graph

3201 Commits

Author SHA1 Message Date
Agetian
4c931da9c5 - Restoring Phyrexian Dreadnought to AI playable state (might need generalization to its own AI logic though, currently done via a creature-specific "hack"). 2017-01-25 11:19:10 +00:00
Agetian
aeb24f9c16 - Moved the AI logic params closer together. 2017-01-25 08:33:39 +00:00
Agetian
af3bca1138 - Added some AI sac preferences and logic specifications to cards.
- TODO: couldn't figure out why Phyrexian Dreadnought stopped working for the AI, it correctly specifies cards to sac but Dreadnought still dies despite that. Marked RemAIDeck temporarily until this is figured out.
2017-01-25 08:33:05 +00:00
Agetian
bb661eb54e - Parameter consistency in Natural Order. 2017-01-24 17:43:12 +00:00
Agetian
0ba88f3ce5 - Improved SacAndUpgrade AI, now it works with Eldritch Evolution and requires fewer parameters in scripts. 2017-01-24 17:42:03 +00:00
Agetian
654f2b3f95 - Simpler Clone Legion RepeatCards parameter. 2017-01-24 13:40:07 +00:00
Agetian
19ce03e235 - Fixed Clone Legion. 2017-01-24 12:31:18 +00:00
Agetian
f292d63c68 - Added a way to specify AILifeThreshold for cards which do not have a life cost but which deal damage or make the player lose life.
- Added AI life activation threshold to Smallpox and Pox to prevent the AI from killing itself with them.
2017-01-24 10:38:56 +00:00
Agetian
b1bfbc96a5 - Added NeedsToPlay to Accursed Centaur 2017-01-24 09:31:04 +00:00
pfps
9dd423776f Add spell description for Preeminent Captain triggered ability and turn into DB 2017-01-23 22:41:28 +00:00
pfps
84c4acf6d1 Add spell description for Mentor of the Meek triggered ability 2017-01-23 22:24:09 +00:00
pfps
1117defc09 Change about 25 lands with ETB drawbacks to code the ability as DB and move the ability description from Text field to the ability 2017-01-23 18:15:30 +00:00
pfps
0090b1116f Change Breeding Pool replacement ability to a drawback and move old card text there. 2017-01-23 16:47:12 +00:00
Agetian
7352b7aec0 - Improved AI for Bomat Courier (this logic can also be used for other potential cards that require you to discard your hand and that then refill your hand from exile; may be expanded to other zones too if necessary). 2017-01-23 16:34:33 +00:00
Agetian
b0e9d0820f - Made AILogic ManaRitual more generic.
- Marked more cards to be used with this AILogic.
2017-01-23 12:10:25 +00:00
Agetian
e5acf1fa15 - Implemented some rudimentary mana ritual AI.
- Marked Dark Ritual as AI-playable. Other similar cards can probably now also use AI ManaRitual for this purpose.
2017-01-23 11:41:51 +00:00
Agetian
8447c6cda6 - Renamed AI BirthingPod to AI SacAndUpgrade. 2017-01-23 10:59:48 +00:00
Agetian
57a6dbf442 - Fixed DB name in Parting Thoughts. 2017-01-23 10:53:09 +00:00
Agetian
2aea3d02c8 - Added missing description part to Parting Thoughts. 2017-01-23 10:52:27 +00:00
Agetian
50dc536bdd - Decoupled the sac target and search goal in AI BirthingPod. 2017-01-23 10:47:26 +00:00
Agetian
280e4d10b2 - Make AILogic BirthingPod obey card restrictions specified in AIPreference SacCost (for the purpose of being flexible for not only Birthing Pod but Natural Order and potentially other cards). Now this AI Logic probably needs a better name. 2017-01-23 10:21:46 +00:00
Agetian
dffee55c52 - Some clarifications in comments. 2017-01-23 10:05:10 +00:00
Agetian
915e369211 - Extended Birthing Pod AI to potentially work with other cards that upgrade creatures.
- Made Natural Order use the variant of this AI logic to be able to search for cards that are better than what we currently have (can certainly be expanded and made more precise by actually evaluating sac creature against the goal creature).
2017-01-23 09:58:35 +00:00
Agetian
9c58609ee5 - Added a comment to Birthing Pod script. 2017-01-23 07:18:34 +00:00
Agetian
a0da5da10d - Added AI logic for Birthing Pod and made it AI playable (TODO: make it avoid using the roundabout override mechanism for preferences to make the code cleaner) 2017-01-23 07:15:16 +00:00
Agetian
299be821e7 - Added CNS and CN2 booster box definitions. 2017-01-23 05:50:54 +00:00
Agetian
a19db69ecf - Added AI sac priority to Natural Order (makes it AI-playable again).
- Made Eliminate the Competition AI-playable again by adding a forced AI constraint to how many targets it should set depending on how many creatures it's willing to sac + adding AI sac priority list.
- Currently set both to sac tokens and creatures with CMC 2 or less. Probably could use some tweaking, but sac'ing CMC 3+ to it will probably make the AI do stupid and unreasonable things.
2017-01-23 05:37:20 +00:00
Agetian
9edc0b858d - Added description to Cover of Winter. 2017-01-23 03:56:00 +00:00
pfps
0df6229c0f Revert change to Breeding Pool, as descriptions of SVar abilities show up in card detail. 2017-01-23 02:09:30 +00:00
Hanmac
c502296fa9 cards: fixed SpellDescription for SorcerySpeed Implements 2017-01-23 01:08:29 +00:00
Hanmac
53ef1bac77 fixed Oracle of Fortuitous Find 2017-01-23 01:02:34 +00:00
pfps
4965b6be5e Descriptions for bounce land effect 2017-01-22 18:11:10 +00:00
Agetian
a4f8611014 - Fixed Sly Requisitioner. 2017-01-22 17:23:59 +00:00
Agetian
80281cd576 - Partially reverting 33309 (breaks trigger-related stuff). 2017-01-22 17:03:19 +00:00
pfps
82b1660394 Add spell description text to Breeding Pool ETB effect, for new prompt setup 2017-01-22 16:11:54 +00:00
Agetian
2fb63b3524 - Some tidying up in AI profiles (making profile definition files easier to navigate and less random in ordering) 2017-01-22 15:56:48 +00:00
Agetian
2cf427d046 - Added some experimental AI routines to deprioritize Storm spells in an attempt to build up Storm count and also to deprioritize certain groups of spells when deciding whether to counter them. These functions are dependent on AI profile options and, being experimental, are currently disabled in the Default and Reckless AI profiles.
- Added a new AI profile, Experimental, that is based off of the Default profile but which has different experimental AI options enabled and set to reasonable values. Will be used to test, tweak and refine parameters for certain newly introduced options, as well as to test their functionality. Most likely not for everyday use.
2017-01-22 15:42:03 +00:00
Hanmac
a5d5c72fc2 Adaptive Automaton and Metallic Mimic need to have the Chosen Type as CDA 2017-01-22 14:14:19 +00:00
Hanmac
9926c8578f Mind Whip: add References 2017-01-22 14:00:44 +00:00
Agetian
991522655f - Removing non-existent subability from Demonic Hordes. 2017-01-22 13:18:37 +00:00
Hanmac
3e4909cffe fixed Footsteps of the Goryo 2017-01-22 13:04:37 +00:00
Agetian
257cd5116e - Updating Cipher cards (IsEncoded parameter is no longer necessary). 2017-01-22 10:46:46 +00:00
Agetian
b251f47347 - Fixed Trait Doctoring (currently wrote the DB Encode ability similar to how it's written on other Cipher cards, not sure if there's a bigger issue with it underneath) 2017-01-22 09:33:27 +00:00
Hanmac
ccb01399a2 Hoarders Greed: fixed card, because older format does not work anymore 2017-01-22 09:33:26 +00:00
Hanmac
56df189b9c fixed Variant type of Gisela deck 2017-01-22 09:19:19 +00:00
Agetian
2c39506879 - Some crash prevention in ChangeTargetsAi, the AI needs further improvement here if we're to teach it to retarget spells with multiple targets.
- Generalized ChangeTargetsAi not to mention Spellskite by name (so other creatures can gain its ability and be correctly used by the AI) and also not to use AI Logic and detect the ability via DefinedMagnet instead.
- Marking Muck Drubb as AI playable.
2017-01-22 05:56:30 +00:00
Agetian
c06cbbfe0f - Made Mizzium Meddler use AI SpellMagnet and thus made it AI-playable. 2017-01-21 17:27:12 +00:00
Hanmac
ca45bf3da5 AbilityUtils: make calculateAmount with Triggered use getDefinedCards which does handle Trigger before
CardUtil: need to set CopiedPermanent for LKICopy
Scrap Trawler: use TriggeredCardLKICopy which might be more correct
2017-01-21 14:52:05 +00:00
Agetian
9dfc0053ff - Allow the AI to pay phyrexian mana for Gut Shot if it deals a killing blow to an opponent. 2017-01-21 14:40:11 +00:00
Agetian
e864600058 - Preventing the AI from spending Phyrexian mana on some abilities on CMC 1 cards with Phyrexian-only mana that are not typically wise to spend Phyrexian on and the AI would generally use the possibility at inappropriate times. 2017-01-21 14:30:02 +00:00