mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 00:27:16 +00:00
1 parent
48c6db3a9c
commit
2df7d19f97
1 file changed
+3
-3
+3
-3
@@ -3917,10 +3917,10 @@ void Mob::CommonDamage(Mob* attacker, int64 &damage, const uint16 spell_id, cons
|
|||||||
TryTriggerThreshHold(damage, SE_TriggerSpellThreshold, attacker);
|
TryTriggerThreshHold(damage, SE_TriggerSpellThreshold, attacker);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (IsClient() && CastToClient()->sneaking) {
|
if (IsClient()) {
|
||||||
CastToClient()->sneaking = false;
|
CommonBreakInvisible();
|
||||||
SendAppearancePacket(AppearanceType::Sneak, 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (attacker && attacker->IsClient() && attacker->CastToClient()->sneaking) {
|
if (attacker && attacker->IsClient() && attacker->CastToClient()->sneaking) {
|
||||||
attacker->CastToClient()->sneaking = false;
|
attacker->CastToClient()->sneaking = false;
|
||||||
attacker->SendAppearancePacket(AppearanceType::Sneak, 0);
|
attacker->SendAppearancePacket(AppearanceType::Sneak, 0);
|
||||||
|
|||||||
Reference in new issue
Block a user