Commit Graph

33559 Commits

Author SHA1 Message Date
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
Agetian
1a076a648a - Only sort custom drafts if there is something to sort. 2017-07-11 17:08:29 +00:00
Agetian
df56df5ede - Sort custom drafts / cubes alphabetically in the list. 2017-07-11 17:03:35 +00:00
Agetian
546fc33ba6 - Added AI logic to the "Tap to get {E}" ability of Consulate Turret. 2017-07-11 10:07:12 +00:00
Agetian
89cfd0bbb0 - Added an alias to AILogic Pump (AILogic BestOption) to ChooseGenericEffectAi for cards where this name of the logic makes more sense. Switched Catastrophe to using this AILogic name. 2017-07-11 07:09:52 +00:00
Agetian
b69b6f1097 - Reverting r34697 for now, it breaks Developer Mode (functionality like Add Card To Hand, Add Card To Play, Setup Game State, etc.) and thus hinders proper debugging of the game in specific situations.
- Please feel free to revert this commit to continue working on the single thread executor project and then recommit once it no longer breaks dev mode.
2017-07-11 06:41:21 +00:00
Agetian
aa974352c5 - Some refactoring and improvements in DestroyAllAi which should hopefully make the AI decide better on things like Wrath of God, Catastrophe, Armageddon etc. 2017-07-11 06:38:24 +00:00
Agetian
212cf95d05 - Added AI logic to Catastrophe that is needed for the AI to consider this spell (why is the logic called Pump? :/ ) 2017-07-11 06:37:52 +00:00
Myrd
5c29e8db6b 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 InputMayMana
which previously relied on there being multiple game
threads.
2017-07-11 02:33:27 +00:00
Agetian
9f472e16d8 - Preparing Forge for Android publish 1.6.0.002 [incremental/bugfixes]. 2017-07-10 19:01:04 +00:00
Agetian
055bd49240 - Documenting changes in CHANGES.txt. 2017-07-10 18:57:59 +00:00
Agetian
c49412e5e6 - Fixed challenges in Urza's Block world. 2017-07-10 18:56:19 +00:00
Agetian
769663298d - Adding Urza's Block world by Seravy. 2017-07-10 18:48:01 +00:00
Agetian
3a477ae24b - FightEffect: damage should be dealt simultaneously (e.g. Hero of Iroas vs. Cystbearer fighting via Dromoka's Command giving a +1/+1 counter to Iroas should still make Hero of Iroas deal 4 damage). 2017-07-10 18:04:31 +00:00
Agetian
d587543416 - Formatting fix. 2017-07-10 14:24:37 +00:00
Agetian
4d7758e376 - Formatting fix. 2017-07-10 14:24:06 +00:00