Thaum Rystra
ae5a159e58
Fix TypeScript errors in action engine
2025-05-02 15:38:18 +02:00
ThaumRystra
3315b5607a
Fixed bug where rolls weren't recalculating in actions
2025-01-20 19:59:57 +02:00
ThaumRystra
be47b90c32
Fixed bug where tag-targeting a calculation's base value would crash the sheet
2025-01-16 20:32:30 +02:00
ThaumRystra
c0d1412463
Improved typing of Creature Properties
2025-01-14 13:21:43 +02:00
ThaumRystra
75fe3e8fe2
Fixed #382 dice roll functions not working
2024-12-01 22:02:47 +02:00
ThaumRystra
a40cae1327
Removed stray console logging
...
closes Creatures summoned to tabletops from libraries are missing their properties #373
2024-11-09 15:49:36 +02:00
ThaumRystra
2c431293e0
Tested that triggers fire for all properties.
...
Fixed some action engine issues found.
2024-11-07 00:22:46 +02:00
Thaum Rystra
08640f2bf2
Moved tabletop characters to left side of the screen
2024-04-12 17:05:20 +02:00
Thaum Rystra
4793b34a55
Made undefined variable names zero in compile step
2024-04-12 11:36:11 +02:00
Thaum Rystra
6138be8083
Progress on action choices
2024-03-30 21:12:35 +02:00
Thaum Rystra
b13ca8c64b
More testing of action system, now with test coverage
2024-02-27 15:30:40 +02:00
Thaum Rystra
5141704e23
Fixed failing tests and action engine props
2024-02-22 09:11:00 +02:00
Thaum Rystra
b41d26b3ad
Fixed failing tests, tested parser more
2024-02-21 10:36:32 +02:00
Thaum Rystra
ac15512bc5
Typescript all the parser things
2024-02-20 23:21:12 +02:00
Thaum Rystra
55a6b16c31
Fixed failing action engine tests, moved more engine parts to ts
2024-02-19 15:39:16 +02:00
Thaum Rystra
c721374278
Moved parser to typescript
2024-02-19 12:45:54 +02:00
Thaum Rystra
5b7d352323
Started splitting engine tests into individual files and testing action props
2024-02-16 16:16:18 +02:00
Thaum Rystra
aee9d6b8cb
refactored action engine into individual files
2024-02-16 10:30:50 +02:00
ThaumRystra
3ba603407e
Merge feature-nested-sets into develop
2023-12-18 18:27:17 +02:00
Thaum Rystra
6162f2fe90
Failed attempt at using method calls to manage awaited method
2023-11-14 13:55:17 +02:00
ThaumRystra
d578268e99
Disabled migration testing
...
re-enable when merging feature-nested-sets
2023-11-11 13:39:43 +02:00
ThaumRystra
fbc8ed977a
Added commutative simplification for + and *
2023-11-11 13:31:31 +02:00
ThaumRystra
6e0364b636
Merge branch 'develop' into feature-nested-sets
2023-11-11 10:01:34 +02:00
ThaumRystra
84edd74ff3
Allowed accessing of constant arrays from accessor
2023-11-09 23:04:40 +02:00
ThaumRystra
c25dcc0a09
Removed Symbol parse node
...
Too much overlap with accessors, so now
all symbols are a special case of accessors
2023-11-09 23:04:18 +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
ece4a9391a
Removed .js from all imports to smooth ts migration
2023-09-28 21:27:05 +02:00
Thaum Rystra
3a3deca867
Removed x not found, set to 0 info messages from parser
2023-09-20 12:51:15 +02:00
Katrina Scialdone
6ecfaa9df5
Fix erroring functions causing a compile error
...
If a function's implementation creates a Javascript error, it would return as a compile error due to the `error` variable being shadowed internally by this try-catch. This commit fixes that, as well as clarifies the fixed error messages with "internal error".
2023-09-04 18:23:24 -06:00
Stefan Zermatten
d578a87632
parser fix for chain indexing into nested arrays
...
`[ [‘a1’, ‘a2’ ], [‘b1’, ‘b2’] ][2][1]` => `'b1'`
2023-08-24 12:29:44 +02:00
Stefan Zermatten
b9588c83b1
Added dice functions to parse engine
2023-04-01 11:27:52 +02:00
Stefan Zermatten
deca9786b9
Fixed grammar to account for d8 not being a name
2023-01-31 20:55:35 +02:00
Stefan Zermatten
67da641244
Migrated internal variables to ~ prefix
2023-01-31 20:36:26 +02:00
Stefan Zermatten
5108b32624
Added line breaks in parser strings
...
Actual line breaks and \n both work
2022-11-20 00:19:41 +02:00
Stefan Zermatten
aa8f2d230d
Hunted the last of the \t's to extinction
2022-10-09 16:56:28 +02:00
Stefan Zermatten
2fa913b09a
Applied style rules to genocide all \t characters
2022-10-09 16:01:36 +02:00
Stefan Zermatten
dbc5f7253f
Finished basic docs
2022-09-05 14:36:39 +02:00
Stefan Zermatten
78cd8ffc8d
Creatures are now cached in memory for computation
...
Also removed dependency group calculation because the optimisation isn't
as useful to reduce DB calls if the creature is in memory anyway
2022-05-11 13:30:33 +02:00
Stefan Zermatten
3a18bce7e6
Added error message for unsupported accessors
2022-05-01 22:54:30 +02:00
Stefan Zermatten
dcc95486b3
fixed parser error when using incorrect call args
2022-04-21 10:59:19 +02:00
Stefan Zermatten
49fa9cc470
Fixed parser to allow $ and x.0.thing in variable references
2022-02-26 19:36:56 +02:00
Stefan Zermatten
59c69a46a8
Attacks can now be rolled with advantage from the stats tab
...
TODO the action viewer as well still
2022-02-25 13:44:09 +02:00
Stefan Zermatten
5b6bff91a4
Added resolve function to allow users to force a calculation to reduce
2022-02-23 12:58:12 +02:00
Stefan Zermatten
78c67a4fd6
Fixed incorrect use of parser toString in places
2022-02-23 11:07:02 +02:00
Stefan Zermatten
90b277e181
Fixed not operator !working
2022-02-22 19:16:03 +02:00
Stefan Zermatten
80460ceaed
Fixed not found calculation warnings showing [object Object]
...
They were using the wrong "toString" method
2022-02-22 18:02:57 +02:00
Stefan Zermatten
378da71f5d
Effects targeting calculations by tag now work in the engine and actions
2022-02-15 15:59:41 +02:00
Stefan Zermatten
6e22e4286f
Fixed referencing variable.description in a calculation
...
Whether the description's inline calculations are calculated or not is
not defined.
2021-12-08 09:23:29 +02:00
Stefan Zermatten
bc6c857b6b
UI work to improve look and feel of Viewers
2021-10-17 23:28:39 +02:00