-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCLASS.bt
68 lines (56 loc) · 1.39 KB
/
CLASS.bt
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
//------------------------------------------------
//--- 010 Editor v11.0.1 Binary Template
//
// File: CLASS.bt
// Authors: Florian Eßl
// Version:
// Purpose: SRPG95 File format
// Category: Games
// File Mask: CLASS.DAT
// ID Bytes:
// History: https://github.com/florianessl/srpg95-fileformat
//------------------------------------------------
enum <int> MovementType {
WALKING = 0,
FLYING = 1,
SPECIAL = 2
};
struct CLASS {
char name[20];
char zero_padding_0[12];
int mvmnt_speed;
MovementType mvmnt_type;
int mvmnt_rules[70]; //Walk levels for geology data 0-69,
//these apply if mvmnt_type eq Special
int img_no;
//Animations
int anim_weapon_type_A;
int anim_weapon_type_B;
int anim_weapon_type_C;
int anim_no_weapon;
int anim_use_magic_on_enemy;
int anim_use_magic_on_ally;
char unk1_0[72];
//Class Base Stats
int stat_power;
int stat_intel;
int stat_skill;
int stat_stamina;
//Magical Abilities learned
int magic_lvls[20];
int magic_ids[20];
//Weaknesses
byte weak_A;
byte weak_B;
byte weak_C;
byte weak_D;
byte weak_E;
byte weak_F;
char unk2_0[2];
//Immunities
byte resists_poison;
byte resists_sleep;
byte resists_atkdwn;
byte resists_defdwn;
char unk3_0[32];
} class[150];