Commit Graph

8440 Commits

Author SHA1 Message Date
Christian 'ketura' McCarty
c71ef2bac2 Fixing resistancelessthanfilter to use the superior logic contained in strengthlessthanfilter. Unifying most of the underlying strength comparison filters to use the min/max verbiage and logic 2024-05-28 23:18:28 -05:00
Christian 'ketura' McCarty
34bb52471e Fixing backwards logic for ResistanceLessThanFilter 2024-05-28 22:40:07 -05:00
Christian 'ketura' McCarty
f785a07b44 Fixing the overzealous filter sanitization properly 2024-05-28 20:31:57 -05:00
Christian 'ketura' McCarty
63d64cf472 Value Resolver Cleanup
- Consolidated forEachMatchingInMemory and forEachInMemory into the latter
- Renamed ForEachToken -> ForEachCultureToken
- Renamed ForEachTwilightCostToPlay -> ForEachTwilightCost
- Sorted the if/else entries in ValueResolver into groups and then alphabetically.  (These should probably be pulled into a series of classes instead of a giant if-else)
2024-05-28 19:01:16 -05:00
Christian 'ketura' McCarty
ffbedb0e0a Combining and renaming "requires/condition" value type into "Conditional" 2024-05-28 16:07:56 -05:00
Christian 'ketura' McCarty
2f91f702a6 Added some extra existence checks to card parsing. Sorted EffectFieldProcessor items alphabetically. 2024-05-28 02:51:17 -05:00
Christian 'ketura' McCarty
bb30c6c6b4 Split "Filter" into "Filter" and "Select"
- Altered the name of any json parameters that are intended to be used with CardResolver to "select".
- As a result, "filter" should now refer to raw lists of filters, while "select" will refer to constructs such as "choose(x)", where x is the actual filter content
- This is to cut down on a very common error when drafting json card definitions
2024-05-28 00:23:29 -05:00
Christian 'ketura' McCarty
eda04f3747 Deleting unit tests for the set 5/6 AIs 2024-05-27 22:35:25 -05:00
Christian 'ketura' McCarty
54e2b90476 Renamed ActivatedTrigger -> Response 2024-05-27 18:45:29 -05:00
Christian 'ketura' McCarty
ceadc604ea Fixing all Sams not using ActivatedTrigger for their response action 2024-05-27 17:59:49 -05:00
Christian 'ketura' McCarty
6023f6838c Merge branch 'master' into grand-card-rework 2024-05-27 17:55:39 -05:00
Christian 'ketura' McCarty
fab8a47580 Fixing Helpless PC errata not blocking the Sam response action (for json Sams) 2024-05-27 17:55:03 -05:00
MarcinSc
9c399a4702 Cleanup 2024-05-28 02:08:25 +07:00
MarcinSc
a47e4311e0 Cleanup 2024-05-27 23:58:13 +07:00
MarcinSc
f4866cc164 Cleanup 2024-05-27 21:45:09 +07:00
MarcinSc
9b7091bcb8 Cleanup 2024-05-27 21:25:57 +07:00
MarcinSc
c026bf1536 Cleanup 2024-05-27 20:21:03 +07:00
MarcinSc
24a3d32a4f Cleanup 2024-05-27 18:24:39 +07:00
MarcinSc
9ca058ea15 Cleanup 2024-05-27 14:57:26 +07:00
MarcinSc
ef40d20619 Migrated Site cards in set 18 to hjson 2024-05-27 14:25:14 +07:00
MarcinSc
6fb2c2e757 Migrated Wraith cards in set 18 to hjson 2024-05-27 14:16:25 +07:00
MarcinSc
adc738d519 Migrated Uruk-hai cards in set 18 to hjson 2024-05-27 14:11:00 +07:00
MarcinSc
814a2de584 Migrated Shire cards in set 18 to hjson 2024-05-27 13:40:54 +07:00
MarcinSc
5493499f33 Migrated Rohan cards in set 18 to hjson 2024-05-27 13:30:10 +07:00
MarcinSc
710ad87874 Migrated Orc cards in set 18 to hjson 2024-05-27 12:51:37 +07:00
MarcinSc
e4c3b2bf42 Migrated Men cards in set 18 to hjson 2024-05-27 12:12:57 +07:00
MarcinSc
c52cd67567 Migrated Gondor cards in set 18 to hjson 2024-05-27 01:03:08 +07:00
MarcinSc
0962bc6521 Migrated Gollum cards in set 18 to hjson 2024-05-27 00:30:13 +07:00
MarcinSc
a44bad94a0 Migrated Gandalf cards in set 18 to hjson 2024-05-27 00:07:42 +07:00
MarcinSc
6b0b56951c Migrated Elven cards in set 18 to hjson 2024-05-26 23:45:40 +07:00
MarcinSc
9c316afe66 Migrated Dwarven cards in set 18 to hjson 2024-05-26 23:08:22 +07:00
MarcinSc
192b6a9f8f Migrated Site cards in set 17 to hjson 2024-05-26 18:52:28 +07:00
MarcinSc
c4cc978644 Migrated Wraith cards in set 17 to hjson 2024-05-26 18:42:45 +07:00
MarcinSc
0f055d7a9c Migrated Uruk-hai cards in set 17 to hjson 2024-05-26 18:32:57 +07:00
MarcinSc
5aec24553e Migrated Shire cards in set 17 to hjson 2024-05-26 17:22:09 +07:00
MarcinSc
a5e38db7ff Migrated Sauron cards in set 17 to hjson 2024-05-26 17:10:35 +07:00
MarcinSc
f930f85c94 Migrated Rohan cards in set 17 to hjson 2024-05-26 17:01:30 +07:00
MarcinSc
d1d6ad7466 Migrated Orc cards in set 17 to hjson 2024-05-26 15:59:25 +07:00
MarcinSc
031f85d293 Migrated Men cards in set 17 to hjson 2024-05-25 22:18:03 +07:00
MarcinSc
b2444c6768 Migrated Isengard cards in set 17 to hjson 2024-05-25 21:10:53 +07:00
MarcinSc
26064ec3bb Migrated Gondor cards in set 17 to hjson 2024-05-25 21:04:24 +07:00
MarcinSc
122135933c Migrated Gandalf cards in set 17 to hjson 2024-05-25 20:38:35 +07:00
MarcinSc
9098e9fc5a Migrated Gandalf cards in set 17 to hjson 2024-05-25 20:33:50 +07:00
MarcinSc
1067d72d75 Migrated Elven cards in set 17 to hjson 2024-05-25 19:56:10 +07:00
MarcinSc
fa81008516 Migrated Dwarven cards in set 17 to hjson 2024-05-25 19:41:38 +07:00
MarcinSc
880f579c7e Migrated Site cards in set 15 to hjson 2024-05-25 19:20:12 +07:00
MarcinSc
754e42b9f3 Migrated Wraith cards in set 15 to hjson 2024-05-25 19:08:17 +07:00
MarcinSc
c45bd1296b Migrated Uruk-hai cards in set 15 to hjson 2024-05-25 18:55:23 +07:00
MarcinSc
597ae8a814 Migrated Shire cards in set 15 to hjson 2024-05-25 18:07:42 +07:00
MarcinSc
558ea08fc2 Migrated Rohan cards in set 15 to hjson 2024-05-25 17:44:43 +07:00