Core/Misc: Define / rename attributes and flags

Port From (https://github.com/TrinityCore/TrinityCore/commit/e72264cfbd4b3bd925a634d99ab1717a1c0a6b91)
This commit is contained in:
hondacrx
2022-05-26 16:25:16 -04:00
parent 0b1cde8396
commit 3cacc1ff68
8 changed files with 53 additions and 53 deletions
+1 -1
View File
@@ -2285,7 +2285,7 @@ namespace Game.Entities
switch (group)
{
case DiminishingGroup.Taunt:
if (IsTypeId(TypeId.Unit) && ToCreature().GetCreatureTemplate().FlagsExtra.HasAnyFlag(CreatureFlagsExtra.TauntDiminish))
if (IsTypeId(TypeId.Unit) && ToCreature().GetCreatureTemplate().FlagsExtra.HasAnyFlag(CreatureFlagsExtra.ObeysTauntDiminishingReturns))
{
DiminishingLevels diminish = previousLevel;
switch (diminish)