Commit Graph

830 Commits

Author SHA1 Message Date
ThaumRystra
3b1f61aa0a Added and fixed some tests for tag targeted effects 2023-11-11 13:31:15 +02:00
ThaumRystra
6e0364b636 Merge branch 'develop' into feature-nested-sets 2023-11-11 10:01:34 +02:00
ThaumRystra
6af9246ad1 Added roll and reduce calculation utility 2023-11-09 23:25:18 +02:00
ThaumRystra
4d1dec8956 Fixed bug when trying to calculate empty calcs 2023-11-09 23:10:08 +02:00
ThaumRystra
7eada9effe Replaced most properties in creature variables with links
instead of storing the entire property twice
2023-11-09 23:05:05 +02:00
ThaumRystra
2117a63945 Removed evaluateCalculation.js 2023-11-09 18:43:13 +02:00
Thaum Rystra
9e5b6b11e1 Settling on a data structure to balance compatibility
with not being wrong
2023-11-09 16:08:04 +02:00
ThaumRystra
6ce7542c4b Changed aggregation schema of computed fields 2023-11-01 11:12:18 +02:00
Thaum Rystra
ff6edd398b Added denormalized computation fields 2023-10-21 11:49:50 +02:00
Thaum Rystra
b4993b86b5 Continued migration to nested sets 2023-10-04 14:27:06 +02:00
Thaum Rystra
f63d2ad254 Began migration of queries to nested sets 2023-10-03 16:28:20 +02:00
ThaumRystra
28a19f2037 Migrated some UI to nested sets, app starts now 2023-10-01 18:49:20 +02:00
ThaumRystra
e4590de3a7 Migrated insert prop methods to nested sets 2023-10-01 17:30:21 +02:00
ThaumRystra
60f542e64e Migrated loadCreatures to nested sets 2023-09-28 23:00:36 +02:00
ThaumRystra
ece4a9391a Removed .js from all imports to smooth ts migration 2023-09-28 21:27:05 +02:00
ThaumRystra
09c66aff0b Fixed more failing tests to match nested sets 2023-09-28 20:57:35 +02:00
Thaum Rystra
60c13643fb Fixed inactive test for new parenting structure 2023-09-28 15:16:52 +02:00
Thaum Rystra
3bd2806bc6 Moved action system to new tree format 2023-09-28 14:49:32 +02:00
Thaum Rystra
e6963ec865 Began the great TypeScript Migration
It's helping a lot to move to the new parenting system
2023-09-28 14:16:34 +02:00
Thaum Rystra
26e4d0bcc7 Merge branch 'develop' into feature-nested-sets 2023-09-28 10:25:27 +02:00
ThaumRystra
bc83fe98b4 Merge branch 'develop' into feature-tabletop 2023-09-24 19:10:04 +02:00
ThaumRystra
df8f9c085f Fixed regression in actions breaking ui and uses 2023-09-22 16:52:21 +02:00
ThaumRystra
ad15020f0b Removed per-row point buy cost/min/max 2023-09-22 16:46:26 +02:00
ThaumRystra
745296c1db Fixed regression: point buy cost calc failing 2023-09-22 16:46:14 +02:00
ThaumRystra
bfbb31d30c Fixed performance regression in dependency graph speed 2023-09-22 16:45:40 +02:00
ThaumRystra
572078c2fa Fixed dependency loop when props target self by tags 2023-09-22 15:53:39 +02:00
Thaum Rystra
044240e2dd Fixed empty calculations unable to be targeted by effects 2023-09-20 15:42:40 +02:00
Thaum Rystra
d3c533dfa1 Moved ammo to its own pseudo property
Triggers now work on ammo
#amo now works as well
2023-09-20 14:03:37 +02:00
Thaum Rystra
9d833a1fe3 Removed ammo as ~ammo, items should be applied
#ammo will be the way to referenced last used ammo
2023-09-19 16:48:48 +02:00
Thaum Rystra
98ac2e7122 Made ammo consumed available in scope as ~ammo 2023-09-19 15:10:32 +02:00
Thaum Rystra
f62a8bead4 Added damage saving throws to engine 2023-09-19 15:01:36 +02:00
ThaumRystra
b9ed79d638 iterated 2023-09-18 20:39:34 +02:00
Thaum Rystra
31a614d335 Relaxed creature property update rate limit 2023-09-18 15:50:48 +02:00
Thaum Rystra
2545b9dd47 Added "save for half" to damage form 2023-09-18 15:50:35 +02:00
Thaum Rystra
c274153c79 Duplicating properties now renews root sub-doc ids 2023-09-18 14:12:30 +02:00
Thaum Rystra
673f187373 Removed stray function 2023-09-18 13:48:30 +02:00
Thaum Rystra
d058039464 Renewing Ids now renews sub-doc ids as well 2023-09-18 13:46:54 +02:00
Thaum Rystra
c7bb4b8097 Fixed issue where duplicated point buys cause row-id collision in dep graph 2023-09-18 13:31:48 +02:00
ThaumRystra
d57e49f969 Began rewrite of all parenting functions to nested sets
What have I gotten myself into :(
2023-09-13 23:18:03 +02:00
ThaumRystra
00395a3e79 Added comment to start pull request 2023-09-13 11:18:57 +02:00
ThaumRystra
c251b70ff6 Breaking: children of notes are no longer inactive 2023-09-13 11:08:55 +02:00
Katrina Scialdone
cbb83f2ef3 Use lodash union instead of convert to Set and back 2023-09-07 04:47:40 -06:00
Stefan Zermatten
64e4d80b5b A little bit of threejs prototyping 2023-09-05 23:31:40 +02:00
Stefan Zermatten
4ea28acdee Merge commit 'd9b978cb82109b71c05d03807a8558ba1dc537a4' into feature-tabletop 2023-09-04 11:02:13 +02:00
Katrina Scialdone
078fa7cbeb Make references add their own tags to the ref'd property on insert 2023-09-03 16:26:37 -06:00
Stefan Zermatten
9537eaa3e6 Began adding save-for-half to damage props 2023-08-24 15:16:48 +02:00
Stefan Zermatten
75ea462e64 Added conditions to action resources 2023-08-24 14:51:09 +02:00
Stefan Zermatten
d973463126 Prevented props deactivated by toggles from firing 2023-08-24 12:35:54 +02:00
Stefan Zermatten
0ee77d705a Fixed actions erroring with undefined resources 2023-08-24 12:19:55 +02:00
Stefan Zermatten
1778111c75 Toggles now wont apply tag targeting if deactivated 2023-08-24 12:09:14 +02:00