Merge pull request 'Version 2.0.0' (#35) from develop into main
Reviewed-on: #35
This commit is contained in:
commit
6ad1452922
17
CHANGELOG.md
17
CHANGELOG.md
@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## 2.0.0
|
||||
|
||||
### Changed
|
||||
|
||||
- BREAKING CHANGE: changed from creating a global `swadeMBHelpers` to requiring
|
||||
`game.modules.get('swade-mb-helpers').api` instead
|
||||
- FLOW change: Smite's modifier will still show the weapon affected, but the
|
||||
modifier is a global modifier that can be ignored in the roll dialog or the
|
||||
effect can be turned off.
|
||||
- Added the following Power Effects
|
||||
- Burrow
|
||||
- Darksight
|
||||
- Detect/Conceal Arcana
|
||||
- Disguise
|
||||
- Shape Change
|
||||
- Sloth/Speed
|
||||
|
||||
## 1.2.0
|
||||
|
||||
### Changed
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
"id": "swade-mb-helpers",
|
||||
"title": "SWADE Helpers (MB)",
|
||||
"description": "Mike's collection of swade helpers",
|
||||
"version": "1.2.1",
|
||||
"version": "2.0.0",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Mike"
|
||||
|
||||
Binary file not shown.
BIN
packs/common-actions/000160.ldb
Normal file
BIN
packs/common-actions/000160.ldb
Normal file
Binary file not shown.
@ -1 +1 @@
|
||||
MANIFEST-000138
|
||||
MANIFEST-000156
|
||||
|
||||
@ -1,8 +1,15 @@
|
||||
2023/09/25-22:33:46.979390 7fe7b968d700 Recovering log #135
|
||||
2023/09/25-22:33:46.999374 7fe7b968d700 Delete type=3 #133
|
||||
2023/09/25-22:33:46.999397 7fe7b968d700 Delete type=0 #135
|
||||
2023/09/25-22:34:49.573980 7fe51bfff700 Level-0 table #141: started
|
||||
2023/09/25-22:34:49.573997 7fe51bfff700 Level-0 table #141: 0 bytes OK
|
||||
2023/09/25-22:34:49.583422 7fe51bfff700 Delete type=0 #139
|
||||
2023/09/25-22:34:49.602253 7fe51bfff700 Manual compaction at level-0 from '!folders!0nDRFmMBs5DBJU9M' @ 72057594037927935 : 1 .. '!items!xA7qKMmugJv7z6j1' @ 0 : 0; will stop at (end)
|
||||
2023/09/25-22:34:49.611494 7fe51bfff700 Manual compaction at level-1 from '!folders!0nDRFmMBs5DBJU9M' @ 72057594037927935 : 1 .. '!items!xA7qKMmugJv7z6j1' @ 0 : 0; will stop at (end)
|
||||
2023/10/01-12:11:47.448916 7fd28affd700 Recovering log #154
|
||||
2023/10/01-12:11:47.471451 7fd28affd700 Delete type=0 #154
|
||||
2023/10/01-12:11:47.471476 7fd28affd700 Delete type=3 #152
|
||||
2023/10/01-20:43:28.145021 7fd28916a700 Level-0 table #159: started
|
||||
2023/10/01-20:43:28.148538 7fd28916a700 Level-0 table #159: 938 bytes OK
|
||||
2023/10/01-20:43:28.151749 7fd28916a700 Delete type=0 #157
|
||||
2023/10/01-20:43:28.158378 7fd28916a700 Manual compaction at level-0 from '!folders!0nDRFmMBs5DBJU9M' @ 72057594037927935 : 1 .. '!items!xA7qKMmugJv7z6j1' @ 0 : 0; will stop at (end)
|
||||
2023/10/01-20:43:28.162862 7fd28916a700 Manual compaction at level-1 from '!folders!0nDRFmMBs5DBJU9M' @ 72057594037927935 : 1 .. '!items!xA7qKMmugJv7z6j1' @ 0 : 0; will stop at '!items!TteEFvR0yPWKNbI5' @ 200 : 1
|
||||
2023/10/01-20:43:28.162870 7fd28916a700 Compacting 1@1 + 1@2 files
|
||||
2023/10/01-20:43:28.165511 7fd28916a700 Generated table #160@1: 20 keys, 8917 bytes
|
||||
2023/10/01-20:43:28.165520 7fd28916a700 Compacted 1@1 + 1@2 files => 8917 bytes
|
||||
2023/10/01-20:43:28.168246 7fd28916a700 compacted to: files[ 0 0 1 0 0 0 0 ]
|
||||
2023/10/01-20:43:28.168314 7fd28916a700 Delete type=2 #159
|
||||
2023/10/01-20:43:28.168359 7fd28916a700 Delete type=2 #151
|
||||
2023/10/01-20:43:28.168489 7fd28916a700 Manual compaction at level-1 from '!items!TteEFvR0yPWKNbI5' @ 200 : 1 .. '!items!xA7qKMmugJv7z6j1' @ 0 : 0; will stop at (end)
|
||||
|
||||
@ -1,15 +1,8 @@
|
||||
2023/09/24-17:51:32.119358 7fe7b9e8e700 Recovering log #132
|
||||
2023/09/24-17:51:32.127144 7fe7b9e8e700 Delete type=3 #131
|
||||
2023/09/24-17:51:32.127174 7fe7b9e8e700 Delete type=0 #132
|
||||
2023/09/25-22:27:28.458282 7fe51bfff700 Level-0 table #136: started
|
||||
2023/09/25-22:27:28.461383 7fe51bfff700 Level-0 table #136: 5360 bytes OK
|
||||
2023/09/25-22:27:28.464487 7fe51bfff700 Delete type=0 #134
|
||||
2023/09/25-22:27:28.468877 7fe51bfff700 Manual compaction at level-0 from '!folders!0nDRFmMBs5DBJU9M' @ 72057594037927935 : 1 .. '!items!xA7qKMmugJv7z6j1' @ 0 : 0; will stop at (end)
|
||||
2023/09/25-22:27:28.468974 7fe51bfff700 Manual compaction at level-1 from '!folders!0nDRFmMBs5DBJU9M' @ 72057594037927935 : 1 .. '!items!xA7qKMmugJv7z6j1' @ 0 : 0; will stop at '!items!vdYpJXIMdqUi7IDh' @ 170 : 1
|
||||
2023/09/25-22:27:28.468980 7fe51bfff700 Compacting 1@1 + 1@2 files
|
||||
2023/09/25-22:27:28.471549 7fe51bfff700 Generated table #137@1: 17 keys, 8737 bytes
|
||||
2023/09/25-22:27:28.471557 7fe51bfff700 Compacted 1@1 + 1@2 files => 8737 bytes
|
||||
2023/09/25-22:27:28.474310 7fe51bfff700 compacted to: files[ 0 0 1 0 0 0 0 ]
|
||||
2023/09/25-22:27:28.474351 7fe51bfff700 Delete type=2 #136
|
||||
2023/09/25-22:27:28.474385 7fe51bfff700 Delete type=2 #130
|
||||
2023/09/25-22:27:28.482548 7fe51bfff700 Manual compaction at level-1 from '!items!vdYpJXIMdqUi7IDh' @ 170 : 1 .. '!items!xA7qKMmugJv7z6j1' @ 0 : 0; will stop at (end)
|
||||
2023/10/01-11:42:33.323354 7fd28affd700 Recovering log #149
|
||||
2023/10/01-11:42:33.330873 7fd28affd700 Delete type=0 #149
|
||||
2023/10/01-11:42:33.330892 7fd28affd700 Delete type=3 #147
|
||||
2023/10/01-12:06:41.807421 7fd28916a700 Level-0 table #155: started
|
||||
2023/10/01-12:06:41.807442 7fd28916a700 Level-0 table #155: 0 bytes OK
|
||||
2023/10/01-12:06:41.819030 7fd28916a700 Delete type=0 #153
|
||||
2023/10/01-12:06:41.840054 7fd28916a700 Manual compaction at level-0 from '!folders!0nDRFmMBs5DBJU9M' @ 72057594037927935 : 1 .. '!items!xA7qKMmugJv7z6j1' @ 0 : 0; will stop at (end)
|
||||
2023/10/01-12:06:41.840105 7fd28916a700 Manual compaction at level-1 from '!folders!0nDRFmMBs5DBJU9M' @ 72057594037927935 : 1 .. '!items!xA7qKMmugJv7z6j1' @ 0 : 0; will stop at (end)
|
||||
|
||||
Binary file not shown.
BIN
packs/common-actions/MANIFEST-000156
Normal file
BIN
packs/common-actions/MANIFEST-000156
Normal file
Binary file not shown.
@ -1 +1 @@
|
||||
MANIFEST-000040
|
||||
MANIFEST-000056
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
2023/09/25-22:33:47.001326 7fe7b9e8e700 Recovering log #38
|
||||
2023/09/25-22:33:47.021271 7fe7b9e8e700 Delete type=0 #38
|
||||
2023/09/25-22:33:47.021294 7fe7b9e8e700 Delete type=3 #36
|
||||
2023/09/25-22:34:49.621185 7fe51bfff700 Level-0 table #43: started
|
||||
2023/09/25-22:34:49.621202 7fe51bfff700 Level-0 table #43: 0 bytes OK
|
||||
2023/09/25-22:34:49.630680 7fe51bfff700 Delete type=0 #41
|
||||
2023/09/25-22:34:49.650161 7fe51bfff700 Manual compaction at level-0 from '!actors!U5v4gFHquo0Y1SAq' @ 72057594037927935 : 1 .. '!actors!U5v4gFHquo0Y1SAq' @ 0 : 0; will stop at (end)
|
||||
2023/09/25-22:34:49.659391 7fe51bfff700 Manual compaction at level-1 from '!actors!U5v4gFHquo0Y1SAq' @ 72057594037927935 : 1 .. '!actors!U5v4gFHquo0Y1SAq' @ 0 : 0; will stop at (end)
|
||||
2023/10/01-12:11:47.473471 7fd289ffb700 Recovering log #54
|
||||
2023/10/01-12:11:47.496469 7fd289ffb700 Delete type=3 #52
|
||||
2023/10/01-12:11:47.496492 7fd289ffb700 Delete type=0 #54
|
||||
2023/10/01-20:43:28.151822 7fd28916a700 Level-0 table #59: started
|
||||
2023/10/01-20:43:28.151850 7fd28916a700 Level-0 table #59: 0 bytes OK
|
||||
2023/10/01-20:43:28.155380 7fd28916a700 Delete type=0 #57
|
||||
2023/10/01-20:43:28.162797 7fd28916a700 Manual compaction at level-0 from '!actors!U5v4gFHquo0Y1SAq' @ 72057594037927935 : 1 .. '!actors!U5v4gFHquo0Y1SAq' @ 0 : 0; will stop at (end)
|
||||
2023/10/01-20:43:28.168435 7fd28916a700 Manual compaction at level-1 from '!actors!U5v4gFHquo0Y1SAq' @ 72057594037927935 : 1 .. '!actors!U5v4gFHquo0Y1SAq' @ 0 : 0; will stop at (end)
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
2023/09/24-17:51:32.129349 7fe7ba68f700 Recovering log #35
|
||||
2023/09/24-17:51:32.137024 7fe7ba68f700 Delete type=0 #35
|
||||
2023/09/24-17:51:32.137042 7fe7ba68f700 Delete type=3 #34
|
||||
2023/09/25-22:27:28.464580 7fe51bfff700 Level-0 table #39: started
|
||||
2023/09/25-22:27:28.464601 7fe51bfff700 Level-0 table #39: 0 bytes OK
|
||||
2023/09/25-22:27:28.468758 7fe51bfff700 Delete type=0 #37
|
||||
2023/09/25-22:27:28.468891 7fe51bfff700 Manual compaction at level-0 from '!actors!U5v4gFHquo0Y1SAq' @ 72057594037927935 : 1 .. '!actors!U5v4gFHquo0Y1SAq' @ 0 : 0; will stop at (end)
|
||||
2023/09/25-22:27:28.482519 7fe51bfff700 Manual compaction at level-1 from '!actors!U5v4gFHquo0Y1SAq' @ 72057594037927935 : 1 .. '!actors!U5v4gFHquo0Y1SAq' @ 0 : 0; will stop at (end)
|
||||
2023/10/01-11:42:33.332759 7fd28b7fe700 Recovering log #50
|
||||
2023/10/01-11:42:33.339786 7fd28b7fe700 Delete type=0 #50
|
||||
2023/10/01-11:42:33.339801 7fd28b7fe700 Delete type=3 #48
|
||||
2023/10/01-12:06:41.819080 7fd28916a700 Level-0 table #55: started
|
||||
2023/10/01-12:06:41.819102 7fd28916a700 Level-0 table #55: 0 bytes OK
|
||||
2023/10/01-12:06:41.829523 7fd28916a700 Delete type=0 #53
|
||||
2023/10/01-12:06:41.840082 7fd28916a700 Manual compaction at level-0 from '!actors!U5v4gFHquo0Y1SAq' @ 72057594037927935 : 1 .. '!actors!U5v4gFHquo0Y1SAq' @ 0 : 0; will stop at (end)
|
||||
2023/10/01-12:06:41.840124 7fd28916a700 Manual compaction at level-1 from '!actors!U5v4gFHquo0Y1SAq' @ 72057594037927935 : 1 .. '!actors!U5v4gFHquo0Y1SAq' @ 0 : 0; will stop at (end)
|
||||
|
||||
Binary file not shown.
BIN
packs/helper-actors/MANIFEST-000056
Normal file
BIN
packs/helper-actors/MANIFEST-000056
Normal file
Binary file not shown.
Binary file not shown.
BIN
packs/helper-macros/000190.ldb
Normal file
BIN
packs/helper-macros/000190.ldb
Normal file
Binary file not shown.
@ -1 +1 @@
|
||||
MANIFEST-000168
|
||||
MANIFEST-000186
|
||||
|
||||
@ -1,8 +1,15 @@
|
||||
2023/09/25-22:33:46.957940 7fe7b9e8e700 Recovering log #165
|
||||
2023/09/25-22:33:46.977376 7fe7b9e8e700 Delete type=0 #165
|
||||
2023/09/25-22:33:46.977395 7fe7b9e8e700 Delete type=3 #163
|
||||
2023/09/25-22:34:49.583492 7fe51bfff700 Level-0 table #171: started
|
||||
2023/09/25-22:34:49.583508 7fe51bfff700 Level-0 table #171: 0 bytes OK
|
||||
2023/09/25-22:34:49.592987 7fe51bfff700 Delete type=0 #169
|
||||
2023/09/25-22:34:49.611444 7fe51bfff700 Manual compaction at level-0 from '!folders!hIbrWxg1nDutCSwt' @ 72057594037927935 : 1 .. '!macros!wU2mAUnw3RW9qMT8' @ 0 : 0; will stop at (end)
|
||||
2023/09/25-22:34:49.611542 7fe51bfff700 Manual compaction at level-1 from '!folders!hIbrWxg1nDutCSwt' @ 72057594037927935 : 1 .. '!macros!wU2mAUnw3RW9qMT8' @ 0 : 0; will stop at (end)
|
||||
2023/10/01-12:11:47.424454 7fd289ffb700 Recovering log #183
|
||||
2023/10/01-12:11:47.447452 7fd289ffb700 Delete type=3 #181
|
||||
2023/10/01-12:11:47.447476 7fd289ffb700 Delete type=0 #183
|
||||
2023/10/01-20:43:28.125761 7fd28916a700 Level-0 table #189: started
|
||||
2023/10/01-20:43:28.129385 7fd28916a700 Level-0 table #189: 4766 bytes OK
|
||||
2023/10/01-20:43:28.132402 7fd28916a700 Delete type=0 #187
|
||||
2023/10/01-20:43:28.139282 7fd28916a700 Manual compaction at level-0 from '!folders!hIbrWxg1nDutCSwt' @ 72057594037927935 : 1 .. '!macros!wU2mAUnw3RW9qMT8' @ 0 : 0; will stop at (end)
|
||||
2023/10/01-20:43:28.139387 7fd28916a700 Manual compaction at level-1 from '!folders!hIbrWxg1nDutCSwt' @ 72057594037927935 : 1 .. '!macros!wU2mAUnw3RW9qMT8' @ 0 : 0; will stop at '!macros!wU2mAUnw3RW9qMT8' @ 73 : 1
|
||||
2023/10/01-20:43:28.139394 7fd28916a700 Compacting 1@1 + 1@2 files
|
||||
2023/10/01-20:43:28.141794 7fd28916a700 Generated table #190@1: 24 keys, 5951 bytes
|
||||
2023/10/01-20:43:28.141803 7fd28916a700 Compacted 1@1 + 1@2 files => 5951 bytes
|
||||
2023/10/01-20:43:28.144771 7fd28916a700 compacted to: files[ 0 0 1 0 0 0 0 ]
|
||||
2023/10/01-20:43:28.144875 7fd28916a700 Delete type=2 #185
|
||||
2023/10/01-20:43:28.144921 7fd28916a700 Delete type=2 #189
|
||||
2023/10/01-20:43:28.151797 7fd28916a700 Manual compaction at level-1 from '!macros!wU2mAUnw3RW9qMT8' @ 73 : 1 .. '!macros!wU2mAUnw3RW9qMT8' @ 0 : 0; will stop at (end)
|
||||
|
||||
@ -1,15 +1,15 @@
|
||||
2023/09/24-17:51:32.110592 7fe7ba68f700 Recovering log #162
|
||||
2023/09/24-17:51:32.118170 7fe7ba68f700 Delete type=3 #161
|
||||
2023/09/24-17:51:32.118190 7fe7ba68f700 Delete type=0 #162
|
||||
2023/09/25-22:27:28.431163 7fe51bfff700 Level-0 table #166: started
|
||||
2023/09/25-22:27:28.433469 7fe51bfff700 Level-0 table #166: 724 bytes OK
|
||||
2023/09/25-22:27:28.436317 7fe51bfff700 Delete type=0 #164
|
||||
2023/09/25-22:27:28.445034 7fe51bfff700 Manual compaction at level-0 from '!folders!hIbrWxg1nDutCSwt' @ 72057594037927935 : 1 .. '!macros!wU2mAUnw3RW9qMT8' @ 0 : 0; will stop at (end)
|
||||
2023/09/25-22:27:28.445112 7fe51bfff700 Manual compaction at level-1 from '!folders!hIbrWxg1nDutCSwt' @ 72057594037927935 : 1 .. '!macros!wU2mAUnw3RW9qMT8' @ 0 : 0; will stop at '!macros!8gxeYSUJ1FQhmJRw' @ 37 : 1
|
||||
2023/09/25-22:27:28.445116 7fe51bfff700 Compacting 1@1 + 1@2 files
|
||||
2023/09/25-22:27:28.449145 7fe51bfff700 Generated table #167@1: 19 keys, 4653 bytes
|
||||
2023/09/25-22:27:28.449155 7fe51bfff700 Compacted 1@1 + 1@2 files => 4653 bytes
|
||||
2023/09/25-22:27:28.452097 7fe51bfff700 compacted to: files[ 0 0 1 0 0 0 0 ]
|
||||
2023/09/25-22:27:28.452136 7fe51bfff700 Delete type=2 #128
|
||||
2023/09/25-22:27:28.452197 7fe51bfff700 Delete type=2 #166
|
||||
2023/09/25-22:27:28.468818 7fe51bfff700 Manual compaction at level-1 from '!macros!8gxeYSUJ1FQhmJRw' @ 37 : 1 .. '!macros!wU2mAUnw3RW9qMT8' @ 0 : 0; will stop at (end)
|
||||
2023/10/01-11:42:33.315112 7fd28b7fe700 Recovering log #179
|
||||
2023/10/01-11:42:33.322456 7fd28b7fe700 Delete type=3 #177
|
||||
2023/10/01-11:42:33.322475 7fd28b7fe700 Delete type=0 #179
|
||||
2023/10/01-12:06:41.769629 7fd28916a700 Level-0 table #184: started
|
||||
2023/10/01-12:06:41.777478 7fd28916a700 Level-0 table #184: 4857 bytes OK
|
||||
2023/10/01-12:06:41.787785 7fd28916a700 Delete type=0 #182
|
||||
2023/10/01-12:06:41.787963 7fd28916a700 Manual compaction at level-0 from '!folders!hIbrWxg1nDutCSwt' @ 72057594037927935 : 1 .. '!macros!wU2mAUnw3RW9qMT8' @ 0 : 0; will stop at (end)
|
||||
2023/10/01-12:06:41.788081 7fd28916a700 Manual compaction at level-1 from '!folders!hIbrWxg1nDutCSwt' @ 72057594037927935 : 1 .. '!macros!wU2mAUnw3RW9qMT8' @ 0 : 0; will stop at '!macros!wU2mAUnw3RW9qMT8' @ 58 : 1
|
||||
2023/10/01-12:06:41.788084 7fd28916a700 Compacting 1@1 + 1@2 files
|
||||
2023/10/01-12:06:41.797036 7fd28916a700 Generated table #185@1: 22 keys, 5730 bytes
|
||||
2023/10/01-12:06:41.797046 7fd28916a700 Compacted 1@1 + 1@2 files => 5730 bytes
|
||||
2023/10/01-12:06:41.807269 7fd28916a700 compacted to: files[ 0 0 1 0 0 0 0 ]
|
||||
2023/10/01-12:06:41.807323 7fd28916a700 Delete type=2 #184
|
||||
2023/10/01-12:06:41.807373 7fd28916a700 Delete type=2 #176
|
||||
2023/10/01-12:06:41.840022 7fd28916a700 Manual compaction at level-1 from '!macros!wU2mAUnw3RW9qMT8' @ 58 : 1 .. '!macros!wU2mAUnw3RW9qMT8' @ 0 : 0; will stop at (end)
|
||||
|
||||
Binary file not shown.
BIN
packs/helper-macros/MANIFEST-000186
Normal file
BIN
packs/helper-macros/MANIFEST-000186
Normal file
Binary file not shown.
@ -1 +1 @@
|
||||
MANIFEST-000168
|
||||
MANIFEST-000184
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
2023/09/25-22:33:46.936754 7fe7b968d700 Recovering log #165
|
||||
2023/09/25-22:33:46.956358 7fe7b968d700 Delete type=0 #165
|
||||
2023/09/25-22:33:46.956379 7fe7b968d700 Delete type=3 #163
|
||||
2023/09/25-22:34:49.564751 7fe51bfff700 Level-0 table #171: started
|
||||
2023/09/25-22:34:49.564770 7fe51bfff700 Level-0 table #171: 0 bytes OK
|
||||
2023/09/25-22:34:49.573732 7fe51bfff700 Delete type=0 #169
|
||||
2023/09/25-22:34:49.573869 7fe51bfff700 Manual compaction at level-0 from '!journal!HbtPlHNFO1L6RVj0' @ 72057594037927935 : 1 .. '!journal.pages!Mw1g2Fx5dp4SoqVP.lhULHNp4gz9IjOR3' @ 0 : 0; will stop at (end)
|
||||
2023/09/25-22:34:49.583466 7fe51bfff700 Manual compaction at level-1 from '!journal!HbtPlHNFO1L6RVj0' @ 72057594037927935 : 1 .. '!journal.pages!Mw1g2Fx5dp4SoqVP.lhULHNp4gz9IjOR3' @ 0 : 0; will stop at (end)
|
||||
2023/10/01-12:11:47.399453 7fd28affd700 Recovering log #182
|
||||
2023/10/01-12:11:47.422711 7fd28affd700 Delete type=3 #180
|
||||
2023/10/01-12:11:47.422738 7fd28affd700 Delete type=0 #182
|
||||
2023/10/01-20:43:28.122368 7fd28916a700 Level-0 table #187: started
|
||||
2023/10/01-20:43:28.122497 7fd28916a700 Level-0 table #187: 0 bytes OK
|
||||
2023/10/01-20:43:28.125721 7fd28916a700 Delete type=0 #185
|
||||
2023/10/01-20:43:28.139254 7fd28916a700 Manual compaction at level-0 from '!journal!HbtPlHNFO1L6RVj0' @ 72057594037927935 : 1 .. '!journal.pages!Mw1g2Fx5dp4SoqVP.lhULHNp4gz9IjOR3' @ 0 : 0; will stop at (end)
|
||||
2023/10/01-20:43:28.139359 7fd28916a700 Manual compaction at level-1 from '!journal!HbtPlHNFO1L6RVj0' @ 72057594037927935 : 1 .. '!journal.pages!Mw1g2Fx5dp4SoqVP.lhULHNp4gz9IjOR3' @ 0 : 0; will stop at (end)
|
||||
|
||||
@ -1,15 +1,8 @@
|
||||
2023/09/24-17:51:32.100602 7fe7b9e8e700 Recovering log #162
|
||||
2023/09/24-17:51:32.108259 7fe7b9e8e700 Delete type=3 #161
|
||||
2023/09/24-17:51:32.108296 7fe7b9e8e700 Delete type=0 #162
|
||||
2023/09/25-22:27:28.439755 7fe51bfff700 Level-0 table #166: started
|
||||
2023/09/25-22:27:28.442121 7fe51bfff700 Level-0 table #166: 10961 bytes OK
|
||||
2023/09/25-22:27:28.444862 7fe51bfff700 Delete type=0 #164
|
||||
2023/09/25-22:27:28.445099 7fe51bfff700 Manual compaction at level-0 from '!journal!HbtPlHNFO1L6RVj0' @ 72057594037927935 : 1 .. '!journal.pages!Mw1g2Fx5dp4SoqVP.lhULHNp4gz9IjOR3' @ 0 : 0; will stop at (end)
|
||||
2023/09/25-22:27:28.452245 7fe51bfff700 Manual compaction at level-1 from '!journal!HbtPlHNFO1L6RVj0' @ 72057594037927935 : 1 .. '!journal.pages!Mw1g2Fx5dp4SoqVP.lhULHNp4gz9IjOR3' @ 0 : 0; will stop at '!journal.pages!Mw1g2Fx5dp4SoqVP.lhULHNp4gz9IjOR3' @ 63 : 1
|
||||
2023/09/25-22:27:28.452253 7fe51bfff700 Compacting 1@1 + 1@2 files
|
||||
2023/09/25-22:27:28.455468 7fe51bfff700 Generated table #167@1: 7 keys, 4142 bytes
|
||||
2023/09/25-22:27:28.455475 7fe51bfff700 Compacted 1@1 + 1@2 files => 4142 bytes
|
||||
2023/09/25-22:27:28.458177 7fe51bfff700 compacted to: files[ 0 0 1 0 0 0 0 ]
|
||||
2023/09/25-22:27:28.458213 7fe51bfff700 Delete type=2 #166
|
||||
2023/09/25-22:27:28.458245 7fe51bfff700 Delete type=2 #96
|
||||
2023/09/25-22:27:28.468848 7fe51bfff700 Manual compaction at level-1 from '!journal.pages!Mw1g2Fx5dp4SoqVP.lhULHNp4gz9IjOR3' @ 63 : 1 .. '!journal.pages!Mw1g2Fx5dp4SoqVP.lhULHNp4gz9IjOR3' @ 0 : 0; will stop at (end)
|
||||
2023/10/01-11:42:33.305447 7fd28affd700 Recovering log #178
|
||||
2023/10/01-11:42:33.313480 7fd28affd700 Delete type=3 #176
|
||||
2023/10/01-11:42:33.313506 7fd28affd700 Delete type=0 #178
|
||||
2023/10/01-12:06:41.759034 7fd28916a700 Level-0 table #183: started
|
||||
2023/10/01-12:06:41.759058 7fd28916a700 Level-0 table #183: 0 bytes OK
|
||||
2023/10/01-12:06:41.769582 7fd28916a700 Delete type=0 #181
|
||||
2023/10/01-12:06:41.787931 7fd28916a700 Manual compaction at level-0 from '!journal!HbtPlHNFO1L6RVj0' @ 72057594037927935 : 1 .. '!journal.pages!Mw1g2Fx5dp4SoqVP.lhULHNp4gz9IjOR3' @ 0 : 0; will stop at (end)
|
||||
2023/10/01-12:06:41.788066 7fd28916a700 Manual compaction at level-1 from '!journal!HbtPlHNFO1L6RVj0' @ 72057594037927935 : 1 .. '!journal.pages!Mw1g2Fx5dp4SoqVP.lhULHNp4gz9IjOR3' @ 0 : 0; will stop at (end)
|
||||
|
||||
Binary file not shown.
@ -9,15 +9,10 @@ export class api {
|
||||
}
|
||||
|
||||
static globals () {
|
||||
globalThis.swadeMBHelpers = {
|
||||
const moduleName = 'swade-mb-helpers'
|
||||
game.modules.get(moduleName).api = {
|
||||
DEBUG: true,
|
||||
powerEffects,
|
||||
createEffectDocument: shim.createEffectDocument,
|
||||
createMutationWithEffect: helpers.createMutationWithEffect,
|
||||
defaultMutationOptions: helpers.defaultMutationOptions,
|
||||
getActorFolderByPath: shim.getActorFolderByPath,
|
||||
getActorsInFolder: shim.getActorsInFolder,
|
||||
runOnTargetOrSelectedTokens: helpers.runOnTargetOrSelectedTokens
|
||||
powerEffects
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -2,6 +2,8 @@ import { api } from './api.js'
|
||||
import { shapeChangeOnDismiss } from './powerEffects.js'
|
||||
import { log } from './shim.js'
|
||||
|
||||
const moduleName = 'swade-mb-helpers'
|
||||
|
||||
function _checkModule (name) {
|
||||
if (!game.modules.get(name)?.active && game.user.isGM) {
|
||||
let action = 'install and activate'
|
||||
|
||||
@ -61,6 +61,9 @@ class PowerEffect {
|
||||
}
|
||||
}
|
||||
|
||||
async prepMenu () {
|
||||
}
|
||||
|
||||
async prepResult () {
|
||||
}
|
||||
|
||||
@ -241,6 +244,23 @@ class BlindEffect extends TargetedPowerEffect {
|
||||
}
|
||||
}
|
||||
|
||||
class BurrowEffect extends TargetedPowerEffect {
|
||||
get name () { return 'Burrow' }
|
||||
get baseDurationRounds () { return 5 }
|
||||
|
||||
async prepResult () {
|
||||
const raise = (this.buttons === 'raise')
|
||||
const icon = 'icons/magic/earth/projectile-stone-landslide.webp'
|
||||
this.effectDocs.push(
|
||||
shim.createEffectDocument(
|
||||
icon,
|
||||
`${raise ? 'major' : 'minor'} ${this.name}`,
|
||||
this.durationRounds,
|
||||
[])
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
class BoltEffect extends LingeringDamagePowerEffect {
|
||||
get name () {
|
||||
return 'Bolt'
|
||||
@ -382,6 +402,45 @@ class ConfusionEffect extends TargetedPowerEffect {
|
||||
}
|
||||
}
|
||||
|
||||
class DarksightEffect extends TargetedPowerEffect {
|
||||
get name () { return 'Darksight' }
|
||||
get baseDurationRounds () { return 600 }
|
||||
async prepMenu () {
|
||||
this.menuData.inputs.push(
|
||||
{ type: 'checkbox', label: '⭐ Greater (+2)', options: false })
|
||||
}
|
||||
|
||||
async prepResult () {
|
||||
const raise = this.buttons === 'raise'
|
||||
const greater = !!this.inputs[this.inputIndex]
|
||||
const icon = 'icons/magic/perception/eye-ringed-glow-angry-small-teal.webp'
|
||||
this.effectDocs.push(
|
||||
shim.createEffectDocument(
|
||||
icon,
|
||||
`${raise ? 'major' : 'minor'} ${this.name}${greater ? ' (greater)' : ''}`,
|
||||
this.durationRounds,
|
||||
[])
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
class DisguiseEffect extends TargetedPowerEffect {
|
||||
get name () { return 'Disguise' }
|
||||
get baseDurationRounds () { return 100 }
|
||||
|
||||
async prepResult () {
|
||||
const raise = this.buttons === 'raise'
|
||||
const icon = 'icons/skills/social/diplomacy-peace-alliance.webp'
|
||||
this.effectDocs.push(
|
||||
shim.createEffectDocument(
|
||||
icon,
|
||||
`${raise ? 'major' : 'minor'} ${this.name}`,
|
||||
this.durationRounds,
|
||||
[])
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
class DeflectionEffect extends TargetedPowerEffect {
|
||||
get name () {
|
||||
return 'Deflection'
|
||||
@ -407,6 +466,38 @@ class DeflectionEffect extends TargetedPowerEffect {
|
||||
}
|
||||
}
|
||||
|
||||
class DetectConcealArcanaEffect extends TargetedPowerEffect {
|
||||
get name () { return 'Detect/Conceal Arcana' }
|
||||
|
||||
get baseDurationRounds () {
|
||||
if (this.inputs?.[this.inputIndex + 2] === true) {
|
||||
return 600
|
||||
}
|
||||
return 5
|
||||
}
|
||||
|
||||
async prepMenu () {
|
||||
this.menuData.inputs = this.menuData.inputs.concat(
|
||||
{ type: 'info', label: 'Detect or Conceal?' },
|
||||
{ type: 'radio', label: 'Detect', options: ['isDetect', true] },
|
||||
{ type: 'radio', label: 'Conceal', options: ['isDetect', false] },
|
||||
{ type: 'checkbox', label: 'Strong (+1, conceal only)', options: false }
|
||||
)
|
||||
}
|
||||
|
||||
async prepResult () {
|
||||
const raise = (this.buttons === 'raise')
|
||||
const isDetect = this.inputs[this.inputIndex + 1] === true
|
||||
const strong = !isDetect && !!this.inputs[this.inputIndex + 3]
|
||||
const icon = (isDetect
|
||||
? 'icons/magic/perception/third-eye-blue-red.webp'
|
||||
: 'icons/magic/perception/silhouette-stealth-shadow.webp')
|
||||
const name = `${raise ? 'major ' : ''}${isDetect ? 'Detect' : 'Conceal'} Arcana${strong ? ' (strong)' : ''}`
|
||||
const effect = shim.createEffectDocument(icon, name, this.durationRounds, [])
|
||||
this.effectDocs.push(effect)
|
||||
}
|
||||
}
|
||||
|
||||
class EntangleEffect extends TargetedPowerEffect {
|
||||
get name () {
|
||||
return 'Entangle'
|
||||
@ -790,6 +881,60 @@ class SmiteEffect extends TargetedPowerEffect {
|
||||
}
|
||||
}
|
||||
|
||||
class SlothSpeedEffect extends TargetedPowerEffect {
|
||||
get name () {
|
||||
return 'Sloth/Speed'
|
||||
}
|
||||
|
||||
get baseDurationRounds () {
|
||||
if (this.inputs?.[this.inputIndex + 1] === true) {
|
||||
return 1
|
||||
}
|
||||
return 5
|
||||
}
|
||||
|
||||
async prepMenu () {
|
||||
this.menuData.inputs = this.menuData.inputs.concat(
|
||||
{ type: 'info', label: 'Sloth or Speed?' },
|
||||
{ type: 'radio', label: 'Sloth', options: ['isSloth', true] },
|
||||
{ type: 'radio', label: 'Speed', options: ['isSloth', false] },
|
||||
{ type: 'checkbox', label: 'Dash (+2, speed only)', options: false },
|
||||
{ type: 'checkbox', label: 'Quickness (+2, speed only)', options: false },
|
||||
{ type: 'checkbox', label: 'Strong (+1, sloth only)', options: false }
|
||||
)
|
||||
}
|
||||
|
||||
async prepResult () {
|
||||
const raise = (this.buttons === 'raise')
|
||||
const isSloth = this.inputs[this.inputIndex + 1] === true
|
||||
const icon = (isSloth
|
||||
? 'icons/magic/control/debuff-chains-shackles-movement-blue.webp'
|
||||
: 'icons/skills/movement/feet-winged-sandals-tan.webp'
|
||||
)
|
||||
const dash = !isSloth && !!this.inputs[this.inputIndex + 3]
|
||||
const quickness = !isSloth && !!this.inputs[this.inputIndex + 4]
|
||||
const strong = isSloth && !!this.inputs[this.inputIndex + 4]
|
||||
const nameMods = []
|
||||
if (raise) { nameMods.push('Major') }
|
||||
if (dash) { nameMods.push('Dash') }
|
||||
if (quickness) { nameMods.push('Quickness') }
|
||||
if (strong) { nameMods.push('Strong') }
|
||||
const nameModifier = (
|
||||
`${nameMods.length > 0 ? ' (' : ''}` +
|
||||
`${nameMods.join(', ')}${nameMods.length > 0 ? ')' : ''}`)
|
||||
const name = `${isSloth ? 'Sloth' : 'Speed'}${nameModifier}`
|
||||
const effect = shim.createEffectDocument(
|
||||
icon, name, this.durationRounds, [
|
||||
{
|
||||
key: 'system.stats.speed.value',
|
||||
mode: CONST.FOUNDRY.ACTIVE_EFFECT_MODES.MULTIPLY,
|
||||
value: (isSloth ? 0.5 : 2),
|
||||
priority: 0
|
||||
}])
|
||||
this.effectDocs.push(effect)
|
||||
}
|
||||
}
|
||||
|
||||
class SummonEffect extends PowerEffect {
|
||||
ICON = 'icons/magic/symbols/runes-triangle-blue.webp'
|
||||
|
||||
@ -1192,16 +1337,25 @@ const PowerClasses = {
|
||||
bolt: BoltEffect,
|
||||
'boost/lower trait': BoostLowerTraitEffect,
|
||||
'boost trait': BoostLowerTraitEffect,
|
||||
burrow: BurrowEffect,
|
||||
burst: BurstEffect,
|
||||
'conceal arcana': DetectConcealArcanaEffect,
|
||||
confusion: ConfusionEffect,
|
||||
darksight: DarksightEffect,
|
||||
deflection: DeflectionEffect,
|
||||
'detect arcana': DetectConcealArcanaEffect,
|
||||
'detect/conceal aracana': DetectConcealArcanaEffect,
|
||||
disguise: DisguiseEffect,
|
||||
entangle: EntangleEffect,
|
||||
intangibility: IntangibilityEffect,
|
||||
invisibility: InvisibilityEffect,
|
||||
'lower trait': BoostLowerTraitEffect,
|
||||
protection: ProtectionEffect,
|
||||
'shape change': ShapeChangeEffect,
|
||||
sloth: SlothSpeedEffect,
|
||||
'sloth/speed': SlothSpeedEffect,
|
||||
smite: SmiteEffect,
|
||||
speed: SlothSpeedEffect,
|
||||
'summon ally': SummonAllyEffect,
|
||||
'summon animal': SummonAnimalEffect,
|
||||
'summon monster': SummonMonsterEffect,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user