Add monster changes

This commit is contained in:
LeRatierBretonnien 2025-01-15 16:50:26 +01:00
parent cc8c1f9864
commit 78b230084f
59 changed files with 103 additions and 139 deletions

View File

@ -1001,12 +1001,16 @@ i.lethalfantasy {
align-items: center;
gap: 4px;
}
.lethalfantasy .tab.monster-combat .attacks .attack .damage-dice {
width: 4rem;
max-width: 3.5rem;
}
.lethalfantasy .tab.monster-combat .attacks .attack .numeric {
width: 3rem;
width: 2.5rem;
}
.lethalfantasy .tab.monster-combat .attacks .attack .attack-icons a {
margin-left: 8px;
margin-right: 8px;
margin-left: 4px;
margin-right: 4px;
}
.lethalfantasy .tab.monster-combat .armors {
display: grid;

View File

@ -165,6 +165,9 @@
},
"resistIntimidation": {
"label": "Resist intimidation"
},
"painCourage": {
"label": "Pain/Courage"
}
},
"app": {
@ -359,7 +362,8 @@
"pain": "Pain",
"poison": "Poison",
"toughness": "Toughness",
"will": "Will"
"will": "Will",
"paincourage": "Pain/Courage"
},
"skill": "Skill",
"skillBonus": "Skill bonus",

View File

@ -44,5 +44,9 @@ export const MONSTER_SAVES = Object.freeze({
poison: {
id: "poison",
label: "LETHALFANTASY.Character.poison.label"
},
paincourage: {
id: "paincourage",
label: "LETHALFANTASY.Character.painCourage.label"
}
})

View File

@ -318,8 +318,12 @@ export default class LethalFantasyRoll extends Roll {
if (fullModifier === 0) {
modifierFormula = "0"
} else {
let modAbs = Math.abs(fullModifier)
modifierFormula = `d${modAbs + 1} - 1`
if (options.rollType === "skill") {
modifierFormula = `${fullModifier}`
} else {
let modAbs = Math.abs(fullModifier)
modifierFormula = `d${modAbs + 1} - 1`
}
}
let sign = fullModifier < 0 ? "-" : "+"
titleFormula = `${dice}E ${sign} ${modifierFormula}`

View File

@ -1 +1 @@
MANIFEST-000038
MANIFEST-000042

View File

@ -1,7 +1,7 @@
2025/01/15-11:51:12.467493 7f4744ffa6c0 Recovering log #36
2025/01/15-11:51:12.477732 7f4744ffa6c0 Delete type=3 #34
2025/01/15-11:51:12.477823 7f4744ffa6c0 Delete type=0 #36
2025/01/15-12:14:13.075366 7f473e7fc6c0 Level-0 table #41: started
2025/01/15-12:14:13.075395 7f473e7fc6c0 Level-0 table #41: 0 bytes OK
2025/01/15-12:14:13.081973 7f473e7fc6c0 Delete type=0 #39
2025/01/15-12:14:13.095216 7f473e7fc6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
2025/01/15-16:06:49.025850 7ffb057fa6c0 Recovering log #40
2025/01/15-16:06:49.035595 7ffb057fa6c0 Delete type=3 #38
2025/01/15-16:06:49.035662 7ffb057fa6c0 Delete type=0 #40
2025/01/15-16:50:12.369505 7ff867fff6c0 Level-0 table #45: started
2025/01/15-16:50:12.369534 7ff867fff6c0 Level-0 table #45: 0 bytes OK
2025/01/15-16:50:12.376346 7ff867fff6c0 Delete type=0 #43
2025/01/15-16:50:12.376580 7ff867fff6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)

View File

@ -1,7 +1,7 @@
2025/01/13-23:50:18.537006 7fc3427fc6c0 Recovering log #32
2025/01/13-23:50:18.546721 7fc3427fc6c0 Delete type=3 #30
2025/01/13-23:50:18.546794 7fc3427fc6c0 Delete type=0 #32
2025/01/14-00:20:04.955616 7fc340bff6c0 Level-0 table #37: started
2025/01/14-00:20:04.955640 7fc340bff6c0 Level-0 table #37: 0 bytes OK
2025/01/14-00:20:04.964840 7fc340bff6c0 Delete type=0 #35
2025/01/14-00:20:04.964991 7fc340bff6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
2025/01/15-11:51:12.467493 7f4744ffa6c0 Recovering log #36
2025/01/15-11:51:12.477732 7f4744ffa6c0 Delete type=3 #34
2025/01/15-11:51:12.477823 7f4744ffa6c0 Delete type=0 #36
2025/01/15-12:14:13.075366 7f473e7fc6c0 Level-0 table #41: started
2025/01/15-12:14:13.075395 7f473e7fc6c0 Level-0 table #41: 0 bytes OK
2025/01/15-12:14:13.081973 7f473e7fc6c0 Delete type=0 #39
2025/01/15-12:14:13.095216 7f473e7fc6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000038
MANIFEST-000042

