Dice for shield + Release system
All checks were successful
Release Creation / build (release) Successful in 48s
All checks were successful
Release Creation / build (release) Successful in 48s
This commit is contained in:
parent
0f1226145b
commit
7f94522e97
52
.gitea/workflows/release.yaml
Normal file
52
.gitea/workflows/release.yaml
Normal file
@ -0,0 +1,52 @@
|
||||
name: Release Creation
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo "💡 The ${{ gitea.repository }} repository will cloned to the runner."
|
||||
|
||||
#- uses: actions/checkout@v3
|
||||
- uses: RouxAntoine/checkout@v3.5.4
|
||||
|
||||
# get part of the tag after the `v`
|
||||
- name: Extract tag version number
|
||||
id: get_version
|
||||
uses: battila7/get-version-action@v2
|
||||
|
||||
# Substitute the Manifest and Download URLs in the module.json
|
||||
- name: Substitute Manifest and Download Links For Versioned Ones
|
||||
id: sub_manifest_link_version
|
||||
uses: microsoft/variable-substitution@v1
|
||||
with:
|
||||
files: 'system.json'
|
||||
env:
|
||||
version: ${{steps.get_version.outputs.version-without-v}}
|
||||
url: https://www.uberwald.me/gitea/${{gitea.repository}}
|
||||
manifest: https://www.uberwald.me/gitea/public/${{gitea.repository}}/releases/download/latest/system.json
|
||||
download: https://www.uberwald.me/gitea/${{gitea.repository}}/releases/download/${{github.event.release.tag_name}}/fvtt-lethal-fantasy.zip
|
||||
|
||||
# Create a zip file with all files required by the module to add to the release
|
||||
- run: |
|
||||
apt update -y
|
||||
apt install -y zip
|
||||
|
||||
- run: zip -r ./fvtt-lethal-fantasy.zip system.json README.md LICENSE assets/ css/ lang/ module/ packs-system/ templates/ lethal-fantasy.mjs
|
||||
|
||||
- name: setup go
|
||||
uses: https://github.com/actions/setup-go@v4
|
||||
with:
|
||||
go-version: '>=1.20.1'
|
||||
|
||||
- name: Use Go Action
|
||||
id: use-go-action
|
||||
uses: https://gitea.com/actions/release-action@main
|
||||
with:
|
||||
files: |-
|
||||
./fvtt-lethal-fantasy.zip
|
||||
system.json
|
||||
api_key: '${{secrets.ALLOW_PUSH_RELEASE}}'
|
@ -125,6 +125,7 @@ export default class LethalFantasyRoll extends Roll {
|
||||
let hasMaxValue = true
|
||||
let hasGrantedDice = false
|
||||
let hasStaticModifier = false
|
||||
let hasExplode = true
|
||||
|
||||
if (options.rollType === "challenge" || options.rollType === "save") {
|
||||
options.rollName = game.i18n.localize(`LETHALFANTASY.Label.${options.rollTarget.rollKey}`)
|
||||
@ -245,6 +246,7 @@ export default class LethalFantasyRoll extends Roll {
|
||||
hasModifier = true
|
||||
hasChangeDice = false
|
||||
hasMaxValue = false
|
||||
hasExplode = false
|
||||
options.rollTarget.value = 0
|
||||
|
||||
} else if (options.rollType.includes("weapon-damage")) {
|
||||
@ -372,12 +374,20 @@ export default class LethalFantasyRoll extends Roll {
|
||||
modifierFormula += ` + ${options.rollTarget.staticModifier}`
|
||||
}
|
||||
let sign = fullModifier < 0 ? "-" : "+"
|
||||
titleFormula = `${dice}E ${sign} ${modifierFormula}`
|
||||
if (hasExplode) {
|
||||
titleFormula = `${dice}E ${sign} ${modifierFormula}`
|
||||
} else {
|
||||
titleFormula = `${dice} ${sign} ${modifierFormula}`
|
||||
}
|
||||
} else {
|
||||
modifierFormula = "0"
|
||||
fullModifier = 0
|
||||
baseFormula = `${dice}`
|
||||
titleFormula = `${dice}E`
|
||||
if (hasExplode) {
|
||||
titleFormula = `${dice}E`
|
||||
} else {
|
||||
titleFormula = `${dice}`
|
||||
}
|
||||
}
|
||||
|
||||
// Specific pain case
|
||||
|
@ -1 +1 @@
|
||||
MANIFEST-000163
|
||||
MANIFEST-000167
|
||||
|
@ -1,8 +1,8 @@
|
||||
2025/02/09-00:22:48.003450 7f46ac7f86c0 Recovering log #161
|
||||
2025/02/09-00:22:48.018643 7f46ac7f86c0 Delete type=3 #159
|
||||
2025/02/09-00:22:48.018714 7f46ac7f86c0 Delete type=0 #161
|
||||
2025/02/09-00:29:06.730919 7f46abbff6c0 Level-0 table #166: started
|
||||
2025/02/09-00:29:06.730977 7f46abbff6c0 Level-0 table #166: 0 bytes OK
|
||||
2025/02/09-00:29:06.788041 7f46abbff6c0 Delete type=0 #164
|
||||
2025/02/09-00:29:06.953135 7f46abbff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-00:29:06.953183 7f46abbff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-09:17:46.952095 7f46adffb6c0 Recovering log #165
|
||||
2025/02/09-09:17:47.003194 7f46adffb6c0 Delete type=3 #163
|
||||
2025/02/09-09:17:47.003256 7f46adffb6c0 Delete type=0 #165
|
||||
2025/02/09-09:18:22.678103 7f46abbff6c0 Level-0 table #170: started
|
||||
2025/02/09-09:18:22.678129 7f46abbff6c0 Level-0 table #170: 0 bytes OK
|
||||
2025/02/09-09:18:22.715696 7f46abbff6c0 Delete type=0 #168
|
||||
2025/02/09-09:18:22.853749 7f46abbff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-09:18:22.853920 7f46abbff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
|
||||
|
@ -1,8 +1,8 @@
|
||||
2025/02/08-21:49:26.702095 7f46adffb6c0 Recovering log #157
|
||||
2025/02/08-21:49:26.754932 7f46adffb6c0 Delete type=3 #155
|
||||
2025/02/08-21:49:26.754990 7f46adffb6c0 Delete type=0 #157
|
||||
2025/02/08-21:50:08.853716 7f46abbff6c0 Level-0 table #162: started
|
||||
2025/02/08-21:50:08.853754 7f46abbff6c0 Level-0 table #162: 0 bytes OK
|
||||
2025/02/08-21:50:08.899711 7f46abbff6c0 Delete type=0 #160
|
||||
2025/02/08-21:50:09.023376 7f46abbff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
|
||||
2025/02/08-21:50:09.023414 7f46abbff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-00:22:48.003450 7f46ac7f86c0 Recovering log #161
|
||||
2025/02/09-00:22:48.018643 7f46ac7f86c0 Delete type=3 #159
|
||||
2025/02/09-00:22:48.018714 7f46ac7f86c0 Delete type=0 #161
|
||||
2025/02/09-00:29:06.730919 7f46abbff6c0 Level-0 table #166: started
|
||||
2025/02/09-00:29:06.730977 7f46abbff6c0 Level-0 table #166: 0 bytes OK
|
||||
2025/02/09-00:29:06.788041 7f46abbff6c0 Delete type=0 #164
|
||||
2025/02/09-00:29:06.953135 7f46abbff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-00:29:06.953183 7f46abbff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
@ -1 +1 @@
|
||||
MANIFEST-000162
|
||||
MANIFEST-000166
|
||||
|
@ -1,8 +1,8 @@
|
||||
2025/02/09-00:22:48.022227 7f46acff96c0 Recovering log #160
|
||||
2025/02/09-00:22:48.039352 7f46acff96c0 Delete type=3 #158
|
||||
2025/02/09-00:22:48.039406 7f46acff96c0 Delete type=0 #160
|
||||
2025/02/09-00:29:06.900070 7f46abbff6c0 Level-0 table #165: started
|
||||
2025/02/09-00:29:06.900100 7f46abbff6c0 Level-0 table #165: 0 bytes OK
|
||||
2025/02/09-00:29:06.953004 7f46abbff6c0 Delete type=0 #163
|
||||
2025/02/09-00:29:06.953173 7f46abbff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-00:29:06.953216 7f46abbff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-09:17:47.005741 7f46ad7fa6c0 Recovering log #164
|
||||
2025/02/09-09:17:47.054649 7f46ad7fa6c0 Delete type=3 #162
|
||||
2025/02/09-09:17:47.054741 7f46ad7fa6c0 Delete type=0 #164
|
||||
2025/02/09-09:18:22.556082 7f46abbff6c0 Level-0 table #169: started
|
||||
2025/02/09-09:18:22.556121 7f46abbff6c0 Level-0 table #169: 0 bytes OK
|
||||
2025/02/09-09:18:22.591317 7f46abbff6c0 Delete type=0 #167
|
||||
2025/02/09-09:18:22.677973 7f46abbff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-09:18:22.678023 7f46abbff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
|
@ -1,8 +1,8 @@
|
||||
2025/02/08-21:49:26.758734 7f46ac7f86c0 Recovering log #156
|
||||
2025/02/08-21:49:26.807853 7f46ac7f86c0 Delete type=3 #154
|
||||
2025/02/08-21:49:26.807931 7f46ac7f86c0 Delete type=0 #156
|
||||
2025/02/08-21:50:08.937023 7f46abbff6c0 Level-0 table #161: started
|
||||
2025/02/08-21:50:08.937043 7f46abbff6c0 Level-0 table #161: 0 bytes OK
|
||||
2025/02/08-21:50:08.980987 7f46abbff6c0 Delete type=0 #159
|
||||
2025/02/08-21:50:09.023396 7f46abbff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
2025/02/08-21:50:09.023436 7f46abbff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-00:22:48.022227 7f46acff96c0 Recovering log #160
|
||||
2025/02/09-00:22:48.039352 7f46acff96c0 Delete type=3 #158
|
||||
2025/02/09-00:22:48.039406 7f46acff96c0 Delete type=0 #160
|
||||
2025/02/09-00:29:06.900070 7f46abbff6c0 Level-0 table #165: started
|
||||
2025/02/09-00:29:06.900100 7f46abbff6c0 Level-0 table #165: 0 bytes OK
|
||||
2025/02/09-00:29:06.953004 7f46abbff6c0 Delete type=0 #163
|
||||
2025/02/09-00:29:06.953173 7f46abbff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-00:29:06.953216 7f46abbff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
BIN
packs-system/lf-gifts/MANIFEST-000166
Normal file
BIN
packs-system/lf-gifts/MANIFEST-000166
Normal file
Binary file not shown.
@ -1 +1 @@
|
||||
MANIFEST-000162
|
||||
MANIFEST-000166
|
||||
|
@ -1,8 +1,8 @@
|
||||
2025/02/09-00:22:47.986326 7f46adffb6c0 Recovering log #160
|
||||
2025/02/09-00:22:48.000956 7f46adffb6c0 Delete type=3 #158
|
||||
2025/02/09-00:22:48.001008 7f46adffb6c0 Delete type=0 #160
|
||||
2025/02/09-00:29:06.788155 7f46abbff6c0 Level-0 table #165: started
|
||||
2025/02/09-00:29:06.788178 7f46abbff6c0 Level-0 table #165: 0 bytes OK
|
||||
2025/02/09-00:29:06.840912 7f46abbff6c0 Delete type=0 #163
|
||||
2025/02/09-00:29:06.953151 7f46abbff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-00:29:06.953189 7f46abbff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-09:17:46.895896 7f46ac7f86c0 Recovering log #164
|
||||
2025/02/09-09:17:46.947734 7f46ac7f86c0 Delete type=3 #162
|
||||
2025/02/09-09:17:46.947832 7f46ac7f86c0 Delete type=0 #164
|
||||
2025/02/09-09:18:22.529278 7f46abbff6c0 Level-0 table #169: started
|
||||
2025/02/09-09:18:22.529322 7f46abbff6c0 Level-0 table #169: 0 bytes OK
|
||||
2025/02/09-09:18:22.555928 7f46abbff6c0 Delete type=0 #167
|
||||
2025/02/09-09:18:22.677958 7f46abbff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-09:18:22.678006 7f46abbff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
|
@ -1,8 +1,8 @@
|
||||
2025/02/08-21:49:26.648884 7f46ad7fa6c0 Recovering log #156
|
||||
2025/02/08-21:49:26.695829 7f46ad7fa6c0 Delete type=3 #154
|
||||
2025/02/08-21:49:26.695891 7f46ad7fa6c0 Delete type=0 #156
|
||||
2025/02/08-21:50:08.899837 7f46abbff6c0 Level-0 table #161: started
|
||||
2025/02/08-21:50:08.899865 7f46abbff6c0 Level-0 table #161: 0 bytes OK
|
||||
2025/02/08-21:50:08.936919 7f46abbff6c0 Delete type=0 #159
|
||||
2025/02/08-21:50:09.023387 7f46abbff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2025/02/08-21:50:09.023420 7f46abbff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-00:22:47.986326 7f46adffb6c0 Recovering log #160
|
||||
2025/02/09-00:22:48.000956 7f46adffb6c0 Delete type=3 #158
|
||||
2025/02/09-00:22:48.001008 7f46adffb6c0 Delete type=0 #160
|
||||
2025/02/09-00:29:06.788155 7f46abbff6c0 Level-0 table #165: started
|
||||
2025/02/09-00:29:06.788178 7f46abbff6c0 Level-0 table #165: 0 bytes OK
|
||||
2025/02/09-00:29:06.840912 7f46abbff6c0 Delete type=0 #163
|
||||
2025/02/09-00:29:06.953151 7f46abbff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-00:29:06.953189 7f46abbff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
BIN
packs-system/lf-skills/MANIFEST-000166
Normal file
BIN
packs-system/lf-skills/MANIFEST-000166
Normal file
Binary file not shown.
@ -1 +1 @@
|
||||
MANIFEST-000162
|
||||
MANIFEST-000166
|
||||
|
@ -1,8 +1,8 @@
|
||||
2025/02/09-00:22:48.041933 7f46ad7fa6c0 Recovering log #160
|
||||
2025/02/09-00:22:48.057731 7f46ad7fa6c0 Delete type=3 #158
|
||||
2025/02/09-00:22:48.057804 7f46ad7fa6c0 Delete type=0 #160
|
||||
2025/02/09-00:29:06.841056 7f46abbff6c0 Level-0 table #165: started
|
||||
2025/02/09-00:29:06.841088 7f46abbff6c0 Level-0 table #165: 0 bytes OK
|
||||
2025/02/09-00:29:06.899934 7f46abbff6c0 Delete type=0 #163
|
||||
2025/02/09-00:29:06.953163 7f46abbff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-00:29:06.953208 7f46abbff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-09:17:47.057750 7f46acff96c0 Recovering log #164
|
||||
2025/02/09-09:17:47.111395 7f46acff96c0 Delete type=3 #162
|
||||
2025/02/09-09:17:47.111509 7f46acff96c0 Delete type=0 #164
|
||||
2025/02/09-09:18:22.591487 7f46abbff6c0 Level-0 table #169: started
|
||||
2025/02/09-09:18:22.591518 7f46abbff6c0 Level-0 table #169: 0 bytes OK
|
||||
2025/02/09-09:18:22.627889 7f46abbff6c0 Delete type=0 #167
|
||||
2025/02/09-09:18:22.677986 7f46abbff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-09:18:22.678014 7f46abbff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
|
@ -1,8 +1,8 @@
|
||||
2025/02/08-21:49:26.811898 7f46acff96c0 Recovering log #156
|
||||
2025/02/08-21:49:26.859033 7f46acff96c0 Delete type=3 #154
|
||||
2025/02/08-21:49:26.859093 7f46acff96c0 Delete type=0 #156
|
||||
2025/02/08-21:50:08.981113 7f46abbff6c0 Level-0 table #161: started
|
||||
2025/02/08-21:50:08.981151 7f46abbff6c0 Level-0 table #161: 0 bytes OK
|
||||
2025/02/08-21:50:09.023271 7f46abbff6c0 Delete type=0 #159
|
||||
2025/02/08-21:50:09.023407 7f46abbff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2025/02/08-21:50:09.023427 7f46abbff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-00:22:48.041933 7f46ad7fa6c0 Recovering log #160
|
||||
2025/02/09-00:22:48.057731 7f46ad7fa6c0 Delete type=3 #158
|
||||
2025/02/09-00:22:48.057804 7f46ad7fa6c0 Delete type=0 #160
|
||||
2025/02/09-00:29:06.841056 7f46abbff6c0 Level-0 table #165: started
|
||||
2025/02/09-00:29:06.841088 7f46abbff6c0 Level-0 table #165: 0 bytes OK
|
||||
2025/02/09-00:29:06.899934 7f46abbff6c0 Delete type=0 #163
|
||||
2025/02/09-00:29:06.953163 7f46abbff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-00:29:06.953208 7f46abbff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user