Stefan Zermatten
90235a5bc6
Merge branch 'develop' of https://github.com/ThaumRystra/DiceCloud into develop
2023-04-14 13:04:49 +02:00
Stefan Zermatten
775e1fa842
Merge pull request #316 from Jonpot/patch-7
...
Fix triggerMatchTags function to correctly handle 'NOT' operation
2023-04-14 13:03:53 +02:00
Stefan Zermatten
288a086ffe
Fixed typo in trigger test
2023-04-14 13:02:27 +02:00
Stefan Zermatten
e961fd2b98
Added failing test case for #316 trigger match bug
2023-04-14 12:55:30 +02:00
Stefan Zermatten
32e5b0a9f6
fixed: props all have slotQuantityFilled now
2023-04-14 12:02:46 +02:00
Jonpot
9992da711a
Fix triggerMatchTags function to correctly handle 'NOT' operation
...
This pull request addresses an issue in the triggerMatchTags function where it returned an incorrect result when the targetTags property was empty and the 'NOT' operation was evaluated in the extraTags. The function would return true instead of false when it should have.
Changes:
- Replaced the forEach loop with a for...of loop to iterate through trigger.extraTags to properly set the matched variable and break the loop when necessary.
- Updated the condition for the 'NOT' operation to set matched to false and break the loop when the condition is met.
2023-04-06 14:49:07 -07:00
Jonpot
c3c05a0727
Fix health bar filtering in dealDamage function
...
This pull request addresses an issue with the dealDamage function where health bars with the healthBarNoHealing flag set to True were still being healed. The problem was related to the logic used to filter out health bars that should not be affected by the current damage type.
Changes:
- Replaced the remove function with the native JavaScript filter function.
- Updated the filter condition to correctly filter health bars based on the damage type (healing or damage).
2023-04-06 12:20:44 -07:00
Stefan Zermatten
25e053c473
Merge branch 'develop' of https://github.com/ThaumRystra/DiceCloud into develop
2023-03-31 12:20:34 +02:00
Stefan Zermatten
76a0918a78
Fixed crash where null ability broke skills
2023-03-31 12:19:15 +02:00
Stefan Zermatten
50cb6185ce
Added proficiency target by tag to backend
2023-03-17 17:45:05 +02:00
Stefan Zermatten
67da641244
Migrated internal variables to ~ prefix
2023-01-31 20:36:26 +02:00
Stefan Zermatten
16f5fe91ea
Normalized all scope['$...'] to be unwrapped values
2023-01-31 15:55:02 +02:00
Stefan Zermatten
72d932538b
Fixed bug where rolls could not set strings
2023-01-31 14:51:22 +02:00
Stefan Zermatten
e19e91f7e0
Fixed broken $attackRoll always returning 0
2022-11-24 14:51:05 +02:00
Stefan Zermatten
fd9d525ba9
fixed: Show only the last event with a var name
2022-11-22 21:59:44 +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
a9b389023e
added todo
2022-11-19 23:44:02 +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
a568cdfb1e
Fixed NaNing of skills that have rolled effects
2022-11-19 18:57:26 +02:00
Stefan Zermatten
e3644eb9e8
Moved UI to client folder to fix HMR
2022-11-19 17:51:50 +02:00
Stefan Zermatten
0f3a96da17
Spell list ability modifier can take non-abilities
...
defaults to .value if .modifier is undefined
is now undefined for no .modifier or .value
2022-11-18 14:21:22 +02:00
Stefan Zermatten
1ec29365cb
Added custom sheet events
...
Made rest buttons optional
2022-11-08 23:01:09 +02:00
Stefan Zermatten
60b21c1901
Fixed bugs with effects
...
they were not providing advantage or conditional benefits
2022-11-08 18:29:27 +02:00
Stefan Zermatten
03f87b0afa
Added spellcasting ability to spell lists
2022-11-08 18:09:00 +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
e956bacf07
Added actionType to effective tags
2022-10-10 16:49:10 +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
5cb835c536
Got basic typescript tools working
2022-10-09 17:33:43 +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
baecdeff24
Fixed bug where items with zero quantity have active children
2022-10-09 10:10:21 +02:00
Stefan Zermatten
d4b7d22b5f
Fixed toggled off spells showing in spell list
2022-09-26 09:43:00 +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
11a527481e
Show Point buy on Build tab
2022-08-25 13:18:24 +02:00
Stefan Zermatten
8d729216b5
Properties now have their variable name as a default tag
2022-08-25 12:15:12 +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
e42ec4b862
Continued work on point buy UI
2022-08-23 14:44:35 +02:00
Stefan Zermatten
59fc5ab851
Continued work on point buy UI
2022-08-22 15:07:40 +02:00