liblcf
RPG::Enemy Class Reference

#include <rpg_enemy.h>

+ Collaboration diagram for RPG::Enemy:

Public Attributes

int ID = 0
 
std::string name
 
std::string battler_name
 
int32_t battler_hue = 0
 
int32_t max_hp = 10
 
int32_t max_sp = 10
 
int32_t attack = 10
 
int32_t defense = 10
 
int32_t spirit = 10
 
int32_t agility = 10
 
bool transparent = false
 
int32_t exp = 0
 
int32_t gold = 0
 
int32_t drop_id = 0
 
int32_t drop_prob = 100
 
bool critical_hit = false
 
int32_t critical_hit_chance = 30
 
bool miss = false
 
bool levitate = false
 
std::vector< uint8_t > state_ranks
 
std::vector< uint8_t > attribute_ranks
 
std::vector< EnemyActionactions
 

Detailed Description

Definition at line 25 of file rpg_enemy.h.

Member Data Documentation

◆ actions

static TypedField< RPG::Enemy, std::vector< RPG::EnemyAction > > static_actions & RPG::Enemy::actions

Definition at line 48 of file rpg_enemy.h.

Referenced by RPG::operator==().

◆ agility

static TypedField< RPG::Enemy, int32_t > static_agility & RPG::Enemy::agility = 10

Definition at line 36 of file rpg_enemy.h.

Referenced by RPG::operator==().

◆ attack

static TypedField< RPG::Enemy, int32_t > static_attack & RPG::Enemy::attack = 10

Definition at line 33 of file rpg_enemy.h.

Referenced by RPG::operator==().

◆ attribute_ranks

static TypedField< RPG::Enemy, std::vector< uint8_t > > static_attribute_ranks & RPG::Enemy::attribute_ranks

Definition at line 47 of file rpg_enemy.h.

Referenced by RPG::operator==().

◆ battler_hue

static TypedField< RPG::Enemy, int32_t > static_battler_hue & RPG::Enemy::battler_hue = 0

Definition at line 30 of file rpg_enemy.h.

Referenced by RPG::operator==().

◆ battler_name

static TypedField< RPG::Enemy, std::string > static_battler_name & RPG::Enemy::battler_name

Definition at line 29 of file rpg_enemy.h.

Referenced by RPG::operator==().

◆ critical_hit

static TypedField< RPG::Enemy, bool > static_critical_hit & RPG::Enemy::critical_hit = false

Definition at line 42 of file rpg_enemy.h.

Referenced by RPG::operator==().

◆ critical_hit_chance

static TypedField< RPG::Enemy, int32_t > static_critical_hit_chance & RPG::Enemy::critical_hit_chance = 30

Definition at line 43 of file rpg_enemy.h.

Referenced by RPG::operator==().

◆ defense

static TypedField< RPG::Enemy, int32_t > static_defense & RPG::Enemy::defense = 10

Definition at line 34 of file rpg_enemy.h.

Referenced by RPG::operator==().

◆ drop_id

static TypedField< RPG::Enemy, int32_t > static_drop_id & RPG::Enemy::drop_id = 0

Definition at line 40 of file rpg_enemy.h.

Referenced by RPG::operator==().

◆ drop_prob

static TypedField< RPG::Enemy, int32_t > static_drop_prob & RPG::Enemy::drop_prob = 100

Definition at line 41 of file rpg_enemy.h.

Referenced by RPG::operator==().

◆ exp

static TypedField< RPG::Enemy, int32_t > static_exp & RPG::Enemy::exp = 0

Definition at line 38 of file rpg_enemy.h.

Referenced by RPG::operator==().

◆ gold

static TypedField< RPG::Enemy, int32_t > static_gold & RPG::Enemy::gold = 0

Definition at line 39 of file rpg_enemy.h.

Referenced by RPG::operator==().

◆ ID

int RPG::Enemy::ID = 0

Definition at line 27 of file rpg_enemy.h.

◆ levitate

static TypedField< RPG::Enemy, bool > static_levitate & RPG::Enemy::levitate = false

Definition at line 45 of file rpg_enemy.h.

Referenced by RPG::operator==().

◆ max_hp

static TypedField< RPG::Enemy, int32_t > static_max_hp & RPG::Enemy::max_hp = 10

Definition at line 31 of file rpg_enemy.h.

Referenced by RPG::operator==().

◆ max_sp

static TypedField< RPG::Enemy, int32_t > static_max_sp & RPG::Enemy::max_sp = 10

Definition at line 32 of file rpg_enemy.h.

Referenced by RPG::operator==().

◆ miss

static TypedField< RPG::Enemy, bool > static_miss & RPG::Enemy::miss = false

Definition at line 44 of file rpg_enemy.h.

Referenced by RPG::operator==().

◆ name

static TypedField< RPG::Enemy, std::string > static_name & RPG::Enemy::name

Definition at line 28 of file rpg_enemy.h.

Referenced by RPG::operator==().

◆ spirit

static TypedField< RPG::Enemy, int32_t > static_spirit & RPG::Enemy::spirit = 10

Definition at line 35 of file rpg_enemy.h.

Referenced by RPG::operator==().

◆ state_ranks

static TypedField< RPG::Enemy, std::vector< uint8_t > > static_state_ranks & RPG::Enemy::state_ranks

Definition at line 46 of file rpg_enemy.h.

Referenced by RPG::operator==().

◆ transparent

static TypedField< RPG::Enemy, bool > static_transparent & RPG::Enemy::transparent = false

Definition at line 37 of file rpg_enemy.h.

Referenced by RPG::operator==().


The documentation for this class was generated from the following files: