Commit Graph

721 Commits

Author SHA1 Message Date
austinio7116
d05e1e59dc Merge branch 'token_scripts' into 'master'
Allow scripts to be written for Tokens

See merge request core-developers/forge!236
2018-02-27 22:14:13 +00:00
austinio7116
52ae852953 Addition of new new random commander deck generation - both fully random decks based on a selected commander and matrix-based synergistic deck generation using a model learned from thousands of commander decks. This also includes support for commander net-decks on desktop. 2018-02-26 23:49:47 +00:00
Sol
d4d376c8c6 Merge branch 'PlaneshiftPromos' into 'master'
Fixing Planeshift set alter foils in boosters

See merge request core-developers/forge!202
2018-02-25 20:19:19 +00:00
tehdiplomat
6ca1269261 Add ability to load tokens via scripts before 2018-02-19 13:15:12 -05:00
Jamin W. Collins
d60d350fcb token-artwork - try removing variant as a fallback
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2018-02-17 08:48:46 -07:00
Jamin W. Collins
b1e7e407a7 token artwork - try uppercase set name
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2018-02-17 08:48:46 -07:00
Seravy
8f9857e72d Fixing Planeshift set alter foils in boosters
-Now always foil, and with the (guesstimated) correct chance.
2018-02-12 01:11:03 +01:00
Michael Kamensky
ebd0a8096c Merge branch 'error-msg-fixes' into 'master'
Disambiguate class name in error StorageReader errors

See merge request core-developers/forge!196
2018-02-10 18:54:01 +00:00
Jamin W. Collins
0a4dc6961d make development version reference GIT not SVN
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2018-02-10 11:13:41 -07:00
Jamin W. Collins
844a7b5d76 Disambiguate class name in error StorageReader errors
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2018-02-10 10:28:39 -07:00
Sol
d48c93938f Merge branch 'patch-2' into 'master'
Simplify string generation in a few files

See merge request core-developers/forge!128
2018-01-26 01:51:30 +00:00
Rob Schnautz
8380da7a10 Don't need transformPT anymore. 2018-01-21 04:59:46 +00:00
Rob Schnautz
f8decaac41 simplify strings 2018-01-20 20:51:37 +00:00
Rob Schnautz
d7674c15b5 Update CardFace.java 2018-01-20 20:45:06 +00:00
Rob Schnautz
9d1c6eaa7f simplify string generation 2018-01-20 20:34:01 +00:00
Rob Schnautz
590b877f76 simplify string generation 2018-01-20 19:59:28 +00:00
Rob Schnautz
9090cc70bf Probably want to use err, not out. 2018-01-20 15:41:55 +00:00
Rob Schnautz
244e2a9e8d Remove concatWithSpace since there's nothing to concatenate anymore. 2018-01-20 15:33:11 +00:00
Rob Schnautz
cc2b2921d9 Move the log output here to make it display the correct edition. 2018-01-20 15:02:24 +00:00
Rob Schnautz
88339864f7 The edition displayed isn't correct. Moving that part of the output to the class that creates the "unsupported card" object. 2018-01-20 14:57:44 +00:00
Chris H
d60ee9307d Grab LQ picture from primary server 2018-01-15 17:02:29 -05:00
Nikolay Hidalgo Diaz
9f5cc344ad copy all sections from imported deck in constructed deck edtior 2017-12-30 08:11:20 +03:00
Nikolay Hidalgo Diaz
45bebdff0c deck import in drafted deck editor 2017-12-30 07:46:10 +03:00
KrazyTheFox
6d5e56f6bf Normalize line endings 2017-12-28 23:40:29 -05:00
Hanmac
610991a222 ManaCost: add Shard#isHybrid 2017-12-23 21:45:51 +00:00
Sol
dd04888106 RarityFilter from Luke 2017-12-09 02:38:50 +00:00
Agetian
4055e421bc - Minor formatting tweak. 2017-09-26 10:14:00 +00:00
Indigo Dragon
792255b676 Adding a Commander banned list a la Tiny Leaders (Literally a la. Involved many copying and pasting)
Adding a Commander Format, so that decks can now be checked in the original deck editor. Don't know how to implement highlander rules though, (Aside from the obviously stupid way of Restricting EVERY CARD EVER MADE).

Retiring the Extended Format. This one's dead Jim, dead Jim, dead Jim. It's as dead as Frontier. Maybe. Yes. If anyone complains they can just remove the \\s.
2017-09-26 08:46:36 +00:00
Agetian
3243555181 - Partner commander UI support for mobile Forge (both Constructed and Planar Conquest). 2017-09-25 06:29:47 +00:00
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
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
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