-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPFRPG_Gestalt_Component.str
201 lines (174 loc) · 3.85 KB
/
PFRPG_Gestalt_Component.str
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- This file contains the definitions of components associated with adjustments.
Author: Tim Shadow
Date: May 1, 2014
Copy Righted 2014 Tim Shadow
-->
<document signature="Hero Lab Structure">
<!-- ================================================== -->
<component
id="GestHelp"
name="Gestalt Helper"
autocompset="no"
hasshortname="no"
ispublic="no">
<!-- Class BAB Arrays -->
<field
id="cGoodBAB"
name="Good BAB Values"
type="derived"
style="array"
arrayrows="20">
</field>
<field
id="cMediumBAB"
name="Medium BAB Values"
type="derived"
style="array"
arrayrows="20">
</field>
<field
id="cPoorBAB"
name="Poor BAB Values"
type="derived"
style="array"
arrayrows="20">
</field>
<!-- Class Save Arrays -->
<field
id="cGoodSv"
name="Good Class Saves"
type="derived"
style="array"
arrayrows="20">
</field>
<field
id="cPoorSv"
name="Poor Class Saves"
type="derived"
style="array"
arrayrows="20">
</field>
<!-- PrC BAB Arrays -->
<field
id="pGoodBAB"
name="Good PrC BAB Values"
type="derived"
style="array"
arrayrows="10">
</field>
<field
id="pMediumBAB"
name="Medium PrC BAB Values"
type="derived"
style="array"
arrayrows="10">
</field>
<field
id="pPoorBAB"
name="Poor PrC BAB Values"
type="derived"
style="array"
arrayrows="10">
</field>
<!-- PrC Save Arrays -->
<field
id="pGoodSv"
name="Good PrC Saves"
type="derived"
style="array"
arrayrows="10">
</field>
<field
id="pPoorSv"
name="Poor PrC Saves"
type="derived"
style="array"
arrayrows="10">
</field>
<eval phase="First" priority="10"><![CDATA[
var iX as number
~ Good BAB
while (iX < 20)
iX += 1
field[cGoodBAB].arrayvalue[iX-1] = iX
loop
iX = 0
~ Medium BAB
while (iX < 20)
iX += 1
field[cMediumBAB].arrayvalue[iX-1] = round(iX * 0.75,0,-1)
loop
iX = 0
~ Poor BAB
while (iX < 20)
iX += 1
field[cPoorBAB].arrayvalue[iX-1] = round(iX * 0.5,0,-1)
loop
iX = 0
~ Good Saves
while (iX < 20)
iX += 1
field[cGoodSv].arrayvalue[iX-1] = round(iX/2,0,-1) +2
loop
iX = 0
~ Poor Saves
while (iX < 20)
iX += 1
field[cPoorSv].arrayvalue[iX-1] = round(iX/3,0,-1)
loop
~ ===========PrC===============
iX = 0
~ Good BAB
while (iX < 10)
iX += 1
field[pGoodBAB].arrayvalue[iX-1] = iX
loop
iX = 0
~ Medium BAB
while (iX < 10)
iX += 1
field[pMediumBAB].arrayvalue[iX-1] = round(iX * 0.75,0,-1)
loop
iX = 0
~ Poor BAB
while (iX < 10)
iX += 1
field[pPoorBAB].arrayvalue[iX-1] = round(iX * 0.5,0,-1)
loop
iX = 0
~ Good Saves
while (iX < 10)
iX += 1
field[pGoodSv].arrayvalue[iX-1] = round(iX/2,0,1)
loop
iX = 0
~ Poor Saves
while (iX < 10)
iX += 1
field[pPoorSv].arrayvalue[iX-1] = round(iX * .34,0,0)
loop
]]>
</eval>
</component>
<!-- ************************************************************************ -->
<!--
<field
id="b4Darkvis"
name="Beast 4 Max Darkvision range"
type="derived"
defvalue="90">
</field>
<tag
group="PolyAdjust"
tag="Animal"
name="Animal Type"
/>
-->
<compset
id="GestHelp"
forceunique="default">
<compref component="GestHelp"/>
<compref component="Value"/>
</compset>
</document>