Commit Graph

29435 Commits

Author SHA1 Message Date
excessum
db3286bec6 - Revamped Planeswalkers logic: evaluate more expensive abilities first to prevent spamming of good "plus" abilities, try not to "minus" all loyalty if not under threat
- Added flag in TokensAi to allow Planeswalkers to create tokens in Main1
- AI can now use all the abilities of Gideon, Ally of Zendikar
2015-10-17 07:00:45 +00:00
Sloth
e2ba8fe0de - Added the medium quest opponent Baby Bonnie Hood 2. 2015-10-16 06:40:44 +00:00
Sol
962597e816 - Fix triggers from using the trigger variables to using the SA variables, which are more correct with multiple simultaneous triggers 2015-10-16 01:53:32 +00:00
Sol
bddbd365d8 - Starting to fix using the right variables for getImportantStackObjects 2015-10-16 00:03:23 +00:00
Sol
1477009c03 - Fix some c/p errors in the Sealed Submenu 2015-10-15 14:12:54 +00:00
excessum
5aabcb5089 - Fixed whitespace for r30289 and added check for source of loot spell 2015-10-15 12:09:46 +00:00
Sol
e5ffc94533 - Display important Trigger information on the Stack 2015-10-15 02:52:51 +00:00
excessum
2f7ebf615b - Implemented basic AI for looter effects 2015-10-14 12:59:04 +00:00
excessum
ac7cc30120 - Fixed bug with payManaCost() failing to pay with combo mana 2015-10-14 12:29:15 +00:00
Agetian
08f6b5a4b8 - Renamed setChangeZoneLKIInfo to addChangeZoneLKIInfo (better represents what the method does). 2015-10-14 05:50:25 +00:00
Sol
e072e2e6df - Fix Sonic Burst being castable when it's the only card in your hand. 2015-10-14 00:00:06 +00:00
Sol
e80d30ba5c - Adding Amulet of Vim to allow 1 game matches to be played in quest mode 2015-10-13 22:32:02 +00:00
Agetian
f011fa8143 - Fixed token image for Liliana, Heretical Healer. 2015-10-12 20:30:25 +00:00
Krazy
830c323a2d Added tournament name to UI. 2015-10-12 17:30:47 +00:00
Krazy
d90d571f32 Updated CHANGES.txt. 2015-10-12 16:00:52 +00:00
excessum
2766b50a71 - Extended canFightAi to consider Prowess buff 2015-10-12 13:20:02 +00:00
excessum
f0c751417b - Re-factored logic for Fight effects 2015-10-12 12:53:49 +00:00
Sol
5369435451 - Allow Sealed to play a specific opponent instead of just a gauntlet (always create 7 opponents for a sealed deck) 2015-10-12 01:43:03 +00:00
Krazy
e535bba675 Fixed bugs and improved set selection for quest drafts. 2015-10-11 21:07:59 +00:00
Agetian
69991880c1 - Also exclude Flashback from the zone that preserves changeZone LKI info. 2015-10-11 12:25:11 +00:00
Agetian
deb56c48e3 - Only store LKI information when a card moves from a physical zone to a physical zone, not when it's moving from/to stack (fixes e.g. instant and sorcery spells not gaining KW Lifelink on stack from Soulfire Grand Master). 2015-10-11 12:20:44 +00:00
excessum
71e417dd8a - Implemented AI for more Converge cards 2015-10-11 09:31:41 +00:00
excessum
94b6f67815 - Re-factored getSourcesForShards() out from payManaCost() 2015-10-11 08:26:53 +00:00
excessum
7dd216545d - Implemented AI for auto-payment of Converge/Sunburst costs 2015-10-11 07:25:08 +00:00
Agetian
ea8f15345e - Fix Dragon Presence cards showing the undefined SVar message all the time (tested the cards to the best of my ability in all possible conditions - no dragon, revealing a dragon from hand, having the dragon on the battlefield; seem to work fine). 2015-10-10 19:10:10 +00:00
Agetian
20705ec3e4 - Only store the changezone LKI info for cards actually moving from zone to zone. 2015-10-10 18:51:41 +00:00
Agetian
b7dea3814d - Removed an extra empty line. 2015-10-10 18:16:51 +00:00
Agetian
589cc37e11 - Highly experimental: implement an in-between-zone-change LKI information saving mechanism that allows the game to store and retrieve information about the card prior to its latest zone change (currently this is preserved as long as stack is resolving and is cleared whenever the stack is empty after resolution).
- Currently this is used by damage-dealing abilities (Damage*Effect). This fixes e.g. Nylea's Bow + sacrificing a creature equipped with Mortarpod to deal 1 damage to opponent's creature (the damage dealt has to be lethal (deathtouch) according to the LKI information about the sacrificed card).
- This is a rather intrusive and experimental change that is likely to affect something in an unwanted way, please test and feel free to improve.
2015-10-10 18:15:59 +00:00
drdev
c55a4a49ba Close loophole where ability menu could remain open when advancing phases, allowing playing cards when you shouldn't be able to 2015-10-10 17:54:10 +00:00
Agetian
6231dda747 - Added period symbols to the end of Misery Charm spell ability descriptions. 2015-10-10 17:35:28 +00:00
Agetian
7eab670d64 - Fixed Misery Charm. 2015-10-10 17:29:07 +00:00
Agetian
68ee5fe2e4 - Moved the holdCheckingStaticAbilities methods closer to the code that checks for static abilities. 2015-10-10 06:46:20 +00:00
Agetian
41f9f1da34 - Better and more concise commentary. 2015-10-10 06:37:37 +00:00
Agetian
492defb630 - Experimental: only check static abilities once when processing lethal damage in combat. Prevents e.g. Erebos's Titan gaining Indestructible prematurely when dealing lethal damage to the last opponent's creature on the battlefield. Please test. 2015-10-10 05:54:21 +00:00
Agetian
3eda692ea9 - Added a missing Cleanup clause to Fiend of the Shadows. 2015-10-10 04:32:59 +00:00
Sol
f216c8821b - Allow Draft to play a specific drafted opponent instead of just a random one. 2015-10-10 02:40:49 +00:00
Agetian
3c211958aa - Fixed Fiend of the Shadows. 2015-10-09 20:42:21 +00:00
Sloth
689c95a92c - Fixed, improved and refactored AI combat predictions reagarding blocks/becomes blocked triggers. 2015-10-09 11:03:28 +00:00
Sloth
a024b7d109 - Fixed SpellDescription of Horribly Awry. 2015-10-09 11:01:38 +00:00
Sol
6ed4b1eb8b - Fix Charms always being processed in the order they appear on the card.
- Fix Charms being a SubAbility of the last piece of the previous SA chain
2015-10-08 21:47:31 +00:00
Sol
8f4b10b54c - Improve targeting prompts for Dromoka's Command 2015-10-08 20:16:23 +00:00
Agetian
16da11a828 - NPE protection. 2015-10-08 20:06:12 +00:00
Agetian
7df36900e4 - Reveal face down cards leaving the stack zone and not entering the battlefield (per rule 504.6). 2015-10-08 20:03:20 +00:00
Agetian
96e1910634 - Fixed the ability description for Undead Servant. 2015-10-08 16:41:09 +00:00
Agetian
a53bc5f72b - Fixed Infernal Scarring "draw a card" trigger triggering twice. 2015-10-08 14:22:36 +00:00
Sol
d5dc1a9e2a - Temporarily wrapping faulty logic with a try/catch so Quest Mode decks can actually save 2015-10-08 13:40:29 +00:00
Sol
e7fe36f402 - Fix cost for Sacrifice of Ally Encampment 2015-10-08 13:38:20 +00:00
Agetian
f511d418a3 - Fixed Hedron Blade. 2015-10-08 11:48:55 +00:00
Maxmtg
95186df02e BFZ fatpack added 2015-10-08 05:53:24 +00:00
Sloth
c164c4ddfc - Updated two AI SVars. 2015-10-07 20:56:30 +00:00