mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-15 12:31:31 +00:00
Quest NPCs will no longer turn and face their target if they are sneaking, sitting, or laying/playdead.
This commit is contained in:
parent
082641b1ad
commit
f9ea18b642
@ -2713,9 +2713,11 @@ uint32 NPC::GetSpawnKillCount()
|
|||||||
void NPC::DoQuestPause(Mob *other) {
|
void NPC::DoQuestPause(Mob *other) {
|
||||||
if(IsMoving() && !IsOnHatelist(other)) {
|
if(IsMoving() && !IsOnHatelist(other)) {
|
||||||
PauseWandering(RuleI(NPC, SayPauseTimeInSec));
|
PauseWandering(RuleI(NPC, SayPauseTimeInSec));
|
||||||
FaceTarget(other);
|
if (other && !other->sneaking)
|
||||||
|
FaceTarget(other);
|
||||||
} else if(!IsMoving()) {
|
} else if(!IsMoving()) {
|
||||||
FaceTarget(other);
|
if (other && !other->sneaking && GetAppearance() != eaSitting && GetAppearance() != eaDead)
|
||||||
|
FaceTarget(other);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user