mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 09:39:11 +00:00
refactor(Core): rename namespaces and macros to acore (#2454)
This commit is contained in:
@@ -191,7 +191,7 @@ public:
|
||||
target->SetPower(POWER_ENERGY, energy);
|
||||
|
||||
#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)
|
||||
sLog->outDetail(handler->GetTrinityString(LANG_CURRENT_ENERGY), target->GetMaxPower(POWER_ENERGY));
|
||||
sLog->outDetail(handler->GetAcoreString(LANG_CURRENT_ENERGY), target->GetMaxPower(POWER_ENERGY));
|
||||
#endif
|
||||
|
||||
return true;
|
||||
@@ -1019,7 +1019,7 @@ public:
|
||||
int32 newmoney = int32(targetMoney) + moneyToAdd;
|
||||
|
||||
#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)
|
||||
sLog->outDebug(LOG_FILTER_CHATSYS, handler->GetTrinityString(LANG_CURRENT_MONEY), targetMoney, moneyToAdd, newmoney);
|
||||
sLog->outDebug(LOG_FILTER_CHATSYS, handler->GetAcoreString(LANG_CURRENT_MONEY), targetMoney, moneyToAdd, newmoney);
|
||||
#endif
|
||||
if (newmoney <= 0)
|
||||
{
|
||||
@@ -1056,7 +1056,7 @@ public:
|
||||
}
|
||||
|
||||
#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)
|
||||
sLog->outDebug(LOG_FILTER_CHATSYS, handler->GetTrinityString(LANG_NEW_MONEY), targetMoney, moneyToAdd, target->GetMoney());
|
||||
sLog->outDebug(LOG_FILTER_CHATSYS, handler->GetAcoreString(LANG_NEW_MONEY), targetMoney, moneyToAdd, target->GetMoney());
|
||||
#endif
|
||||
|
||||
return true;
|
||||
@@ -1199,7 +1199,7 @@ public:
|
||||
amount = -42000;
|
||||
for (; r < MAX_REPUTATION_RANK; ++r)
|
||||
{
|
||||
std::string rank = handler->GetTrinityString(ReputationRankStrIndex[r]);
|
||||
std::string rank = handler->GetAcoreString(ReputationRankStrIndex[r]);
|
||||
if (rank.empty())
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user