Commit Graph

31801 Commits

Author SHA1 Message Date
Agetian
4ca2ca7441 - Update cards that have an extra ability which does not care whether the targeted creature was destroyed or not (indestructibe, regenerated, etc.) to use TargetedLKI instead of RememberedLKI. 2016-12-17 08:27:57 +00:00
Hanmac
ab84992837 phthisis: no need to use remember at all 2016-12-17 08:19:45 +00:00
Agetian
c105059785 - Using TargetedLKI for Phthisis so that it does not care about the creature being destroyed or not. 2016-12-17 08:09:18 +00:00
Agetian
eaf4e94851 - Reverting the RememberLKI change for now, breaks many other cards. 2016-12-17 08:08:03 +00:00
Agetian
3585177898 - Minor formatting fix. 2016-12-17 06:32:15 +00:00
Agetian
7dc9437752 - [Experimental]: do not invoke the achievement update in the game thread (which creates a race condition when there are multiple achievements of different types to be awarded, freezing the game completely). 2016-12-17 06:31:51 +00:00
Agetian
3f2b5425b9 - AB Destroy should remember LKI if instructed to via RememberLKI parameter even if the creature is not destroyed (for the sake of subabilities that may reference that LKI). Fixes Phthisis + regenerating a creature. 2016-12-17 06:23:37 +00:00
Agetian
0879a7fb85 - Fixed Slave of Bolas. 2016-12-16 19:42:51 +00:00
Agetian
c789fc32f7 - List most likely can't be null at this point since it's instantiated, so just check for empty. 2016-12-16 19:02:30 +00:00
Agetian
4aec9031d3 - NPE prevention measure in ControlGainAi (potentially trying to sort an empty list when the AI has nothing to target). 2016-12-16 19:01:52 +00:00
Agetian
99b730ebc7 - NPE prevention in Charm effect (note: if the AI is trying a Charm effect while it hasn't chosen anything, then there's also an issue elsewhere in the logic, may need further examination/correction). 2016-12-16 18:59:14 +00:00
Agetian
f439fe52c4 - Fixed Everflowing Chalice NPEing after being cast via Delay. 2016-12-16 18:49:34 +00:00
Agetian
d3951c0061 - Added an extra check for Genju of the <X> AI. 2016-12-16 12:02:19 +00:00
Agetian
f076b765de - Removed an extra blank line. 2016-12-16 10:53:58 +00:00
Agetian
b46aabf6c6 - Prevent the AI from animating a land enchanted with an animating aura (i.e. Genju of the Cedars) by tapping the land that is to be animated. 2016-12-16 10:53:20 +00:00
Agetian
c2907aa915 - [Experimental] attempt to fix Kalitas, Traitor of Ghet interaction with mass removal by reading LKI about the card's last known zone on a Moved replacement effect event. 2016-12-16 07:07:11 +00:00
Agetian
21d442db94 - Fixed Batwing Brume stack description. 2016-12-15 11:28:21 +00:00
Agetian
251c85aeb3 - Fixed Batwing Brume NPE. 2016-12-15 10:25:21 +00:00
Agetian
fbf3845ca6 - Fixed CountersPutAi NPEing on divided counter allocation (e.g. Ajani, Mentor of Heroes +1) 2016-12-15 06:16:55 +00:00
Hanmac
b8f7ea55f4 CardFactoryUtil: move Cumulative upkeep as part of SacrificeEffect and add it to Trigger
remove multiplyCost because its not needed anymore
2016-12-14 21:08:44 +00:00
Hanmac
49c76ba3ac HumanPlay: fixed Text for CostAddMana 2016-12-14 20:57:01 +00:00
Hanmac
ddb7bcd974 Cost: make Cost better copyable
When adding CostParts, make CostAddMana join together
2016-12-14 20:55:32 +00:00
Agetian
7a1231eb1a - Fixed Sapphire Charm not actually drawing a card. 2016-12-14 17:33:00 +00:00
Agetian
2169200808 - Eldritch Moon should be a legal set in Innistrad Planar Conquest. 2016-12-14 17:22:25 +00:00
Agetian
8d427fd2fe - Removed debug messages. 2016-12-14 16:28:54 +00:00
Agetian
3407e84965 - Temporary fix [attention required]: fill Execute parameter for SAs that are parented to Charm API. Fixes Sapphire Charm first ability crashing. Most likely requires a different fix, please correct. 2016-12-14 16:17:12 +00:00
Agetian
8c7f967d50 - Fixed Jhoira of the Ghitu Avatar crashing. 2016-12-14 16:08:29 +00:00
Agetian
24f993eaef - Somewhat neater implementation of Storm description. 2016-12-14 14:35:22 +00:00
Agetian
d52d6300cd - Fixed Aether Membrane. 2016-12-14 12:43:12 +00:00
Agetian
432ab1bcf3 - Prevent a NPE ensuing from potentially "bleeding" a challenge from one quest world to another. 2016-12-14 10:40:18 +00:00
Agetian
03f100686a - Added a missing parenthesis. 2016-12-14 04:40:30 +00:00
Agetian
8e8bc627ef - Fixed generation of Storm description (fixes e.g. Astral Steel and friends crashing). 2016-12-14 04:37:49 +00:00
Agetian
f32fe2d130 - A cleaner import cleanup 2016-12-13 19:16:19 +00:00
Agetian
e210a9d744 - Removed an unused import. 2016-12-13 19:15:11 +00:00
Agetian
3be3a5424e - Reverted the Delve change in CardFactoryUtil for now, looks not necessary. 2016-12-13 19:10:56 +00:00
Hanmac
7bd7a0fcea CardFactory: reorder SpellAbilities, the First should be SpellPermanent 2016-12-13 18:49:51 +00:00
Agetian
7e9454a9c9 - Fix Delve not working for permanents (most notably creatures) that have additional non-mana abilities. 2016-12-13 17:20:25 +00:00
Agetian
9cc3ba1a62 - Fixed Undying triggering twice. 2016-12-13 04:48:58 +00:00
Agetian
881dedfc59 - Fixed some C16 cards crashing with a class cast exception (changed SVar ABs with cost 0 to DBs) 2016-12-13 04:24:18 +00:00
Hanmac
b269f714f1 updated Crooked Scales to prevent it from crashing 2016-12-12 21:10:41 +00:00
Hanmac
556c68794e Longtusk Cub: fixed TriggerDescription and add DeckHints 2016-12-12 18:27:51 +00:00
Agetian
39bd4b36ba - Fixed a missing reference warning. 2016-12-12 18:10:59 +00:00
Agetian
cdc64f5021 - Longtusk Cub should only give 2 energy counters per its official Oracle text. 2016-12-12 18:10:41 +00:00
Agetian
2fddaf0963 - Invoke sa.copy() when copying spell abilities in card factory to assign them a new ID such that they do not end up being locked to their original hosts. 2016-12-12 17:46:24 +00:00
Agetian
1e541dce0c - Added alt token image to Tana, the Bloodsower 2016-12-12 11:39:42 +00:00
Agetian
6596ce0d5c = Fixed Ikra Shidiqi, the Usurper 2016-12-12 07:51:24 +00:00
Agetian
e6f3dd1693 - Cleaner arrangement of AddType parameter in Darksteel Mutation. 2016-12-12 07:49:04 +00:00
Agetian
bee8d16c88 - Fixed Darksteel Mutation. 2016-12-12 07:35:42 +00:00
Hanmac
3bdc2101e6 CardFactoryUtil: moved Echo to new Format 2016-12-12 06:04:29 +00:00
Agetian
9aaf5ccba0 - Fixed Surge description generation. 2016-12-12 05:24:58 +00:00