Agetian
dc01a30136
- More advanced Life Drain AI, now works with Soul Burn too, and also works correctly when the AI has other mana sources that do not provide black mana on the battlefield.
2017-01-27 05:58:44 +00:00
nefigah
f9f7bd1366
Fix a small typo, and test commit privileges
2017-01-26 20:30:21 +00:00
Agetian
5247793a68
- Basic AI for Drain Life (will only go for opponent's face for 3+ damage for now, to be improved later). Soul Burn currently doesn't work with this logic due to complex xColorManaPaid which I'm not sure how to set properly for the AI.
2017-01-26 19:20:37 +00:00
Agetian
51e0c469be
- Fixed Midnight Entourage.
2017-01-26 18:48:56 +00:00
Agetian
7226ab7b3d
- Attempting to fix PlayEffect nagging the player to pick a card to play even if he refuses an optional effect once (e.g. AER Expertises).
...
- Maybe there's a better way to write the condition, please take a look when possible (note that Chandra, Pyromaster is a good test for something that needs to work well with the change in mind).
2017-01-26 14:43:11 +00:00
Agetian
b190a58775
- Renamed the AI recursion prevention parameter to make more sense.
2017-01-26 12:17:11 +00:00
Agetian
94f53e05e6
- Explicitly marked cards that use a re-entry mechanism for testing playability via canPlaySa such that they don't recursively call each other and thus risk getting into an infinite loop (fixes potential check combinations of e.g. various mana rituals + Yawgmoth's Will in AI's hand and other things like that, which would otherwise cause a stack overflow).
...
- Some simplification in the AICardMemory interface, allowing to use static methods to simplify calls.
2017-01-26 06:40:46 +00:00
Hanmac
402f1ce884
cards: update Tribute cards using DB instead of AB, fixed Thunder Brute
2017-01-25 17:41:16 +00:00
Agetian
510a2df095
- Making throttle-based targeting overlay optimization optional for users running older hardware at slower CPU clock speeds.
2017-01-25 16:47:35 +00:00
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
a8e962c930
- Migrating old changes list to README.txt.
...
- Documenting post-1.5.58 changes in CHANGES.txt.
2017-01-25 08:56:49 +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
pfps
2bedb54128
Change several confirms to use new utility function
2017-01-25 00:28:11 +00:00
pfps
158e7d683e
Add a utility confirm function to encapsulate gui-switching and use it in several places (more to come)
2017-01-24 19:14:40 +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
e4ddffc0a8
- Logic correction.
2017-01-24 15:31:18 +00:00
Agetian
689768d40f
- Imports cleanup.
2017-01-24 15:10:19 +00:00
Agetian
65f129617c
- Temporarily putting in the code that would use the original prompting method if running on LibGdx (mobile Forge) since mobile Forge has no way of showing the card to the player without going through the getGui().confirm method, which creates a custom card view and prompt there.
...
- Probably should be organized better (it's not very clean to branch out for a particular port in top-tier GUI code), but I'm not sure how to make this better. Please feel free to improve.
2017-01-24 15:05:01 +00:00
Agetian
a4a3ad99eb
- Instantly show the card Scry is inquiring about to avoid specifically having to mouse over the prompt to take a look at it.
2017-01-24 14:01:17 +00:00
Agetian
b62a99724a
- Made the Scry dialog show the card it's inquiring about to the player when the mouse is over the prompt area.
2017-01-24 13:54:44 +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
4233e1dbc4
- Adding deck conversion tools that I'm using to convert MTGDecks.net deck lists and XMage cube definitions. Might be useful as a basis for converters from other deck formats too.
2017-01-23 15:16:57 +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
77d9230dc5
- Suppress (Targeting ERROR) in prompt [again].
2017-01-23 05:18:03 +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