Commit Graph

7224 Commits

Author SHA1 Message Date
Christian 'ketura' McCarty
23e5e21fc7 Preliminary commit for HttWC, which appears to be inconsistent in unit tests but may work in a regular game 2021-02-05 08:32:34 -06:00
Christian 'ketura' McCarty
2ec67d6858 Updated RevealCardsFromHand and typos
Updated RevealCardsFromHand to be player agnostic. The "hand" option now specifies which player to use (instead of defaulting always to self).  Fixed typo in Error message of MultipleChoiceAwaitingDecision.
2021-02-05 08:31:32 -06:00
Christian 'ketura' McCarty
c2b855cf7b Fixing typo and what appears to be a copy-paste error with the remove keyword prompt having the same text as add keyword. 2021-02-04 00:24:26 -06:00
Christian 'ketura' McCarty
169aa49dd2 Adding Gimli, Dwarf of the Mountain-race errata / tests 2021-02-03 23:21:47 -06:00
Christian 'ketura' McCarty
fa39f01564 Backup of the current server set 21 json 2021-02-03 21:19:09 -06:00
Christian 'ketura' McCarty
da93ab9bca Checking in fix for PC formats that was floating on the server 2021-02-03 21:17:55 -06:00
Christian 'ketura' McCarty
2fd2726e4a Talent For Not Being Seen Errata and tests 2021-02-03 21:13:59 -06:00
Christian 'ketura' McCarty
65d40dd1d6 Sting Errata. Exposed testing fleshed out.
Introduced Sting errata and unit tests.  Pulled out the concealed/exposed specific parts of the No Stranger tests and put them in their own place, replacing the No Stranger tests with ones that are more specific to that card.
2021-02-03 18:43:23 -06:00
Christian 'ketura' McCarty
01e10c574d Concealed work, No Stranger to the Shadows errata.
Concealed and Exposed keywords added.  No Stranger errata added.  Unit test for No Stranger added; it also puts the two keywords through its paces.
2021-02-03 01:08:15 -06:00
Christian 'ketura' McCarty
9ebd3dc6fa Including missed image info for Saruman, KoI and missing rarity info 2021-02-02 23:14:13 -06:00
Christian 'ketura' McCarty
c71ac3a2cc Saruman, Keeper of Isengard errata and associated changes
Added Saruman, KoI errata.  Added CantBeAssignedToSkirmish to the blueprint json loading.  Edited the PreventWound effect to support the Memorize directive (so saruman could remember the blocked uruk's id and make it fierce). Revamped the unit tests to support playing cards and using actions based on a card reference rather than a hard-coded string.  Edited existing unit tests to use the new functionality.
2021-02-02 23:09:40 -06:00
Christian 'ketura' McCarty
b60b2b2df8 Improved blueprint json parsing to support multiple home sites on allies. 2021-01-31 21:49:47 -06:00
Christian 'ketura' McCarty
01c6b90a30 Added additional generic Exception catch clause to ensure that unexpected parsing errors do not cause the entire server to crash. 2021-01-31 20:38:16 -06:00
Christian 'ketura' McCarty
247460c5bb Added missing card image link 2021-01-30 03:42:25 -06:00
Christian 'ketura' McCarty
31d65e0683 AllyRegion filter added for Horn of Boromir errata
Added errata'd Horn of Boromir and unit tests.  Added new "AllyInCurrentRegion" and "AllyInRegion" filters to facilitate it.  Refactored base of PC card unit tests to be a bit easier to customize card lists.
2021-01-30 03:34:46 -06:00
Christian 'ketura' McCarty
87b27551b2 Adding phase 1 errata candidates with unit tests 2021-01-28 23:09:02 -06:00
Christian 'ketura' McCarty
80e6556601 Fixed elrond errata forcing 2 allies instead of 'up to 2' 2021-01-26 22:04:27 -06:00
Christian 'ketura' McCarty
67952b9e86 Fixing subfolder log directories getting watched by git 2021-01-26 21:44:03 -06:00
Christian 'ketura' McCarty
a6a7e36063 Including placeholder for the default logs location 2021-01-26 21:43:24 -06:00
Christian 'ketura' McCarty
8439ebbb77 Docker Update
Fixed net naming schema for hopefully the last time.  Added a log file binding so that gemp logs can be accessed outside the container.
2021-01-26 21:19:44 -06:00
Christian 'ketura' McCarty
3ae4c3f6a3 Fixing minor errors in previous commit 2021-01-26 21:16:21 -06:00
Christian 'ketura' McCarty
fcac24c02d log4j fixes
Renamed and moved the log4j xml to the proper location in gemp-lotr-server to be found on startup.  Added the log folder to gitignore.  Put references to log4j in all project pom.xml files.
2021-01-26 20:33:22 -06:00
Christian 'ketura' McCarty
167ff78801 Code reformat
Reformatted new unit tests to follow existing java style.  Fleshed out existing helper functions to have shadow variants where any freeps variants existed.
2021-01-26 01:11:02 -06:00
Christian 'ketura' McCarty
2a08b6c063 Set up individual card unit testing
Added GenericCardTest, a helper class that extends AbstractAtTest with a focus on easily and clearly setting up unit tests for testing the implementation of card game text.  Set up the PC errata for Elrond, Lord of Rivendell as a proof of concept.
2021-01-26 00:47:46 -06:00
Christian 'ketura' McCarty
ef901ca907 FOTR Errata
Added all set 1 errata and a couple set 2 errata.  Hooked up the images and rarities.
2021-01-24 11:05:22 -06:00
Christian 'ketura' McCarty
a5987b1a70 Fixing missing rarities for errata test 2021-01-22 12:41:10 -06:00
Christian 'ketura' McCarty
6ed561b89a Fixing server crash when a rarity is not provided for a card 2021-01-22 12:40:51 -06:00
Christian 'ketura' McCarty
68d35845dc Merge branch 'master' into card-dev 2021-01-22 03:22:26 -06:00
Christian 'ketura' McCarty
ad9ac42b91 Merge remote-tracking branch 'marcin/master' 2021-01-22 03:22:05 -06:00
Christian 'ketura' McCarty
15646a9cf7 Testing concealed inclusion 2021-01-22 02:05:14 -06:00
marcin.sciesinski
7669779bb5 Fixed all reported issues 2021-01-19 14:13:25 -08:00
marcin.sciesinski
ca5a95daae Added LiberaPay donations and removed the Covid theme 2021-01-16 13:37:13 -08:00
marcin.sciesinski
7bb28ec721 Consolidating card resolving 2021-01-16 13:21:40 -08:00
marcin.sciesinski
601b3c4764 Consolidating card resolving 2021-01-16 13:14:34 -08:00
marcin.sciesinski
0b21422f0e Consolidating self resolving 2021-01-16 12:34:10 -08:00
marcin.sciesinski
735dafce14 Consolidating memory resolving 2021-01-16 12:25:22 -08:00
marcin.sciesinski
d513fc8820 Cleaning up 2021-01-15 15:54:19 -08:00
marcin.sciesinski
33d0cc9a6d Fixed issue with checking playability for cards playing themselves from discard 2021-01-15 15:35:04 -08:00
marcin.sciesinski
c4cb1d7768 Fixed Azog (or any card playing another card) interaction with Rivendell 2021-01-15 15:00:14 -08:00
marcin.sciesinski
19a36808f1 Fixed Ulaire Nartea (and all other cards using Duplicate or Optional effect) to not be able to play cards from discard on Great River 2021-01-15 11:10:07 -08:00
marcin.sciesinski
df41bc41f5 Added test for "The Balrog, Flame of Udun" 2021-01-15 10:34:46 -08:00
marcin.sciesinski
ef2b6ae805 Added test for "The Balrog, Flame of Udun" 2021-01-15 10:32:50 -08:00
marcin.sciesinski
f54363f2ef Added test for "They Are Coming" 2021-01-15 10:18:58 -08:00
Marcin Sciesinski
74f8afc744 Merge pull request #88 from PhallenCassidy/patch-1
Removing Forces of Mordor from Fellowship R-list
2021-01-13 23:27:16 +07:00
Christian 'ketura' McCarty
9d62d4bb03 Merge branch 'master' into card-dev 2021-01-09 02:13:00 -06:00
Christian 'ketura' McCarty
89749672ba Altered docker compose file to be parameterized. 2021-01-09 02:12:21 -06:00
Christian 'ketura' McCarty
f6493a1ecd Checking in stubs for the FOTR starter supplements
Added set 21, which is intended to represent set 1+.  Added this set to the card builder.  Added a PC FOTR format.  Updated the Race enum to include Warg.
2021-01-06 00:15:56 -06:00
Christian 'ketura' McCarty
8ba8c6fd1f Default docker config changes and startup improvements
Altered the default configuration to be more compatible with parallel installations out-of-the-box.  Added a SQL script that runs when the database is first created to add a pair of default users.
2021-01-05 21:07:49 -06:00
Christian 'ketura' McCarty
55e7fc1645 Docker file cleanup
Cleaned up and simplified all docker files to remove all commented-out lines (now that they are in VC).  Removed obsolete files.  Cleaned up the readme.txt to make all the specific steps clearer and to remove excess chatty language.
2021-01-05 14:06:41 -06:00
Christian 'ketura' McCarty
77ff3ad4f4 Merge remote-tracking branch 'marcin/master' 2021-01-03 13:36:24 -06:00