Fix typos
Pull Request Check / testing (pull_request) Successful in 16s Details

pull/37/head
macniel 2025-09-28 12:20:57 +02:00
parent 109682b415
commit 446a10b7c4
2 changed files with 11 additions and 11 deletions

View File

@ -34,44 +34,44 @@ export class CharacterSheet extends ActorSheet {
// Add the actor's data to context.data for easier access, as well as flags.
context.system = actorData.system;
context.flags = actorData.flags;
context.attributs = [
context.attributes = [
{
attribut: "mu",
eigenschaft: "mu",
name: "Mut",
wert: actorData.system.attribute.mu ?? 0,
},
{
attribut: "kl",
eigenschaft: "kl",
name: "Klugheit",
wert: actorData.system.attribute.kl ?? 0,
},
{
attribut: "in",
eigenschaft: "in",
name: "Intuition",
wert: actorData.system.attribute.in ?? 0,
},
{
attribut: "ch",
eigenschaft: "ch",
name: "Charisma",
wert: actorData.system.attribute.ch ?? 0,
},
{
attribut: "ff",
eigenschaft: "ff",
name: "Fingerfertigkeit",
wert: actorData.system.attribute.ff ?? 0,
},
{
attribut: "ge",
eigenschaft: "ge",
name: "Geschicklichkeit",
wert: actorData.system.attribute.ge ?? 0,
},
{
attribut: "ko",
eigenschaft: "ko",
name: "Konstitution",
wert: actorData.system.attribute.ko ?? 0,
},
{
attribut: "kk",
eigenschaft: "kk",
name: "Körperkraft",
wert: actorData.system.attribute.kk ?? 0,
},

View File

@ -7,8 +7,8 @@
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{actor.name}}" placeholder="Name"/></h1>
<div class="attribute">
{{#each attributs}}
<button class="attribut rollable" data-label="{{this.name}}" data-roll="1d20cs<=@{{this.attribut}}">
{{#each attributes}}
<button class="attribut rollable" data-label="{{this.name}}" data-roll="1d20cs<=@{{this.eigenschaft}}">
<span class="attribut-wert">
{{this.wert}}
</span>