Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
WeaponData Struct Reference

ItemInfo.data's record for a weapon (types 2-14, WEAPON_DATA) More...

#include <engine/game_state.h>

Data Fields

s16 charisma
 what it adds to STAT_CHARISMA (computeStats); armour and accessories too
 
u8 kind
 EQUIP_KIND_*.
 
u8 group
 
u8 partners
 1 << partner for each partner who can equip it (STSTATUS_canEquip)
 
u16 amounts [2]
 what it adds to stats[]
 
u16 atk
 
u8 stats [2]
 
u8 accuracy
 added to the battle's (FIGHTSTG_computeStats)
 
u8 hitEffect
 1 none, 2 poison, 3 paralysis, 4 confusion, 6 knock-out, 8 drain, 11 criticals; nothing reads it: FIGHTSTG_computeStats tests the items' ids
 
u8 statusChance
 of the status its hits inflict
 
u8 statusPower
 the status's, or the critical bonus
 
u8 family
 its hits': FAMILY_FIRST and up, under it none
 

Detailed Description

ItemInfo.data's record for a weapon (types 2-14, WEAPON_DATA)

Definition at line 144 of file game_state.h.

Field Documentation

◆ charisma

s16 WeaponData::charisma

what it adds to STAT_CHARISMA (computeStats); armour and accessories too

Definition at line 145 of file game_state.h.

Referenced by computeStats(), and STITSHOP_computeStats().

◆ kind

◆ group

u8 WeaponData::group

Definition at line 147 of file game_state.h.

Referenced by STSTATUS_equip(), and STSTATUS_previewStats().

◆ partners

u8 WeaponData::partners

1 << partner for each partner who can equip it (STSTATUS_canEquip)

Definition at line 148 of file game_state.h.

Referenced by STITSHOP_canEquip(), and STSTATUS_canEquip().

◆ amounts

u16 WeaponData::amounts[2]

what it adds to stats[]

Definition at line 149 of file game_state.h.

Referenced by computeStats(), and STITSHOP_computeStats().

◆ atk

u16 WeaponData::atk

Definition at line 150 of file game_state.h.

Referenced by computeStats(), STITSHOP_compareEquip(), and STITSHOP_computeStats().

◆ stats

u8 WeaponData::stats[2]

Definition at line 151 of file game_state.h.

Referenced by computeStats(), and STITSHOP_computeStats().

◆ accuracy

u8 WeaponData::accuracy

added to the battle's (FIGHTSTG_computeStats)

Definition at line 152 of file game_state.h.

Referenced by FIGHTSTG_computeStats().

◆ hitEffect

u8 WeaponData::hitEffect

1 none, 2 poison, 3 paralysis, 4 confusion, 6 knock-out, 8 drain, 11 criticals; nothing reads it: FIGHTSTG_computeStats tests the items' ids

Definition at line 153 of file game_state.h.

◆ statusChance

u8 WeaponData::statusChance

of the status its hits inflict

Definition at line 156 of file game_state.h.

Referenced by FIGHTSTG_computeStats().

◆ statusPower

u8 WeaponData::statusPower

the status's, or the critical bonus

Definition at line 157 of file game_state.h.

Referenced by FIGHTSTG_computeStats().

◆ family

u8 WeaponData::family

its hits': FAMILY_FIRST and up, under it none

Definition at line 158 of file game_state.h.

Referenced by FIGHTSTG_computeStats().


The documentation for this struct was generated from the following file: