Cleanup of some lua code, initial work on encounter_quests

This commit is contained in:
KimLS committed 2013-05-19 12:13:44 -07:00
1 parent 17954dd8fe
commit 69bad31019
34 files changed
+2714 -450

No files matched your search

+9
View File
@@ -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);
}