|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Functions | |
| uint32 | BaseGain (uint8 pl_level, uint8 mob_level, ContentLevels content) |
| uint32 | Gain (Player *player, Unit *u) |
| XPColorChar | GetColorCode (uint8 pl_level, uint8 mob_level) |
| uint8 | GetGrayLevel (uint8 pl_level) |
| uint8 | GetZeroDifference (uint8 pl_level) |
| float | xp_in_group_rate (uint32 count, bool isRaid) |
|
inline |
Definition at line 103 of file Formulas.h.
References CONTENT_1_60, CONTENT_61_70, CONTENT_71_80, CONTENT_81_85, CONTENT_86_90, GetGrayLevel(), GetZeroDifference(), SF_LOG_ERROR, and sScriptMgr.
Referenced by Gain().
Definition at line 155 of file Formulas.h.
References BaseGain(), CREATURE_FLAG_EXTRA_NO_XP_AT_KILL, CREATURE_TYPE_CRITTER, GetContentLevelsForMapAndZone(), Unit::getLevel(), WorldObject::GetMap(), WorldLocation::GetMapId(), Object::GetTypeId(), WorldObject::GetZoneId(), Map::IsInstance(), RATE_XP_KILL, sScriptMgr, sWorld, and TYPEID_UNIT.
Referenced by KillRewarder::_InitXP().
|
inline |
Definition at line 51 of file Formulas.h.
References GetGrayLevel(), sScriptMgr, XP_GRAY, XP_GREEN, XP_ORANGE, XP_RED, and XP_YELLOW.
Definition at line 34 of file Formulas.h.
References sScriptMgr.
Referenced by KillRewarder::_InitGroupData(), BaseGain(), Player::CalculateReputationGain(), GetColorCode(), Player::isHonorOrXPTarget(), and Player::RewardHonor().
|
inline |
Definition at line 184 of file Formulas.h.
References sScriptMgr.
Referenced by KillRewarder::_RewardGroup().