mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 21:01:29 +00:00
parent
48c6db3a9c
commit
2df7d19f97
@ -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);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user