SKILL.TBL

From Amicitia Wiki
Persona 4 Golden/data.cpk/battle/SKILL.TBL
Location Persona 4 Golden/data.cpk/battle/SKILL.TBL
Size 22 KB
Format TBL

SKILL.TBL is a file in Persona 3 and Persona 4 that defines the behaviour of most skills. It uses little-endian formatting.

The file contains two tables: the first containing the skill's element, and the second containing the behaviour of non-passive skills. Each of these tables are padded with a variable amount of 00 bytes afterwards to ensure each table has a 16-byte alignment.

SKILL.TBL.0 Rows[edit]

Each row is 2 bytes.

Offset Size Value
0x00 uint8 Element ID
0x01 uint8 Unknown

SKILL.TBL.1 Rows[edit]

Each row is 44 bytes.

All chances are given by a byte, and are divided by 0x64 to get the percent.

Offset Size Value
0x00 uint8 Unknown
0x01 uint8 Unknown
0x02 uint8 Unknown, always 0
0x03 uint8 Unknown, always 0
0x04 uint8 Use area bit flags (01 in field, 02 in battle)
0x05 uint8 Power calc type? (01 Physical, 02 Magic or default)
0x06 uint8 Unknown
0x07 uint8 Unknown
0x08 uint8 Skill use cost
0x09 uint8 Unknown, always 0
0x0A uint8 Cost is in HP (00 false, 01 true)
0x0B uint8 Unknown, always 0
0x0C uint8 Target type (00 single, 01 group, 02 all)
0x0D uint8 Team bit flag (01 ally, 02 enemy or default, never 00)
0x0E uint8 Unknown
0x0F uint8 Unknown
0x10 uint8 Unknown
0x11 uint8 Unknown
0x12 uint8 Hit chance
0x13 uint8 Min hit count
0x14 uint8 Max hit count
0x15 uint8 Effect ID
0x16 uint16 Power
0x18 uint8 SP bit flags?
0x19 uint8 Unknown, always 0
0x1A uint8 SP amount or percent
0x1B uint8 Unknown, always 0
0x1C uint8 Uses ailment (00 false, 01 causes, 02 cures, 03 ???)
0x1D uint8 Ailment chance
0x1E uint8 Unknown, always 0
0x1F uint8 Unknown, always 0
0x20 uint8 Ailment bit flags
0x21 uint8 Unknown, always 0
0x22 uint8 Position status flags (down, dead)
0x23 uint8 Unknown, always 0
0x24 uint16 Buff / debuff flags
0x26 uint16 Resist change flags
0x28 uint8 Special effect ID
0x29 uint8 Dizzy chance against downed opponents?
0x2A uint8 Crit chance?
0x2B uint8 Unknown, always 0

For "always 0" fields, it likely means the preceding uint8 is a uint16 that never reaches values greater than 255, although testing is needed to confirm this.

Persona 4 Golden IDs and Bit Flags[edit]

Element IDs[edit]

ID ID (Hex) Element Notes
0 00 Physical
1 01 Fire
2 02 Ice
3 03 Elec
4 04 Wind
5 05 Almighty
6 06 Light
7 07 Dark
8 08 Panic
9 09 Poison
10 0A Fear
11 0B Rage
12 0C Unknown Used by Skill19C, Skill19D, Skill19E
13 0D Exhaustion
14 0E Enervation
15 0F Silence
16 10 Healing
17 11 Support
18 12 Analysis / Special Used by Rise's skills, Summon, and Shadow Mitsuo commands
255 FF Passive / Blank

Effect IDs[edit]

ID ID (Hex) Effect Examples
1 0x01 Damage Agi
2 0x02 Healing Dia
3 0x03 Reduce HP to 1 Judgement, Galgalim Eyes
4 0x04 Exact damage Fire Bell, Gale Dotaku, Margaret's Megidolaon
5 0x05 Exact healing Medical kit
8 0x08 Chance of reducing HP to 1/2 or 1/4 Eternal Black, God's Judgment
11 0x0B Heal all HP Diarahan, Recarmdra
13 0x0D Life drain Life Drain, Life Leach
16 0x10 ? Junes Bomber, Twin Dragons
17 0x11 All-out boost All-Out Boost
19 0x13 ? Blank 0x0FE

Ailment Bit Flags[edit]

Binary Hex Ailment
00000001 0x01 Dizzy
00000010 0x02 Rage
00000100 0x04 Fear
00001000 0x08 Silence
00010000 0x10 Panic
00100000 0x20 Poison
01000000 0x40 Exhaustion
10000000 0x80 Enervation

Position Status Bit Flags[edit]

Binary Hex Status
00001000 0008 KO/Death
00010000 0010 Down

Buff/Debuff Bit Flags[edit]

Tarukaja, tarunda, sukukaja, sukunda, etc. all have two flags set, shown in this table as the 1 and 2 pairs.

Each flag might be only for a specific value (i.e. Attack up 1 = Physical attack up, Attack up 2 = Magic attack up), but this needs confirmation.

Binary Hex Buff/Debuff
0000000000000001 0001 Attack up 1
0000000000000010 0002 Attack down 1
0000000000000100 0004 Attack up 2
0000000000001000 0008 Attack down 2
0000000000010000 0010 Agility up 1
0000000000100000 0020 Agility down 1
0000000001000000 0040 Defense up
0000000010000000 0080 Defense down
0000000100000000 0100 Agility up 2
0000001000000000 0200 Agility down 2
0000010000000000 0400 Power charge
0000100000000000 0800 Mind charge
0001000000000000 1000 Dekaja
0010000000000000 2000 Dekunda
0100000000000000 4000 Rebellion
1000000000000000 8000 Revolution

Resist Changing Bit Flags[edit]

Binary Hex Resistance
0000000000000001 0001 Repel physical
0000000000000010 0002 Repel magic
0000000000000100 0004 Fire break
0000000000001000 0008 Ice break
0000000000010000 0010 Wind break
0000000000100000 0020 Elec break
0000000001000000 0040 Ailment chance up
0000000010000000 0080 Attacks won't connect
0000000100000000 0100 Tetra break
0000001000000000 0200 Makara break
0000010000000000 0400 Tetraja
0000100000000000 0800 Fire wall
0001000000000000 1000 Ice wall
0010000000000000 2000 Elec wall
0100000000000000 4000 Wind wall
1000000000000000 8000 Shield of Justice

Special Effect IDs[edit]

These are usually unique to just one boss skill.

ID ID (Hex) Effect Skill Examples
1 0x01 Afflicted by Fear? Ghastly Wail
2 0x02 Escape from battle Trafuri
3 0x03 Bonus damage to downed Cruel Attack
5 0x05 ? Myriad Truths
6 0x06 ? Waste Money
7 0x07 Male only? Forbidden Murmur
8 0x08 Female only? Roar of Wrath
9 0x09 ? Nihil Hand
10 0x0A ? Nihility Guidance
11 0x0B ? Quad Converge
12 0x0C ? Judgement
13 0x0D ? Thousand Curses
14 0x0E ? Summon to Yomi
15 0x0F ? Hot Lightning
17 0x11 ? Cry of Denial
18 0x12 ? The Man's Way
Cookies help us deliver our services. By using our services, you agree to our use of cookies.