-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathw3-w3v.ksy
222 lines (222 loc) · 4.37 KB
/
w3-w3v.ksy
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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
meta:
id: w3_w3v
file-extension: w3v
endian: le
imports:
- w3str
- w3id
seq:
- id: version
type: u4
- id: num_game_cache
type: u4
- id: game_cache
type: game_cache
repeat: expr
repeat-expr: num_game_cache
types:
game_cache:
seq:
- id: name
type: w3str
- id: reserved
type: u4
- id: num_category
type: u4
- id: category
type: category
repeat: expr
repeat-expr: num_category
category:
seq:
- id: name
type: w3str
- id: reserved_var_types
type: u1
repeat: expr
repeat-expr: 5
- id: filler
type: u1
repeat: expr
repeat-expr: 15
- id: num_int_entry
type: u4
- id: int_entry
type: int_entry
repeat: expr
repeat-expr: num_int_entry
- id: num_real_entry
type: u4
- id: real_entry
type: real_entry
repeat: expr
repeat-expr: num_real_entry
- id: num_boolean_entry
type: u4
- id: boolean_entry
type: boolean_entry
repeat: expr
repeat-expr: num_boolean_entry
- id: num_unit_entry
type: u4
- id: unit_entry
type: unit_entry
repeat: expr
repeat-expr: num_unit_entry
- id: num_string_entry
type: u4
- id: string_entry
type: string_entry
repeat: expr
repeat-expr: num_string_entry
int_entry:
seq:
- id: name
type: w3str
- id: value
type: u4
real_entry:
seq:
- id: name
type: w3str
- id: value
type: f4
boolean_entry:
seq:
- id: name
type: w3str
- id: value
type: u4
string_entry:
seq:
- id: name
type: w3str
- id: value
type: w3str
unit_entry:
seq:
- id: name
type: w3str
- id: unit_id
type: w3id
- id: num_inventory_slot
type: u4
- id: inventory_slot
type: inventory_slot
repeat: expr
repeat-expr: num_inventory_slot
- id: experience
type: u4
- id: level_minus_one
type: u4
- id: unused_skill_points
type: u4
- id: hero_proper_name_index
type: u2
- id: unknown_hero_proper_name_index2
type: u2
- id: str
type: u4
- id: str_plus
type: f4
- id: agi
type: u4
- id: move_speed_increment_from_agi
type: f4
- id: attack_speed_increment_from_agi
type: f4
- id: agi_plus
type: f4
- id: intelligence
type: u4
- id: int_plus
type: f4
- id: num_hero_skill
type: u4
- id: hero_skill
type: hero_skill
repeat: expr
repeat-expr: num_hero_skill
- id: unknown4
type: u4
if: false
repeat: expr
repeat-expr: 5
- id: life_increment
type: f4
- id: mana_increment
type: f4
- id: sight_range_day
type: f4
- id: unknown7
type: u1
repeat: expr
repeat-expr: 4
- id: atk_increment1
type: u4
- id: atk_increment2
type: u4
- id: armor_increment
type: f4
- id: unknown8
type: u1
repeat: expr
repeat-expr: 2
inventory_slot:
seq:
- id: item_id
type: w3id
- id: charges
type: u4
- id: flags
type: item_flags
size: 1
- id: flags2
type: item_flags2
size: 1
- id: flags3
type: u1
- id: flags4
type: u1
item_flags:
seq:
- id: drop_upon_death
type: b1
- id: perishable
type: b1
- id: flag5
type: b1
- id: flag4
type: b1
- id: invulnerable
type: b1
- id: flag2
type: b1
- id: flag1
type: b1
- id: flag0
type: b1
item_flags2:
seq:
- id: flag7
type: b1
- id: flag6
type: b1
- id: pawnable
type: b1
- id: flag4
type: b1
- id: use_automatically_when_acquired
type: b1
- id: droppable
type: b1
- id: actively_used
type: b1
- id: flag0
type: b1
hero_skill:
seq:
- id: ability_id
type: w3id
- id: current_level
type: u4