Commit Graph

33229 Commits

Author SHA1 Message Date
Agetian
6c9b19001e - Use ManaAtom.MANATYPES to simplify code for DoubleManaInPool in AF Mana. 2017-06-14 05:50:49 +00:00
Agetian
9ba44e1847 - Fixed Ward of Bones. 2017-06-13 20:31:33 +00:00
Agetian
4925fb90b4 - Refactored Lightmine Field AI logic into its own method. 2017-06-13 17:59:24 +00:00
Agetian
328a5a745b - Fixed Doubling Cube and Mana Reflection interaction.
- Updated several cards to use C->X format instead of Colorless->X for mana reflection (the latter is outdated and does not work anymore).
2017-06-13 17:56:05 +00:00
Agetian
26a96cd245 - Fixed Mana Reflection not doubling colorless mana. 2017-06-13 17:47:57 +00:00
Agetian
99cd34fecb - Removed an unnecessary empty line. 2017-06-13 16:39:17 +00:00
Agetian
dcce72d770 - Reverted one accidental change in the previous commit. 2017-06-13 16:37:46 +00:00
Agetian
e03f39c0ac - A little bit better prediction in Lightmine Logic AI for creatures that are forced to attack. 2017-06-13 16:37:01 +00:00
Agetian
5f9efe9192 - Improved the AI for attacking in presence of Lightmine Field (logic developed by nefigah). 2017-06-13 16:03:42 +00:00
Agetian
2cc5a47336 - Preparing Forge for Android publish 1.5.64.003 [incremental]. 2017-06-13 05:25:37 +00:00
Krazy
8da3420313 Fix currently open bazaar tab not updating when changing quests 2017-06-13 04:36:57 +00:00
Krazy
1fac1efba3 Fix bazaar not updating when changing quests 2017-06-13 04:34:06 +00:00
Krazy
37ab0d5650 Add random duels to mobile version and move from button to main list 2017-06-13 04:27:34 +00:00
Agetian
ce7ab53f49 - Fixed Thrasios, Triton Hero moving a revealed nonland card to the bottom of the library after scry and prior to drawing a card. 2017-06-13 03:59:01 +00:00
Agetian
ea65d1de4d - The Siege cycle cards now visualize their chosen mode in the card detail panel. 2017-06-12 13:20:21 +00:00
Agetian
de837d66f9 - Improved dynamic card text generation for AF Charm in cards where the opponent chooses the mode.. 2017-06-12 12:45:06 +00:00
Agetian
e55e64a2eb - Improved dynamic card text generation for AF Charm with repeatable modes. 2017-06-12 12:40:10 +00:00
Agetian
0da85091fe - Integrating latest Oracle updates by Indigo Dragon. 2017-06-12 12:18:23 +00:00
Agetian
d33ffc83aa - Fixed Demoralize. 2017-06-12 12:16:39 +00:00
swordshine
62a8205bff - Archenemy Nicol Bolas: Add two schemes 2017-06-12 08:01:07 +00:00
Agetian
3be7d4764c - Better names for split NeedsToPlay vars (SplitNeedsToPlay/SplitNeedsToPlayVar). 2017-06-12 06:40:36 +00:00
Agetian
abfb2d432f - A minor code improvement related to the previous commit. 2017-06-12 06:23:45 +00:00
Agetian
65850b63b1 - Added a way for split cards to have separate NeedsToPlay/NeedsToPlayVar sets for the right split (named NeedsToPlaySplit/NeedsToPlayVarSplit, respectively).
- Added NeedsToPlayVarSplit to the right split of Dusk // Dawn.
2017-06-12 06:21:52 +00:00
Agetian
63a7cab596 - Fixed compilation. 2017-06-12 05:48:46 +00:00
Agetian
860c3d7022 - Added a missing reference to Archive Trap. 2017-06-12 05:29:30 +00:00
Hanmac
e3bf91365e GameAction: remove outdated hidden keyword 2017-06-12 05:09:40 +00:00
Hanmac
123c26e994 dreams of the dead: use LeaveBattlefield now 2017-06-12 05:07:17 +00:00
Hanmac
64c2ae36e0 PumpEffect: add LeaveBattlefield like in Animate 2017-06-12 05:06:45 +00:00
Agetian
30d95794df - Added the ability to make the AI play CopySpellAbilityAi on triggers if AILogic$ Always is set. Added this logic to Pyromancer Ascension. 2017-06-12 04:47:15 +00:00
Hanmac
e81528916a cards: use LeaveBattlefield param instead of HiddenKeyword 2017-06-12 04:31:58 +00:00
Hanmac
7f2eb6a384 AnimateEffect: add LeaveBattlefield parameter for Replacement Effect 2017-06-12 04:29:14 +00:00
Hanmac
86e11be6c1 Grixis Plane uses Unearth Keyword now 2017-06-12 04:03:56 +00:00
Agetian
df63e414d3 - Imports cleanup. 2017-06-12 03:51:20 +00:00
Agetian
927a4ec2a8 - Fixed a crash when trying to start Puzzle mode without selecting a puzzle first. 2017-06-12 03:33:54 +00:00
Hanmac
b9a9fa344f SpellAbilityEffect: add createEffect, used for creating small Effect objects
use it in EffectEffect and DamageBaseEffect
ChangeZoneEffect: do Unearth exile if removed as ReplacementEffect
2017-06-11 18:56:29 +00:00
Hanmac
05e8063b9b ReplaceMoved: update code and add ExcludeDestination 2017-06-11 17:13:51 +00:00
Hanmac
f0abcd9d90 Game: updateLastStateForCard: shorten the code 2017-06-11 13:33:01 +00:00
Agetian
7aad6d8d46 - Do not run the card ID lookup in updateLastStateForCard if the lookup CardCollection does not contain the card in question. 2017-06-11 13:16:31 +00:00
Agetian
12fbbb5a70 - Added a way to update the LKI information in LastStateBattlefield / LastStateGraveyard for a single card.
- Used this mechanism to update the LKI for cards about to leave the battlefield when cumulative upkeep was not paid (fixes Jotun Owl Keeper, Phyrexian Etchings, possibly other similar cards).
2017-06-11 11:57:56 +00:00
Agetian
ada8cc7b8a - Minor clarifications in CardPanel. 2017-06-11 05:16:13 +00:00
Agetian
d9d336a39e - If the card picture is an image with transparency, do not enforce non-rounded corners and thin border when drawing it. 2017-06-11 04:53:54 +00:00
swordshine
c145502c8f - Archenemy Nicol Bolas: Add three schemes 2017-06-11 01:40:37 +00:00
Agetian
c096079b61 - Experimental: determineLeftoverMana should use the root ability (with the actual mana cost), otherwise it's not always possible to determine the correct mana cost (e.g. for Banefire) and PayX gets set to the wrong (usually too high) value, making the AI unable to play the card. 2017-06-10 19:30:53 +00:00
Agetian
a4fdd54424 - Experimental: adjust the mana cost after determining extra mana cost increase in ComputerUtilMana#calculateManaCost in order to allow the AI to e.g. properly determine the cost reduction for {X} (Endless One) in presence of Eye of Ugin and other similar scenarios. Needs additional testing. 2017-06-10 19:25:11 +00:00
Hanmac
cdda8da011 Frostwielder: use ReplacementEffect 2017-06-10 18:33:10 +00:00
Hanmac
e139d0e82a Insult // Injury: fixed Description 2017-06-10 17:42:34 +00:00
Hanmac
6bce8a7915 Flaying Tendrils: use Replacement Effect instead 2017-06-10 17:36:10 +00:00
Hanmac
f6bbf5f766 Haakon Avatar: use Replacement Effect 2017-06-10 17:20:02 +00:00
Hanmac
04e55cacb6 cards: update cards with ReplaceDyingDefined 2017-06-10 17:15:34 +00:00
Agetian
ab8038c3bb - A more reliable check in the Cavern of Souls AI that works with ability-changing effects like Blood Moon. 2017-06-10 16:39:09 +00:00