Commit Graph

217 Commits

Author SHA1 Message Date
ThaumRystra
862c2ceb99 Finished move to 3 tier action methods 2023-12-15 12:25:32 +02:00
ThaumRystra
99bf5fd832 Began attempting 3-tier method of action engine 2023-12-14 22:27:22 +02:00
Thaum Rystra
8fe040a12a Iterated on action dialog 2023-12-06 19:58:01 +02:00
ThaumRystra
64a1bfeda5 Began work on new action UI dialog 2023-12-06 07:36:02 +02:00
ThaumRystra
24438d5a92 Changed how before and after triggers are handled 2023-11-25 11:59:32 +02:00
Thaum Rystra
f676dfd928 Began working on applying actions
(consuming resources)
2023-11-21 15:54:30 +02:00
Thaum Rystra
d44537076c removed unnecessary task/subtask type field 2023-11-21 15:38:24 +02:00
Thaum Rystra
3a67752b1f Refactored damage props into a subtask 2023-11-21 15:36:37 +02:00
Thaum Rystra
97e3552dc3 Fixed roll test 2023-11-21 13:23:59 +02:00
Thaum Rystra
936ca862db Added Rolls to action system rewrite 2023-11-21 11:35:07 +02:00
ThaumRystra
fa9f64dd51 Iterated on how tasks are pushed to queue 2023-11-20 21:31:55 +02:00
ThaumRystra
b5e59c7147 Improved action attribute damage handling 2023-11-18 16:03:48 +02:00
ThaumRystra
59a9433dc7 Tested and fixed adjustments 2023-11-17 17:34:48 +02:00
Thaum Rystra
95c3e882d7 Added Adjustments 2023-11-17 12:00:19 +02:00
ThaumRystra
581f99d467 Tested and fixed branches and notes
in new action interrupt system
2023-11-16 22:21:48 +02:00
Thaum Rystra
375a84226d Added action tests 2023-11-16 14:00:26 +02:00
ThaumRystra
6d8dfc2255 Added function to start an action 2023-11-15 23:42:56 +02:00
ThaumRystra
40a5b72755 Biting the bullet, started rewriting Action engine 2023-11-15 23:19:58 +02:00
Thaum Rystra
0c495726ba Added compute triggers to store trigger ids on their
targeted props. Needs testing
2023-11-15 15:42:09 +02:00
Thaum Rystra
6162f2fe90 Failed attempt at using method calls to manage awaited method 2023-11-14 13:55:17 +02:00
ThaumRystra
5a2df36e8b Began migrating action engine to async
To suspending actions to await user input
2023-11-13 00:24:51 +02:00
ThaumRystra
800ef3328c Fixed checks not applying rolled effects 2023-11-12 21:11:04 +02:00
ThaumRystra
2e3e6e22b6 Fixed skill and attribute effect lists
Now using effectId lists
2023-11-12 17:38:51 +02:00
ThaumRystra
b32b6db21a Fixed issue: toggled off point buys still applying 2023-11-12 16:38:55 +02:00
ThaumRystra
3b1f61aa0a Added and fixed some tests for tag targeted effects 2023-11-11 13:31:15 +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
ThaumRystra
df8f9c085f Fixed regression in actions breaking ui and uses 2023-09-22 16:52:21 +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
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
c251b70ff6 Breaking: children of notes are no longer inactive 2023-09-13 11:08:55 +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
Stefan Zermatten
0df7763366 Cleaned up bad messy floats in container weights 2023-08-24 11:42:47 +02:00
Stefan Zermatten
f794dbf45a Slots act as folder when used in actions 2023-08-24 11:21:39 +02:00
Stefan Zermatten
7c2b7419d9 Fixed content weightless carried containers weight 2023-08-24 11:10:19 +02:00
Stefan Zermatten
b8387c5ab1 Added "after children" trigger timing 2023-08-24 10:56:13 +02:00