View File

@ -1,7 +1,7 @@
2025/01/15-11:51:12.479884 7f473ffff6c0 Recovering log #36
2025/01/15-11:51:12.490107 7f473ffff6c0 Delete type=3 #34
2025/01/15-11:51:12.490160 7f473ffff6c0 Delete type=0 #36
2025/01/15-12:14:13.068889 7f473e7fc6c0 Level-0 table #41: started
2025/01/15-12:14:13.068947 7f473e7fc6c0 Level-0 table #41: 0 bytes OK
2025/01/15-12:14:13.075233 7f473e7fc6c0 Delete type=0 #39
2025/01/15-12:14:13.095205 7f473e7fc6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
2025/01/15-16:06:49.037952 7ffb05ffb6c0 Recovering log #40
2025/01/15-16:06:49.048830 7ffb05ffb6c0 Delete type=3 #38
2025/01/15-16:06:49.048881 7ffb05ffb6c0 Delete type=0 #40
2025/01/15-16:50:12.356619 7ff867fff6c0 Level-0 table #45: started
2025/01/15-16:50:12.356653 7ff867fff6c0 Level-0 table #45: 0 bytes OK
2025/01/15-16:50:12.363313 7ff867fff6c0 Delete type=0 #43
2025/01/15-16:50:12.376561 7ff867fff6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)

View File

@ -1,7 +1,7 @@
2025/01/13-23:50:18.548621 7fc342ffd6c0 Recovering log #32
2025/01/13-23:50:18.558159 7fc342ffd6c0 Delete type=3 #30
2025/01/13-23:50:18.558214 7fc342ffd6c0 Delete type=0 #32
2025/01/14-00:20:04.927200 7fc340bff6c0 Level-0 table #37: started
2025/01/14-00:20:04.927267 7fc340bff6c0 Level-0 table #37: 0 bytes OK
2025/01/14-00:20:04.936500 7fc340bff6c0 Delete type=0 #35
2025/01/14-00:20:04.964948 7fc340bff6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
2025/01/15-11:51:12.479884 7f473ffff6c0 Recovering log #36
2025/01/15-11:51:12.490107 7f473ffff6c0 Delete type=3 #34
2025/01/15-11:51:12.490160 7f473ffff6c0 Delete type=0 #36
2025/01/15-12:14:13.068889 7f473e7fc6c0 Level-0 table #41: started
2025/01/15-12:14:13.068947 7f473e7fc6c0 Level-0 table #41: 0 bytes OK
2025/01/15-12:14:13.075233 7f473e7fc6c0 Delete type=0 #39
2025/01/15-12:14:13.095205 7f473e7fc6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000038
MANIFEST-000042

View File

@ -1,7 +1,7 @@
2025/01/15-11:51:12.456025 7f473effd6c0 Recovering log #36
2025/01/15-11:51:12.465565 7f473effd6c0 Delete type=3 #34
2025/01/15-11:51:12.465623 7f473effd6c0 Delete type=0 #36
2025/01/15-12:14:13.082075 7f473e7fc6c0 Level-0 table #41: started
2025/01/15-12:14:13.082096 7f473e7fc6c0 Level-0 table #41: 0 bytes OK
2025/01/15-12:14:13.089104 7f473e7fc6c0 Delete type=0 #39
2025/01/15-12:14:13.095226 7f473e7fc6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
2025/01/15-16:06:49.014114 7ffb04ff96c0 Recovering log #40
2025/01/15-16:06:49.023672 7ffb04ff96c0 Delete type=3 #38
2025/01/15-16:06:49.023731 7ffb04ff96c0 Delete type=0 #40
2025/01/15-16:50:12.363422 7ff867fff6c0 Level-0 table #45: started
2025/01/15-16:50:12.363452 7ff867fff6c0 Level-0 table #45: 0 bytes OK
2025/01/15-16:50:12.369381 7ff867fff6c0 Delete type=0 #43
2025/01/15-16:50:12.376571 7ff867fff6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)

