Minot fixes

This commit is contained in:
LeRatierBretonnien 2025-01-22 08:59:31 +01:00
parent 0d0c604496
commit f00a69e9b4
32 changed files with 112 additions and 109 deletions

View File

@ -853,36 +853,36 @@ i.lethalfantasy {
flex: none;
width: 3rem;
}
.lethalfantasy .monster-main .monster-resists {
.lethalfantasy .monster-main .monster-skills {
display: flex;
flex-direction: column;
gap: 4px;
flex: 1;
}
.lethalfantasy .monster-main .monster-resists .monster-resist {
.lethalfantasy .monster-main .monster-skills .monster-skill {
display: flex;
align-items: center;
margin-right: 0.5rem;
}
.lethalfantasy .monster-main .monster-resists .monster-resist .rollable:hover,
.lethalfantasy .monster-main .monster-resists .monster-resist .rollable:focus {
.lethalfantasy .monster-main .monster-skills .monster-skill .rollable:hover,
.lethalfantasy .monster-main .monster-skills .monster-skill .rollable:focus {
text-shadow: 0 0 8px var(--color-shadow-primary);
cursor: pointer;
}
.lethalfantasy .monster-main .monster-resists .monster-resist input {
.lethalfantasy .monster-main .monster-skills .monster-skill input {
min-width: 2.2rem;
max-width: 2.5rem;
}
.lethalfantasy .monster-main .monster-resists .monster-resist .name {
.lethalfantasy .monster-main .monster-skills .monster-skill .name {
flex: 1;
min-width: 3.2rem;
margin-left: 4px;
}
.lethalfantasy .monster-main .monster-resists .monster-resist .form-group {
.lethalfantasy .monster-main .monster-skills .monster-skill .form-group {
flex: 1;
padding-left: 4px;
}
.lethalfantasy .monster-main .monster-resists .monster-resist .form-group .form-fields {
.lethalfantasy .monster-main .monster-skills .monster-skill .form-group .form-fields {
flex: none;
width: 2.5rem;
}

View File

@ -175,7 +175,7 @@ export default class LethalFantasyMonsterSheet extends LethalFantasyActorSheet {
rollTarget = foundry.utils.duplicate(this.document.system.attacks[rollKey])
rollTarget.rollKey = rollKey
break
case "resist":
case "monster-skill":
rollTarget = foundry.utils.duplicate(this.document.system.resists[rollKey])
rollTarget.rollKey = rollKey
break

View File

@ -116,7 +116,7 @@ export const INITIATIVE_DICE_CHOICES_PER_CLASS = {
{ "name": "Aware and know exactly where the enemy is (1D3)", "value": "1D3"}
],
"cleric": [
{ "name": "Asleep or totally distracted (1D2)", "value": "1D12" },
{ "name": "Asleep or totally distracted (1D12)", "value": "1D12" },
{ "name": "Awake but unsuspecting (1D10)", "value": "1D10" },
{ "name": "Declared Ready on Alert (1D8)", "value": "1D8" },
{ "name": "Aware of the enemy, can hear them but not see (1D6)", "value": "1D6" },

View File

@ -122,11 +122,11 @@ export default class LethalFantasyRoll extends Roll {
let hasChangeDice = false
let hasD30 = false
let hasFavor = false
let hasMaxValue = true
let hasGrantedDice = false
let hasMaxValue = true
let hasGrantedDice = false
if (options.rollType === "challenge" || options.rollType === "save") {
options.rollName = game.i18n.localize( `LETHALFANTASY.Label.${options.rollTarget.rollKey}` )
options.rollName = game.i18n.localize(`LETHALFANTASY.Label.${options.rollTarget.rollKey}`)
hasD30 = options.rollType === "save"
if (options.rollTarget.rollKey === "dying") {
dice = options.rollTarget.value
@ -168,11 +168,14 @@ export default class LethalFantasyRoll extends Roll {
options.rollTarget.charModifier = 0
}
} else if (options.rollType === "resist") {
dice = "1D20"
maxValue = 20
} else if (options.rollType === "monster-skill") {
options.rollName = game.i18n.localize(`LETHALFANTASY.Label.${options.rollTarget.rollKey}`)
dice = "1D100"
baseFormula = "D100"
maxValue = 100
hasModifier = true
hasFavor = true
options.rollName = options.rollTarget.rollKey
hasChangeDice = false
} else if (options.rollType === "skill") {
options.rollName = options.rollTarget.name
@ -336,7 +339,7 @@ export default class LethalFantasyRoll extends Roll {
if (fullModifier === 0) {
modifierFormula = "0"
} else {
if (options.rollType === "skill") {
if (options.rollType === "skill" || options.rollType === "monster-skill") {
modifierFormula = `${fullModifier}`
} else {
let modAbs = Math.abs(fullModifier)
@ -452,7 +455,7 @@ export default class LethalFantasyRoll extends Roll {
let r = await new Roll(baseFormula).evaluate()
if (game?.dice3d) {
await game.dice3d.showForRoll(r, game.user, true)
}
}
diceResult = r.dice[0].results[0].result
diceResults.push({ dice: `${singleDice}-1`, value: diceResult - 1 })
diceSum += (diceResult - 1)
@ -461,14 +464,14 @@ export default class LethalFantasyRoll extends Roll {
}
}
if ( hasGrantedDice) {
let grantedRoll = new Roll(options.rollTarget.grantedDice)
await grantedRoll.evaluate()
if (game?.dice3d) {
await game.dice3d.showForRoll(grantedRoll, game.user, true)
}
diceResults.push({ dice: `${options.rollTarget.grantedDice}`, value: grantedRoll.total })
rollTotal += grantedRoll.total
if (hasGrantedDice) {
let grantedRoll = new Roll(options.rollTarget.grantedDice)
await grantedRoll.evaluate()
if (game?.dice3d) {
await game.dice3d.showForRoll(grantedRoll, game.user, true)
}
diceResults.push({ dice: `${options.rollTarget.grantedDice}`, value: grantedRoll.total })
rollTotal += grantedRoll.total
}
if (fullModifier !== 0) {
@ -787,6 +790,7 @@ export default class LethalFantasyRoll extends Roll {
return `${game.i18n.localize("LETHALFANTASY.Label.titleChallenge")}`
case "save":
return `${game.i18n.localize("LETHALFANTASY.Label.titleSave")}`
case "monster-skill":
case "skill":
return `${game.i18n.localize("LETHALFANTASY.Label.titleSkill")}`
case "weapon-attack":

View File

@ -1 +1 @@
MANIFEST-000098
MANIFEST-000102

View File

@ -1,8 +1,8 @@
2025/01/21-08:05:19.262536 7f6e75ffb6c0 Recovering log #96
2025/01/21-08:05:19.272917 7f6e75ffb6c0 Delete type=3 #94
2025/01/21-08:05:19.273013 7f6e75ffb6c0 Delete type=0 #96
2025/01/21-08:09:47.062020 7f6e753ff6c0 Level-0 table #101: started
2025/01/21-08:09:47.062050 7f6e753ff6c0 Level-0 table #101: 0 bytes OK
2025/01/21-08:09:47.068775 7f6e753ff6c0 Delete type=0 #99
2025/01/21-08:09:47.081051 7f6e753ff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zFrygJ2TnrxchBai' @ 0 : 0; will stop at (end)
2025/01/21-08:09:47.081085 7f6e753ff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zFrygJ2TnrxchBai' @ 0 : 0; will stop at (end)
2025/01/22-08:50:47.531510 7f6e76ffd6c0 Recovering log #100
2025/01/22-08:50:47.542333 7f6e76ffd6c0 Delete type=3 #98
2025/01/22-08:50:47.542398 7f6e76ffd6c0 Delete type=0 #100
2025/01/22-08:58:23.847420 7f6e753ff6c0 Level-0 table #105: started
2025/01/22-08:58:23.847465 7f6e753ff6c0 Level-0 table #105: 0 bytes OK
2025/01/22-08:58:23.854185 7f6e753ff6c0 Delete type=0 #103
2025/01/22-08:58:23.873021 7f6e753ff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zFrygJ2TnrxchBai' @ 0 : 0; will stop at (end)
2025/01/22-08:58:23.873071 7f6e753ff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zFrygJ2TnrxchBai' @ 0 : 0; will stop at (end)

View File

@ -1,8 +1,8 @@
2025/01/20-18:34:52.996209 7f6e76ffd6c0 Recovering log #92
2025/01/20-18:34:53.044133 7f6e76ffd6c0 Delete type=3 #90
2025/01/20-18:34:53.044195 7f6e76ffd6c0 Delete type=0 #92
2025/01/20-18:52:31.113580 7f6e753ff6c0 Level-0 table #97: started
2025/01/20-18:52:31.113605 7f6e753ff6c0 Level-0 table #97: 0 bytes OK
2025/01/20-18:52:31.119961 7f6e753ff6c0 Delete type=0 #95
2025/01/20-18:52:31.120109 7f6e753ff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zFrygJ2TnrxchBai' @ 0 : 0; will stop at (end)
2025/01/20-18:52:31.120139 7f6e753ff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zFrygJ2TnrxchBai' @ 0 : 0; will stop at (end)
2025/01/21-08:05:19.262536 7f6e75ffb6c0 Recovering log #96
2025/01/21-08:05:19.272917 7f6e75ffb6c0 Delete type=3 #94
2025/01/21-08:05:19.273013 7f6e75ffb6c0 Delete type=0 #96
2025/01/21-08:09:47.062020 7f6e753ff6c0 Level-0 table #101: started
2025/01/21-08:09:47.062050 7f6e753ff6c0 Level-0 table #101: 0 bytes OK
2025/01/21-08:09:47.068775 7f6e753ff6c0 Delete type=0 #99
2025/01/21-08:09:47.081051 7f6e753ff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zFrygJ2TnrxchBai' @ 0 : 0; will stop at (end)
2025/01/21-08:09:47.081085 7f6e753ff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zFrygJ2TnrxchBai' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000098
MANIFEST-000102

View File

@ -1,8 +1,8 @@
2025/01/21-08:05:19.275701 7f6e777fe6c0 Recovering log #96
2025/01/21-08:05:19.285578 7f6e777fe6c0 Delete type=3 #94
2025/01/21-08:05:19.285635 7f6e777fe6c0 Delete type=0 #96
2025/01/21-08:09:47.055817 7f6e753ff6c0 Level-0 table #101: started
2025/01/21-08:09:47.055868 7f6e753ff6c0 Level-0 table #101: 0 bytes OK
2025/01/21-08:09:47.061904 7f6e753ff6c0 Delete type=0 #99
2025/01/21-08:09:47.081038 7f6e753ff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
2025/01/21-08:09:47.081078 7f6e753ff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
2025/01/22-08:50:47.546037 7f6e767fc6c0 Recovering log #100
2025/01/22-08:50:47.555474 7f6e767fc6c0 Delete type=3 #98
2025/01/22-08:50:47.555529 7f6e767fc6c0 Delete type=0 #100
2025/01/22-08:58:23.860632 7f6e753ff6c0 Level-0 table #105: started
2025/01/22-08:58:23.860663 7f6e753ff6c0 Level-0 table #105: 0 bytes OK
2025/01/22-08:58:23.866752 7f6e753ff6c0 Delete type=0 #103
2025/01/22-08:58:23.873055 7f6e753ff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
2025/01/22-08:58:23.873089 7f6e753ff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)

View File

@ -1,8 +1,8 @@
2025/01/20-18:34:53.050237 7f6e777fe6c0 Recovering log #92
2025/01/20-18:34:53.090154 7f6e777fe6c0 Delete type=3 #90
2025/01/20-18:34:53.090233 7f6e777fe6c0 Delete type=0 #92
2025/01/20-18:52:31.100235 7f6e753ff6c0 Level-0 table #97: started
2025/01/20-18:52:31.100273 7f6e753ff6c0 Level-0 table #97: 0 bytes OK
2025/01/20-18:52:31.106232 7f6e753ff6c0 Delete type=0 #95
2025/01/20-18:52:31.120084 7f6e753ff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
2025/01/20-18:52:31.120132 7f6e753ff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
2025/01/21-08:05:19.275701 7f6e777fe6c0 Recovering log #96
2025/01/21-08:05:19.285578 7f6e777fe6c0 Delete type=3 #94
2025/01/21-08:05:19.285635 7f6e777fe6c0 Delete type=0 #96
2025/01/21-08:09:47.055817 7f6e753ff6c0 Level-0 table #101: started
2025/01/21-08:09:47.055868 7f6e753ff6c0 Level-0 table #101: 0 bytes OK
2025/01/21-08:09:47.061904 7f6e753ff6c0 Delete type=0 #99
2025/01/21-08:09:47.081038 7f6e753ff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
2025/01/21-08:09:47.081078 7f6e753ff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000098
MANIFEST-000102

View File

@ -1,8 +1,8 @@
2025/01/21-08:05:19.250239 7f6e767fc6c0 Recovering log #96
2025/01/21-08:05:19.259468 7f6e767fc6c0 Delete type=3 #94
2025/01/21-08:05:19.259520 7f6e767fc6c0 Delete type=0 #96
2025/01/21-08:09:47.068881 7f6e753ff6c0 Level-0 table #101: started
2025/01/21-08:09:47.068908 7f6e753ff6c0 Level-0 table #101: 0 bytes OK
2025/01/21-08:09:47.074776 7f6e753ff6c0 Delete type=0 #99
2025/01/21-08:09:47.081061 7f6e753ff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
2025/01/21-08:09:47.081100 7f6e753ff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
2025/01/22-08:50:47.517175 7f6e777fe6c0 Recovering log #100
2025/01/22-08:50:47.527678 7f6e777fe6c0 Delete type=3 #98
2025/01/22-08:50:47.527739 7f6e777fe6c0 Delete type=0 #100
2025/01/22-08:58:23.866935 7f6e753ff6c0 Level-0 table #105: started
2025/01/22-08:58:23.866963 7f6e753ff6c0 Level-0 table #105: 0 bytes OK
2025/01/22-08:58:23.872897 7f6e753ff6c0 Delete type=0 #103
2025/01/22-08:58:23.873064 7f6e753ff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
2025/01/22-08:58:23.873097 7f6e753ff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)

View File

@ -1,8 +1,8 @@
2025/01/20-18:34:52.945940 7f6e767fc6c0 Recovering log #92
2025/01/20-18:34:52.991196 7f6e767fc6c0 Delete type=3 #90
2025/01/20-18:34:52.991251 7f6e767fc6c0 Delete type=0 #92
2025/01/20-18:52:31.093998 7f6e753ff6c0 Level-0 table #97: started
2025/01/20-18:52:31.094052 7f6e753ff6c0 Level-0 table #97: 0 bytes OK
2025/01/20-18:52:31.100089 7f6e753ff6c0 Delete type=0 #95
2025/01/20-18:52:31.120068 7f6e753ff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
2025/01/20-18:52:31.120116 7f6e753ff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
2025/01/21-08:05:19.250239 7f6e767fc6c0 Recovering log #96
2025/01/21-08:05:19.259468 7f6e767fc6c0 Delete type=3 #94
2025/01/21-08:05:19.259520 7f6e767fc6c0 Delete type=0 #96
2025/01/21-08:09:47.068881 7f6e753ff6c0 Level-0 table #101: started
2025/01/21-08:09:47.068908 7f6e753ff6c0 Level-0 table #101: 0 bytes OK
2025/01/21-08:09:47.074776 7f6e753ff6c0 Delete type=0 #99
2025/01/21-08:09:47.081061 7f6e753ff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
2025/01/21-08:09:47.081100 7f6e753ff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000098
MANIFEST-000102

View File

@ -1,8 +1,8 @@
2025/01/21-08:05:19.288005 7f6e76ffd6c0 Recovering log #96
2025/01/21-08:05:19.298022 7f6e76ffd6c0 Delete type=3 #94
2025/01/21-08:05:19.298088 7f6e76ffd6c0 Delete type=0 #96
2025/01/21-08:09:47.074914 7f6e753ff6c0 Level-0 table #101: started
2025/01/21-08:09:47.074948 7f6e753ff6c0 Level-0 table #101: 0 bytes OK
2025/01/21-08:09:47.080933 7f6e753ff6c0 Delete type=0 #99
2025/01/21-08:09:47.081071 7f6e753ff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
2025/01/21-08:09:47.081093 7f6e753ff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
2025/01/22-08:50:47.558438 7f6e75ffb6c0 Recovering log #100
2025/01/22-08:50:47.568545 7f6e75ffb6c0 Delete type=3 #98
2025/01/22-08:50:47.568612 7f6e75ffb6c0 Delete type=0 #100
2025/01/22-08:58:23.854343 7f6e753ff6c0 Level-0 table #105: started
2025/01/22-08:58:23.854385 7f6e753ff6c0 Level-0 table #105: 0 bytes OK
2025/01/22-08:58:23.860490 7f6e753ff6c0 Delete type=0 #103
2025/01/22-08:58:23.873043 7f6e753ff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
2025/01/22-08:58:23.873080 7f6e753ff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)

View File

@ -1,8 +1,8 @@
2025/01/20-18:34:53.094862 7f6e75ffb6c0 Recovering log #92
2025/01/20-18:34:53.142930 7f6e75ffb6c0 Delete type=3 #90
2025/01/20-18:34:53.142986 7f6e75ffb6c0 Delete type=0 #92
2025/01/20-18:52:31.106363 7f6e753ff6c0 Level-0 table #97: started
2025/01/20-18:52:31.106394 7f6e753ff6c0 Level-0 table #97: 0 bytes OK
2025/01/20-18:52:31.113466 7f6e753ff6c0 Delete type=0 #95
2025/01/20-18:52:31.120098 7f6e753ff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
2025/01/20-18:52:31.120124 7f6e753ff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
2025/01/21-08:05:19.288005 7f6e76ffd6c0 Recovering log #96
2025/01/21-08:05:19.298022 7f6e76ffd6c0 Delete type=3 #94
2025/01/21-08:05:19.298088 7f6e76ffd6c0 Delete type=0 #96
2025/01/21-08:09:47.074914 7f6e753ff6c0 Level-0 table #101: started
2025/01/21-08:09:47.074948 7f6e753ff6c0 Level-0 table #101: 0 bytes OK
2025/01/21-08:09:47.080933 7f6e753ff6c0 Delete type=0 #99
2025/01/21-08:09:47.081071 7f6e753ff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
2025/01/21-08:09:47.081093 7f6e753ff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)

View File

@ -110,13 +110,13 @@
}
}
.monster-resists {
.monster-skills {
display: flex;
flex-direction: column;
gap: 4px;
flex: 1;
.monster-resist {
.monster-skill {
display: flex;
align-items: center;
margin-right: 0.5rem;

View File

@ -6,7 +6,7 @@
"download": "#{DOWNLOAD}#",
"url": "#{URL}#",
"license": "LICENSE",
"version": "12.0.25",
"version": "12.0.26",
"authors": [
{
"name": "Uberwald",

View File

@ -3,7 +3,7 @@
<fieldset>
<legend>{{localize "LETHALFANTASY.Label.money"}}</legend>
<div class="moneys">
{{formField systemFields.moneys.fields.tinbit.fields.value value=system.moneys.tinbin.value localize=true}}
{{formField systemFields.moneys.fields.tinbit.fields.value value=system.moneys.tinbit.value localize=true}}
{{formField systemFields.moneys.fields.copper.fields.value value=system.moneys.copper.value localize=true}}
{{formField systemFields.moneys.fields.silver.fields.value value=system.moneys.silver.value localize=true}}
{{formField systemFields.moneys.fields.gold.fields.value value=system.moneys.gold.value localize=true}}

View File

@ -150,7 +150,7 @@
<span class="name">{{localize "LETHALFANTASY.Label.movement.walk"}}</span>
{{formField systemFields.movement.fields.walk value=system.movement.walk disabled=isPlayMode}}
<span class="name">{{localize "LETHALFANTASY.Label.movement.jog"}}</span>
{{formField systemFields.movement.fields.jog value=system.challenges.movement.jog disabled=isPlayMode}}
{{formField systemFields.movement.fields.jog value=system.movement.jog disabled=isPlayMode}}
<span class="name">{{localize "LETHALFANTASY.Label.movement.run"}}</span>
{{formField systemFields.movement.fields.run value=system.movement.run disabled=isPlayMode}}
<span class="name">{{localize "LETHALFANTASY.Label.movement.sprint"}}</span>

View File

@ -96,35 +96,34 @@
</fieldset>
<fieldset class="monster-characteristics monster-characteristics-{{ifThen isPlayMode 'play' 'edit'}}">
<legend>{{localize "LETHALFANTASY.Label.Resist"}}</legend>
<div class="monster-resists">
<div class="monster-resist">
<span class="name"><a class="rollable" data-roll-type="resist" data-roll-key="resistTorture"><i
<legend>{{localize "LETHALFANTASY.Label.skills"}}</legend>
<div class="monster-skills">
<div class="monster-skill">
<span class="name"><a class="rollable" data-roll-type="monster-skill" data-roll-key="resistTorture"><i
class="lf-roll-small fa-solid fa-dice-d20"></i>{{localize
"LETHALFANTASY.Label.resistTorture"}}</a></span>
{{formField systemFields.resists.fields.resistTorture.fields.value value=system.resists.resistTorture.value
disabled=isPlayMode
}}
<span class="name"><a class="rollable" data-roll-type="resist" data-roll-key="resistPerformance"><i
<span class="name"><a class="rollable" data-roll-type="monster-skill" data-roll-key="resistPerformance"><i
class="lf-roll-small fa-solid fa-dice-d20"></i>{{localize
"LETHALFANTASY.Label.resistPerformance"}}</a></span>
{{formField systemFields.resists.fields.resistPerformance.fields.value value=system.resists.resistPerformance.value
disabled=isPlayMode
}}
<span class="name"><a class="rollable" data-roll-type="resist" data-roll-key="resistIntimidation"><i
<span class="name"><a class="rollable" data-roll-type="monster-skill" data-roll-key="resistIntimidation"><i
class="lf-roll-small fa-solid fa-dice-d20"></i>{{localize
"LETHALFANTASY.Label.resistIntimidation"}}</a></span>
{{formField systemFields.resists.fields.resistIntimidation.fields.value value=system.resists.resistIntimidation.value
disabled=isPlayMode }}
<span class="name"><a class="rollable" data-roll-type="resist" data-roll-key="perception"><i
<span class="name"><a class="rollable" data-roll-type="monster-skill" data-roll-key="perception"><i
class="lf-roll-small fa-solid fa-dice-d20"></i>{{localize
"LETHALFANTASY.Label.perception"}}</a></span>
{{formField systemFields.resists.fields.perception.fields.value value=system.resists.perception.value
disabled=isPlayMode }}
<span class="name"><a class="rollable" data-roll-type="resist" data-roll-key="stealth"><i
<span class="name"><a class="rollable" data-roll-type="monster-skill" data-roll-key="stealth"><i
class="lf-roll-small fa-solid fa-dice-d20"></i>{{localize
"LETHALFANTASY.Label.stealth"}}</a></span>
{{formField systemFields.resists.fields.stealth.fields.value value=system.resists.stealth.value