mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 12:18:27 +00:00
Cleanup of some lua code, initial work on encounter_quests
This commit is contained in:
@@ -2471,3 +2471,12 @@ uint32 NPC::GetSpawnKillCount()
|
||||
|
||||
return(0);
|
||||
}
|
||||
|
||||
void NPC::DoQuestPause(Mob *other) {
|
||||
if(IsMoving() && !IsOnHatelist(other))
|
||||
PauseWandering(RuleI(NPC, SayPauseTimeInSec));
|
||||
|
||||
if(!IsMoving())
|
||||
FaceTarget(other);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user