AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Functions | |
uint8 | GetGrayLevel (uint8 pl_level) |
XPColorChar | GetColorCode (uint8 pl_level, uint8 mob_level) |
uint8 | GetZeroDifference (uint8 pl_level) |
uint32 | BaseGain (uint8 pl_level, uint8 mob_level, ContentLevels content) |
uint32 | Gain (Player *player, Unit *unit, bool isBattleGround=false) |
float | xp_in_group_rate (uint32 count, bool isRaid) |
uint32 Acore::XP::BaseGain | ( | uint8 | pl_level, |
uint8 | mob_level, | ||
ContentLevels | content | ||
) |
References CONTENT_1_60, CONTENT_61_70, CONTENT_71_80, GetGrayLevel(), GetZeroDifference(), and LOG_ERROR.
References BaseGain(), CREATURE_FLAG_EXTRA_NO_XP, CreatureTemplate::flags_extra, GetContentLevelsForMapAndZone(), Creature::GetCreatureTemplate(), Unit::GetLevel(), WorldObject::GetMap(), WorldLocation::GetMapId(), Unit::GetMaxHealth(), Creature::GetPlayerDamageReq(), WorldObject::GetZoneId(), Unit::IsCritter(), Map::IsDungeon(), Creature::isElite(), Unit::IsPet(), Unit::IsTotem(), MAP_BG_ALTERAC_VALLEY, MAP_BG_ARATHI_BASIN, MAP_BG_EYE_OF_THE_STORM, MAP_BG_ISLE_OF_CONQUEST, MAP_BG_STRAND_OF_THE_ANCIENTS, MAP_BG_WARSONG_GULCH, CreatureTemplate::ModExperience, RATE_XP_BG_KILL_AB, RATE_XP_BG_KILL_AV, RATE_XP_BG_KILL_EOTS, RATE_XP_BG_KILL_IC, RATE_XP_BG_KILL_SOTA, RATE_XP_BG_KILL_WSG, RATE_XP_KILL, sWorld, and Object::ToCreature().
Referenced by KillRewarder::_InitXP().
|
inline |
References GetGrayLevel(), XP_GRAY, XP_GREEN, XP_ORANGE, XP_RED, and XP_YELLOW.
Referenced by TEST().
Referenced by KillRewarder::_InitGroupData(), BaseGain(), Player::CalculateReputationGain(), GetColorCode(), Player::isHonorOrXPTarget(), Player::RewardHonor(), TEST(), and Player::UpdateCombatSkills().
Referenced by BaseGain(), and TEST().
|
inline |
Referenced by KillRewarder::_RewardGroup().