View File

@ -1,7 +1,7 @@
2025/01/13-23:50:18.525256 7fc3417fa6c0 Recovering log #32
2025/01/13-23:50:18.534648 7fc3417fa6c0 Delete type=3 #30
2025/01/13-23:50:18.534721 7fc3417fa6c0 Delete type=0 #32
2025/01/14-00:20:04.936609 7fc340bff6c0 Level-0 table #37: started
2025/01/14-00:20:04.936640 7fc340bff6c0 Level-0 table #37: 0 bytes OK
2025/01/14-00:20:04.946142 7fc340bff6c0 Delete type=0 #35
2025/01/14-00:20:04.964964 7fc340bff6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
2025/01/15-11:51:12.456025 7f473effd6c0 Recovering log #36
2025/01/15-11:51:12.465565 7f473effd6c0 Delete type=3 #34
2025/01/15-11:51:12.465623 7f473effd6c0 Delete type=0 #36
2025/01/15-12:14:13.082075 7f473e7fc6c0 Level-0 table #41: started
2025/01/15-12:14:13.082096 7f473e7fc6c0 Level-0 table #41: 0 bytes OK
2025/01/15-12:14:13.089104 7f473e7fc6c0 Delete type=0 #39
2025/01/15-12:14:13.095226 7f473e7fc6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000038
MANIFEST-000042

View File

@ -1,7 +1,7 @@
2025/01/15-11:51:12.492006 7f473f7fe6c0 Recovering log #36
2025/01/15-11:51:12.501404 7f473f7fe6c0 Delete type=3 #34
2025/01/15-11:51:12.501471 7f473f7fe6c0 Delete type=0 #36
2025/01/15-12:14:13.089202 7f473e7fc6c0 Level-0 table #41: started
2025/01/15-12:14:13.089224 7f473e7fc6c0 Level-0 table #41: 0 bytes OK
2025/01/15-12:14:13.095112 7f473e7fc6c0 Delete type=0 #39
2025/01/15-12:14:13.095235 7f473e7fc6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
2025/01/15-16:06:49.050940 7ffb067fc6c0 Recovering log #40
2025/01/15-16:06:49.060422 7ffb067fc6c0 Delete type=3 #38
2025/01/15-16:06:49.060485 7ffb067fc6c0 Delete type=0 #40
2025/01/15-16:50:12.349758 7ff867fff6c0 Level-0 table #45: started
2025/01/15-16:50:12.349830 7ff867fff6c0 Level-0 table #45: 0 bytes OK
2025/01/15-16:50:12.356435 7ff867fff6c0 Delete type=0 #43
2025/01/15-16:50:12.376548 7ff867fff6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)

View File

@ -1,7 +1,7 @@
2025/01/13-23:50:18.560230 7fc341ffb6c0 Recovering log #32
2025/01/13-23:50:18.569958 7fc341ffb6c0 Delete type=3 #30
2025/01/13-23:50:18.570014 7fc341ffb6c0 Delete type=0 #32
2025/01/14-00:20:04.946243 7fc340bff6c0 Level-0 table #37: started
2025/01/14-00:20:04.946272 7fc340bff6c0 Level-0 table #37: 0 bytes OK
2025/01/14-00:20:04.955531 7fc340bff6c0 Delete type=0 #35
2025/01/14-00:20:04.964977 7fc340bff6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
2025/01/15-11:51:12.492006 7f473f7fe6c0 Recovering log #36
2025/01/15-11:51:12.501404 7f473f7fe6c0 Delete type=3 #34
2025/01/15-11:51:12.501471 7f473f7fe6c0 Delete type=0 #36
2025/01/15-12:14:13.089202 7f473e7fc6c0 Level-0 table #41: started
2025/01/15-12:14:13.089224 7f473e7fc6c0 Level-0 table #41: 0 bytes OK
2025/01/15-12:14:13.095112 7f473e7fc6c0 Delete type=0 #39
2025/01/15-12:14:13.095235 7f473e7fc6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@ -1 +0,0 @@
MANIFEST-000090

View File

@ -1,8 +0,0 @@
2025/01/09-08:01:23.075884 7f0aba7fc6c0 Recovering log #88
2025/01/09-08:01:23.127669 7f0aba7fc6c0 Delete type=3 #86
2025/01/09-08:01:23.127735 7f0aba7fc6c0 Delete type=0 #88
2025/01/09-15:17:51.573972 7f0ab9bff6c0 Level-0 table #93: started
2025/01/09-15:17:51.574002 7f0ab9bff6c0 Level-0 table #93: 0 bytes OK
2025/01/09-15:17:51.580088 7f0ab9bff6c0 Delete type=0 #91
2025/01/09-15:17:51.580248 7f0ab9bff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
2025/01/09-15:17:51.580267 7f0ab9bff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)

