DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
ATTACH_LIST Struct Reference

#include <itemdata.hpp>

Public Attributes

s16 item_no
 
s16 sphere_weapon_no
 
s16 sphere_flags
 
s8 sphere_level
 
s8 unk_07
 
s16 status [4]
 
s8 elem [5]
 
s8 vs_monster [10]
 
u8 unk_1F
 

Detailed Description

One attachment as the player holds it.

The same shape as the ATTACH_DATA it comes from: AttachDataListToHaveCopy fills one of these by copying an entry of AttachList over it whole, all 0x20 bytes, rather than field by field. PlusAttachmentVolume agrees, reaching in at 0x08, 0x10 and 0x15 with the widths attack, fire and dino have here. It stays its own type because retail mangles it as one.

Definition at line 590 of file itemdata.hpp.

Member Data Documentation

◆ item_no

s16 ATTACH_LIST::item_no

Identifies the attachment.

Definition at line 591 of file itemdata.hpp.

◆ sphere_weapon_no

s16 ATTACH_LIST::sphere_weapon_no

Weapon a synthesis sphere was made from.

Definition at line 592 of file itemdata.hpp.

◆ sphere_flags

s16 ATTACH_LIST::sphere_flags

Special flags of the weapon a synthesis sphere was made from.

Definition at line 593 of file itemdata.hpp.

◆ sphere_level

s8 ATTACH_LIST::sphere_level

Level of the weapon a synthesis sphere was made from.

Definition at line 594 of file itemdata.hpp.

◆ unk_07

s8 ATTACH_LIST::unk_07

Definition at line 595 of file itemdata.hpp.

◆ status

s16 ATTACH_LIST::status[4]

Attack, endurance, speed and magic: AttachStat minus one.

Definition at line 596 of file itemdata.hpp.

◆ elem

s8 ATTACH_LIST::elem[5]

AttachStat order: fire, ice, thunder, wind, holy.

Definition at line 597 of file itemdata.hpp.

◆ vs_monster

s8 ATTACH_LIST::vs_monster[10]

Monster effectiveness, one byte per WEAPON_DATA entry.

Definition at line 598 of file itemdata.hpp.

◆ unk_1F

u8 ATTACH_LIST::unk_1F

Definition at line 599 of file itemdata.hpp.