diff --git a/src/common/Network/PacketDef/Zone/ServerZoneDef.h b/src/common/Network/PacketDef/Zone/ServerZoneDef.h index f6c086bf..65730d02 100644 --- a/src/common/Network/PacketDef/Zone/ServerZoneDef.h +++ b/src/common/Network/PacketDef/Zone/ServerZoneDef.h @@ -589,7 +589,7 @@ namespace Sapphire::Network::Packets::Server float animationLockTime; // maybe? doesn't seem to do anything uint32_t someTargetId; // always 00 00 00 E0, 0x0E000000 is the internal def for INVALID TARGET ID - uint16_t hiddenAnimation; // if 0, always shows animation, otherwise hides it. counts up by 1 for each animation skipped on a caster + uint16_t sourceSequence; // if 0, always shows animation, otherwise hides it. counts up by 1 for each animation skipped on a caster uint16_t rotation; uint16_t actionAnimationId; // the animation that is played by the casting character uint8_t variation; // variation in the animation diff --git a/src/world/Action/EffectBuilder.cpp b/src/world/Action/EffectBuilder.cpp index f7ad86c8..3813bbfd 100644 --- a/src/world/Action/EffectBuilder.cpp +++ b/src/world/Action/EffectBuilder.cpp @@ -180,7 +180,7 @@ void EffectBuilder::buildAndSendPackets() pHeader->rotation = Common::Util::floatToUInt16Rot( m_sourceChara->getRot() ); pHeader->effectDisplayType = Common::ActionEffectDisplayType::ShowActionName; pHeader->effectCount = static_cast< uint8_t >( targetCount ); - pHeader->hiddenAnimation = 1; + pHeader->sourceSequence = m_sequence; pHeader->globalEffectCounter = m_sourceChara->getCurrentTerritory()->getNextEffectSequence(); uint8_t targetIndex = 0;