OpenKO Database Model
Table- and column-level documentation generated from the jsonSchema
Loading...
Searching...
No Matches
ebenezer_model::MagicType2 Class Referenceexport

[MAGIC_TYPE2] Supports bow abilities More...

Public Types

enum class  EnumHitType { Normal = 0 , Seeking = 0 }
 Known valid values for HitType. More...
 
using BinderType = ebenezer_binder::MagicType2
 

Public Member Functions

const int32_t & MapKey () const
 Returns a value for use in map keys based on the table's primary key.
 

Static Public Member Functions

static const std::string & TableName ()
 Returns the table name.
 
static const std::unordered_set< std::string > & ColumnNames ()
 Returns a set of column names for the table.
 
static const std::vector< std::string > & OrderedColumnNames ()
 Returns an ordered vector of column names for the table.
 
static const std::unordered_set< std::string > & BlobColumns ()
 Returns a set of blob column names for the table.
 
static const modelUtil::DbType DbType ()
 Returns the associated database type for the table.
 
static const std::vector< std::string > & PrimaryKey ()
 Returns the columns associated with the table's Primary Key.
 

Public Attributes

int32_t ID = {}
 Column [iNum]: Magic identification number.
 
uint8_t HitType = {}
 Column [HitType]: Projectile type.
 
int16_t HitRateMod = {}
 Column [HitRate]: Hit chance modifier - 100 is normal.
 
int16_t DamageMod = {}
 Column [AddDamage]: Hit damage modifier - 100 is normal.
 
int16_t RangeMod = {}
 Column [AddRange]: Range modifier - 100 is normal.
 
uint8_t NeedArrow = {}
 Column [NeedArrow]: Number of arrows needed for ability.
 
int16_t AddDamagePlus = {}
 Column [AddDamagePlus]: Additional flat damage caused by ability.
 

Detailed Description

[MAGIC_TYPE2] Supports bow abilities

GAME Database - Ebenezer Library
MAGIC_TYPE2 Supports bow abilities

Member Enumeration Documentation

◆ EnumHitType

Known valid values for HitType.

Enumerator
Normal 

Fire and forget targeting.

Seeking 

Projectile follows target and always hits (unless blocked by collision)

Member Data Documentation

◆ HitType

uint8_t ebenezer_model::MagicType2::HitType = {}

Column [HitType]: Projectile type.

See also
EnumHitType

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