Commit Graph

2362 Commits

Author SHA1 Message Date
elcnesh
22374664f7 Allow Human vs Human games in GUI refactoring, plus some minor fixes. 2014-09-12 13:06:54 +00:00
elcnesh
c3e9ff7e5b Merged changes from trunk to GuiRefactoring: 27266-27293; plus some minor fixes. 2014-09-12 11:07:11 +00:00
Sloth
f0633ad5b7 - Fixed AI playing Molting Harpy and friends without being able to pay the upkeep next turn. 2014-09-11 20:10:02 +00:00
elcnesh
1ba2cb498b HUGE update to the GUI refactoring, fixing most known bugs and making everything run a lot faster and smoother.
Fixed: exceptions during combat, display of face-down cards, searching libraries, mindslaver effects, and more.
2014-09-11 15:46:33 +00:00
Agetian
8c6d9615a8 - Raise the max mulligan limit to 3 cards for Reckless AI. 2014-09-11 12:26:18 +00:00
Agetian
1d19e6cf44 - Attempt at NPE prevention related to achievements code. 2014-09-11 11:57:03 +00:00
elcnesh
fbcc8dbf1c Fix planes and schemes in GUI refactoring. 2014-09-10 13:00:49 +00:00
elcnesh
574e12d2e3 Lots of small fixes and cleanup for the GUI refactoring. 2014-09-10 12:08:48 +00:00
Agetian
3f66ff2975 - More AI-related clarifications. 2014-09-10 04:23:17 +00:00
Agetian
d4cded46bb - Some AI-related clarifications to CHANGES.txt. 2014-09-10 04:16:33 +00:00
drdev
add4f12e8b Add trophy images 2014-09-10 02:12:56 +00:00
drdev
7ea9109236 Fixed thresholds for Life to Spare 2014-09-10 00:41:43 +00:00
drdev
d87a863623 Add Overkill and Life to Spare achievements 2014-09-10 00:36:46 +00:00
Chris
a4143a47f5 Added new card names to changes.txt. 2014-09-10 00:07:51 +00:00
drdev
c3cdc4e99d Fix bronze threshold 2014-09-10 00:06:41 +00:00
drdev
44fc0778e8 Start support for achievements 2014-09-10 00:03:31 +00:00
Agetian
fb50fab9d6 - Attempt to stay on two AI profiles for now (Default and Reckless). Set the Default AI to move equipment only from useless creatures to useful ones, seems reasonable (will keep testing). 2014-09-09 18:55:11 +00:00
Agetian
8681266e16 - Added some information about the AI improvements to CHANGES.txt. 2014-09-09 18:44:02 +00:00
Agetian
7e7a069455 - Added a new AI profile property: MOVE_EQUIPMENT_TO_BETTER_CREATURES. Defines whether the AI will always move equipment to better creatures if it has mana ('always'), only move if the currently equipped creature becomes useless ('from_useless_only'), or never moves equipment around ('never').
- Added a new AI profile: Tricky (doesn't mulligan too heavily, moves equipment around from useless creatures).
- Default AI profile will not move equipment around (similar to how Forge operated before this change).
- Reckless AI profile will always move equipment to new more powerful creatures if it has enough mana and doesn't have other Main 2 plans.
- Some related refactoring.
2014-09-09 18:34:11 +00:00
elcnesh
e160267520 Refactor ForgeConstants to work with android also. 2014-09-09 14:02:33 +00:00
elcnesh
ecdd2b2995 Merged changes from trunk to GuiRefactoring: 27239-27260 2014-09-09 09:30:57 +00:00
elcnesh
0222c64b62 Fix many more problems with the GUI refactoring (plus some preparations for mobile GUI support). 2014-09-09 08:37:17 +00:00
Agetian
38bd41cec6 - Added a special AI logic to guild lands such that the AI does not bounce played guild lands back to hand with their own triggered ability. 2014-09-09 05:46:49 +00:00
Sol
9725fd30ee - Adding a Minimum amount of Packs Field for Quest mode.
- Slight increase to Quest Packs available in the Spell Shop
2014-09-08 23:55:28 +00:00
drdev
f921a2e44e Remove outdated comment 2014-09-07 23:14:50 +00:00
drdev
e64de69a39 Make it so X mana costs are paid using a pre-mana payment announcement 2014-09-07 21:54:12 +00:00
drdev
407bc67af9 Support Replicate using pre-mana cost announcement 2014-09-07 21:15:31 +00:00
drdev
683ccbcf41 Fix so MultiKicker is announced before mana paid 2014-09-07 20:15:16 +00:00
drdev
cda130b233 More code cleanup 2014-09-07 18:38:53 +00:00
drdev
b8b26657f9 More code cleanup 2014-09-07 18:31:39 +00:00
drdev
1fca98c134 Code cleanup 2014-09-07 17:39:08 +00:00
drdev
be826672f2 Refactor variant descriptions into GameType enum 2014-09-07 17:35:54 +00:00
drdev
cd69a0f4e2 Refactor so variant checkboxes display same description in tooltip as used by mobile game 2014-09-07 17:23:36 +00:00
drdev
f3060b177a Add Momir Basic variant to Constructed screen 2014-09-07 16:35:17 +00:00
drdev
228f7db0e3 Fix so paying X mana cost for Auto is run as AI 2014-09-07 16:03:49 +00:00
drdev
221b084679 Add Auto support for paying X mana costs 2014-09-07 15:24:14 +00:00
elcnesh
5925c35486 Merged changes from trunk to GuiRefactoring: 27198-27235 2014-09-07 09:27:46 +00:00
elcnesh
c931379ce8 Fix many problems and errors encountered while testing the GUI refactoring. 2014-09-07 08:51:40 +00:00
swordshine
b29852df19 - KTK: Added Dragon's Eye Savants, Horde Ambusher, Ruthless Ripper, Watcher of the Roost 2014-09-07 04:40:57 +00:00
swordshine
b017d2156f - Added Duel Decks: Speed vs. Cunning edition file 2014-09-06 11:41:28 +00:00
swordshine
0d2b5ea076 - Fixed Mystical Teachings 2014-09-06 04:29:58 +00:00
drdev
71afc97573 Prevent error when failing to assign a required blocker 2014-09-05 21:40:45 +00:00
drdev
09221a180e Prevent showing "Waiting for opponent..." when not actually waiting for opponent 2014-09-05 13:56:10 +00:00
drdev
67c5dedd5e Prevent game getting stuck if you try to End Turn at a time when you can't pass priority, such as while paying mana cost 2014-09-05 13:46:43 +00:00
elcnesh
1f62869b24 Fix the refactored GUI code so that games can now be played. 2014-09-04 18:08:22 +00:00
elcnesh
2d1f2dc1ae Fix the last problems related to inputs. All errors are fixed, it's time to test! 2014-09-04 10:53:00 +00:00
elcnesh
89b3395cec Completely refactor the GUI code.
All direct references to a gui have been replaced by a field, allowing dynamic GUI assignment throughout the code (necessary for eg. network play). Fixes almost all errors. Untested.
2014-09-04 09:44:31 +00:00
elcnesh
1a9b54cdd4 Update combat display code in GUI refactoring branch 2014-09-03 12:21:24 +00:00
elcnesh
608cae2572 Refactor GameLog in new GUI code. 2014-09-03 10:47:51 +00:00
elcnesh
b40c999cce Remove a lot of (now deprecated) GUI code. Removes almost all warnings from the desktop code. 2014-09-03 09:49:50 +00:00