Stefan Zermatten
e19e91f7e0
Fixed broken $attackRoll always returning 0
2022-11-24 14:51:05 +02:00
Stefan Zermatten
55f8dac0db
Merge pull request #302 from Jonpot/patch-3
...
Fix Action scope variables
2022-11-22 02:32:17 +02:00
Jonpot
9f8c3f0f3d
Update applyAction.js
...
As per the docs, $attackDiceRoll should be the value of the d20 before modifiers, and $attackRoll should the the total value, after modifiers. Pre-patch, the former variable is never defined, and the latter variable has the wrong value.
2022-11-21 16:20:48 -08:00
Stefan Zermatten
e619734ee1
Fixed checks not having access to #skill
2022-11-21 13:16:54 +02:00
Stefan Zermatten
e06d2befc4
Fixed damage multipliers not using implicit tags
2022-11-19 23:24:11 +02:00
Stefan Zermatten
f3deadb3f1
Fixed buff descriptions not calced before logged
2022-11-19 19:25:51 +02:00
Stefan Zermatten
dcfb380e57
Fixed saving throw tag targeted effects
...
They will now roll dice effects before saving
2022-11-19 19:15:53 +02:00
Stefan Zermatten
e3644eb9e8
Moved UI to client folder to fix HMR
2022-11-19 17:51:50 +02:00
Stefan Zermatten
1ec29365cb
Added custom sheet events
...
Made rest buttons optional
2022-11-08 23:01:09 +02:00
Stefan Zermatten
c0ccafa787
Added overflow stops to health bars
2022-11-03 20:50:10 +02:00
Stefan Zermatten
58c3875dc7
Hotifix: Casting cantrips without a spell slot
2022-10-12 07:36:42 +02:00
Stefan Zermatten
84f506f1fe
Added $checkDiceRoll $checkRoll $checkModifier variables
2022-10-12 07:32:39 +02:00
Stefan Zermatten
60b6b283b1
Folders now get their children applied by actions
2022-10-10 16:45:53 +02:00
Stefan Zermatten
1c9b390551
Added ritual casting
2022-10-09 23:11:06 +02:00
Stefan Zermatten
2fa913b09a
Applied style rules to genocide all \t characters
2022-10-09 16:01:36 +02:00
Stefan Zermatten
de598c70a7
Fixed rolled effects not applying to checks
2022-10-09 11:10:50 +02:00
Stefan Zermatten
adaa31d76c
damage tags to ignore multipliers
2022-09-13 17:34:30 +02:00
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