Commit Graph

34074 Commits

Author SHA1 Message Date
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
Agetian
edc4dfdc95 - Fixed Tap/Untap AI not determining the trigger status of the SA, resulting in an "adding to stack error" when casting a spell similar to Deceiver Exarch. 2017-07-10 14:15:29 +00:00
Agetian
9a2d288d73 - Fixed Hour of Eternity. 2017-07-10 12:53:32 +00:00
Agetian
d493ceca7a - Some more PConq event fixes [missed line]. 2017-07-10 12:45:12 +00:00
Agetian
561a97e515 - Some more PConq event fixes. 2017-07-10 12:44:56 +00:00
Agetian
c7eb8359e0 - Only face down split cards should have an alternate state to show via the "transform arrows". 2017-07-10 12:30:46 +00:00
Agetian
22ef6f9eb2 - Fixed avatar in one of PConq events. 2017-07-10 04:42:03 +00:00
Agetian
601feb0989 - Fixed a deck name in PConq. 2017-07-10 04:12:19 +00:00
Agetian
63ac8ee9a9 - Fixed several events on the Mirrodin plane in PConq. 2017-07-10 04:11:08 +00:00
Sol
89883e278b - Revert Single Thread change. Paying costs didn't work with this change 2017-07-10 03:24:02 +00:00
Myrd
cb5c5c419a 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.
2017-07-10 01:56:50 +00:00
Myrd
42bcfe226d fix symbiotic wurm text 2017-07-10 01:47:38 +00:00
Agetian
fe0f6f879a - Minor formatting fix. 2017-07-09 17:56:58 +00:00
Agetian
c8c6f568a2 - Fixed Ezuri, Renegade Leader event in PConq (Mirrodin plane). 2017-07-09 17:31:18 +00:00
Agetian
3564dc6f1a - A little improvement to the fallback test in DamageDealAi. 2017-07-09 17:02:31 +00:00
Agetian
d0b18e159b - Minor formatting fix, 2017-07-09 14:32:25 +00:00
Agetian
6f320f2c77 - Fix imports. 2017-07-09 14:32:07 +00:00
Agetian
30e7c33f3e - Improved Drain Life AI logic. 2017-07-09 14:31:28 +00:00
Agetian
3084555c53 - Fixed Wasp of the Bitter End. 2017-07-09 13:41:56 +00:00
Agetian
2a4ef7d4d5 - Fixed Earthshaker Khenra. 2017-07-09 13:03:21 +00:00
Agetian
aeed0a5dea - Fixed Hour of Devastation 2017-07-09 12:59:34 +00:00
Agetian
126cb7d12b - Fixed Hazoret the Fervent. 2017-07-09 12:54:55 +00:00
Hanmac
779ef1e0d1 fix CostAdjustment 2017-07-09 12:43:56 +00:00
Hanmac
8db0034bb6 cards: update ReduceCost/RaiseCost with new logic 2017-07-09 08:56:42 +00:00
Hanmac
4d1805fb27 CardFactory: Monstrosity: add ReduceCost param 2017-07-09 08:49:28 +00:00
Hanmac
c24476db9c CostAdjustment: add RaiseCost and ReduceCost also add ValidSpell 2017-07-09 08:48:20 +00:00
Hanmac
4c9f84602e SpellAbility: hasProperty add more properties 2017-07-09 08:46:59 +00:00
Agetian
bff2a6cad0 - AiAttackController: Switch to using CardCollection for attacker/blocker arrays, fixes the all-in overevaluation bug in a more elegant way and protects against potential duplicate entries in other places. 2017-07-09 05:59:40 +00:00
Agetian
b06ffd8106 - Committing some of the Marek's corrections for older cards. 2017-07-09 05:01:47 +00:00
Sol
c31fb7381b - Move HOU cards to appropriate named folders (delete 7 reprint dupes) 2017-07-09 01:11:43 +00:00
Agetian
f2f7507a37 - Adding HOU planeswalker decks to quest precons. 2017-07-08 20:20:57 +00:00
Agetian
3250feb520 - Preparing Forge for Android publish 1.6.0.001 [incremental]. 2017-07-08 19:05:57 +00:00
Agetian
3352c94a53 - AiAttackController: make sure that unblockedAttackers do not get added twice, which would result in the AI over-evaluating the potential attacker damage and becoming too confident in performing an all-in, resulting in a loss next turn. 2017-07-08 18:56:42 +00:00
Blacksmith
533fcc9b73 Clear out release files in preparation for next release 2017-07-08 18:54:24 +00:00
Agetian
d18b457cef - Adding booster definition to Starter 1999. 2017-07-08 18:50:45 +00:00
Agetian
f372135c93 - Classic 6th edition should not generate foils. 2017-07-08 18:49:09 +00:00