View File

@ -1,8 +0,0 @@
2025/01/08-15:32:56.326296 7f0abbfff6c0 Recovering log #84
2025/01/08-15:32:56.429941 7f0abbfff6c0 Delete type=3 #82
2025/01/08-15:32:56.430038 7f0abbfff6c0 Delete type=0 #84
2025/01/08-15:39:20.749830 7f0ab9bff6c0 Level-0 table #89: started
2025/01/08-15:39:20.749869 7f0ab9bff6c0 Level-0 table #89: 0 bytes OK
2025/01/08-15:39:20.757123 7f0ab9bff6c0 Delete type=0 #87
2025/01/08-15:39:20.769525 7f0ab9bff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
2025/01/08-15:39:20.769560 7f0ab9bff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)

View File

@ -1 +0,0 @@
MANIFEST-000086

View File

@ -1,8 +0,0 @@
2025/01/09-08:01:23.130821 7f0abaffd6c0 Recovering log #84
2025/01/09-08:01:23.182658 7f0abaffd6c0 Delete type=3 #82
2025/01/09-08:01:23.182749 7f0abaffd6c0 Delete type=0 #84
2025/01/09-15:17:51.561160 7f0ab9bff6c0 Level-0 table #89: started
2025/01/09-15:17:51.561195 7f0ab9bff6c0 Level-0 table #89: 0 bytes OK
2025/01/09-15:17:51.567333 7f0ab9bff6c0 Delete type=0 #87
2025/01/09-15:17:51.580226 7f0ab9bff6c0 Manual compaction at level-0 from '!items!1jI0I56YAbGNTKbm' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
2025/01/09-15:17:51.580276 7f0ab9bff6c0 Manual compaction at level-1 from '!items!1jI0I56YAbGNTKbm' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)

View File

@ -1,8 +0,0 @@
2025/01/08-15:32:56.437446 7f0abaffd6c0 Recovering log #80
2025/01/08-15:32:56.520130 7f0abaffd6c0 Delete type=3 #78
2025/01/08-15:32:56.520212 7f0abaffd6c0 Delete type=0 #80
2025/01/08-15:39:20.743407 7f0ab9bff6c0 Level-0 table #85: started
2025/01/08-15:39:20.743473 7f0ab9bff6c0 Level-0 table #85: 0 bytes OK
2025/01/08-15:39:20.749675 7f0ab9bff6c0 Delete type=0 #83
2025/01/08-15:39:20.769509 7f0ab9bff6c0 Manual compaction at level-0 from '!items!1jI0I56YAbGNTKbm' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
2025/01/08-15:39:20.769552 7f0ab9bff6c0 Manual compaction at level-1 from '!items!1jI0I56YAbGNTKbm' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)

View File

@ -1 +0,0 @@
MANIFEST-000090

View File

@ -1,8 +0,0 @@
2025/01/09-08:01:23.017939 7f0abb7fe6c0 Recovering log #88
2025/01/09-08:01:23.072027 7f0abb7fe6c0 Delete type=3 #86
2025/01/09-08:01:23.072091 7f0abb7fe6c0 Delete type=0 #88
2025/01/09-15:17:51.553923 7f0ab9bff6c0 Level-0 table #93: started
2025/01/09-15:17:51.553970 7f0ab9bff6c0 Level-0 table #93: 0 bytes OK
2025/01/09-15:17:51.561051 7f0ab9bff6c0 Delete type=0 #91
2025/01/09-15:17:51.580211 7f0ab9bff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
2025/01/09-15:17:51.580257 7f0ab9bff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)

View File

@ -1,8 +0,0 @@
2025/01/08-15:32:56.247800 7f0aba7fc6c0 Recovering log #84
2025/01/08-15:32:56.320239 7f0aba7fc6c0 Delete type=3 #82
2025/01/08-15:32:56.320296 7f0aba7fc6c0 Delete type=0 #84
2025/01/08-15:39:20.757248 7f0ab9bff6c0 Level-0 table #89: started
2025/01/08-15:39:20.757276 7f0ab9bff6c0 Level-0 table #89: 0 bytes OK
2025/01/08-15:39:20.763173 7f0ab9bff6c0 Delete type=0 #87
2025/01/08-15:39:20.769536 7f0ab9bff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
2025/01/08-15:39:20.769568 7f0ab9bff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)

