From d65bd28e16e0d5ac42361d95d12d3b2bb5c6b872 Mon Sep 17 00:00:00 2001 From: IrkTheImp <41175833+IrkTheImp@users.noreply.github.com> Date: Sun, 10 Aug 2025 09:53:52 -0500 Subject: [PATCH] update spelling (#786) --- lang/en.json | 4 ++-- module/config/generalConfig.mjs | 8 ++++---- module/dice/dhRoll.mjs | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lang/en.json b/lang/en.json index 867558d7..349200f7 100755 --- a/lang/en.json +++ b/lang/en.json @@ -823,8 +823,8 @@ "name": "Restrained", "description": "When an effect makes a creature Restrained, it means they cannot move until this condition is cleared.\nThey can still take actions from their current position." }, - "unconcious": { - "name": "Unconcious", + "unconscious": { + "name": "Unconscious", "description": "Your character can’t move or act while unconscious, they can’t be targeted by an attack." }, "vulnerable": { diff --git a/module/config/generalConfig.mjs b/module/config/generalConfig.mjs index 133dd09e..80ca1983 100644 --- a/module/config/generalConfig.mjs +++ b/module/config/generalConfig.mjs @@ -183,11 +183,11 @@ export const conditions = { icon: 'icons/magic/control/debuff-chains-shackle-movement-red.webp', description: 'DAGGERHEART.CONFIG.Condition.restrained.description' }, - unconcious: { - id: 'unconcious', - name: 'DAGGERHEART.CONFIG.Condition.unconcious.name', + unconscious: { + id: 'unconscious', + name: 'DAGGERHEART.CONFIG.Condition.unconscious.name', icon: 'icons/magic/control/sleep-bubble-purple.webp', - description: 'DAGGERHEART.CONFIG.Condition.unconcious.description' + description: 'DAGGERHEART.CONFIG.Condition.unconscious.description' }, dead: { id: 'dead', diff --git a/module/dice/dhRoll.mjs b/module/dice/dhRoll.mjs index 504a9c02..126a7944 100644 --- a/module/dice/dhRoll.mjs +++ b/module/dice/dhRoll.mjs @@ -238,7 +238,7 @@ export const registerRollDiceHooks = () => { if (updates.length) { const target = actor.system.partner ?? actor; - if (!['dead', 'unconcious'].some(x => actor.statuses.has(x))) { + if (!['dead', 'unconscious'].some(x => actor.statuses.has(x))) { setTimeout(() => { target.modifyResource(updates); }, 50);