TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Formulas.h File Reference
#include "World.h"
#include "SharedDefines.h"
#include "ScriptMgr.h"
#include "Player.h"
+ Include dependency graph for Formulas.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Trinity
 
 Trinity::Honor
 
 Trinity::XP
 
 Trinity::Currency
 

Functions

float Trinity::Honor::hk_honor_at_level_f (uint8 level, float multiplier=1.0f)
 
uint32 Trinity::Honor::hk_honor_at_level (uint8 level, float multiplier=1.0f)
 
uint8 Trinity::XP::GetGrayLevel (uint8 pl_level)
 
XPColorChar Trinity::XP::GetColorCode (uint8 pl_level, uint8 mob_level)
 
uint8 Trinity::XP::GetZeroDifference (uint8 pl_level)
 
uint32 Trinity::XP::BaseGain (uint8 pl_level, uint8 mob_level)
 
uint32 Trinity::XP::Gain (Player *player, Unit *u, bool isBattleGround=false)
 
float Trinity::XP::xp_in_group_rate (uint32 count, bool isRaid)
 
uint32 Trinity::Currency::ConquestRatingCalculator (uint32 rate)
 
uint32 Trinity::Currency::BgConquestRatingCalculator (uint32 rate)