summaryrefslogtreecommitdiff
path: root/spec/spell.fspec
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2017-03-30 17:31:44 +0300
committerJari Vetoniemi <mailroxas@gmail.com>2017-04-13 14:49:46 +0300
commit76b8c9e03c97b16d9ff97f3b79c0ecbff0f5e7f2 (patch)
tree70f1d22a923d1c01b22b2fade3b6e96365990dda /spec/spell.fspec
Initial commit
Diffstat (limited to 'spec/spell.fspec')
-rw-r--r--spec/spell.fspec18
1 files changed, 18 insertions, 0 deletions
diff --git a/spec/spell.fspec b/spec/spell.fspec
new file mode 100644
index 0000000..f65b5ad
--- /dev/null
+++ b/spec/spell.fspec
@@ -0,0 +1,18 @@
+struct spell {
+ u16 index;
+ u16 type; // 1-6 for White/Black/Summon/Ninja/Bard/Blue
+ u16 element;
+ u16 targets;
+ u16 skill;
+ u16 mp_cost;
+ u8 casting_time; // in quarter of seconds
+ u8 recast_delay; // in quarter of seconds
+ u8 level[24]; // 1 byte per job, 0xxFF if not learnable, first slot is NONE job so always 0xFF
+ u16 id; // 0 for "unused" spells; often, but not always, equal to index
+ u8 unknown;
+ u8 jp_name[20] = sjis;
+ u8 en_name[20] = ascii;
+ u8 jp_description[128] = sjis;
+ u8 en_description[128] = ascii;
+ u8 padding[687] = pad;
+};