Refactor character creation tool XML: encapsulate label pairs within Content tags for improved structural consistency
This commit is contained in:
parent
759c827d5e
commit
132c2b1e90
@ -163,52 +163,64 @@
|
||||
<RowLayout Styles="ValueBoxRow">
|
||||
<Content>
|
||||
<ColumnLayout Styles="ValueBox;ValueBoxChildren">
|
||||
<Label>
|
||||
<Text>"LE"</Text>
|
||||
</Label>
|
||||
<Label>
|
||||
<Text>[data.character.attributes.physique] + [data.character.attributes.physique] + [data.character.attributes.strength] + [data.character.race.healthbonus]</Text>
|
||||
</Label>
|
||||
<Content>
|
||||
<Label>
|
||||
<Text>"LE"</Text>
|
||||
</Label>
|
||||
<Label>
|
||||
<Text>[data.character.attributes.physique] + [data.character.attributes.physique] + [data.character.attributes.strength] + [data.character.race.healthbonus]</Text>
|
||||
</Label>
|
||||
</Content>
|
||||
</ColumnLayout>
|
||||
<ColumnLayout Styles="ValueBox;ValueBoxChildren">
|
||||
<Label>
|
||||
<Text>"INI"</Text>
|
||||
</Label>
|
||||
<Label>
|
||||
<Text>Round(([data.character.attributes.courage] + [data.character.attributes.agility]) / 2)</Text>
|
||||
</Label>
|
||||
<Content>
|
||||
<Label>
|
||||
<Text>"INI"</Text>
|
||||
</Label>
|
||||
<Label>
|
||||
<Text>Round(([data.character.attributes.courage] + [data.character.attributes.agility]) / 2)</Text>
|
||||
</Label>
|
||||
</Content>
|
||||
</ColumnLayout>
|
||||
<ColumnLayout Styles="ValueBox;ValueBoxChildren">
|
||||
<Label>
|
||||
<Text>"AW"</Text>
|
||||
</Label>
|
||||
<Label>
|
||||
<Text>Round(([data.character.attributes.intuition] + [data.character.attributes.agility] + [data.character.attributes.agility]) / 4)</Text>
|
||||
</Label>
|
||||
<Content>
|
||||
<Label>
|
||||
<Text>"AW"</Text>
|
||||
</Label>
|
||||
<Label>
|
||||
<Text>Round(([data.character.attributes.intuition] + [data.character.attributes.agility] + [data.character.attributes.agility]) / 4)</Text>
|
||||
</Label>
|
||||
</Content>
|
||||
</ColumnLayout>
|
||||
<ColumnLayout Styles="ValueBox;ValueBoxChildren">
|
||||
<Label>
|
||||
<Text>"GS"</Text>
|
||||
</Label>
|
||||
<Label>
|
||||
<Text>[data.character.race.speed]</Text>
|
||||
</Label>
|
||||
<Content>
|
||||
<Label>
|
||||
<Text>"GS"</Text>
|
||||
</Label>
|
||||
<Label>
|
||||
<Text>[data.character.race.speed]</Text>
|
||||
</Label>
|
||||
</Content>
|
||||
</ColumnLayout>
|
||||
<ColumnLayout Styles="ValueBox;ValueBoxChildren" Visible="[data.character.definition.ismage]">
|
||||
<Label>
|
||||
<Text>"MN"</Text>
|
||||
</Label>
|
||||
<Label>
|
||||
<Text>[data.character.magic.mana]</Text>
|
||||
</Label>
|
||||
<Content>
|
||||
<Label>
|
||||
<Text>"MN"</Text>
|
||||
</Label>
|
||||
<Label>
|
||||
<Text>[data.character.magic.mana]</Text>
|
||||
</Label>
|
||||
</Content>
|
||||
</ColumnLayout>
|
||||
<ColumnLayout Styles="ValueBox;ValueBoxChildren" Visible="[data.character.definition.ismage]">
|
||||
<Label>
|
||||
<Text>"AM"</Text>
|
||||
</Label>
|
||||
<Label>
|
||||
<Text>charlib_intrinsicmagic()</Text>
|
||||
</Label>
|
||||
<Content>
|
||||
<Label>
|
||||
<Text>"AM"</Text>
|
||||
</Label>
|
||||
<Label>
|
||||
<Text>charlib_intrinsicmagic()</Text>
|
||||
</Label>
|
||||
</Content>
|
||||
</ColumnLayout>
|
||||
</Content>
|
||||
</RowLayout>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user