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
Agetian
3173e330fa
- Improved AttachAi such that the AI can choose to equip a different creature with an equipment that was already placed on a creature before. Currently set to make sure to hold mana for a predicted spell to cast in Main 2. Will help along with better use of equipment once equipped creatures get Arrest'ed or when a more powerful creature is played and the equipment is better used elsewhere.
2014-09-09 17:38:52 +00:00
elcnesh
b608d7e7a3
First attempt at converting the Android code for the GUI refactoring (untested).
2014-09-09 14:03:54 +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
9b0776f353
Version bump to 1.5.26.005
2014-09-07 23:13:03 +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
622896c398
Fix typo for Replicate
2014-09-07 20:45:22 +00:00
drdev
cdf4a891d7
Optimize card loading
2014-09-07 20:44:07 +00:00
drdev
b0cba37cb5
Fix typo for Transmute
2014-09-07 20:16:34 +00:00
drdev
683ccbcf41
Fix so MultiKicker is announced before mana paid
2014-09-07 20:15:16 +00:00
drdev
3427709c7b
More code cleanup
2014-09-07 18:52:08 +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
7f57ea6509
Fix so deck chooser doesn't reappear inappropriately when switching to another screen and back
2014-09-07 17:03:30 +00:00
drdev
16d325551d
Cleanup tabs
2014-09-07 16:35:53 +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
7bc8bf6c9c
Merged changes from trunk to GuiRefactoring: 27198-27235 (mobile and android projects)
2014-09-07 09:50:18 +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
Agetian
160d23f3d4
- Removed a superfluous comment.
2014-09-07 05:59:56 +00:00
Agetian
e65adb6dff
- Improved the AttachAi to account for cases when attaching a card is useless even though basic evaluation of the target may show otherwise (e,g, it's useless to equip a creature if this creature can't attack or block or if it's tapped and won't untap normally during the untap step, even if the said creature is evaluated as the best creature for its high CMC in ComputerUtilCard.evaluateCreature).
2014-09-07 05:56:20 +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
c7f0d5316c
- KTK: Added Clever Impersonator, End Hostilities, and Ugin's Nexus
2014-09-06 05:34:25 +00:00
swordshine
0d2b5ea076
- Fixed Mystical Teachings
2014-09-06 04:29:58 +00:00
Agetian
c080f5cb19
- Fix a rare NPE related to trying to show a card to a particular player outside of game context.
...
- Allow all cards to be shown the player when in developer mode (in order to be consistent with the fact that the player is able to see everything in dev mode including both players' hands and the content of both libraries).
2014-09-06 04:24:39 +00:00
drdev
fe63fd8925
Code cleanup
2014-09-05 22:20:34 +00:00
drdev
71afc97573
Prevent error when failing to assign a required blocker
2014-09-05 21:40:45 +00:00
drdev
162435ca52
Fix so Oracle Text appears on fallback image for copies
2014-09-05 14:18:16 +00:00
drdev
09221a180e
Prevent showing "Waiting for opponent..." when not actually waiting for opponent
2014-09-05 13:56:10 +00:00
Agetian
b834a03172
- Added a way for the AI to ignore the fact that the mana sources have been reserved in case some high priority spell needs to be cast (e.g. for the cases where a regen ability has to be activated for a creature but all the mana has previously been reserved for a future spell). Currently not very smart, basically considers everything "high priority" except for the +X/+X pumps that the mana is initially reserved for. Feel free to improve.
2014-09-05 13:52:22 +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
Agetian
cfcb0b7549
- Refactored the code that deals with holding mana sources for spells. Still need to figure out where to best place the decision to hold mana so that the AI is not too conservative in its plays related to useful pump spells.
2014-09-05 06:20:28 +00:00
Agetian
aa6c0e9208
- Renamed a method to be more self-explanatory.
2014-09-05 04:27:03 +00:00
Agetian
e2b8c5156d
- Renamed a method to be more self-explanatory.
2014-09-05 04:26:23 +00:00
Agetian
2b9a8bf05b
- Fixed a bug that caused an illegal cast when the AI wrongly tried to determine if it has reserved mana sources for creatures on the human's side of the battlefield.
...
- General code cleanup related to the reserved mana sources code.
2014-09-05 04:21:25 +00:00
Agetian
a481c0b536
- Highly experimental: added a way for the AI to reserve mana for casting a Main 2 phase spell when deciding whether to pump a creature or not. This may not be optimal and probably needs refactoring as well. It's a somewhat drastic changes so bugs may arise (though the main use cases were tested). Please assist if possible.
2014-09-04 20:18:48 +00:00
elcnesh
1f62869b24
Fix the refactored GUI code so that games can now be played.
2014-09-04 18:08:22 +00:00
Agetian
8041d7a440
- Temporarily commented out the parts of AI card memory code that will not be used in the nearest future.
2014-09-04 13:56:27 +00:00