Commit Graph

7695 Commits

Author SHA1 Message Date
Christian 'ketura' McCarty
d7a5177d41 Cleaned up new chat changes to work in the game hall and on Chrome 2022-08-23 17:33:25 -05:00
Christian 'ketura' McCarty
71fa96a367 Added markdown to chat and multiline support to the game hall 2022-08-23 15:49:00 -05:00
Christian 'ketura' McCarty
2a0ec7f6e5 Merge branch 'master' into ui-rework 2022-08-21 13:44:10 -05:00
Christian 'ketura' McCarty
5b8695acb8 Fixed formats not showing up. Fixed All Life Flees having a subtitle. 2022-08-20 19:21:14 -05:00
Christian 'ketura' McCarty
b10c445e68 Fixing filters to avoid showing unfinished errata 2022-08-20 13:54:12 -05:00
Christian 'ketura' McCarty
b6d5920bba more CSS 2022-08-19 21:13:49 -05:00
Christian 'ketura' McCarty
a798ec0bb1 CSS changes 2022-08-19 21:11:44 -05:00
Christian 'ketura' McCarty
97cc60d4e9 Updated changelog 2022-08-19 21:10:27 -05:00
Christian 'ketura' McCarty
fac49bfffc Promoting V1 to official PC formats
- Also issuing 5 new errata
2022-08-19 20:14:50 -05:00
Christian 'ketura' McCarty
e834d6a8ec Altered Orc Assassin to no longer prompt the player with its ability after it has been used to assign itself 2022-08-19 19:29:45 -05:00
Christian 'ketura' McCarty
c50b9d60c5 Added Relics of Moria unit tests for both original and errata 2022-08-19 19:28:47 -05:00
Christian 'ketura' McCarty
c5a84e0338 Mountain-troll errata
- Overhauled how Discounts work for json cards to support all the existing DiscountEffects.
- Altered InZoneData to now be preserved when the data was set in the void/void-from-hand.
- Converted the original Mountain-troll to json
- Added unit tests for errata + original
2022-08-19 19:28:26 -05:00
Christian 'ketura' McCarty
ee2839d7ec Renamed ConditionEffect -> ConditionalEffect 2022-08-19 19:24:14 -05:00
Christian 'ketura' McCarty
2f53477034 Shortened some test rig function names for clarity 2022-08-18 14:36:06 -05:00
Christian 'ketura' McCarty
5cd1e9dfba Renamed some test rig functions. Made TimeResolver more flexible ("start" is now optional). 2022-08-18 14:04:11 -05:00
Christian 'ketura' McCarty
4413fa06f4 Updated errata for Madril, Defender of Osgiliath 2022-08-18 13:24:20 -05:00
Christian 'ketura' McCarty
090564f9ac Corsair Marauder errata
- Added ReinforceTokens effect
- Added limit field to ChooseAndRemoveTokens, which permits devs to set a range besides [0-max tokens]
- Added requires field to CostToEffect, which in reality is here because two consecutive ChooseAndRemoveToken actions never resolves properly due to the separate nature of the two behaviors assuming they can remove the same tokens
- Updated verbiage for share button from Export deck list -> Share deck list
2022-08-18 00:52:30 -05:00
Christian 'ketura' McCarty
092ac8454e Reverted memory modifications in delegate context, placed the onus on the default context. Added null checking to everything. 2022-08-17 23:16:00 -05:00
Christian 'ketura' McCarty
f8dfa55f8e Renamed behavior: duplicate -> repeat 2022-08-17 18:58:59 -05:00
Christian 'ketura' McCarty
294efcd80c Overhauled FilterFactory
- rearranged all simple and parameterized behavior filters to be alphabetized
- altered parameterized filters to all be case insensitive
- altered parameter interpretation to ignore spaces
- altered memory handling to be case insensitive
- improved Side and Signet interpretation to be case insensitive and to be flexible in what it accepts
2022-08-17 18:56:38 -05:00
Christian 'ketura' McCarty
b9034b07ad Converted 3R17 to json. Updated 3R17 errata. Added support for reacting to "about to move to" actions. 2022-08-17 04:30:04 -05:00
Christian 'ketura' McCarty
f15fbce0d1 Merge branch 'master' of https://github.com/PlayersCouncil/gemp-lotr 2022-08-17 00:31:47 -05:00
Christian McCarty
5a6816f3db Merge pull request #18 from PhallenCassidy/specialCharacters
Additional special character support
2022-08-17 00:31:26 -05:00
Christian 'ketura' McCarty
7d9307afd7 Fixed site name referencing in the test rig, and flipped draw deck population to a more intuitive bottom-up style....which broke every test that dealt with topdecking (also fixed). Fixed CardPhaseLimit wrong limit. 2022-08-17 00:16:54 -05:00
Christian 'ketura' McCarty
12fc68b357 Updated SiteNumber value evaluation -> CurrentSiteNumber 2022-08-17 00:15:11 -05:00
Christian 'ketura' McCarty
8aad76e52f Cleaned up several value evaluators for clarity within the JSON. Removed "siteinregion2" as redundant with "regionNumber(2)". Added siteHasSiteNumber filter. 2022-08-16 19:27:57 -05:00
Christian 'ketura' McCarty
6437896cd8 Added tests for the new Ottar errata and the original Decipher Ottar 2022-08-15 15:41:49 -05:00
Christian 'ketura' McCarty
c427d35030 Improved Side json parsing to be more flexible 2022-08-15 15:41:22 -05:00
Christian 'ketura' McCarty
47bea6d163 Split up errata json definition files into culture files. Added stub tests for all PC errata. Added errata stubs for newest batch of errata. 2022-08-15 14:02:01 -05:00
Christian 'ketura' McCarty
560193f804 Improved flexibility of culture and site block json values. Added future card definition json goal file. 2022-08-15 14:00:48 -05:00
Christian 'ketura' McCarty
832bd21183 Fixes and Errata
- Fixed Here Lies Balin from not working on a single 1-vitality orc
- Errata'd Merry, Of Buckland to require 3 exertions
- Reworked Amon Hen Ruins to applying damage +1 per wound on each minion
- Errata'd Corsair Marauder again to instead only discard Shadow possessions
2022-08-14 17:38:38 -05:00
Christian 'ketura' McCarty
abb25c7db6 Adding preliminary browser fingerprinting 2022-08-14 16:27:34 -05:00
Christian 'ketura' McCarty
5f080b4477 Game Hall UI Rework
- extracted all layout and style info from JS and inserted them into the HTML/CSS correctly
- Restructured tab layout to have much fewer tabs
- added todo list
2022-08-14 16:00:31 -05:00
Christian 'ketura' McCarty
b8ee9b5610 Expanded the {name} syntax to work in many more effect types, and added additional culture icon replacement as well. 2022-08-11 19:26:02 -05:00
Christian 'ketura' McCarty
49290403db Updating changelog 2022-08-08 07:56:33 -05:00
Christian 'ketura' McCarty
e66e478054 Fixing target format shenanigans when the user has a translation plugin that changes the values of the dropdowns. 2022-08-08 07:55:21 -05:00
Christian 'ketura' McCarty
1c6f26ce6e updating changelog 2022-08-07 01:05:12 -05:00
Christian 'ketura' McCarty
2c771479f9 Made decks sharable with other people. Added a notes field to decks. 2022-08-07 00:55:17 -05:00
Christian 'ketura' McCarty
72d5ba9b0c Converted all existing JSON cards to HJSON 2022-08-05 17:02:05 -05:00
Christian 'ketura' McCarty
e6451fdbbe Converted all V1 cards to use hjson 2022-08-05 09:00:28 -05:00
Christian 'ketura' McCarty
78b70f885d Minor improvements to the game text and lore fields. Fixed V1 cards not having the twilight cost conversion. 2022-08-05 08:28:41 -05:00
Christian 'ketura' McCarty
39187e8e76 Converting all uses of "cost" to "twilight" in JSON card definitions. 2022-08-05 08:14:55 -05:00
Christian 'ketura' McCarty
32b0483d9a Converting all instances of "possession" to "itemclass" for clarity. 2022-08-05 08:09:57 -05:00
Christian 'ketura' McCarty
a20b94c4a4 Removing "condition" as a top-level field 2022-08-05 08:08:31 -05:00
Christian 'ketura' McCarty
0caf6f8602 Mass-replaced all non-card-type instances of "condition" with "requires" 2022-08-05 07:59:09 -05:00
Christian 'ketura' McCarty
cf1bb5e7a3 updating changelog 2022-08-05 06:42:27 -05:00
Christian 'ketura' McCarty
9a971ce908 Began adding improvments to the json card definitions.
- added "unique" field instead of requiring that devs add * to the title
- added aliases for the following fields:
- possession -> itemclass
- condition -> requires
- cost -> twilight
- for now these only work in top-level definitions
- Converted dwarf, elf, and gandalf cards from V1 to the new format
2022-08-05 05:46:53 -05:00
Christian 'ketura' McCarty
d9f89eb4b0 Rearranged card definition folders to use more consistent naming conventions 2022-08-05 05:18:52 -05:00
Christian 'ketura' McCarty
9c21e41d57 Adding support for hjson card definitions, which adds comment support and removes the need for quotes and commas. 2022-08-05 04:39:35 -05:00
Christian 'ketura' McCarty
feba359b0a Merge branch 'update' 2022-08-04 18:04:21 -05:00