Commit Graph

2461 Commits

Author SHA1 Message Date
Myrd
6af65c0db9 Fix GameCopier to preserve tracking of loyalty ability activations. 2015-02-14 18:56:26 +00:00
Myrd
7006d85d25 Fix some problems with recursive simulation and tweak debug output. Also, optimize evaluation in summon sick mode. 2015-02-14 16:13:04 +00:00
Chris
ea6a01b1bc [maven-release-plugin] prepare for next development iteration 2015-02-14 15:42:17 +00:00
Chris
a42465e9ca [maven-release-plugin] prepare release forge-1.5.35 2015-02-14 15:42:09 +00:00
Myrd
edbbc582c7 Fix game copy error with monstrous with a test. 2015-02-13 05:17:22 +00:00
Myrd
5617b87c28 Re-enable test now that it's fixed. 2015-02-12 04:44:08 +00:00
Myrd
1963cc94ad Fix simulated AI finding wrong card in hand when simulating and add a test. 2015-02-08 20:21:23 +00:00
Myrd
2766caec2c Fix simulation of unmorph abilities that don't use the stack, with a test.
Also, disables a test that started to fail for some reason. Will investigate why it's failing after this commit.
2015-02-08 18:08:51 +00:00
Sloth
74d25c7ce1 - Fixed two typos. 2015-02-08 12:59:08 +00:00
Myrd
859a853499 Add a somewhat hidden option in the UI to turn on simulation via a context menu on the AI radio button on desktop.
This allows choosing the AI mode without recompiling and also allows things like making a non-simulation AI play a simulation AI.
2015-02-07 18:32:02 +00:00
Myrd
4e1706ad22 Remove some assumptions about ordering of players in simulation AI code. 2015-02-07 17:54:43 +00:00
Myrd
cfd38b7111 Fix game copy inconsistency with paid echo cost during simulation. 2015-02-07 02:55:48 +00:00
Myrd
2c25351a2e Fix ETB effects not triggering during simulation and add a test. 2015-02-06 04:06:11 +00:00
Myrd
392e8e7008 Fix game copy error with equipment. 2015-02-05 02:52:15 +00:00
Myrd
8d5706b36e Fix copying game with static effects to not double count them along with expanded tests for this. 2015-02-03 04:43:40 +00:00
Myrd
16ac1713c5 Add a failing simulation test related to static abilities.
Will enable the test in the CL that fixes it.
2015-02-03 03:26:58 +00:00
Chris
9618b85dc0 Checking in the pom.xml.releaseBackup files which failed to be checked in when the maven goal ended. 2015-02-01 01:45:18 +00:00
Myrd
58b2e2b24a Add first unit test for game simulation AI - tests the fix for activations of ability triggers from my last commit. 2015-01-31 19:02:37 +00:00
Chris
3fd3b876d4 [maven-release-plugin] prepare for next development iteration 2015-01-31 15:00:24 +00:00
Chris
87d8d96c7d [maven-release-plugin] prepare release forge-1.5.34 2015-01-31 15:00:17 +00:00
Agetian
62657532ef Reverting 28752 as requested by Chris 2015-01-31 05:21:08 +00:00
Chris
0ea0288f72 test commit 2015-01-30 23:33:39 +00:00
elcnesh
92b80c69ff Refactoring changes and other updates:
- Completely refactor continuous static effects. Layers are now implemented properly in the sense that every effect applies the relevant parts in the relevant layer, while locking in the set of cards to which it applies.
- Refactor the (un)freezing of Trackable objects to a per-game Tracker object rather than static methods, to allow multiple games hosted on the same machine.
- Refactor the changing of card colours to match other parts of the code (like type and P/T changing) more closely. Also get rid of some static parameters in that code.
- Some changes in how split cards on the stack are handled to make them more robust.
- Some more minor changes/cleanup.
2015-01-26 10:41:06 +00:00
drdev
6d5416c175 Fix how net deck categories appear in select list 2015-01-25 05:12:54 +00:00
drdev
30fbe55ac3 Add Net Decks support 2015-01-25 05:10:32 +00:00
Krazy
7e4cd4b717 [maven-release-plugin] prepare for next development iteration 2015-01-23 03:50:25 +00:00
Krazy
141a20570b [maven-release-plugin] prepare release forge-1.5.33 2015-01-23 03:50:15 +00:00
Agetian
e50e7f575e - Fixed the game spoiling card IDs when looking in the players' libraries, opponent's hand, etc. 2015-01-21 08:16:46 +00:00
Agetian
56dd767343 - Revert the last couple commits, looks like there is no unwanted console spamming if everything is set up properly. 2015-01-14 04:59:23 +00:00
Agetian
eaa80c9583 - Avoid spamming "picture not found" messages when looking for XLHQ art. 2015-01-13 19:57:17 +00:00
Agetian
3c3a830d04 - Refactored the XLHQ card zoom code, moved GetImageXlhq to FImageUtil where it belongs more. 2015-01-13 18:04:45 +00:00
Agetian
c9e4dd9ffc - Support foiling XLHQ card images. 2015-01-13 17:55:36 +00:00
Agetian
1bd2aff0b1 - Added support for zooming in to XLHQ tokens (documented in CHANGES.txt). 2015-01-13 17:37:24 +00:00
Agetian
b7191150f0 - Reorganized the imports a little bit. 2015-01-13 16:56:06 +00:00
Agetian
027f0038e7 - Added a way to zoom to a XLHQ card picture if available (optional), documented it in CHANGES.txt.
- Fixed the planes and phenomena not being rotated 90 degrees when zooming in on them.
2015-01-13 16:54:12 +00:00
Agetian
3a45df9217 - Fixed the image sprite loading bar going to 116% instead of to 100%. 2015-01-13 14:29:37 +00:00
Chris
cfe726e14a update poms to 1.5.33 2015-01-08 03:25:07 +00:00
Myrd
1a8ab8dfd0 Move DeckHtmlSerializer.java to forge-gui-desktop from forge-gui and remove freemarker as a dependency of forge-gui.
This removes a couple thousand unused methods from the Android APK.
2014-12-30 21:03:57 +00:00
Myrd
bf34aec4fc Get rid of global static Card cache and hang it off the Game instead.
This paves the way for having multiple simulataneous game objects (e.g. for simulation).
2014-12-28 16:31:23 +00:00
Myrd
30fb451a45 Remove global Player cache, instead make it hang off the Game object. 2014-12-16 21:55:33 +00:00
Myrd
3fe326bf71 Dump game state in dev menu. 2014-12-16 19:39:42 +00:00
Myrd
5af52be0c6 Layout dump game state button side by side. 2014-12-16 19:37:11 +00:00
Myrd
85e7ad50b1 Ability to dump the current game state to a file in dev mode. 2014-12-16 19:04:05 +00:00
drdev
02040ee026 Start major Planar Conquest overhaul 2014-12-16 01:28:29 +00:00
Sol
d3e7051f34 - Fixing NPE in VLog and VStack that pops up 10x tournament 2014-12-15 04:49:11 +00:00
Krazy
01e8dc2186 Fixed a bug that resulted in draft tokens being spent when a draft was not selected. 2014-12-14 00:21:31 +00:00
Myrd
23b3551ab3 In "Import Deck" dialog, uncheck "Use only core and expansion sets" when editing commander decks. 2014-12-13 17:52:08 +00:00
drdev
6845df50de Fix warnings 2014-12-13 05:30:50 +00:00
elcnesh
5055ed4d2b Add a "Hidden card ID" to face-down cards to uniquely identify them without spoiling the actual card id (hidden id increments each time a card is turned face-down). 2014-12-10 18:36:04 +00:00
drdev
f7fbdc05dd Refactor code to make it easier to show rewards for planar conquest games 2014-12-06 23:52:54 +00:00