Commit Graph

34074 Commits

Author SHA1 Message Date
Agetian
507490df59 - LifeGainAi: minor formatting. 2017-07-14 16:53:08 +00:00
Agetian
3c4309d74b - LifeGainAi: Do not use the "don't sac possible blockers" code path if the cost is "sac self" and the card is not a creature (e.g. Woodweaver's Puzzleknot). 2017-07-14 14:44:28 +00:00
Agetian
8f27ba5022 - CopyPermanentAi: do not try to activate the copy ability if there is nothing to copy when there needs to be an imprinted card (Mimic Vat). 2017-07-14 10:12:39 +00:00
Agetian
5ebf194364 - Karn Liberated must not remember exiled cards if it leaves the battlefield. 2017-07-14 09:58:09 +00:00
Agetian
ea4f8b67f2 - Unfortunately, have to revert r34731 - breaks mobile Forge (at least when running on desktop, e.g. for debugging purposes, but quite possibly on Android itself as well) and does not allow to cast anything from hand at all, making the single click on a card function as a selection (but not allowing to actually cast the spell). 2017-07-13 20:08:47 +00:00
Agetian
03f636a726 - HOU fatpack specification doesn't need a basic land info. 2017-07-13 18:53:21 +00:00
Hanmac
690dba8549 TokenEffect: make the Kalitas + Anointed Possession working 2017-07-13 17:07:20 +00:00
Hanmac
02ba6bc889 ReplaceMoved: add Cause into params for SA 2017-07-13 17:03:02 +00:00
Hanmac
d7a0e7c674 SpellAbility: add hasReplacingObject 2017-07-13 17:01:53 +00:00
Agetian
f415edeb6d - Fixed Saving Grace. 2017-07-13 15:02:52 +00:00
Agetian
19f3e34543 - Updating some AI variables for Hour of Devastation cards. 2017-07-13 14:41:15 +00:00
Agetian
5490008e19 - Updated quest opponent download list. 2017-07-13 11:45:25 +00:00
Agetian
370ce6a344 - Adding quest opponent decks Vegeta 2 / Vegeta 3, Temur decks focused on energy, the medium one on energy-based creatures and creature token creation, the hard one on Aetherworks Marvel + Ulamog, the Ceaseless Hunger. 2017-07-13 11:45:14 +00:00
Agetian
c6f4ac2967 - Added Meddle by schnautzr. 2017-07-13 09:58:41 +00:00
Agetian
b12380a772 - Mobile Forge: allow using A as alpha strike and E as end turn (unmodified with Ctrl) when running on desktop; bound to Ctrl+A / Ctrl+E on mobile (not sure what the rationale was, but probably to avoid skipping things when typing in something from on-screen keyboard? I decided not to touch it).
- Added an option to disallow using Esc as a shortcut for passing until end of turn, like in desktop forge (mostly relevant when used on desktop, but could also prevent misclicking the Esc-bound button accidentally on mobile).
2017-07-13 09:43:54 +00:00
Agetian
d7ea4cdf6a - NPE prevention for RememberMap in Card. 2017-07-13 06:32:29 +00:00
Agetian
aa07530bd3 - Added AI logic parameter to Pyrohemia. 2017-07-13 06:12:53 +00:00
Agetian
05fe27afa6 - Switching Pestilence AI to be more generic and use AILogic$ DmgAllCreaturesAndPlayers 2017-07-13 06:09:07 +00:00
Agetian
c6ddc9f8dd - Comment formatting fix. 2017-07-13 05:49:41 +00:00
Hanmac
07d130dbff HumanPlay: fixed cost canPay 2017-07-13 05:36:29 +00:00
Agetian
f8eec67cca - Integrating the Pestilence AI improvement by Seravy. 2017-07-13 05:32:35 +00:00
Agetian
c92e3c7040 - There seem to be 4 distinct booster pack pictures in HOU. Might need updating in the future if there is more booster art. 2017-07-13 05:17:23 +00:00
Hanmac
ce1e17acde Cost now has better canPay and cost Parts now can differ between activator and payer of the cost 2017-07-13 05:05:05 +00:00
Myrd
1d3f91fb9c Switch game thread executor to be a single-thread
executor instead, of a thread pool. This is needed
because when things need to execute on the game
thread, it's not thread safe so only one such thing
should be executing at a time.

This should fix ConcurrentModificationException
from CardAreaPanel.selectCard() on mobile.

This is a reland of r34680 with a fix for being able
to run tasks on the game thread while waiting for input
from the user. Specifically, tested paying costs and
using the dev panel, but should work with anything that
schedules tasks via GameAction.invoke().
2017-07-13 05:03:34 +00:00
Hanmac
7bc6761502 CardPredicates: add sharesCreatureTypeWith 2017-07-13 05:00:53 +00:00
Hanmac
a5a2d646f4 CardPredicates: add canReceiveCounters 2017-07-13 04:52:52 +00:00
Agetian
9bc12764d3 - Adding a test for Kalitas and Annointed Procession (NOTE: currently the assertion is disabled because it will always fail since Forge does not implement the interaction correctly; please fix and then enable the assertion to ensure that it works correctly in the future). 2017-07-13 04:50:43 +00:00
Agetian
6fdea6572c - Only add existing booster templates to the template map to avoid situations where the game would try to generate a non-existing booster pack and crash (e.g. unlocking a Starter 2000 set in quest mode).
- Only show the "You receive the following bonus cards" window if there are bonus cards available from the booster template.
2017-07-13 04:12:53 +00:00
Agetian
9e65053285 - HOU bundle should provide HOU basic lands [correct me if I'm wrong]. 2017-07-13 04:00:13 +00:00
Agetian
a440d96808 - Adding BoosterCovers and TreatAsSmallSets defs to HOU edition file. 2017-07-13 03:55:15 +00:00
Agetian
78a9e57fb1 - Adding a test for Kalitas, Traitor of Ghet generating zombie tokens on mass removal. 2017-07-12 18:33:07 +00:00
Agetian
4d304abd43 - A more concise plane description for Amonkhet in PConq. 2017-07-12 18:02:07 +00:00
Agetian
f53dfedb4e - Added info about the number of events to plane descriptions. 2017-07-12 16:29:30 +00:00
Agetian
85302a2b2f - Added Ixalan plane stub for the potential future plane in PConq. 2017-07-12 16:19:46 +00:00
Agetian
912ffb1709 - Documenting changes in CHANGES.txt. 2017-07-12 16:17:47 +00:00
Agetian
9c5c0a82f6 - Fixed a couple events in KLD and AKH PConq planes. 2017-07-12 16:15:24 +00:00
Agetian
7b41555ece - Adding Amonkhet plane to PConq [by Sirspud]. 2017-07-12 15:49:23 +00:00
Agetian
1d5214234d - Updating rankings for older sets (LEA-8ED) using data currently aggregated on Bestiaire. 2017-07-12 15:31:57 +00:00
Agetian
a454ee19ec - Fixed a typo in Wingcrafter. 2017-07-12 11:27:32 +00:00
Agetian
59545dd774 - Some clarifications in PuzzleScreen. 2017-07-12 07:53:10 +00:00
Agetian
10ad9785e1 - Avoid using an unnecessary variable. 2017-07-12 04:59:48 +00:00
Agetian
df5d0d3c81 - Removing an empty line. 2017-07-12 04:54:25 +00:00
Agetian
7d489785a3 - Basic support for Puzzle Mode on mobile Forge. 2017-07-12 04:53:40 +00:00
Agetian
0d4a97d0d0 - Display the name, difficulty and objective (goal/turn limit) of puzzles on the Puzzle Goal effect card. 2017-07-12 04:50:11 +00:00
Agetian
15ec1d4dde - Added missing lands to Pauper Puzzle #29. 2017-07-12 03:13:02 +00:00
Agetian
1cbc3ffc12 - Preparing Forge for Android publish v1.6.0.003 [hotfix]. 2017-07-11 18:01:59 +00:00
Agetian
6f7546eedf - Use TextUtil.join instead of String.join for Monstrosity (breaks on Android with the current API we're targeting). 2017-07-11 17:59:55 +00:00
Agetian
3e41e58cf9 - Reverting an experimental line. 2017-07-11 17:46:05 +00:00
Agetian
abd96ad60f - Updating bundled cubes. Added Vintage Cube June 2017 and a few Oldschool 93-94 Magic cubes. Added support for several fantasy blocks for Oldschool 93-94 action in limited modes. 2017-07-11 17:44:29 +00:00
Agetian
3d7db9c721 - A little bit more specific display name for custom drafts indicating that they are custom cubes. 2017-07-11 17:41:57 +00:00