Final touches
This commit is contained in:
parent
8addd0099c
commit
9fbda257e6
@ -6,6 +6,55 @@
|
||||
<Function Name="charlib_attributesum">
|
||||
<Return>[data.character.attributes.courage] + [data.character.attributes.intelligence] + [data.character.attributes.intuition] + [data.character.attributes.charisma] + [data.character.attributes.dexterity] + [data.character.attributes.agility] + [data.character.attributes.physique] + [data.character.attributes.strength]</Return>
|
||||
</Function>
|
||||
<Function Name="charlibcreate_fifteenattributessum">
|
||||
<Actions>
|
||||
<Action>
|
||||
<Do>0</Do>
|
||||
<Output>[local.sum]</Output>
|
||||
</Action>
|
||||
<Action>
|
||||
<If>[data.character.attributes.courage] >= 15</If>
|
||||
<Do>[local.sum] + 1</Do>
|
||||
<Output>[local.sum]</Output>
|
||||
</Action>
|
||||
<Action>
|
||||
<If>[data.character.attributes.intelligence] >= 15</If>
|
||||
<Do>[local.sum] + 1</Do>
|
||||
<Output>[local.sum]</Output>
|
||||
</Action>
|
||||
<Action>
|
||||
<If>[data.character.attributes.intuition] >= 15</If>
|
||||
<Do>[local.sum] + 1</Do>
|
||||
<Output>[local.sum]</Output>
|
||||
</Action>
|
||||
<Action>
|
||||
<If>[data.character.attributes.charisma] >= 15</If>
|
||||
<Do>[local.sum] + 1</Do>
|
||||
<Output>[local.sum]</Output>
|
||||
</Action>
|
||||
<Action>
|
||||
<If>[data.character.attributes.dexterity] >= 15</If>
|
||||
<Do>[local.sum] + 1</Do>
|
||||
<Output>[local.sum]</Output>
|
||||
</Action>
|
||||
<Action>
|
||||
<If>[data.character.attributes.agility] >= 15</If>
|
||||
<Do>[local.sum] + 1</Do>
|
||||
<Output>[local.sum]</Output>
|
||||
</Action>
|
||||
<Action>
|
||||
<If>[data.character.attributes.physique] >= 15</If>
|
||||
<Do>[local.sum] + 1</Do>
|
||||
<Output>[local.sum]</Output>
|
||||
</Action>
|
||||
<Action>
|
||||
<If>[data.character.attributes.strength] >= 15</If>
|
||||
<Do>[local.sum] + 1</Do>
|
||||
<Output>[local.sum]</Output>
|
||||
</Action>
|
||||
</Actions>
|
||||
<Return>[local.sum]</Return>
|
||||
</Function>
|
||||
<Function Name="charlibcreate_checkpreprint">
|
||||
<Actions>
|
||||
<Action>
|
||||
@ -17,6 +66,11 @@
|
||||
<Do>false</Do>
|
||||
<Output>[local.check]</Output>
|
||||
</Action>
|
||||
<Action>
|
||||
<If>charlibcreate_fifteenattributessum() > 1</If>
|
||||
<Do>false</Do>
|
||||
<Output>[local.check]</Output>
|
||||
</Action>
|
||||
</Actions>
|
||||
<Return>[local.check]</Return>
|
||||
</Function>
|
||||
|
||||
@ -5308,6 +5308,9 @@
|
||||
<Label>
|
||||
<Text>"- Die Summe der Grundattribute darf 100 nicht überschreiten"</Text>
|
||||
</Label>
|
||||
<Label>
|
||||
<Text>"- Maximal ein Grundattribut darf 15 oder höher sein"</Text>
|
||||
</Label>
|
||||
</Content>
|
||||
</VerticalContainer>
|
||||
<PdfGenerator Visible="[data.character.print.preprintcheck]">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user