TrinityCore
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Namespace List
Namespace Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Functions
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
}
Trinity::Honor::hk_honor_at_level_f
float hk_honor_at_level_f(uint8 level, float multiplier=1.0f)
Definition:
Formulas.h:31
G3D::uint32
uint32_t uint32
Definition:
g3dmath.h:168
G3D::ceil
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
}
sScriptMgr
#define sScriptMgr
Definition:
ScriptMgr.h:837
Here is the caller graph for this function:
Generated on Tue Apr 5 2016 20:40:58 for TrinityCore by
1.8.8