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
e0f621cc44
Added data and UI for effects targeting calculations by tag
...
Still need to:
- update engine to compute calculations with effects.
- Add UI for effects applied to each calculation
2022-02-14 16:26:49 +02:00
Stefan Zermatten
15ead403a5
Added UI for action branches
2022-02-09 16:47:38 +02:00
Stefan Zermatten
e34f29f952
Computations now occupy their own nodes on the dependency graph
...
This mitigates most issues with properties having self-loops,
particularly in cases like Strength where the value `strength` is used
in the description of Strength
2021-12-07 21:05:24 +02:00
Stefan Zermatten
e3a1eff751
Progress all over the place with viewer, forms, small engine tweaks
2021-10-21 22:18:01 +02:00
Stefan Zermatten
1b5bb981e9
Updated viewers
...
Action, classlevel, constant, container, damage multiplier, damage,
effect, feature, folder, item
2021-10-19 17:19:35 +02:00
Stefan Zermatten
417ff6e210
Buffs no longer have the "applied" field, it was redundant
...
Because children of actions are always inactive in the new engine, buffs
that are children of actions are inactive while buffs elsewhere on the
character sheet are active, making it redundant to keep the extra field
2021-10-18 13:46:38 +02:00
Stefan Zermatten
bc6c857b6b
UI work to improve look and feel of Viewers
2021-10-17 23:28:39 +02:00
Stefan Zermatten
247353f0ed
Small progress on tabletop
2021-10-16 19:05:35 +02:00
Stefan Zermatten
51d3fbbcb7
Completed first pass at action system re-write. Untested
2021-10-10 19:44:02 +02:00
Stefan Zermatten
0cdec4a429
Start of action system re-write
2021-10-09 12:36:06 +02:00
Stefan Zermatten
0097696cc8
Began merging attacks into actions
2021-10-06 14:57:13 +02:00
Stefan Zermatten
1a14393031
Parsed calculations are now cached between calculations
...
Parsing is one of the more expensive computations done to characters, so
the parser results are now stored on the DB and only updated if they are
dirty. A hash is used to determine if the calculation has changed since
the last computation
2021-10-03 20:59:04 +02:00
Stefan Zermatten
b78517b61f
Finished migrating parser to be object orientation free. All tests pass
2021-10-03 13:54:17 +02:00
Stefan Zermatten
7dac0cf3f3
Removed color max length, using regex instead
2021-09-29 18:32:12 +02:00
Stefan Zermatten
cb1fd38df3
Optimized some slow parts of the engine.
...
Last low hanging fruit: parsing is slow, cache parsed calculations
2021-09-29 15:54:14 +02:00
Stefan Zermatten
cb10b53a10
Updated forms and some UI for new data structure
2021-09-28 14:25:11 +02:00
Stefan Zermatten
b0ee5cd304
Continued iterating on calculations, added failing test for bugs found
2021-09-27 17:26:52 +02:00
Stefan Zermatten
fe83b5cbc5
Fixed migration errors when tested against a copy of the live dataset
2021-09-27 13:42:37 +02:00
Stefan Zermatten
706303862f
Fixed class level not having computed description
2021-09-27 11:06:48 +02:00
Stefan Zermatten
2cb14146d4
Tested and fixed skill compuations
2021-09-23 15:44:50 +02:00
Stefan Zermatten
c0a9a1251d
Tested and fixed effect computations
2021-09-23 15:22:01 +02:00
Stefan Zermatten
347bd8e476
Tested and fixed class level computations
2021-09-23 11:41:15 +02:00
Stefan Zermatten
1270e320ce
Basic testing for attribute calculations
2021-09-17 15:11:29 +02:00
Stefan Zermatten
a660ccc458
Lots of progress testing and fixing computation engine
2021-09-16 14:31:28 +02:00
Stefan Zermatten
dfd7ad4af5
Got tests running on single property character
2021-09-15 15:15:18 +02:00
Stefan Zermatten
8f93179187
Moved inventory computation to after toggles, added class levels computation
2021-09-14 16:18:36 +02:00
Stefan Zermatten
5c84836238
More engine rewrite progress, starting to get messy again
2021-09-13 16:12:04 +02:00
Stefan Zermatten
b877a8b45f
Computation engine rewrite continues
2021-09-10 19:51:03 +02:00
Stefan Zermatten
55bca633fc
Substantial progress on rebuilding computation engine
2021-09-09 13:47:41 +02:00
Stefan Zermatten
06da15c44a
Began rebuilding computation engine to be dependency graph centric
2021-09-08 17:23:00 +02:00
Stefan Zermatten
43f056ae95
more small progress on migration
2021-09-07 15:48:51 +02:00
Stefan Zermatten
b0980d26ac
Iterated on migration :(
2021-09-06 23:59:52 +02:00
Stefan Zermatten
e79b8fda3b
Improved migration code substantially, wrote migrations for more properties
2021-09-06 17:40:57 +02:00
Stefan Zermatten
235560eb44
Started on DBv1 migration
2021-09-06 11:36:42 +02:00
Stefan Zermatten
e21586e9ce
Added reasonable storage limits to most string and array schemas
2021-08-10 18:12:55 +02:00
Stefan Zermatten
8ecefb03ad
Started re-implementing slot fill dialog with different design pattern
2021-08-10 10:32:56 +02:00
Stefan Zermatten
9f62a78eb0
Began work on implementing string and array storage limits
2021-08-09 22:34:04 +02:00
Stefan Zermatten
4e2e0ca364
Improved display of referenced properties
2021-07-27 16:21:55 +02:00
Stefan Zermatten
9a9e6491b9
Improved usability with better hints in property forms and property type selection
2021-07-26 18:19:29 +02:00
Stefan Zermatten
9825872576
Implemented Reference properties
2021-04-29 15:52:24 +02:00
Stefan Zermatten
3d122e062f
Added the distinction between half rounded up or down for proficiencies
2021-04-22 15:39:14 +02:00
Stefan Zermatten
298db01e5b
Updated computation engine to handle multiple attributes and skills with the same variable name
2021-04-22 15:11:49 +02:00
Stefan Zermatten
bfb860605f
Creature properties now duplicate with up to 50 children
2021-04-11 14:47:41 +02:00
Stefan Zermatten
2c0496b44b
Fixed properties not being made inactive by toggles
2021-03-02 13:56:53 +02:00
Stefan Zermatten
dce2c92516
Added attack roll bonus and dc to spell list. Use them in spells with #spellList.dcResult and #spellList.attackRollBonusResult
2021-02-23 15:21:20 +02:00
Stefan Zermatten
d69ada0db4
Slot quantity is now a computed value, added property viewer for slots
2021-02-23 14:53:47 +02:00
Stefan Zermatten
88133a2fa3
Saving throws now work in actions
2021-02-22 12:38:21 +02:00
Stefan Zermatten
d00eedac19
Rolls now work in actions
2021-02-22 11:55:08 +02:00
Stefan Zermatten
6113d86059
Fixed typo in calling a function in Constants autovalue
2021-02-16 11:19:50 +02:00