helapordo 1.4.12
Loading...
Searching...
No Matches
Enemy Struct Reference

Represents the entity initialised from a enemyClass. More...

#include <game_core.h>

Collaboration diagram for Enemy:

Data Fields

int index
 Defines position inside containing foeParty.
 
enemyClass class
 Defines which kind of enemyClass the instance relates to.
 
int hp
 Current hp value.
 
int atk
 Current atk value.
 
int def
 Current def value.
 
int vel
 Current vel value.
 
int level
 Level value.
 
int luck
 Luck value.
 
int xp
 Xp value given on death.
 
int totalhp
 Full hp value.
 
int energy
 Current energy value.
 
int totalenergy
 Full energy value.
 
int stamina
 Current stamina value.
 
int totalstamina
 Full stamina value.
 
fighterStatus status
 Defines active fighterStatus.
 
int beast
 Flag defining the instance as "beast" if set.
 
Skillslotskills [ENEMY_SKILL_SLOTS+1]
 Array with all the Skillslot.
 
struct Turncountercounters [COUNTERSMAX+1]
 Array with all the Turncounter pointers.
 
int turnboost_atk
 Current temp boost value for atk.
 
int turnboost_def
 Current temp boost value for def.
 
int turnboost_vel
 Current temp boost value for vel.
 
int turnboost_enr
 Current temp boost value for enr.
 
int prize
 Amount of currency dropped on defeat.
 
char sprite [8][20]
 Char matrix to hold the encoded sprite.
 

Detailed Description

Represents the entity initialised from a enemyClass.

See also
enemyClass
fighterStatus
initEnemyStats()
Turncounter
counterIndexes

Field Documentation

◆ atk

int Enemy::atk

Current atk value.

◆ beast

int Enemy::beast

Flag defining the instance as "beast" if set.

◆ class

enemyClass Enemy::class

Defines which kind of enemyClass the instance relates to.

◆ counters

struct Turncounter* Enemy::counters[COUNTERSMAX+1]

Array with all the Turncounter pointers.

◆ def

int Enemy::def

Current def value.

◆ energy

int Enemy::energy

Current energy value.

◆ hp

int Enemy::hp

Current hp value.

◆ index

int Enemy::index

Defines position inside containing foeParty.

◆ level

int Enemy::level

Level value.

◆ luck

int Enemy::luck

Luck value.

◆ prize

int Enemy::prize

Amount of currency dropped on defeat.

◆ skills

Skillslot* Enemy::skills[ENEMY_SKILL_SLOTS+1]

Array with all the Skillslot.

◆ sprite

char Enemy::sprite[8][20]

Char matrix to hold the encoded sprite.

◆ stamina

int Enemy::stamina

Current stamina value.

◆ status

fighterStatus Enemy::status

Defines active fighterStatus.

◆ totalenergy

int Enemy::totalenergy

Full energy value.

◆ totalhp

int Enemy::totalhp

Full hp value.

◆ totalstamina

int Enemy::totalstamina

Full stamina value.

◆ turnboost_atk

int Enemy::turnboost_atk

Current temp boost value for atk.

◆ turnboost_def

int Enemy::turnboost_def

Current temp boost value for def.

◆ turnboost_enr

int Enemy::turnboost_enr

Current temp boost value for enr.

◆ turnboost_vel

int Enemy::turnboost_vel

Current temp boost value for vel.

◆ vel

int Enemy::vel

Current vel value.

◆ xp

int Enemy::xp

Xp value given on death.


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