From 43dbe04b6588ab2f51d97f8ccd66df449052d09c Mon Sep 17 00:00:00 2001 From: Oleksii Lisikh Date: Thu, 9 Apr 2026 12:00:57 +0200 Subject: [PATCH] fix(ancient): show purple glow aura when wearing full ancient set (#25) --- src/source/WSclient.cpp | 3 +++ src/source/ZzzCharacter.cpp | 2 +- src/source/ZzzEffectJoint.cpp | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/source/WSclient.cpp b/src/source/WSclient.cpp index 2a95c4202..c15861e97 100644 --- a/src/source/WSclient.cpp +++ b/src/source/WSclient.cpp @@ -2205,6 +2205,9 @@ void ReceiveChangePlayer(std::span ReceiveBuffer) break; } + // Ancient full-set glow state (purple aura) is sent explicitly per equipment change. + c->ExtendState = Data->IsAncientSetComplete > 0; + ChangeChaosCastleUnit(c); SetCharacterScale(c); diff --git a/src/source/ZzzCharacter.cpp b/src/source/ZzzCharacter.cpp index 0e5499dfb..b7d79dab4 100644 --- a/src/source/ZzzCharacter.cpp +++ b/src/source/ZzzCharacter.cpp @@ -10771,7 +10771,7 @@ void RenderCharacter(CHARACTER* c, OBJECT* o, int Select) c->ExtendStateTime = 0; } - c->ExtendStateTime += std::min(1, FPS_ANIMATION_FACTOR); + c->ExtendStateTime++; } if (fullset && g_pOption->GetRenderLevel() >= 2) diff --git a/src/source/ZzzEffectJoint.cpp b/src/source/ZzzEffectJoint.cpp index ecf2cc8aa..6a0a572e5 100644 --- a/src/source/ZzzEffectJoint.cpp +++ b/src/source/ZzzEffectJoint.cpp @@ -7310,4 +7310,4 @@ void GetMagicScrew(int iParam, vec3_t vResult, float fSpeedRate) vResult[2] = vDirTemp[0]; vResult[1] = fSinAdd * vDirTemp[1] + fCosAdd * vDirTemp[2]; vResult[0] = fCosAdd * vDirTemp[1] - fSinAdd * vDirTemp[2]; -} \ No newline at end of file +}