mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 21:26:23 +00:00
feat(Core/CreatureAddon): increased visibility for large creatures (#2304)
This commit is contained in:
@@ -2208,6 +2208,10 @@ bool Creature::LoadCreaturesAddon(bool reload)
|
||||
SetByteValue(UNIT_FIELD_BYTES_2, 3, 0);
|
||||
}
|
||||
|
||||
// Check if Creature is Large
|
||||
if (cainfo->isLarge)
|
||||
SetVisibilityDistanceOverride(true);
|
||||
|
||||
if (cainfo->emote != 0)
|
||||
SetUInt32Value(UNIT_NPC_EMOTESTATE, cainfo->emote);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user