This commit is contained in:
WBHarry 2025-11-11 15:56:35 +01:00
parent bad00ff5f0
commit 6d2e858cc6
3 changed files with 5 additions and 5 deletions

View file

@ -178,7 +178,7 @@ export const defeatedConditions = () => {
}, {});
};
const defeatedConditionChoices = {
export const defeatedConditionChoices = {
defeated: {
id: 'defeated',
name: 'DAGGERHEART.CONFIG.Condition.defeated.name'

View file

@ -69,19 +69,19 @@ export default class DhAutomation extends foundry.abstract.DataModel {
characterDefault: new fields.StringField({
required: true,
choices: CONFIG.DH.GENERAL.defeatedConditionChoices,
initial: 'unconscious',
initial: CONFIG.DH.GENERAL.defeatedConditionChoices.unconscious.id,
label: 'DAGGERHEART.SETTINGS.Automation.FIELDS.defeated.characterDefault.label'
}),
adversaryDefault: new fields.StringField({
required: true,
choices: CONFIG.DH.GENERAL.defeatedConditionChoices,
initial: 'defeated',
initial: CONFIG.DH.GENERAL.defeatedConditionChoices.dead.id,
label: 'DAGGERHEART.SETTINGS.Automation.FIELDS.defeated.adversaryDefault.label'
}),
companionDefault: new fields.StringField({
required: true,
choices: CONFIG.DH.GENERAL.defeatedConditionChoices,
initial: 'defeated',
initial: CONFIG.DH.GENERAL.defeatedConditionChoices.defeated.id,
label: 'DAGGERHEART.SETTINGS.Automation.FIELDS.defeated.companionDefault.label'
}),
deadIcon: new fields.FilePathField({

View file

@ -14,7 +14,6 @@ body.game:is(.performance-low, .noblur) {
.application.sheet.daggerheart.actor.dh-style.party {
.tab.resources {
max-height: 400px;
overflow: auto;
.actors-list {
@ -32,6 +31,7 @@ body.game:is(.performance-low, .noblur) {
position: relative;
background: light-dark(@dark-blue-40, @dark-golden-40);
border-radius: 6px;
border: 1px solid light-dark(@dark-blue, @golden);
max-width: 230px;
height: -webkit-fill-available;