Agetian
cc3a587e42
- Implemented biasing random (simulated) AI vs AI matches towards decks with higher draft rank value.
...
- Better name for the random decision simulation option.
2017-01-01 20:14:13 +00:00
Agetian
ac2881cc6c
- Added a new quest preference "Do Not Play AI Matches" which allows the player to decide the outcome of AI vs. AI matches randomly instead of playing them out and thus simulating them. This is disabled by default, set to "1" to enable.
...
- Currently determines the outcome of all AI vs. AI matches in a 50-50 fashion. Might be upgraded later to bias the outcome towards a stronger deck judging by the total card draft rating value.
2017-01-01 16:06:28 +00:00
Agetian
46a76ce69b
- Do not generate quest booster drafts for sets that do not have a booster template available for them and will thus crash.
2017-01-01 10:30:57 +00:00
Myrd
18ba55ae27
Attempt to fix memory leak with TrackableTypes.
...
The problem was that TrackableTypes were all global (held in static variables), but kept around state (objLookup maps) that shouldn't be global - e.g. that could contain per game data. Additionally, it seems this state wasn't always getting cleared correctly and thus would cause leaking of memory over multiple games - which would especially be a problem for Simulated AI code which created temporary games for simulation.
This change attempts to fix the issue by moving the storage of objLookup maps to the Tracker object, which corresponds to a single Game. This way, there is no cross-contamination between different games and the state is properly cleaned up when a Game goes away.
2016-12-30 19:34:07 +00:00
Hanmac
1738f49798
Big Damage Rewrite Part 2: now use CombatDamageMap everywhere
2016-12-30 14:50:45 +00:00
Agetian
a2cca4cb5a
- Do not crash when an unsupported card is found in a quest save, instead warn about it in the log and do not include the card in the pool (which eventually removes it from the save file).
...
- Might need to do something about CNS Conspiracies and other substandard cards enering the quest pool (e.g. from reward booster packs), which tended to "corrupt" the quest save by introducing cards into the pool which can't be loaded later (and used to crash).
2016-12-27 19:09:32 +00:00
Myrd
1e95e14d6a
Lazy-load cards in GameSimulatorTest to make it exec faster.
2016-12-27 17:56:11 +00:00
Agetian
27a0a20968
- Show a quest draft tournament event entry fee and ask the player to confirm creating a tournament when spending a draft token.
2016-12-26 05:21:50 +00:00
Agetian
d49b884299
- Implemented optional texture filtering for card pictures on the battlefield in mobile Forge (helpful on larger tablets and when running mobile Forge on PC), disabled by default.
2016-12-25 10:09:22 +00:00
Hanmac
e2cbbd7575
ComputerUtil & HumanPlay: fixed Splice onto Arcane only for Spells
2016-12-24 11:01:48 +00:00
Agetian
9d0e8b8096
- Made the desktop port and the mobile port of the game use different threads when processing multiple achievements (otherwise the game tends to freeze).
2016-12-23 07:13:07 +00:00
Agetian
fc9d924208
- Reverted r32715, breaks mobile Forge (better solution may be needed in order to prevent this from locking up Forge on desktop when processing achievements).
2016-12-22 19:35:56 +00:00
Hanmac
94681b6675
Splice: do a total rewrite to make it better for the player and more rules conform
2016-12-21 18:32:50 +00:00
Agetian
3585177898
- Minor formatting fix.
2016-12-17 06:32:15 +00:00
Agetian
7dc9437752
- [Experimental]: do not invoke the achievement update in the game thread (which creates a race condition when there are multiple achievements of different types to be awarded, freezing the game completely).
2016-12-17 06:31:51 +00:00
Hanmac
49c76ba3ac
HumanPlay: fixed Text for CostAddMana
2016-12-14 20:57:01 +00:00
Agetian
432ab1bcf3
- Prevent a NPE ensuing from potentially "bleeding" a challenge from one quest world to another.
2016-12-14 10:40:18 +00:00
Hanmac
3c5eb2248b
CardFactoryUtil: Miracle is a Trigger now, and make PlayAi a bit better to check if it can play it
2016-11-18 19:55:05 +00:00
drdev
0f1fbc46d1
Fix warnings
2016-11-13 00:08:32 +00:00
drdev
e4516177f9
Fix so Vanguard cards can display as avatar
2016-11-12 22:32:49 +00:00
Hanmac
a63c152038
HumanCostDecision: CostRemoveCounter: add confirmPayment for it, when removing from host, but ignore pw abilities
2016-11-07 09:50:54 +00:00
Myrd
b175963878
Fix more places to load cards lazily correctly.
2016-11-06 18:22:04 +00:00
Myrd
004f12d5cb
Fix exception in desktop UI with lazy card loading.
2016-11-04 04:24:43 +00:00
Myrd
acddffa267
Experimental feature (behind a pref) to not load all card rules at start up. In my testing, this improves startup speed significantly.
...
This is still experimental & behind a flag because there's some more work that needs to be done to fully support this - such as loading all cards when the deck builder UI is shown.
2016-11-04 04:19:51 +00:00
Sol
0a78b139e8
- Added a Preference for Card Sale Percentage Base and Max
2016-11-04 02:09:25 +00:00
Hanmac
a27fb9106b
Commander: more fixes for new Commander changes and Color Identity
2016-10-26 09:01:16 +00:00
Hanmac
4b9388c562
Makes the Game work with more than one Commander
2016-10-25 15:39:52 +00:00
Myrd
9e84290281
Fix some warnings.
2016-10-09 22:17:24 +00:00
Agetian
b3a49e005f
- For now, disregard both -1 and Integer.MAX_VALUE when rendering integer components in a table.
...
- Unfortunately, this means that Spinal Parasite does not have its P/T visualized in the deck editor table; but at least there won't be a lot of -1's elsewhere in the editor. Couldn't find a way to fix both of these at the same time for now.
- Revert processing default CMC as Integer.MAX_VALUE for the UI purposes.
2016-10-09 15:17:58 +00:00
Agetian
2b73fb48f4
- Removed unnecessary import.
2016-10-09 14:45:14 +00:00
Agetian
b5584dcad5
- Use Integer.MAX_VALUE as a placeholder default value for power, toughness and CMC of non-PaperCard objects to avoid showing the inapplicable default value in the deck editor interface.
2016-10-09 14:44:35 +00:00
Agetian
2cd7016703
- More changes related to supporting negative power and toughness, please test to see this doesn't break anything.
...
- Fixed some visualization issues in the deck editor related to supporting negative P/T (e.g. non-creatures showing up as P/T 2 billion+ / 2 billion+).
2016-10-09 12:05:55 +00:00
Hanmac
d3faa45ab1
QuestUtilCards: fixed wasteCodes
2016-10-05 20:49:25 +00:00
Sol
47530518bb
- Make Wastes always available in the spell shop
2016-10-05 20:14:56 +00:00
Hanmac
2898925011
HumanPlay: Fixed Sac<> in payCostDuringAbilityResolve
2016-10-05 11:43:12 +00:00
Sol
a3c82bbc74
- Real fix for Padeem, needed to filter by Types CMC not just any permanents CMC
2016-09-29 15:03:57 +00:00
drdev
7af61405f5
Improve confirmation prompt for energy payment
2016-09-27 02:29:17 +00:00
drdev
32a7d0c138
Show Energy symbols in Android app
2016-09-27 02:10:23 +00:00
Agetian
816b95c440
- Domain is exempt from evaluation of achievements in Momir Basic mode.
2016-09-26 05:20:52 +00:00
Agetian
24e4364a4c
- Momir Basic is exempt from evaluating Arcane Master, Mana Flooded and deck construction challenge (e.g. No Spells) achievements as they are pertinent to this format and can't really be regarded as player's "achievements" in this case.
2016-09-26 05:15:06 +00:00
Agetian
e8c15f937d
- Fixed Nissa, Nature's Artisan achievement.
2016-09-24 07:21:35 +00:00
Sol
cbaa40d499
- Adding AI for Combustible Gearhulk based upon known information.
...
- Adding current Energy count to payenergy cost
2016-09-23 14:36:21 +00:00
Sol
3a6979911c
- Vehicles will now display their PT in braces in the CardDetailPanel
2016-09-23 02:55:57 +00:00
Sol
60a017429d
- Added Confiscation Coup (Harnessed Lightning will now use UnlessSwitched)
2016-09-22 13:22:43 +00:00
Sol
e63a0b3bcf
- KLD Fixes (incl. small change to "can't crew Vehicles" to match Revoke Privileges text)
2016-09-21 18:53:27 +00:00
Sol
fad15a749f
- Allow PayEnergy to be used as an unless cost for Humans
2016-09-21 15:30:56 +00:00
Sol
00092a17da
- Adding Energy icon to sprite sheet
2016-09-21 14:36:14 +00:00
swordshine
b3bbb5f986
- Update some scripts
2016-09-18 10:08:43 +00:00
Hanmac
c0f7ea2983
CostTapType: for Crew add Keyword "CARDNAME can't crew a vehicle",
...
now the cost does check that the creatures does not have this.
2016-09-18 05:01:39 +00:00
Agetian
326a9e85f4
- Added CN2 and KLD planeswalker achievements (by Marek).
2016-09-10 06:02:11 +00:00