Agetian
0470878ddf
- KLD+ Fat packs should be named Bundle.
2017-09-15 16:08:21 +00:00
kevlahnota
3723a4e656
Update fastReplace (return null if source string is null)
2017-09-15 14:46:29 +00:00
kevlahnota
7e982b327b
Refactor some String.replace to use TextUtil.fastReplace
2017-09-15 09:01:58 +00:00
Agetian
2a5badbc7c
- Added As Foretold.
2017-09-10 05:54:43 +00:00
kevlahnota
9426c531e3
More Refactoring of String.format
2017-09-03 08:11:28 +00:00
kevlahnota
8b3ff137d1
Refactor strings enclosed in parentheses, transform P/T to strings
2017-09-03 02:01:34 +00:00
Agetian
0fa826f926
- Minor formatting tweak.
2017-09-02 18:26:10 +00:00
Agetian
5c7b40248c
- A more generic solution for concatWithSpace / concatNoSpace.
2017-09-02 18:24:30 +00:00
kevlahnota
7a3a8b0490
Refactor some "String.format" to use StringBuilder
2017-09-02 17:35:13 +00:00
Hanmac
3cdf553142
moved hardcoded type plural into text file and moved the getPlural and getSingular functions into CardType class
2017-09-02 16:55:11 +00:00
Agetian
a0bb52ff5f
- Added Volrath's Shapeshifter with rudimentary, simple AI support.
...
- Was tested in most typical circumstances, including cloning it. However, may not yet be perfect in some corner cases. Improvements are welcome.
2017-08-19 18:05:44 +00:00
Blacksmith
a249eeab22
[maven-release-plugin] prepare for next development iteration
2017-08-18 17:07:15 +00:00
Blacksmith
712e7dbeb8
[maven-release-plugin] prepare release forge-1.6.2
2017-08-18 17:07:05 +00:00
Maxmtg
244d5bba47
Moved hasProperty code (it's forge script parsing in fact) out of CardState object to keep the class clean.
2017-08-15 21:40:03 +00:00
Maxmtg
d16a48a1a2
Move booster generation code to a separate package
2017-08-13 09:01:45 +00:00
Maxmtg
d04e186dea
more unused methods and imports removal
2017-08-13 01:44:36 +00:00
Maxmtg
4253365e03
Moved AIOption to ai package, where it belongs
2017-08-13 00:53:26 +00:00
Maxmtg
07437b7880
Clean up unused imports that popped up in eclipse warnings List
2017-08-13 00:40:48 +00:00
Maxmtg
5ddd007f67
Remove player.getOpponent method, route former calls from AI through ComputerUtil.getOpponentFor(player)
2017-08-13 00:27:26 +00:00
Agetian
53e4b39066
- Prevent a NPE in booster foil generation when the template does not contain any slots.
2017-07-29 13:47:50 +00:00
Agetian
0612d447dc
- Fixed generation of Wastes in OGW fat packs and an associated crash when trying to foil a non-existent Wastes in such a fat pack.
2017-07-27 18:28:37 +00:00
Blacksmith
1668717cf8
[maven-release-plugin] prepare for next development iteration
2017-07-22 00:46:25 +00:00
Blacksmith
0e3163dd62
[maven-release-plugin] prepare release forge-1.6.1
2017-07-22 00:46:15 +00:00
Agetian
ff5446b145
- Added a TODO entry to BoosterGenerator for further work.
...
- Documenting changes in CHANGES.txt.
2017-07-19 14:14:36 +00:00
Agetian
f14d795c0d
- Somewhat better chances for generating Masterpieces; however, might still be a bit off (a bit much for KLD/AER and a bit small, perhaps, for EXP).
2017-07-19 05:06:10 +00:00
Agetian
3c1c6ea949
- Restored generation of Masterpiece cards in boosters (however, the chance at the moment is too high).
2017-07-19 04:55:19 +00:00
Agetian
08ecf716f2
- Attempting to improve the chance of generating VMA Power Nine specials in booster packs.
2017-07-18 16:14:59 +00:00
Agetian
cf2113c4f2
- Some code maintenance in BoosterGenerator [4].
2017-07-18 15:38:02 +00:00
Agetian
27a2fc9e4a
- Some code maintenance in BoosterGenerator [3].
2017-07-18 15:05:50 +00:00
Agetian
6cc3e41b10
- Some code maintenance in BoosterGenerator [2].
2017-07-18 15:05:08 +00:00
Agetian
3c816306bc
- Some code maintenance in BoosterGenerator.
2017-07-18 15:04:14 +00:00
Agetian
2abc34a93e
- Condition simplification.
2017-07-18 10:12:50 +00:00
Agetian
e7359573f2
- A more appropriate fix for BoosterGenerator and newer sets (takes into accounts sets like SOI/EMN).
2017-07-18 10:09:19 +00:00
Agetian
4498602d8b
- Fixed the foil rarity patch breaking Booster Draft mode.
2017-07-18 09:45:58 +00:00
Agetian
e7d777e221
- Reformatting a comment.
2017-07-17 05:40:42 +00:00
Agetian
48cd4ab029
- Integrating the foil rarity patch by Seravy.
2017-07-17 05:07:47 +00:00
Agetian
ea4f8b67f2
- Unfortunately, have to revert r34731 - breaks mobile Forge (at least when running on desktop, e.g. for debugging purposes, but quite possibly on Android itself as well) and does not allow to cast anything from hand at all, making the single click on a card function as a selection (but not allowing to actually cast the spell).
2017-07-13 20:08:47 +00:00
Myrd
1d3f91fb9c
Switch game thread executor to be a single-thread
...
executor instead, of a thread pool. This is needed
because when things need to execute on the game
thread, it's not thread safe so only one such thing
should be executing at a time.
This should fix ConcurrentModificationException
from CardAreaPanel.selectCard() on mobile.
This is a reland of r34680 with a fix for being able
to run tasks on the game thread while waiting for input
from the user. Specifically, tested paying costs and
using the dev panel, but should work with anything that
schedules tasks via GameAction.invoke().
2017-07-13 05:03:34 +00:00
Agetian
6fdea6572c
- Only add existing booster templates to the template map to avoid situations where the game would try to generate a non-existing booster pack and crash (e.g. unlocking a Starter 2000 set in quest mode).
...
- Only show the "You receive the following bonus cards" window if there are bonus cards available from the booster template.
2017-07-13 04:12:53 +00:00
Agetian
b69b6f1097
- Reverting r34697 for now, it breaks Developer Mode (functionality like Add Card To Hand, Add Card To Play, Setup Game State, etc.) and thus hinders proper debugging of the game in specific situations.
...
- Please feel free to revert this commit to continue working on the single thread executor project and then recommit once it no longer breaks dev mode.
2017-07-11 06:41:21 +00:00
Myrd
5c29e8db6b
Switch game thread executor to be a single-thread
...
executor instead, of a thread pool. This is needed
because when things need to execute on the game
thread, it's not thread safe so only one such thing
should be executing at a time.
This should fix ConcurrentModificationException
from CardAreaPanel.selectCard() on mobile.
This is a reland of r34680 with a fix for InputMayMana
which previously relied on there being multiple game
threads.
2017-07-11 02:33:27 +00:00
Sol
89883e278b
- Revert Single Thread change. Paying costs didn't work with this change
2017-07-10 03:24:02 +00:00
Myrd
cb5c5c419a
Switch game thread executor to be a single-thread
...
executor instead, of a thread pool. This is needed
because when things need to execute on the game
thread, it's not thread safe so only one such thing
should be executing at a time.
This should fix ConcurrentModificationException
from CardAreaPanel.selectCard() on mobile.
2017-07-10 01:56:50 +00:00
Blacksmith
ffb1cddff4
[maven-release-plugin] prepare for next development iteration
2017-07-08 18:41:58 +00:00
Blacksmith
95bd589291
[maven-release-plugin] prepare release forge-1.6.0
2017-07-08 18:41:48 +00:00
Hanmac
4d452c40ec
CardRules: need to reset MeldWith
2017-07-05 18:31:25 +00:00
Krazy
cd7a00ab05
Increment version numbers
2017-06-26 03:57:43 +00:00
Blacksmith
b9a6fc507a
[maven-release-plugin] prepare for next development iteration
2017-06-26 03:21:20 +00:00
Blacksmith
9fe8948f0b
[maven-release-plugin] prepare release forge-1.5.65
2017-06-26 03:21:11 +00:00
Krazy
2e7c39877e
Add Java update notification when Forge is started
2017-06-24 06:59:07 +00:00