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

#include <monstorunit.hpp>

Public Attributes

char model_name [4][16]
 
char script_name [16]
 
s32 max_hp
 
s16 attachment_kind
 
s16 attachment_weight [5]
 
float collision_radius
 
s16 defense
 
s16 hardness
 
s16 shot_effect [2]
 
s16 exp
 
u8 unk_06E [2]
 
s32 money
 
s32 money_chance
 
s16 kind
 
u8 unk_07A [2]
 
s16 name_no
 
u8 unk_07E [2]
 
s16 steal_item
 
s16 drops_items
 
s16 item_damage_rate
 
s16 status_chance
 
s16 rare_item
 
s16 effect_parameter [6]
 
u8 unk_096 [2]
 
float knockback_scale
 

Detailed Description

Model, script and combat parameters of one kind of monster.

Definition at line 182 of file monstorunit.hpp.

Member Data Documentation

◆ model_name

char MONSTOR_MODEL::model_name[4][16]

Model file of the monster and of up to three attachments.

Definition at line 183 of file monstorunit.hpp.

◆ script_name

char MONSTOR_MODEL::script_name[16]

Script file that drives the monster.

Definition at line 184 of file monstorunit.hpp.

◆ max_hp

s32 MONSTOR_MODEL::max_hp

Life the monster has at full health.

Definition at line 185 of file monstorunit.hpp.

◆ attachment_kind

s16 MONSTOR_MODEL::attachment_kind

Family of the monster.

See also
MonsterFamily.

Definition at line 186 of file monstorunit.hpp.

◆ attachment_weight

s16 MONSTOR_MODEL::attachment_weight[5]

Weight of each attachment kind in the drop choice and in elemental damage.

Definition at line 187 of file monstorunit.hpp.

◆ collision_radius

float MONSTOR_MODEL::collision_radius

Radius the monster keeps from other monsters.

Definition at line 188 of file monstorunit.hpp.

◆ defense

s16 MONSTOR_MODEL::defense

Amount taken off the damage of each hit.

Definition at line 189 of file monstorunit.hpp.

◆ hardness

s16 MONSTOR_MODEL::hardness

Wear the monster puts on the weapon that hits it.

Definition at line 190 of file monstorunit.hpp.

◆ shot_effect

s16 MONSTOR_MODEL::shot_effect[2]

Entry effects the monster fires, or -1.

Definition at line 191 of file monstorunit.hpp.

◆ exp

s16 MONSTOR_MODEL::exp

Experience the weapon that defeats the monster gains.

Definition at line 192 of file monstorunit.hpp.

◆ unk_06E

u8 MONSTOR_MODEL::unk_06E[2]

Definition at line 193 of file monstorunit.hpp.

◆ money

s32 MONSTOR_MODEL::money

Least amount of money the monster drops.

Definition at line 194 of file monstorunit.hpp.

◆ money_chance

s32 MONSTOR_MODEL::money_chance

Percentage chance that the monster drops money.

Definition at line 195 of file monstorunit.hpp.

◆ kind

s16 MONSTOR_MODEL::kind

Kind of monster model.

See also
MonsterKind.

Definition at line 196 of file monstorunit.hpp.

◆ unk_07A

u8 MONSTOR_MODEL::unk_07A[2]

Definition at line 197 of file monstorunit.hpp.

◆ name_no

s16 MONSTOR_MODEL::name_no

Identifies the name the lock-on cursor shows.

Definition at line 198 of file monstorunit.hpp.

◆ unk_07E

u8 MONSTOR_MODEL::unk_07E[2]

Definition at line 199 of file monstorunit.hpp.

◆ steal_item

s16 MONSTOR_MODEL::steal_item

Item the player can steal from the monster, or -1.

Definition at line 200 of file monstorunit.hpp.

◆ drops_items

s16 MONSTOR_MODEL::drops_items

Nonzero when the monster can drop a key, an attachment or money.

Definition at line 201 of file monstorunit.hpp.

◆ item_damage_rate

s16 MONSTOR_MODEL::item_damage_rate

Percentage of damage taken from hits no character owns.

Definition at line 202 of file monstorunit.hpp.

◆ status_chance

s16 MONSTOR_MODEL::status_chance

Percentage chance that a status hit takes hold.

Definition at line 203 of file monstorunit.hpp.

◆ rare_item

s16 MONSTOR_MODEL::rare_item

Item the monster sometimes drops in place of a key, or -1.

Definition at line 204 of file monstorunit.hpp.

◆ effect_parameter

s16 MONSTOR_MODEL::effect_parameter[6]

Percentage of damage taken from each attacker.

Definition at line 205 of file monstorunit.hpp.

◆ unk_096

u8 MONSTOR_MODEL::unk_096[2]

Definition at line 206 of file monstorunit.hpp.

◆ knockback_scale

float MONSTOR_MODEL::knockback_scale

Scale applied to the knockback of each hit.

Definition at line 207 of file monstorunit.hpp.