View File

@ -1 +0,0 @@
MANIFEST-000086

View File

@ -1,8 +0,0 @@
2025/01/09-08:01:23.185652 7f0abb7fe6c0 Recovering log #84
2025/01/09-08:01:23.238773 7f0abb7fe6c0 Delete type=3 #82
2025/01/09-08:01:23.238831 7f0abb7fe6c0 Delete type=0 #84
2025/01/09-15:17:51.567451 7f0ab9bff6c0 Level-0 table #89: started
2025/01/09-15:17:51.567478 7f0ab9bff6c0 Level-0 table #89: 0 bytes OK
2025/01/09-15:17:51.573857 7f0ab9bff6c0 Delete type=0 #87
2025/01/09-15:17:51.580238 7f0ab9bff6c0 Manual compaction at level-0 from '!items!0pt2JD8zDsbZd9Oa' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
2025/01/09-15:17:51.580286 7f0ab9bff6c0 Manual compaction at level-1 from '!items!0pt2JD8zDsbZd9Oa' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)

View File

@ -1,8 +0,0 @@
2025/01/08-15:32:56.527368 7f0abb7fe6c0 Recovering log #80
2025/01/08-15:32:56.608028 7f0abb7fe6c0 Delete type=3 #78
2025/01/08-15:32:56.608097 7f0abb7fe6c0 Delete type=0 #80
2025/01/08-15:39:20.763315 7f0ab9bff6c0 Level-0 table #85: started
2025/01/08-15:39:20.763345 7f0ab9bff6c0 Level-0 table #85: 0 bytes OK
2025/01/08-15:39:20.769391 7f0ab9bff6c0 Delete type=0 #83
2025/01/08-15:39:20.769546 7f0ab9bff6c0 Manual compaction at level-0 from '!items!0pt2JD8zDsbZd9Oa' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
2025/01/08-15:39:20.769577 7f0ab9bff6c0 Manual compaction at level-1 from '!items!0pt2JD8zDsbZd9Oa' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)

View File

@ -380,12 +380,16 @@
display: flex;
align-items: center;
gap: 4px;
.damage-dice {
width: 4rem;
max-width: 3.5rem;
}
.numeric {
width: 3rem;
width: 2.5rem;
}
.attack-icons a {
margin-left: 8px;
margin-right: 8px;
margin-left: 4px;
margin-right: 4px;
}
}
}

View File

@ -22,10 +22,10 @@
{{#each system.attacks as |item key|}}
<div class="attack" data-attack-key="{{key}}" >
<div class="name">
<input type="string" name="system.attacks.{{item.key}}.name" value="{{item.name}}" data-tooltip="Attack name" />
<input type="text" name="system.attacks.{{item.key}}.name" value="{{item.name}}" data-tooltip="Attack name" />
</div>
<div class="numeric">
<input type="number" name="system.attacks.{{item.key}}.attackScore" value="{{item.attackScore}}" data-tooltip="Attack value" />
<input type="number" name="system.attacks.{{item.key}}.attackScore" value="{{item.attackScore}}" data-tooltip="Progression number" />
</div>
<div class="numeric">
<input type="number" name="system.attacks.{{item.key}}.attackModifier" value="{{item.attackModifier}}" data-tooltip="Attack modifier" />
@ -33,6 +33,9 @@
<div class="numeric">
<input type="number" name="system.attacks.{{item.key}}.defenseModifier" value="{{item.defenseModifier}}" data-tooltip="Defense modifier"/>
</div>
<div class="damage-dice">
<input type="text" name="system.attacks.{{item.key}}.damageDice" value="{{item.damageDice}}" data-tooltip="Damage formula"/>
</div>
<div class="attack-icons">

View File

@ -79,7 +79,16 @@
{{formField systemFields.saves.fields.poison.fields.value value=system.saves.poison.value
disabled=isPlayMode }}
<span class="name">
<a class="rollable" data-roll-type="save" data-roll-key="paincourage"><i
class="lf-roll-small fa-solid fa-dice-d20"></i>
{{localize "LETHALFANTASY.Label.saves.paincourage"}}
</a>
</span>
{{formField systemFields.saves.fields.paincourage.fields.value value=system.saves.paincourage.value disabled=isPlayMode}}
</div>
</div>
</fieldset>