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

#include <itemdata.hpp>

Public Attributes

s16 durability
 
s16 attack
 
s16 endurance
 
s16 speed
 
s16 magic
 
u8 owner
 
s8 hole [6]
 
u8 hole_num
 
s16 elem [5]
 
s16 vs_monster [10]
 
s16 exp_base
 
s16 exp_per_level
 
s16 unk_34
 
s16 unk_36
 
s16 flags
 
s16 unk_3A
 
u32 buildup_mask0
 
u32 buildup_mask1
 
s16 attack_max
 
s16 magic_max
 
s16 chain_pos
 
s16 unk_4A
 

Detailed Description

A weapon definition.

Definition at line 656 of file itemdata.hpp.

Member Data Documentation

◆ durability

s16 WEAPON_DATA::durability

Durability the weapon starts with.

Definition at line 657 of file itemdata.hpp.

◆ attack

s16 WEAPON_DATA::attack

Attack the weapon starts with.

Definition at line 658 of file itemdata.hpp.

◆ endurance

s16 WEAPON_DATA::endurance

Endurance the weapon starts with.

Definition at line 659 of file itemdata.hpp.

◆ speed

s16 WEAPON_DATA::speed

Speed the weapon starts with.

Definition at line 660 of file itemdata.hpp.

◆ magic

s16 WEAPON_DATA::magic

Magic the weapon starts with.

Definition at line 661 of file itemdata.hpp.

◆ owner

u8 WEAPON_DATA::owner

The character who owns this weapon.

See also
Character.

Definition at line 662 of file itemdata.hpp.

◆ hole

s8 WEAPON_DATA::hole[6]

Attachment sockets.

Definition at line 663 of file itemdata.hpp.

◆ hole_num

u8 WEAPON_DATA::hole_num

The number of attachment sockets.

Definition at line 664 of file itemdata.hpp.

◆ elem

s16 WEAPON_DATA::elem[5]

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

Definition at line 665 of file itemdata.hpp.

◆ vs_monster

s16 WEAPON_DATA::vs_monster[10]

Monster effectiveness stats.

Definition at line 666 of file itemdata.hpp.

◆ exp_base

s16 WEAPON_DATA::exp_base

Base exp value.

Definition at line 667 of file itemdata.hpp.

◆ exp_per_level

s16 WEAPON_DATA::exp_per_level

Exp granted per level-up.

Definition at line 668 of file itemdata.hpp.

◆ unk_34

s16 WEAPON_DATA::unk_34

Definition at line 669 of file itemdata.hpp.

◆ unk_36

s16 WEAPON_DATA::unk_36

Definition at line 670 of file itemdata.hpp.

◆ flags

s16 WEAPON_DATA::flags

Special weapon behaviour flags.

See also
WeaponFlag.

Definition at line 671 of file itemdata.hpp.

◆ unk_3A

s16 WEAPON_DATA::unk_3A

Definition at line 672 of file itemdata.hpp.

◆ buildup_mask0

u32 WEAPON_DATA::buildup_mask0

Chain positions 2 to 20 of the owner's weapons that this weapon builds up into, one bit each.

Definition at line 673 of file itemdata.hpp.

◆ buildup_mask1

u32 WEAPON_DATA::buildup_mask1

Chain positions above 20 that this weapon builds up into, one bit each counted from 20.

Definition at line 674 of file itemdata.hpp.

◆ attack_max

s16 WEAPON_DATA::attack_max

Max attack value.

Definition at line 675 of file itemdata.hpp.

◆ magic_max

s16 WEAPON_DATA::magic_max

Max magic value.

Definition at line 676 of file itemdata.hpp.

◆ chain_pos

s16 WEAPON_DATA::chain_pos

This weapon's position within its owner's chain.

Definition at line 677 of file itemdata.hpp.

◆ unk_4A

s16 WEAPON_DATA::unk_4A

Definition at line 678 of file itemdata.hpp.