Some granted dice/favor fixes
All checks were successful
Release Creation / build (release) Successful in 2m48s
All checks were successful
Release Creation / build (release) Successful in 2m48s
This commit is contained in:
@@ -521,6 +521,9 @@ i.lethalfantasy {
|
||||
min-width: 2.5rem;
|
||||
max-width: 2.5rem;
|
||||
}
|
||||
.lethalfantasy .tab.character-combat .main-div .combat-details .combat-detail .ranged-attack-button {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
.lethalfantasy .tab.character-combat .main-div .combat-details .combat-detail button {
|
||||
min-width: 9rem;
|
||||
}
|
||||
|
@@ -246,7 +246,6 @@ export default class LethalFantasyCharacterSheet extends LethalFantasyActorSheet
|
||||
|
||||
async _onRoll(event, target) {
|
||||
if (this.isEditMode) return
|
||||
console.log("Roll event", event)
|
||||
const rollType = event.target.dataset.rollType
|
||||
let rollKey = event.target.dataset.rollKey;
|
||||
let rollDice = event.target.dataset?.rollDice;
|
||||
|
@@ -104,6 +104,18 @@ export const SPELL_LETHARGY_DICE = [
|
||||
{ dice: "D20", value: "20", level: "21-25", maxLevel: 25 }
|
||||
]
|
||||
|
||||
export const GRANTED_DICE_CHOICES = {
|
||||
"0": { label: "None", value: "0" },
|
||||
"D2": { label: "D2", value: "D2" },
|
||||
"D3": { label: "D3", value: "D3" },
|
||||
"D4": { label: "D4", value: "D4" },
|
||||
"D6": { label: "D6", value: "D6" },
|
||||
"D8": { label: "D8", value: "D8" },
|
||||
"D10": { label: "D10", value: "D10" },
|
||||
"D12": { label: "D12", value: "D12" },
|
||||
"D20": { label: "D20", value: "D20" }
|
||||
}
|
||||
|
||||
export const INITIATIVE_DICE_CHOICES_PER_CLASS = {
|
||||
"untrained": [
|
||||
{ "name": "Asleep or totally distracted (2D12)", "value": "2D12" },
|
||||
@@ -310,5 +322,6 @@ export const SYSTEM = {
|
||||
MORTAL_CHOICES,
|
||||
SPELL_CRITICAL,
|
||||
MIRACLE_TYPES,
|
||||
SPELL_LETHARGY_DICE
|
||||
SPELL_LETHARGY_DICE,
|
||||
GRANTED_DICE_CHOICES
|
||||
}
|
||||
|
@@ -358,7 +358,7 @@ export default class LethalFantasyRoll extends Roll {
|
||||
],
|
||||
actions: {
|
||||
"selectGranted": (event, button, dialog) => {
|
||||
hasGrantedDice = true
|
||||
hasGrantedDice = event.target.checked
|
||||
},
|
||||
"selectBeyondSkill": (event, button, dialog) => {
|
||||
beyondSkill = button.checked
|
||||
@@ -502,15 +502,17 @@ export default class LethalFantasyRoll extends Roll {
|
||||
if (rollContext.favor === "favor") {
|
||||
rollFavor = new this(baseFormula, options.data, rollData)
|
||||
await rollFavor.evaluate()
|
||||
console.log("Rolling with favor", rollFavor)
|
||||
if (game?.dice3d) {
|
||||
game.dice3d.showForRoll(rollFavor, game.user, true)
|
||||
}
|
||||
if (rollFavor.result > rollBase.result) {
|
||||
if (Number(rollFavor.result) > Number(rollBase.result)) {
|
||||
badResult = rollBase.result
|
||||
rollBase = rollFavor
|
||||
} else {
|
||||
badResult = rollFavor.result
|
||||
}
|
||||
rollFavor = null
|
||||
}
|
||||
|
||||
if (rollContext.favor === "disfavor") {
|
||||
@@ -519,12 +521,13 @@ export default class LethalFantasyRoll extends Roll {
|
||||
if (game?.dice3d) {
|
||||
game.dice3d.showForRoll(rollFavor, game.user, true)
|
||||
}
|
||||
if (rollFavor.result < rollBase.result) {
|
||||
if (Number(rollFavor.result) < Number(rollBase.result)) {
|
||||
badResult = rollBase.result
|
||||
rollBase = rollFavor
|
||||
} else {
|
||||
badResult = rollFavor.result
|
||||
}
|
||||
rollFavor = null
|
||||
}
|
||||
|
||||
if (hasD30) {
|
||||
@@ -535,7 +538,7 @@ export default class LethalFantasyRoll extends Roll {
|
||||
options.D30result = rollD30.total
|
||||
}
|
||||
|
||||
let rollTotal = -1
|
||||
let rollTotal = 0
|
||||
let diceResults = []
|
||||
let resultType
|
||||
let diceSum = 0
|
||||
@@ -560,7 +563,8 @@ export default class LethalFantasyRoll extends Roll {
|
||||
}
|
||||
}
|
||||
|
||||
if (hasGrantedDice) {
|
||||
if (hasGrantedDice && options.rollTarget.grantedDice && options.rollTarget.grantedDice !== "") {
|
||||
titleFormula += ` + ${options.rollTarget.grantedDice.toUpperCase()}`
|
||||
let grantedRoll = new Roll(options.rollTarget.grantedDice)
|
||||
await grantedRoll.evaluate()
|
||||
if (game?.dice3d) {
|
||||
@@ -573,12 +577,12 @@ export default class LethalFantasyRoll extends Roll {
|
||||
if (fullModifier !== 0) {
|
||||
diceResults.push({ dice: `${rollModifier.formula.toUpperCase()}`, value: rollModifier.total })
|
||||
if (fullModifier < 0) {
|
||||
rollTotal = Math.max(diceSum - rollModifier.total, 0)
|
||||
rollTotal += Math.max(diceSum - rollModifier.total, 0)
|
||||
} else {
|
||||
rollTotal = diceSum + rollModifier.total
|
||||
rollTotal += diceSum + rollModifier.total
|
||||
}
|
||||
} else {
|
||||
rollTotal = diceSum
|
||||
rollTotal += diceSum
|
||||
}
|
||||
|
||||
rollBase.options.resultType = resultType
|
||||
|
@@ -90,9 +90,9 @@ export default class LethalFantasyCharacter extends foundry.abstract.TypeDataMod
|
||||
current: new fields.NumberField({ ...requiredInteger, initial: 0, min: 0 })
|
||||
})
|
||||
schema.granted = new fields.SchemaField({
|
||||
attackDice: new fields.StringField({ required: true, nullable: false, initial: "" }),
|
||||
defenseDice: new fields.StringField({ required: true, nullable: false, initial: "" }),
|
||||
damageDice: new fields.StringField({ required: true, nullable: false, initial: "" })
|
||||
attackDice: new fields.StringField({ required: true, nullable: false, initial: "0", choices: SYSTEM.GRANTED_DICE_CHOICES }),
|
||||
defenseDice: new fields.StringField({ required: true, nullable: false, initial: "0", choices: SYSTEM.GRANTED_DICE_CHOICES }),
|
||||
damageDice: new fields.StringField({ required: true, nullable: false, initial: "0", choices: SYSTEM.GRANTED_DICE_CHOICES })
|
||||
})
|
||||
|
||||
schema.movement = new fields.SchemaField({
|
||||
@@ -293,7 +293,6 @@ export default class LethalFantasyCharacter extends foundry.abstract.TypeDataMod
|
||||
|
||||
let wisDef = SYSTEM.CHARACTERISTICS_TABLES.wis.find((c) => c.value === this.characteristics.wis.value)
|
||||
let maxInit = Number(wisDef.init_cap) || 1000
|
||||
console.log("Rolling initiative for", this)
|
||||
|
||||
let roll = await LethalFantasyRoll.promptInitiative({
|
||||
actorId: this.parent.id,
|
||||
|
@@ -1 +1 @@
|
||||
MANIFEST-000424
|
||||
MANIFEST-000436
|
||||
|
@@ -1,8 +1,8 @@
|
||||
2025/09/20-09:24:47.271364 7f7d00dfa6c0 Recovering log #422
|
||||
2025/09/20-09:24:47.284417 7f7d00dfa6c0 Delete type=3 #420
|
||||
2025/09/20-09:24:47.284476 7f7d00dfa6c0 Delete type=0 #422
|
||||
2025/09/20-09:32:46.867336 7f7cf9fff6c0 Level-0 table #427: started
|
||||
2025/09/20-09:32:46.867378 7f7cf9fff6c0 Level-0 table #427: 0 bytes OK
|
||||
2025/09/20-09:32:46.873522 7f7cf9fff6c0 Delete type=0 #425
|
||||
2025/09/20-09:32:46.886330 7f7cf9fff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
|
||||
2025/09/20-09:32:46.886530 7f7cf9fff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
|
||||
2025/10/01-16:42:57.866432 7fc499ffb6c0 Recovering log #434
|
||||
2025/10/01-16:42:57.877314 7fc499ffb6c0 Delete type=3 #432
|
||||
2025/10/01-16:42:57.877388 7fc499ffb6c0 Delete type=0 #434
|
||||
2025/10/01-17:11:30.188440 7fc497ff76c0 Level-0 table #439: started
|
||||
2025/10/01-17:11:30.188469 7fc497ff76c0 Level-0 table #439: 0 bytes OK
|
||||
2025/10/01-17:11:30.194363 7fc497ff76c0 Delete type=0 #437
|
||||
2025/10/01-17:11:30.200618 7fc497ff76c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
|
||||
2025/10/01-17:11:30.200653 7fc497ff76c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
|
||||
|
@@ -1,8 +1,8 @@
|
||||
2025/09/19-21:01:58.948341 7f7cfaffd6c0 Recovering log #418
|
||||
2025/09/19-21:01:58.990053 7f7cfaffd6c0 Delete type=3 #416
|
||||
2025/09/19-21:01:58.990118 7f7cfaffd6c0 Delete type=0 #418
|
||||
2025/09/19-22:28:27.055322 7f7cf9fff6c0 Level-0 table #423: started
|
||||
2025/09/19-22:28:27.055429 7f7cf9fff6c0 Level-0 table #423: 0 bytes OK
|
||||
2025/09/19-22:28:27.062766 7f7cf9fff6c0 Delete type=0 #421
|
||||
2025/09/19-22:28:27.082558 7f7cf9fff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
|
||||
2025/09/19-22:28:27.082605 7f7cf9fff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
|
||||
2025/10/01-09:52:37.607891 7fc498ff96c0 Recovering log #430
|
||||
2025/10/01-09:52:37.617656 7fc498ff96c0 Delete type=3 #428
|
||||
2025/10/01-09:52:37.617728 7fc498ff96c0 Delete type=0 #430
|
||||
2025/10/01-10:19:09.456857 7fc497ff76c0 Level-0 table #435: started
|
||||
2025/10/01-10:19:09.456891 7fc497ff76c0 Level-0 table #435: 0 bytes OK
|
||||
2025/10/01-10:19:09.500293 7fc497ff76c0 Delete type=0 #433
|
||||
2025/10/01-10:19:09.675931 7fc497ff76c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
|
||||
2025/10/01-10:19:09.675968 7fc497ff76c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
@@ -1 +1 @@
|
||||
MANIFEST-000424
|
||||
MANIFEST-000436
|
||||
|
@@ -1,8 +1,8 @@
|
||||
2025/09/20-09:24:47.288998 7f7cfb7fe6c0 Recovering log #422
|
||||
2025/09/20-09:24:47.299397 7f7cfb7fe6c0 Delete type=3 #420
|
||||
2025/09/20-09:24:47.299460 7f7cfb7fe6c0 Delete type=0 #422
|
||||
2025/09/20-09:32:46.860990 7f7cf9fff6c0 Level-0 table #427: started
|
||||
2025/09/20-09:32:46.861071 7f7cf9fff6c0 Level-0 table #427: 0 bytes OK
|
||||
2025/09/20-09:32:46.867149 7f7cf9fff6c0 Delete type=0 #425
|
||||
2025/09/20-09:32:46.886314 7f7cf9fff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
2025/09/20-09:32:46.886448 7f7cf9fff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
2025/10/01-16:42:57.881962 7fc4987f86c0 Recovering log #434
|
||||
2025/10/01-16:42:57.892761 7fc4987f86c0 Delete type=3 #432
|
||||
2025/10/01-16:42:57.892833 7fc4987f86c0 Delete type=0 #434
|
||||
2025/10/01-17:11:30.181134 7fc497ff76c0 Level-0 table #439: started
|
||||
2025/10/01-17:11:30.181171 7fc497ff76c0 Level-0 table #439: 0 bytes OK
|
||||
2025/10/01-17:11:30.188327 7fc497ff76c0 Delete type=0 #437
|
||||
2025/10/01-17:11:30.200601 7fc497ff76c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
2025/10/01-17:11:30.200645 7fc497ff76c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
|
@@ -1,8 +1,8 @@
|
||||
2025/09/19-21:01:58.995284 7f7cfbfff6c0 Recovering log #418
|
||||
2025/09/19-21:01:59.036400 7f7cfbfff6c0 Delete type=3 #416
|
||||
2025/09/19-21:01:59.036480 7f7cfbfff6c0 Delete type=0 #418
|
||||
2025/09/19-22:28:27.076046 7f7cf9fff6c0 Level-0 table #423: started
|
||||
2025/09/19-22:28:27.076085 7f7cf9fff6c0 Level-0 table #423: 0 bytes OK
|
||||
2025/09/19-22:28:27.082428 7f7cf9fff6c0 Delete type=0 #421
|
||||
2025/09/19-22:28:27.082612 7f7cf9fff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
2025/09/19-22:28:27.082639 7f7cf9fff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
2025/10/01-09:52:37.622704 7fc4997fa6c0 Recovering log #430
|
||||
2025/10/01-09:52:37.632146 7fc4997fa6c0 Delete type=3 #428
|
||||
2025/10/01-09:52:37.632199 7fc4997fa6c0 Delete type=0 #430
|
||||
2025/10/01-10:19:09.736826 7fc497ff76c0 Level-0 table #435: started
|
||||
2025/10/01-10:19:09.736857 7fc497ff76c0 Level-0 table #435: 0 bytes OK
|
||||
2025/10/01-10:19:09.782928 7fc497ff76c0 Delete type=0 #433
|
||||
2025/10/01-10:19:09.809673 7fc497ff76c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
2025/10/01-10:19:09.809700 7fc497ff76c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
@@ -1 +1 @@
|
||||
MANIFEST-000424
|
||||
MANIFEST-000436
|
||||
|
@@ -1,8 +1,8 @@
|
||||
2025/09/20-09:24:47.256899 7f7cfaffd6c0 Recovering log #422
|
||||
2025/09/20-09:24:47.266896 7f7cfaffd6c0 Delete type=3 #420
|
||||
2025/09/20-09:24:47.267003 7f7cfaffd6c0 Delete type=0 #422
|
||||
2025/09/20-09:32:46.873729 7f7cf9fff6c0 Level-0 table #427: started
|
||||
2025/09/20-09:32:46.873757 7f7cf9fff6c0 Level-0 table #427: 0 bytes OK
|
||||
2025/09/20-09:32:46.880314 7f7cf9fff6c0 Delete type=0 #425
|
||||
2025/09/20-09:32:46.886342 7f7cf9fff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2025/09/20-09:32:46.886583 7f7cf9fff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2025/10/01-16:42:57.852986 7fc498ff96c0 Recovering log #434
|
||||
2025/10/01-16:42:57.862534 7fc498ff96c0 Delete type=3 #432
|
||||
2025/10/01-16:42:57.862603 7fc498ff96c0 Delete type=0 #434
|
||||
2025/10/01-17:11:30.174361 7fc497ff76c0 Level-0 table #439: started
|
||||
2025/10/01-17:11:30.174817 7fc497ff76c0 Level-0 table #439: 0 bytes OK
|
||||
2025/10/01-17:11:30.181000 7fc497ff76c0 Delete type=0 #437
|
||||
2025/10/01-17:11:30.200584 7fc497ff76c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2025/10/01-17:11:30.200638 7fc497ff76c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
|
@@ -1,8 +1,8 @@
|
||||
2025/09/19-21:01:58.905694 7f7d00dfa6c0 Recovering log #418
|
||||
2025/09/19-21:01:58.943958 7f7d00dfa6c0 Delete type=3 #416
|
||||
2025/09/19-21:01:58.944064 7f7d00dfa6c0 Delete type=0 #418
|
||||
2025/09/19-22:28:27.069590 7f7cf9fff6c0 Level-0 table #423: started
|
||||
2025/09/19-22:28:27.069620 7f7cf9fff6c0 Level-0 table #423: 0 bytes OK
|
||||
2025/09/19-22:28:27.075890 7f7cf9fff6c0 Delete type=0 #421
|
||||
2025/09/19-22:28:27.082581 7f7cf9fff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2025/09/19-22:28:27.082657 7f7cf9fff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2025/10/01-09:52:37.593230 7fc4987f86c0 Recovering log #430
|
||||
2025/10/01-09:52:37.603848 7fc4987f86c0 Delete type=3 #428
|
||||
2025/10/01-09:52:37.603909 7fc4987f86c0 Delete type=0 #430
|
||||
2025/10/01-10:19:09.418020 7fc497ff76c0 Level-0 table #435: started
|
||||
2025/10/01-10:19:09.418055 7fc497ff76c0 Level-0 table #435: 0 bytes OK
|
||||
2025/10/01-10:19:09.456709 7fc497ff76c0 Delete type=0 #433
|
||||
2025/10/01-10:19:09.675920 7fc497ff76c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2025/10/01-10:19:09.675962 7fc497ff76c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
@@ -1 +1 @@
|
||||
MANIFEST-000124
|
||||
MANIFEST-000136
|
||||
|
@@ -1,8 +1,8 @@
|
||||
2025/09/20-09:24:47.318521 7f7cfaffd6c0 Recovering log #122
|
||||
2025/09/20-09:24:47.328528 7f7cfaffd6c0 Delete type=3 #120
|
||||
2025/09/20-09:24:47.328622 7f7cfaffd6c0 Delete type=0 #122
|
||||
2025/09/20-09:32:46.909549 7f7cf9fff6c0 Level-0 table #127: started
|
||||
2025/09/20-09:32:46.909792 7f7cf9fff6c0 Level-0 table #127: 0 bytes OK
|
||||
2025/09/20-09:32:46.915753 7f7cf9fff6c0 Delete type=0 #125
|
||||
2025/09/20-09:32:46.934449 7f7cf9fff6c0 Manual compaction at level-0 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
|
||||
2025/09/20-09:32:46.934489 7f7cf9fff6c0 Manual compaction at level-1 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
|
||||
2025/10/01-16:42:57.908006 7fc4997fa6c0 Recovering log #134
|
||||
2025/10/01-16:42:57.919602 7fc4997fa6c0 Delete type=3 #132
|
||||
2025/10/01-16:42:57.919658 7fc4997fa6c0 Delete type=0 #134
|
||||
2025/10/01-17:11:30.207352 7fc497ff76c0 Level-0 table #139: started
|
||||
2025/10/01-17:11:30.207416 7fc497ff76c0 Level-0 table #139: 0 bytes OK
|
||||
2025/10/01-17:11:30.214221 7fc497ff76c0 Delete type=0 #137
|
||||
2025/10/01-17:11:30.239177 7fc497ff76c0 Manual compaction at level-0 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
|
||||
2025/10/01-17:11:30.278471 7fc497ff76c0 Manual compaction at level-1 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
|
||||
|
@@ -1,8 +1,8 @@
|
||||
2025/09/19-21:01:59.113262 7f7cfaffd6c0 Recovering log #118
|
||||
2025/09/19-21:01:59.152822 7f7cfaffd6c0 Delete type=3 #116
|
||||
2025/09/19-21:01:59.152924 7f7cfaffd6c0 Delete type=0 #118
|
||||
2025/09/19-22:28:27.089546 7f7cf9fff6c0 Level-0 table #123: started
|
||||
2025/09/19-22:28:27.089602 7f7cf9fff6c0 Level-0 table #123: 0 bytes OK
|
||||
2025/09/19-22:28:27.095855 7f7cf9fff6c0 Delete type=0 #121
|
||||
2025/09/19-22:28:27.116632 7f7cf9fff6c0 Manual compaction at level-0 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
|
||||
2025/09/19-22:28:27.145745 7f7cf9fff6c0 Manual compaction at level-1 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
|
||||
2025/10/01-09:52:37.648603 7fc498ff96c0 Recovering log #130
|
||||
2025/10/01-09:52:37.658051 7fc498ff96c0 Delete type=3 #128
|
||||
2025/10/01-09:52:37.658136 7fc498ff96c0 Delete type=0 #130
|
||||
2025/10/01-10:19:09.381699 7fc497ff76c0 Level-0 table #135: started
|
||||
2025/10/01-10:19:09.381742 7fc497ff76c0 Level-0 table #135: 0 bytes OK
|
||||
2025/10/01-10:19:09.417885 7fc497ff76c0 Delete type=0 #133
|
||||
2025/10/01-10:19:09.675902 7fc497ff76c0 Manual compaction at level-0 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
|
||||
2025/10/01-10:19:09.675956 7fc497ff76c0 Manual compaction at level-1 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
@@ -1 +1 @@
|
||||
MANIFEST-000423
|
||||
MANIFEST-000435
|
||||
|
@@ -1,8 +1,8 @@
|
||||
2025/09/20-09:24:47.303028 7f7d00dfa6c0 Recovering log #421
|
||||
2025/09/20-09:24:47.316425 7f7d00dfa6c0 Delete type=3 #419
|
||||
2025/09/20-09:24:47.316502 7f7d00dfa6c0 Delete type=0 #421
|
||||
2025/09/20-09:32:46.880413 7f7cf9fff6c0 Level-0 table #426: started
|
||||
2025/09/20-09:32:46.880437 7f7cf9fff6c0 Level-0 table #426: 0 bytes OK
|
||||
2025/09/20-09:32:46.886234 7f7cf9fff6c0 Delete type=0 #424
|
||||
2025/09/20-09:32:46.886455 7f7cf9fff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2025/09/20-09:32:46.886560 7f7cf9fff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2025/10/01-16:42:57.895507 7fc498ff96c0 Recovering log #433
|
||||
2025/10/01-16:42:57.905329 7fc498ff96c0 Delete type=3 #431
|
||||
2025/10/01-16:42:57.905405 7fc498ff96c0 Delete type=0 #433
|
||||
2025/10/01-17:11:30.194475 7fc497ff76c0 Level-0 table #438: started
|
||||
2025/10/01-17:11:30.194505 7fc497ff76c0 Level-0 table #438: 0 bytes OK
|
||||
2025/10/01-17:11:30.200450 7fc497ff76c0 Delete type=0 #436
|
||||
2025/10/01-17:11:30.200628 7fc497ff76c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2025/10/01-17:11:30.200661 7fc497ff76c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
|
@@ -1,8 +1,8 @@
|
||||
2025/09/19-21:01:59.044069 7f7cfb7fe6c0 Recovering log #417
|
||||
2025/09/19-21:01:59.110180 7f7cfb7fe6c0 Delete type=3 #415
|
||||
2025/09/19-21:01:59.110282 7f7cfb7fe6c0 Delete type=0 #417
|
||||
2025/09/19-22:28:27.062900 7f7cf9fff6c0 Level-0 table #422: started
|
||||
2025/09/19-22:28:27.062937 7f7cf9fff6c0 Level-0 table #422: 0 bytes OK
|
||||
2025/09/19-22:28:27.069460 7f7cf9fff6c0 Delete type=0 #420
|
||||
2025/09/19-22:28:27.082570 7f7cf9fff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2025/09/19-22:28:27.082620 7f7cf9fff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2025/10/01-09:52:37.634817 7fc4987f86c0 Recovering log #429
|
||||
2025/10/01-09:52:37.645670 7fc4987f86c0 Delete type=3 #427
|
||||
2025/10/01-09:52:37.645745 7fc4987f86c0 Delete type=0 #429
|
||||
2025/10/01-10:19:09.704901 7fc497ff76c0 Level-0 table #434: started
|
||||
2025/10/01-10:19:09.704973 7fc497ff76c0 Level-0 table #434: 0 bytes OK
|
||||
2025/10/01-10:19:09.736698 7fc497ff76c0 Delete type=0 #432
|
||||
2025/10/01-10:19:09.809658 7fc497ff76c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2025/10/01-10:19:09.809691 7fc497ff76c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
@@ -375,6 +375,9 @@
|
||||
min-width: 2.5rem;
|
||||
max-width: 2.5rem;
|
||||
}
|
||||
.ranged-attack-button {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
button {
|
||||
min-width: 9rem;
|
||||
}
|
||||
|
@@ -6,11 +6,11 @@
|
||||
<div class="combat-details">
|
||||
<div class="combat-detail">
|
||||
|
||||
<button class="action" data-action="rangedAttackDefense">
|
||||
<button class="action ranged-attack-button" data-action="rangedAttackDefense">
|
||||
{{localize "LETHALFANTASY.Label.rangedAttackDefense"}}
|
||||
</button>
|
||||
|
||||
<button class="action" data-action="rollInitiative">
|
||||
<button class="action ranged-attack-button" data-action="rollInitiative">
|
||||
{{localize "LETHALFANTASY.Label.rollInitiative"}}
|
||||
</button>
|
||||
|
||||
@@ -22,23 +22,20 @@
|
||||
</div>
|
||||
|
||||
<div class="flexrow granted">
|
||||
<span class=""><a class="rollable" data-roll-type="granted" data-roll-key="attackDice"><i
|
||||
class="lf-roll-small fa-solid fa-dice-d20"></i>{{localize
|
||||
"LETHALFANTASY.Label.grantedAttackDice"}}</a></span>
|
||||
<span class="">{{localize
|
||||
"LETHALFANTASY.Label.grantedAttackDice"}}</a></span>
|
||||
{{formInput systemFields.granted.fields.attackDice value=system.granted.attackDice disabled=isPlayMode }}
|
||||
</div>
|
||||
|
||||
<div class="flexrow granted ">
|
||||
<span class=""><a class="rollable" data-roll-type="granted" data-roll-key="defenseDice"><i
|
||||
class="lf-roll-small fa-solid fa-dice-d20"></i>{{localize
|
||||
"LETHALFANTASY.Label.grantedDefenseDice"}}</a></span>
|
||||
<span class="">{{localize
|
||||
"LETHALFANTASY.Label.grantedDefenseDice"}}</a></span>
|
||||
{{formInput systemFields.granted.fields.defenseDice value=system.granted.defenseDice disabled=isPlayMode }}
|
||||
</div>
|
||||
|
||||
<div class="flexrow granted">
|
||||
<span class=""><a class="rollable" data-roll-type="granted" data-roll-key="damageDice"><i
|
||||
class="lf-roll-small fa-solid fa-dice-d20"></i>{{localize
|
||||
"LETHALFANTASY.Label.grantedDamageDice"}}</a></span>
|
||||
<span class="">{{localize
|
||||
"LETHALFANTASY.Label.grantedDamageDice"}}</a></span>
|
||||
{{formInput systemFields.granted.fields.damageDice value=system.granted.damageDice disabled=isPlayMode }}
|
||||
</div>
|
||||
|
||||
@@ -69,8 +66,7 @@
|
||||
<div class="weapon" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}" data-drag="true"
|
||||
data-drag-type="damage">
|
||||
{{#if (ne item.img "icons/svg/item-bag.svg")}}
|
||||
<img class="item-img" src="{{item.img}}" data-tooltip="{{item.name}}"
|
||||
/>
|
||||
<img class="item-img" src="{{item.img}}" data-tooltip="{{item.name}}" />
|
||||
{{/if}}
|
||||
<div class="name" data-tooltip="{{item.system.description}}">
|
||||
{{item.name}}
|
||||
|
Reference in New Issue
Block a user