mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-03 19:13:49 +00:00
refactor(Core/Misc): acore to Acore (#6043)
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#include "Player.h"
|
||||
#include "World.h"
|
||||
|
||||
uint32 acore::XP::BaseGain(uint8 pl_level, uint8 mob_level, ContentLevels content)
|
||||
uint32 Acore::XP::BaseGain(uint8 pl_level, uint8 mob_level, ContentLevels content)
|
||||
{
|
||||
uint32 baseGain;
|
||||
uint32 nBaseExp;
|
||||
@@ -56,7 +56,7 @@ uint32 acore::XP::BaseGain(uint8 pl_level, uint8 mob_level, ContentLevels conten
|
||||
return baseGain;
|
||||
}
|
||||
|
||||
uint32 acore::XP::Gain(Player* player, Unit* unit, bool isBattleGround /*= false*/)
|
||||
uint32 Acore::XP::Gain(Player* player, Unit* unit, bool isBattleGround /*= false*/)
|
||||
{
|
||||
Creature* creature = unit->ToCreature();
|
||||
uint32 gain = 0;
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "ScriptMgr.h"
|
||||
#include "SharedDefines.h"
|
||||
|
||||
namespace acore::Honor
|
||||
namespace Acore::Honor
|
||||
{
|
||||
inline float hk_honor_at_level_f(uint8 level, float multiplier = 1.0f)
|
||||
{
|
||||
@@ -25,7 +25,7 @@ namespace acore::Honor
|
||||
}
|
||||
}
|
||||
|
||||
namespace acore::XP
|
||||
namespace Acore::XP
|
||||
{
|
||||
inline uint8 GetGrayLevel(uint8 pl_level)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user