liblcf
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
RPG::Skill Class Reference

#include <rpg_skill.h>

+ Collaboration diagram for RPG::Skill:

Public Types

enum  Type {
  Type_normal = 0,
  Type_teleport = 1,
  Type_escape = 2,
  Type_switch = 3,
  Type_subskill = 4
}
 
enum  SpType {
  SpType_cost = 0,
  SpType_percent = 1
}
 
enum  Scope {
  Scope_enemy = 0,
  Scope_enemies = 1,
  Scope_self = 2,
  Scope_ally = 3,
  Scope_party = 4
}
 

Public Member Functions

 Skill ()
 

Public Attributes

int ID
 
std::string name
 
std::string description
 
std::string using_message1
 
std::string using_message2
 
int failure_message
 
int type
 
int sp_type
 
int sp_percent
 
int sp_cost
 
int scope
 
int switch_id
 
int animation_id
 
Sound sound_effect
 
bool occasion_field
 
bool occasion_battle
 
bool state_effect
 
int pdef_f
 
int mdef_f
 
int variance
 
int power
 
int hit
 
bool affect_hp
 
bool affect_sp
 
bool affect_attack
 
bool affect_defense
 
bool affect_spirit
 
bool affect_agility
 
bool absorb_damage
 
bool ignore_defense
 
std::vector< bool > state_effects
 
std::vector< bool > attribute_effects
 
bool affect_attr_defence
 
int battler_animation
 
std::vector< BattlerAnimationDatabattler_animation_data
 

Detailed Description

Definition at line 22 of file rpg_skill.h.

Member Enumeration Documentation

Enumerator
Scope_enemy 
Scope_enemies 
Scope_self 
Scope_ally 
Scope_party 

Definition at line 35 of file rpg_skill.h.

Enumerator
SpType_cost 
SpType_percent 

Definition at line 31 of file rpg_skill.h.

Enumerator
Type_normal 
Type_teleport 
Type_escape 
Type_switch 
Type_subskill 

Definition at line 24 of file rpg_skill.h.

Constructor & Destructor Documentation

Member Data Documentation

bool RPG::Skill::absorb_damage

Definition at line 73 of file rpg_skill.h.

Referenced by Skill().

bool RPG::Skill::affect_agility

Definition at line 72 of file rpg_skill.h.

Referenced by Skill().

bool RPG::Skill::affect_attack

Definition at line 69 of file rpg_skill.h.

Referenced by Skill().

bool RPG::Skill::affect_attr_defence

Definition at line 77 of file rpg_skill.h.

Referenced by Skill().

bool RPG::Skill::affect_defense

Definition at line 70 of file rpg_skill.h.

Referenced by Skill().

bool RPG::Skill::affect_hp

Definition at line 67 of file rpg_skill.h.

Referenced by Skill().

bool RPG::Skill::affect_sp

Definition at line 68 of file rpg_skill.h.

Referenced by Skill().

bool RPG::Skill::affect_spirit

Definition at line 71 of file rpg_skill.h.

Referenced by Skill().

int RPG::Skill::animation_id

Definition at line 57 of file rpg_skill.h.

Referenced by Skill().

std::vector<bool> RPG::Skill::attribute_effects

Definition at line 76 of file rpg_skill.h.

int RPG::Skill::battler_animation

Definition at line 78 of file rpg_skill.h.

Referenced by Skill().

std::vector<BattlerAnimationData> RPG::Skill::battler_animation_data

Definition at line 79 of file rpg_skill.h.

std::string RPG::Skill::description

Definition at line 47 of file rpg_skill.h.

Referenced by Skill().

int RPG::Skill::failure_message

Definition at line 50 of file rpg_skill.h.

Referenced by Skill().

int RPG::Skill::hit

Definition at line 66 of file rpg_skill.h.

Referenced by Skill().

int RPG::Skill::ID

Definition at line 45 of file rpg_skill.h.

Referenced by Skill().

bool RPG::Skill::ignore_defense

Definition at line 74 of file rpg_skill.h.

Referenced by Skill().

int RPG::Skill::mdef_f

Definition at line 63 of file rpg_skill.h.

Referenced by Skill().

std::string RPG::Skill::name

Definition at line 46 of file rpg_skill.h.

Referenced by Skill().

bool RPG::Skill::occasion_battle

Definition at line 60 of file rpg_skill.h.

Referenced by Skill().

bool RPG::Skill::occasion_field

Definition at line 59 of file rpg_skill.h.

Referenced by Skill().

int RPG::Skill::pdef_f

Definition at line 62 of file rpg_skill.h.

Referenced by Skill().

int RPG::Skill::power

Definition at line 65 of file rpg_skill.h.

Referenced by Skill().

int RPG::Skill::scope

Definition at line 55 of file rpg_skill.h.

Referenced by Skill().

Sound RPG::Skill::sound_effect

Definition at line 58 of file rpg_skill.h.

int RPG::Skill::sp_cost

Definition at line 54 of file rpg_skill.h.

Referenced by Skill().

int RPG::Skill::sp_percent

Definition at line 53 of file rpg_skill.h.

Referenced by Skill().

int RPG::Skill::sp_type

Definition at line 52 of file rpg_skill.h.

Referenced by Skill().

bool RPG::Skill::state_effect

Definition at line 61 of file rpg_skill.h.

Referenced by Skill().

std::vector<bool> RPG::Skill::state_effects

Definition at line 75 of file rpg_skill.h.

int RPG::Skill::switch_id

Definition at line 56 of file rpg_skill.h.

Referenced by Skill().

int RPG::Skill::type

Definition at line 51 of file rpg_skill.h.

Referenced by Skill().

std::string RPG::Skill::using_message1

Definition at line 48 of file rpg_skill.h.

Referenced by Skill().

std::string RPG::Skill::using_message2

Definition at line 49 of file rpg_skill.h.

Referenced by Skill().

int RPG::Skill::variance

Definition at line 64 of file rpg_skill.h.

Referenced by Skill().


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