Commit Graph

5777 Commits

Author SHA1 Message Date
Agetian
dd9e06b8f7 - Updated CHANGES.txt. 2017-01-02 06:02:01 +00:00
Agetian
331ad768f3 - Removed a completed TODO entry and unused imports, some other tidying up. 2017-01-02 05:22:27 +00:00
Agetian
b386f5f9d7 - Refactored limited deck evaluation into a new class LimitedDeckEvaluator to avoid code duplication. 2017-01-02 05:16:54 +00:00
Agetian
643d2a0170 - Corrected a typo in Shrine of the Forsaken Gods. 2017-01-02 04:57:39 +00:00
Agetian
c838b46c17 - Fixed Mesmeric Sliver. 2017-01-02 04:55:49 +00:00
Sol
9eeb7cdb11 Add Ludevic Necro-Alchemist (C16) 2017-01-02 02:52:55 +00:00
Sol
939a1b4a53 Add Kynaios and Tiro of Meletis (C16) 2017-01-01 20:27:48 +00:00
Agetian
798cc430b7 - Removed unused imports. 2017-01-01 20:16:04 +00:00
Agetian
699a0b95bc - File correction. 2017-01-01 20:14:58 +00:00
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
Hanmac
56cf064e0b fixed Identity Thief 2017-01-01 19:26:08 +00:00
Agetian
98a05bb353 - Added comment to Rhys the Exiled script (for AIPreference SVar). 2017-01-01 17:27:03 +00:00
Agetian
bb8b0d3e4e - Fixed StackOverflowError on Rhys the Exiled when blocking tramplers by adding an explicit AI preference for SacCost. 2017-01-01 16:45:01 +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
Agetian
e251f88b2f - Fixed Saffi Eriksdotter 2017-01-01 06:56:24 +00:00
Sol
544f72b02d Add Yidris, Maelstrom Wielder (C16) 2016-12-31 19:34:26 +00:00
Agetian
cf2b947988 - Updated Gisa and Geralf and Karador, Ghost Chieftain to use Condition$ PlayerTurn 2016-12-31 06:36:20 +00:00
Agetian
8aa946bf86 - Reverting substandard syntax in Gisa and Geralf. 2016-12-31 06:18:29 +00:00
Agetian
3d4f3c1d8a - Updated Gisa and Geralf. 2016-12-31 06:14:19 +00:00
Agetian
ad838df531 - Fixed Elvish Pathcutter. 2016-12-31 04:32:31 +00:00
Sol
6e6dc53927 - Add Treacherous Terrain (C16) 2016-12-31 00:59:28 +00:00
Sol
243c081da7 - Migrate upcoming C16 cards to their normal card folders 2016-12-30 21:58:41 +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
36dbda7b86 cards: use new DamageLifeThreshold keyword for Worship effect 2016-12-30 14:58:46 +00:00
Hanmac
e1ddd0fc5f Stuffy Doll Avatar is a PreventionEffect 2016-12-30 14:57:23 +00:00
Hanmac
99d2afc748 update Blizzard Specter using new Charm description 2016-12-30 14:56:49 +00:00
Hanmac
2c4c749207 cards: update cards with ReplaceEffect 2016-12-30 14:54:10 +00:00
Hanmac
1738f49798 Big Damage Rewrite Part 2: now use CombatDamageMap everywhere 2016-12-30 14:50:45 +00:00
Hanmac
b3ad32bc4f cards: update cards using ReplaceCount/Times.2, now they use Twice 2016-12-29 20:17:39 +00:00
Hanmac
2b4648c250 cards: update cards with ReplaceCount/Plus 2016-12-29 13:52:46 +00:00
Hanmac
ef87367ae6 cards: update cards with ReplaceCount/Twice using new ReplaceEffect 2016-12-29 13:45:46 +00:00
Hanmac
54b69e8040 Covenant of minds: move Cleanup to Choice for all choices 2016-12-28 18:57:26 +00:00
Agetian
e597f692e7 - Fixed Covenant of Minds (should not count as draw). 2016-12-28 18:25:00 +00:00
Hanmac
58db808532 cards: update some cards with GainLife replacement 2016-12-28 15:10:11 +00:00
Hanmac
ad8fab8b3f cards: do Corpsejack Menace as ReplaceEffect too 2016-12-28 10:28:06 +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
Agetian
e707613ff0 - Fixed Scourge of the Throne 2016-12-27 17:57:43 +00:00
Myrd
1e95e14d6a Lazy-load cards in GameSimulatorTest to make it exec faster. 2016-12-27 17:56:11 +00:00
Agetian
16353246cd - Fixed a mistype in Arcane Denial. 2016-12-27 12:23:14 +00:00
Hanmac
3badd1bc15 cards: update TokenDoubler as Replacement Effect 2016-12-26 17:00:08 +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
Agetian
09fb66033c - Made Mind's Dilation show the exiled card to the player prior to asking if he wants to play it. 2016-12-25 09:27:21 +00:00
Agetian
5ed07ed4a0 - Updated Planar Conquest sprites to make the conquered plane icon more visible on dark backgrounds. 2016-12-24 15:58:23 +00:00
Agetian
16f87f56a7 - Fixed Crossroads Consecrator (if set to Card.Human instead of Creature.Human, the AI starts to target opponent's Human creatures with it). 2016-12-24 13:24: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
8049783598 - Fixed Aetherworks Marvel. 2016-12-23 06:34:24 +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