TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Trinity::Honor Namespace Reference

Functions

float hk_honor_at_level_f (uint8 level, float multiplier=1.0f)
 
uint32 hk_honor_at_level (uint8 level, float multiplier=1.0f)
 

Function Documentation

uint32 Trinity::Honor::hk_honor_at_level ( uint8  level,
float  multiplier = 1.0f 
)
inline
39  {
40  return uint32(ceil(hk_honor_at_level_f(level, multiplier)));
41  }
float hk_honor_at_level_f(uint8 level, float multiplier=1.0f)
Definition: Formulas.h:31
uint32_t uint32
Definition: g3dmath.h:168
static Vector3int16 ceil(const Vector3 &v)
Definition: Vector3int16.cpp:55

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

float Trinity::Honor::hk_honor_at_level_f ( uint8  level,
float  multiplier = 1.0f 
)
inline
32  {
33  float honor = multiplier * level * 1.55f;
34  sScriptMgr->OnHonorCalculation(honor, level, multiplier);
35  return honor;
36  }
#define sScriptMgr
Definition: ScriptMgr.h:837

+ Here is the caller graph for this function: