[Bug Fix] Hero Forge armor graphics not displaying properly to other clients in zone. (#1883)

* fix part1

* updates

* Update inventory.cpp

* fixed

* Update inventory.cpp

* update

* [Bug Fix] Hero Forge armor graphics not displaying properly to other clients in zone.
This commit is contained in:
KayenEQ
2021-12-14 11:26:59 -05:00
committed by GitHub
parent 26b21673ad
commit 6da7116c66
8 changed files with 51 additions and 21 deletions
+12
View File
@@ -495,6 +495,8 @@ Mob::Mob(
use_double_melee_round_dmg_bonus = false;
dw_same_delay = 0;
queue_wearchange_slot = -1;
#ifdef BOTS
m_manual_follow = false;
#endif
@@ -3168,6 +3170,16 @@ bool Mob::UpdateActiveLight()
return (m_Light.Level[EQ::lightsource::LightActive] != old_light_level);
}
void Mob::SendWearChangeAndLighting(int8 last_texture) {
for (int i = EQ::textures::textureBegin; i <= last_texture; i++) {
SendWearChange(i);
}
UpdateActiveLight();
SendAppearancePacket(AT_Light, GetActiveLightType());
}
void Mob::ChangeSize(float in_size = 0, bool bNoRestriction) {
// Size Code
if (!bNoRestriction)