Commit Graph

1768 Commits

Author SHA1 Message Date
Sol
5ff062a9bf - Missed a {CHAOS} change 2015-12-29 05:07:50 +00:00
Myrd
baa25b3705 Fix for exception thrown when trying to tap Command Tower to pay for a generic mana cost. 2015-12-26 19:48:00 +00:00
Myrd
3aa0e71675 Fix some warnings reported by Eclipse. 2015-12-25 23:39:49 +00:00
Agetian
8671761b73 - Update the fizzling mechanism in AB ChangeZone, fixes the interaction of Knowledge Pool with auras (experimental, please test). 2015-12-13 09:46:17 +00:00
Sloth
2a3c54d20c - Fixed logic in getUnblockedAttackers() (used by Ninjutsu AI). 2015-12-12 21:17:34 +00:00
drdev
1d8efee185 Improve performance of getting image keys by moving it into InventoryItem interface 2015-12-07 02:02:05 +00:00
Agetian
088e05ae96 - Fixed Lotus Vale and Scorched Ruins allowing to sacrifice one land when resolving the spell (before going to graveyard). 2015-12-06 15:19:45 +00:00
Agetian
3541c36cf1 - Preserve more targeting information when cloning a CharmEffect (fixes e.g. the AI NPEing when trying to use the put counter ability of Abzan Charm). 2015-11-29 14:40:57 +00:00
Agetian
0743b3ef4d - Simplified commentary even more. 2015-11-29 06:32:07 +00:00
Agetian
a758c30d69 - Better comment for the fix. 2015-11-29 06:29:21 +00:00
Agetian
5ac475760a - Copy targets of sub-subabilities for the Charm Effect so that the targeting information is not lost at deeper levels (prevents e.g. the AI failing to correctly target with the fight ability of Dromoka's Command). 2015-11-29 06:29:01 +00:00
drdev
17df1c17b6 Fix compile errors from merged fix for poison counters 2015-11-24 20:29:20 +00:00
drdev
3b81f30e28 Fix so poison counters show up properly 2015-11-24 19:42:45 +00:00
Sol
96ecb71c85 - Make sure View for Poison is getting updated (we really should just simplify this down to a single view call) 2015-11-24 16:18:53 +00:00
Sloth
806d82ebc0 - Added Thief of Blood. 2015-11-24 12:54:05 +00:00
Sol
6dfec39143 - Some NPE protection for getAttackingBands 2015-11-22 20:51:25 +00:00
Agetian
1e546f1ec8 - Somewhat better structuring of the fix from the previous commit. 2015-11-22 06:02:31 +00:00
Agetian
f94e62459c - Set the targets for the cloned subAbility in CharmEffect::chainAbilities to prevent targeting information from being lost (fixes e.g. the AI casting Selesnya Charm and not targeting anything). 2015-11-22 05:55:07 +00:00
Sol
f3b9020168 - Fix Jeleva ETB without being cast 2015-11-20 14:53:52 +00:00
Sol
66fdfb62f1 - Don't spam the console with SVar fallback for Commander's SpellPermanent SAs 2015-11-20 03:21:51 +00:00
swordshine
f8ef7cfb6f - C15: added Anya, Merciless Angel 2015-11-19 10:57:58 +00:00
Sol
5527f6fc6d - Counters moved from being on Card to on GameEntity allowing Poison + Experience Counters to work the same as other counter types
- Improved some PlayerView updates which weren't re-writing player detail hoverbox often enough
2015-11-18 20:19:32 +00:00
swordshine
9db78be34b - C15: added Herald of the Host (keyword: Myriad) 2015-11-18 11:22:13 +00:00
Sol
7978fbbc15 - CostDiscard should only decrement Costs when the card that's in your hand can be used to pay the typing. (Fix Magmatic Insight) 2015-11-17 01:45:27 +00:00
Sol
022041a2f6 - Allowing Charms to have subAbilities be chosen more than once (AI support needs improving to actually filter through all the permutations) 2015-11-10 03:10:53 +00:00
Chris
de7058ca46 [maven-release-plugin] prepare for next development iteration 2015-11-06 20:38:00 +00:00
Chris
de3658d504 [maven-release-plugin] prepare release forge-1.5.47 2015-11-06 20:37:52 +00:00
excessum
411039b779 - Added check in DamageDealAi for planeswalkers 2015-11-01 07:34:25 +00:00
Sloth
21ba76d028 - Fixed Eater of Days skipping only one turn. 2015-10-26 10:12:35 +00:00
Sloth
9102e9c964 - Added basic AI support for Fell the Mighty. 2015-10-21 20:40:12 +00:00
Sol
8b3fadaead - ChangeZone Fizzling should only occur for Spells, not abilities or Triggers. 2015-10-20 23:43:18 +00:00
Sloth
1155f442d8 - Added Desolation. 2015-10-20 08:32:11 +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
e5ffc94533 - Display important Trigger information on the Stack 2015-10-15 02:52:51 +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
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
7dd216545d - Implemented AI for auto-payment of Converge/Sunburst costs 2015-10-11 07:25:08 +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
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
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
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