mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-08 21:58:11 +02:00
Compare commits
No commits in common. "668dbdf8f4bcaf6f1055bad3197a96c16f5f7840" and "483caa106249a399733bb55a20b079895369282e" have entirely different histories.
668dbdf8f4
...
483caa1062
2 changed files with 1 additions and 3 deletions
|
|
@ -41,8 +41,7 @@ export default class DhCharacter extends BaseDataActor {
|
||||||
min: 0,
|
min: 0,
|
||||||
integer: true,
|
integer: true,
|
||||||
label: 'DAGGERHEART.GENERAL.hope'
|
label: 'DAGGERHEART.GENERAL.hope'
|
||||||
}),
|
})
|
||||||
isReversed: new fields.BooleanField({ initial: false })
|
|
||||||
})
|
})
|
||||||
}),
|
}),
|
||||||
traits: new fields.SchemaField({
|
traits: new fields.SchemaField({
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@ export default function DhTemplateEnricher(match, _options) {
|
||||||
const params = parseInlineParams(match[1]);
|
const params = parseInlineParams(match[1]);
|
||||||
const { type, angle = CONFIG.MeasuredTemplate.defaults.angle, inline = false } = params;
|
const { type, angle = CONFIG.MeasuredTemplate.defaults.angle, inline = false } = params;
|
||||||
const direction = Number(params.direction) || 0;
|
const direction = Number(params.direction) || 0;
|
||||||
params.range = params.range?.toLowerCase();
|
|
||||||
const range =
|
const range =
|
||||||
params.range && Number.isNaN(Number(params.range))
|
params.range && Number.isNaN(Number(params.range))
|
||||||
? Object.values(CONFIG.DH.GENERAL.templateRanges).find(
|
? Object.values(CONFIG.DH.GENERAL.templateRanges).find(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue