Update character creation tool XML: add precision parameter to Round function and rename local sum variables for clarity
This commit is contained in:
parent
132c2b1e90
commit
b5cffeb61e
@ -48,15 +48,15 @@
|
||||
</Action>
|
||||
<Action>
|
||||
<Do>if([data.character.attributes.courage] >= 12, 0.5, 0) + if([data.character.attributes.intelligence] >= 12, 0.5, 0) + if([data.character.attributes.intuition] >= 12, 0.5, 0) + if([data.character.attributes.charisma] >= 12, 0.5, 0) + if([data.character.attributes.dexterity] >= 12, 0.5, 0) + if([data.character.attributes.agility] >= 12, 0.5, 0) + if([data.character.attributes.physique] >= 12, 0.5, 0) + if([data.character.attributes.strength] >= 12, 0.5, 0)</Do>
|
||||
<Output>[local.sum10]</Output>
|
||||
<Output>[local.sum12]</Output>
|
||||
</Action>
|
||||
<Action>
|
||||
<Do>if([data.character.attributes.courage] >= 14, 0.75, 0) + if([data.character.attributes.intelligence] >= 14, 0.75, 0) + if([data.character.attributes.intuition] >= 14, 0.75, 0) + if([data.character.attributes.charisma] >= 14, 0.75, 0) + if([data.character.attributes.dexterity] >= 14, 0.75, 0) + if([data.character.attributes.agility] >= 14, 0.75, 0) + if([data.character.attributes.physique] >= 14, 0.75, 0) + if([data.character.attributes.strength] >= 14, 0.75, 0)</Do>
|
||||
<Output>[local.sum10]</Output>
|
||||
<Output>[local.sum14]</Output>
|
||||
</Action>
|
||||
<Action>
|
||||
<Do>if([data.character.attributes.courage] >= 16, 1, 0) + if([data.character.attributes.intelligence] >= 16, 1, 0) + if([data.character.attributes.intuition] >= 16, 1, 0) + if([data.character.attributes.charisma] >= 16, 1, 0) + if([data.character.attributes.dexterity] >= 16, 1, 0) + if([data.character.attributes.agility] >= 16, 1, 0) + if([data.character.attributes.physique] >= 16, 1, 0) + if([data.character.attributes.strength] >= 16, 1, 0)</Do>
|
||||
<Output>[local.sum10]</Output>
|
||||
<Output>[local.sum16]</Output>
|
||||
</Action>
|
||||
<Action>
|
||||
<Do>Truncate(Min([local.sum10], 1.5) + Min([local.sum12], 2) + Min([local.sum14], 1.5) + Min([local.sum16], 1))</Do>
|
||||
|
||||
@ -178,7 +178,7 @@
|
||||
<Text>"INI"</Text>
|
||||
</Label>
|
||||
<Label>
|
||||
<Text>Round(([data.character.attributes.courage] + [data.character.attributes.agility]) / 2)</Text>
|
||||
<Text>Round(([data.character.attributes.courage] + [data.character.attributes.agility]) / 2, 0)</Text>
|
||||
</Label>
|
||||
</Content>
|
||||
</ColumnLayout>
|
||||
@ -188,7 +188,7 @@
|
||||
<Text>"AW"</Text>
|
||||
</Label>
|
||||
<Label>
|
||||
<Text>Round(([data.character.attributes.intuition] + [data.character.attributes.agility] + [data.character.attributes.agility]) / 4)</Text>
|
||||
<Text>Round(([data.character.attributes.intuition] + [data.character.attributes.agility] + [data.character.attributes.agility]) / 4, 0)</Text>
|
||||
</Label>
|
||||
</Content>
|
||||
</ColumnLayout>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user