fix(Core/SpellAuras): Show auras to client limit (#3193)

Co-authored-by: Pascal Bachor <gerhood@users.noreply.github.com>
This commit is contained in:
Kitzunu
2020-08-22 10:34:12 +02:00
committed by GitHub
parent 5a5ece6d98
commit dd40e2e844
3 changed files with 7 additions and 7 deletions

View File

@@ -6,7 +6,8 @@
#ifndef ACORE_SPELLAURADEFINES_H
#define ACORE_SPELLAURADEFINES_H
#define MAX_AURAS 64 // client support up to 255, but it will cause problems with group auras updating
#define MAX_AURAS 255 // Client Limit
#define MAX_AURAS_GROUP_UPDATE 64 // Limit of SMSG_PARY_MEMBER_STATS_FULL and SMSG_PARTY_MEMBER_STATS
enum AURA_FLAGS
{

View File

@@ -71,11 +71,10 @@ _flags(AFLAG_NONE), _effectsToApply(effMask), _needClientUpdate(false), _disable
}
else {
#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)
sLog->outDebug(LOG_FILTER_SPELLS_AURAS, "Aura: %u Effect: %d could not find empty unit visible slot", GetBase()->GetId(), GetEffectMask());
sLog->outError(LOG_FILTER_SPELLS_AURAS, "Aura: %u Effect: %d could not find empty unit visible slot", GetBase()->GetId(), GetEffectMask());
#endif
}
}
_InitFlags(caster, effMask);
}