TrinityCore
Loading...
Searching...
No Matches
CreatureBaseStats Struct Reference

#include <CreatureData.h>

Public Member Functions

uint32 GenerateHealth (CreatureTemplate const *info) const
 
uint32 GenerateMana (CreatureTemplate const *info) const
 
uint32 GenerateArmor (CreatureTemplate const *info) const
 
float GenerateBaseDamage (CreatureTemplate const *info) const
 

Static Public Member Functions

static CreatureBaseStats const * GetBaseStats (uint8 level, uint8 unitClass)
 

Public Attributes

uint32 BaseHealth [MAX_EXPANSIONS]
 
uint32 BaseMana
 
uint32 BaseArmor
 
uint32 AttackPower
 
uint32 RangedAttackPower
 
float BaseDamage [MAX_EXPANSIONS]
 

Detailed Description

Definition at line 393 of file CreatureData.h.

Member Function Documentation

◆ GenerateArmor()

uint32 CreatureBaseStats::GenerateArmor ( CreatureTemplate const *  info) const
inline

Definition at line 418 of file CreatureData.h.

+ Here is the caller graph for this function:

◆ GenerateBaseDamage()

float CreatureBaseStats::GenerateBaseDamage ( CreatureTemplate const *  info) const
inline

Definition at line 423 of file CreatureData.h.

+ Here is the caller graph for this function:

◆ GenerateHealth()

uint32 CreatureBaseStats::GenerateHealth ( CreatureTemplate const *  info) const
inline

Definition at line 404 of file CreatureData.h.

+ Here is the caller graph for this function:

◆ GenerateMana()

uint32 CreatureBaseStats::GenerateMana ( CreatureTemplate const *  info) const
inline

Definition at line 409 of file CreatureData.h.

+ Here is the caller graph for this function:

◆ GetBaseStats()

CreatureBaseStats const * CreatureBaseStats::GetBaseStats ( uint8  level,
uint8  unitClass 
)
static

Definition at line 242 of file Creature.cpp.

Member Data Documentation

◆ AttackPower

uint32 CreatureBaseStats::AttackPower

Definition at line 398 of file CreatureData.h.

◆ BaseArmor

uint32 CreatureBaseStats::BaseArmor

Definition at line 397 of file CreatureData.h.

◆ BaseDamage

float CreatureBaseStats::BaseDamage[MAX_EXPANSIONS]

Definition at line 400 of file CreatureData.h.

◆ BaseHealth

uint32 CreatureBaseStats::BaseHealth[MAX_EXPANSIONS]

Definition at line 395 of file CreatureData.h.

◆ BaseMana

uint32 CreatureBaseStats::BaseMana

Definition at line 396 of file CreatureData.h.

◆ RangedAttackPower

uint32 CreatureBaseStats::RangedAttackPower

Definition at line 399 of file CreatureData.h.


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