From 79184a2455364199c03ccb3cda20ee32f250f561 Mon Sep 17 00:00:00 2001 From: Dan Sagunov <dan@archdemon.(none)> Date: Mon, 16 Jan 2012 12:53:48 +0400 Subject: Add player check in peter script --- npc/000-2-1/peter.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'npc') diff --git a/npc/000-2-1/peter.txt b/npc/000-2-1/peter.txt index 3c798529..22a5824c 100644 --- a/npc/000-2-1/peter.txt +++ b/npc/000-2-1/peter.txt @@ -56,6 +56,7 @@ if (@q == 3 || @q == 4) goto l_QuestDone; if (@q == 5) goto l_Thanks; + if (getmapusers("000-2-2.gat") == 0 && $@RAT_SAILOR_HELPER$ != "") $@RAT_SAILOR_HELPER$ = ""; //If map is full of mobs and helper is free if (getmapmobs("000-2-2.gat") == 4 && $@RAT_SAILOR_HELPER$ == "") goto OnGiveTask; -- cgit v1.2.3-70-g09d2