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

[MAGIC_TYPE3] Supports Area of Effect and Damage over Time effects More...

Public Types

enum class  EnumDirectType {
  Unknown0 = 0 , FlatHp = 1 , FlatMana = 2 , FlatDurability = 4 ,
  Unknown5 = 5 , AbsorbHp = 8 , PercentHp = 9 , Unknown11 = 11 ,
  Unknown12 = 12 , Unknown255 = 255
}
 Known valid values for DirectType. More...
 
using BinderType = aiserver_binder::MagicType3
 

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 Radius = {}
 Column [Radius]: Area of effect circle radius.
 
int16_t Angle = {}
 Column [Angle]: Angle seems unused/unimplemented TODO.
 
uint8_t DirectType = {}
 Column [DirectType]: Damage calculation type.
 
int16_t FirstDamage = {}
 Column [FirstDamage]: Damage applied on hit.
 
int16_t EndDamage = {}
 Column [EndDamage]: Damage taken at end of effect.
 
int16_t TimeDamage = {}
 Column [TimeDamage]: Total damage dealt over Duration.
 
uint8_t Duration = {}
 Column [Duration]: Duration of damage over time effects.
 
uint8_t Attribute = {}
 Column [Attribute]: Attribute TODO.
 

Detailed Description

[MAGIC_TYPE3] Supports Area of Effect and Damage over Time effects

GAME Database - AIServer Library
MAGIC_TYPE3 Supports Area of Effect and Damage over Time effects

Member Enumeration Documentation

◆ EnumDirectType

Known valid values for DirectType.

Enumerator
Unknown0 

TODO: Used by some 300000+ DoT abilities.

FlatHp 

Flat damage against health.

FlatMana 

Flat damage against mana.

FlatDurability 

Flat damage applied to durability.

Unknown5 

TODO: Used by some 400000+ abilities.

AbsorbHp 

Absorbs health from target.

PercentHp 

Deals damage relative to targets current health.

Unknown11 

TODO: Used by 220011.

Unknown12 

TODO: Used by 490402.

Unknown255 

TODO: Used by 501011.

Member Data Documentation

◆ DirectType

uint8_t aiserver_model::MagicType3::DirectType = {}

Column [DirectType]: Damage calculation type.

See also
EnumDirectType

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