Commit Graph

33559 Commits

Author SHA1 Message Date
Krazy
fd4419b9f4 Make sure counter font is included/loaded 2017-06-22 02:42:34 +00:00
Krazy
6e891101ce Add new counter display and associated preference; clean up preferences screen a little 2017-06-22 02:25:06 +00:00
swordshine
89e72f382f - Fixed Reyhan, Last of the Abzan 2017-06-22 01:50:56 +00:00
Hanmac
581ffadfb1 CardFactoryUtil: do Persist and Undying as DB 2017-06-21 19:04:16 +00:00
Agetian
b6545dcc97 - Attempting to fix issues with Animate Dead, Mikaeus, the Unhallowed (indirect Undying), and possibly other things. 2017-06-21 18:54:12 +00:00
Krazy
4e75421ac9 Fix broken regex pattern. Thanks, Oracle, for the accurate JavaDocs! 2017-06-21 18:48:02 +00:00
Krazy
5f201dc5a3 Fix parsing of Java version strings 2017-06-21 18:13:45 +00:00
Agetian
850e446fbe - Only show the Retrace optional cost for cards in graveyard. 2017-06-21 13:53:34 +00:00
Agetian
ceb7951dcb - A somewhat better play effect check which only ignores timing and activator restrictions for a spell, but tests everything else (so it's impossible e.g. to cast a Retrace spell 2017-06-21 13:48:28 +00:00
Agetian
70a6032e68 - A different approach to remedying the broken Play Effect problem (uses a dedicated SVar on a SpellAbility). 2017-06-21 13:33:11 +00:00
Agetian
8f2aa095ce - Fixed casting a non-instant spell from a Play Effect not working for the human player. 2017-06-21 13:07:58 +00:00
Agetian
c9fef205e4 - Fixed visualization of Kicker alt cost name in the dialog window. 2017-06-21 12:19:44 +00:00
Agetian
b45afe03a7 - Attempted to fix the dialog popup for optional costs popping up for cards with no optional costs [please review]. 2017-06-21 12:12:09 +00:00
Agetian
07de8055dc - Added some AI deck hints to Upcoming. 2017-06-21 06:35:50 +00:00
Agetian
b30d659aeb - Added some AI deck hints for Amonkhet cards. 2017-06-21 06:33:09 +00:00
Agetian
d573f60acc - Some comment cleanup in PlayerControllerHuman. 2017-06-21 04:46:22 +00:00
Hanmac
e29ec6fb83 GameActionUtil: add getOptionalCostValues to return OptionalCost with its Cost objects
SpellAbility: add canPlayWithOptionalCost
PlayerControllerHuman: got formated
2017-06-21 04:23:30 +00:00
Hanmac
d2b1c17f4e OptionalCost: add Name to Enum to have Kicker display as the same
OptionalCostValue: add Holder for enum -> cost
2017-06-21 04:17:11 +00:00
Agetian
ce4cfd11bb - Added AILogic$ ConsiderSac to Heart-Piercer Manticore, updated the logic not to sacrifice creatures with power 0 to it or valuable creatures unless lethal damage can be dealt to player (is CreatureEvalThreshold too permissive/restrictive? could stand to be improved, most likely). 2017-06-20 12:53:37 +00:00
Agetian
53ea39f787 - Added NeedsToPlay AI var to Harvest Season. 2017-06-20 12:26:55 +00:00
Hanmac
055bce58ce Surge: removed part from restriction and use OptionalCost value of SpellAbility 2017-06-19 18:00:38 +00:00
Agetian
d23eb5d678 - Corrected collector card numbers for DDS. 2017-06-19 15:41:44 +00:00
Agetian
a9ce0de935 - Added Welcome Deck 2017 definition file. 2017-06-19 15:15:20 +00:00
Agetian
927575fbfa - PumpAll AI should respect AIPreference:SacCost if specified.
- Specified a basic AIPreference for Maw of the Obzedat, marked it as AI playable.
2017-06-19 04:58:32 +00:00
Agetian
b19efd6c0d - Implemented a way to auto-suggest basic lands in the Add Basic Lands dialog in desktop and mobile Forge. 2017-06-18 16:41:51 +00:00
Agetian
bcaf069d96 - Changed Wrexial, the Risen Deep to work correctly with damage redirection. 2017-06-18 10:19:06 +00:00
Agetian
ecb5ea3c6a - A minor clarification / formatting fix. 2017-06-18 09:56:54 +00:00
Agetian
c6b405bad5 - Restored trigger zone for Wrexial, the Risen Deep. 2017-06-18 09:55:13 +00:00
Agetian
c35f7f00f6 - Several fixes and improvements to PlayAi ReplaySpell logic, now compatible with cards like Wrexial, the Risen Deep. 2017-06-18 09:54:08 +00:00
Agetian
5f08e2d065 - Fixed Wrexial, the Risen Deep trigger not working. 2017-06-18 09:52:22 +00:00
Agetian
ca043336a8 - Marked 1 more card with AILogic$ ReplaySpell. 2017-06-18 09:27:49 +00:00
Agetian
4565d64ca8 - Marked more cards with AILogic$ ReplaySpell. 2017-06-18 09:27:13 +00:00
Hanmac
a49e0e4926 upcomming: add Desert Cycling lands 2017-06-18 06:40:22 +00:00
Agetian
d71691eca7 - Added NeedsToPlay to Shields of Velis Vel. 2017-06-18 04:30:34 +00:00
Hanmac
a5069036cd CardTraitBase: add more Desert flags 2017-06-17 23:12:04 +00:00
Agetian
cc3442780f - Reverted previous commit. 2017-06-17 19:17:05 +00:00
Agetian
09d74513f4 - Another tweak in ChooseTypeAi. 2017-06-17 19:16:29 +00:00
Agetian
9ca6400d0a - A couple more tweaks in ChooseTypeAi. 2017-06-17 19:14:30 +00:00
Agetian
2f466fccfc - A better strategy for Mirror Entity Avatar (more conservative / more aggressive depending on conditions). 2017-06-17 19:01:03 +00:00
Agetian
299358264d - Since Mirror Entity Avatar is used offensively by the AI, make the conditions somewhat more restricted and dependent on the opposition to try to ensure that it doesn't fail as an attrition attack (otherwise the AI wastes all mana). 2017-06-17 17:31:14 +00:00
Agetian
75951f5a76 - Improved Mirror Entity Avatar AI logic for all-changeling decks (like the one in PConq) so that the AI can still identify the cases to play the avatar's ability. 2017-06-17 16:40:15 +00:00
Hanmac
8ba50cf61f Player: add hasDesert for Desert Battlefield or Graveyard checks 2017-06-17 13:17:03 +00:00
Agetian
662be6b56e - Generalized the logic that is currently used for Goblin Dark-Dwellers to determine WithoutManaCost from the SA itself. 2017-06-17 10:15:57 +00:00
Agetian
0cb9dab01d - Avoid code duplication in PlayAi. 2017-06-17 09:56:49 +00:00
Agetian
5b78887668 - Comments cleanup. 2017-06-17 09:31:12 +00:00
Agetian
25aa7aa429 - Imports cleanup. 2017-06-17 09:30:49 +00:00
Agetian
2ca7597624 - Refactored AI logic for cards like Goblin Dark-Dwellers and Snapcaster Mage.
- Rewired AI logic for Goblin Dark-Dwellers to work with the new card implementation.
2017-06-17 09:29:29 +00:00
Hanmac
154e546de5 Hour of Revelation: use IsPresent 2017-06-17 09:22:28 +00:00
swordshine
4881224b06 - HOU: Added Oasis Ritualist 2017-06-17 08:19:41 +00:00
Hanmac
39d22d1912 GameAction: remove outdated keyword "If CARDNAME would be put into a graveyard, exile it instead." 2017-06-17 08:01:54 +00:00