Commit Graph

33362 Commits

Author SHA1 Message Date
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
Hanmac
7519e22d67 DamageDealBaseEffect: add base Class for Damage Effects: add replaceDying 2017-06-10 16:38:25 +00:00
Hanmac
580aed115a cards: fixed Kumano 2017-06-10 15:33:15 +00:00
Hanmac
28456d8514 cards: Kumano cards, replace Hidden Keyword with Replacement Effect 2017-06-10 15:21:36 +00:00
Agetian
5180f68484 - Added AI NeedsToPlayVar to Dusk // Dawn.
- NOTE: I tried adding a graveyard count restriction to the flip side (Dawn), but that made the AI not play the card at all (does the AI consider SVars on both sides at the same time?...)
2017-06-10 15:11:11 +00:00
Agetian
b88aa51507 - Improved Auto mana payment for Cavern of Souls.
- Fixed the AI trying to play Endless One for 0 when in presence of Cavern of Souls.
2017-06-10 14:48:20 +00:00
swordshine
a3f2112793 - Archenemy Nicol Bolas: Add two schemes 2017-06-10 14:26:28 +00:00
swordshine
dd2e76ec65 - Archenemy Nicol Bolas: Add a scheme
- Update scripts and add codes for C17 leaks
2017-06-10 14:07:13 +00:00
Agetian
33ac16eba6 - Comment unification. 2017-06-10 13:33:11 +00:00
Agetian
054d06794d - Clarified one of the AI profile comments. 2017-06-10 13:32:36 +00:00
Hanmac
a39ac85b15 FCollection: can't inherit from Set anymore because the interfaces might colide 2017-06-10 13:24:52 +00:00
Agetian
a844577e1a - Added AILogic LandForLand to Tectonic Edge. 2017-06-10 13:03:10 +00:00
Agetian
0bce0ee2e1 - AI should only sac Ghost Quarter if it either has more lands in play than the opponent, or equal amount of lands but at least one replacement land in hand, otherwise the AI tends to play too suboptimally. 2017-06-10 07:02:53 +00:00
Agetian
aa3ca54ca8 - Preparing Forge for Android publish 1.5.64.002.
- Starting with this revision, the minor version of Forge for Android will match the current beta of desktop Forge (e.g. 1.5.64.002 = the second revision after 1.5.64 beta), hopefully this will be less confusing.
2017-06-10 05:59:36 +00:00
Agetian
3f9ba13fb8 - Improved borderless card visualization in CardPanel
* in the borderless rendering is selected, do not draw any border (0 px) but also use square (unrounded) card corners with no offset for highlights in order to ensure that the highlight borders don't glitch;
* if the bordered rendering is selected, draw a thin (2 px) black border for borderless cards such as Amonkhet Invocations in order to make it play nice with the rounded card corners when highlighting the card.
2017-06-10 04:54:17 +00:00
Agetian
fca32cb035 - AI should only play Trial of Solidarity if it has at least a couple creatures out on the battlefield. 2017-06-10 04:06:11 +00:00
austinio7116
8e4ddea21f Fully removed card borders when noborder preference set to true for users with custom card art with full borders 2017-06-09 21:27:59 +00:00
austinio7116
362fe5a693 Update to card generated deck model to include latest decks 2017-06-09 15:38:23 +00:00