Stefan Zermatten
43f8df09f0
Fixed client crash when effects target calcs
2022-08-26 09:42:34 +02:00
Stefan Zermatten
a84da7d8a5
Buffs can skip var freezing, freeze inline calcs
2022-08-25 15:10:56 +02:00
Stefan Zermatten
249aebea0f
Allowed some properties to return damaged action values
...
When a prop is damaged during an action, it now tries
to show its new value during the rest of that action
2022-08-25 15:10:36 +02:00
Stefan Zermatten
987aacbb67
Silence for triggers also
2022-08-25 12:12:07 +02:00
Stefan Zermatten
2714d0b9d5
Added the ability to silence most action props
2022-08-25 12:10:51 +02:00
Stefan Zermatten
1d98c41168
Fixed slotLevel not having the right value in spell scope
2022-08-25 11:40:30 +02:00
Stefan Zermatten
59a488256b
Added buff removers
2022-08-17 11:38:30 +02:00
Stefan Zermatten
e7f73d0e54
Stopped crystalizing variables in nested buffs
2022-08-17 09:39:45 +02:00
Stefan Zermatten
45f05d0d34
Fixed bug where actions targeting self
...
weren't applying props to self
2022-08-16 09:26:40 +02:00
Stefan Zermatten
360df79004
Fixed after save trigger not firing when no targets
2022-08-15 12:31:56 +02:00
Stefan Zermatten
a8f163ff33
Removed trigger.summary
2022-08-15 12:29:58 +02:00
Stefan Zermatten
36b3b80850
Moved triggers in action props to run before children
2022-08-15 12:07:57 +02:00
Stefan Zermatten
263f2d8424
Fixed failing tests
2022-08-15 09:38:34 +02:00
Stefan Zermatten
ee0e764294
Refactored entire action engine
...
Triggers needed action context to function outside of the action engine
proper, so now it's been abstracted into its own class
2022-08-13 00:22:32 +02:00
Stefan Zermatten
13fc0c0b12
Triggers can fire on character sheet checks
2022-08-12 19:52:58 +02:00
Stefan Zermatten
b324fb1f03
Stopped triggers from firing if they are inactive
2022-08-12 19:19:58 +02:00
Stefan Zermatten
6ea882a053
Fixed trigger conditions not working on rest
2022-07-25 15:13:47 +02:00
Stefan Zermatten
a0c2822dac
Added "extra" damage type
...
Takes on the same damage type as the last damage applied during the
same action, otherwise deals "extra" damage
2022-07-24 20:38:42 +02:00
Stefan Zermatten
566d6a4fef
Triggers 🤫
2022-07-20 15:57:38 +02:00
Stefan Zermatten
f07f05ca2c
Moved creature variables to their own collection
...
Another big change to the engine, expect bugs
2022-06-29 14:54:25 +02:00
Stefan Zermatten
b2f89eceee
Fixed some bugs with characters not recomputing
...
TODO: remove .variables cache from creature document, it's not viable
2022-06-23 08:39:48 +02:00
Stefan Zermatten
1b3efae81a
Replaced manual recompute calls with dirty flag settings
2022-05-11 15:42:29 +02:00
Stefan Zermatten
cc24690a67
Fixed bug where children of rolls would be applied
2022-04-09 15:02:44 +02:00
Stefan Zermatten
788cbb182d
Action system improvements
...
- Actions/spells now display their summary, not their description
- All save branches and attack branches run when there are no targets
- Improved action logging
- Index branch lets you customise a choice of children to run
2022-03-09 01:31:09 +02:00
Stefan Zermatten
73ca6dc364
Damage multipliers are now applied to damage dealt
2022-03-05 18:40:18 +02:00
Stefan Zermatten
545050cfa3
Fixed attack disadvantage being treated as advantage
2022-03-04 16:09:00 +02:00
Stefan Zermatten
698c9c7bbf
Fixed adjustment error when trying to adjust a property that isn't set
2022-03-04 12:51:28 +02:00
Stefan Zermatten
7544243640
Fixed buffs not crystalising variables correctly
2022-03-04 12:51:06 +02:00
Stefan Zermatten
473a9f0253
Inlined a bunch of discord webhook text to help format messages better
2022-02-28 16:55:15 +02:00
Stefan Zermatten
94cdca4f31
Fixed uses left not logging correctly in actions
2022-02-28 16:25:42 +02:00
Stefan Zermatten
e6c7d79d7d
Overhauled spell casting UX
2022-02-27 22:14:32 +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
27665e0bdc
Finished roll check and roll attack buttons from stats page
2022-02-26 17:35:26 +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
378da71f5d
Effects targeting calculations by tag now work in the engine and actions
2022-02-15 15:59:41 +02:00
Stefan Zermatten
15ead403a5
Added UI for action branches
2022-02-09 16:47:38 +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
7a11a4aa22
Improved action viewer, fixed bugs found along the way
2021-10-18 12:48:26 +02:00
Stefan Zermatten
ea68cdf86f
Migrating UI for new data structures
2021-10-15 11:12:40 +02:00
Stefan Zermatten
f3c52999e8
Fixed action rewrite build errors
2021-10-10 20:08:29 +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