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
Agetian
90367cbc93
- Simplified the AI card memory interface. No more need to store the reference to a player and complicate matters with individual memory sets for each player.
2014-09-04 13:53:26 +00:00
Agetian
10bc6f92b7
- Added a basic card memory mechanism that allows the AI to temporarily mark certain cards in game zones for future decisions.
...
- Added a way for the AI to mark temporarily stolen creatures that return to the original controller at end of turn as "mandatory attackers" so that the AI doesn't miss the opportunity to attack with a creature that will otherwise be worthless for the AI.
2014-09-04 12:12:07 +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
Sol
fb4ac61919
- Combat.getBandOfAttacker() should only return from lkiCache if the card found in the cache actually was attacking
2014-09-04 03:10:01 +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