diff options
author | Dan Sagunov <dan@archdemon.(none)> | 2012-01-16 12:53:48 +0400 |
---|---|---|
committer | Dan Sagunov <dan@archdemon.(none)> | 2012-01-16 12:53:48 +0400 |
commit | 79184a2455364199c03ccb3cda20ee32f250f561 (patch) | |
tree | e0c10144ea86c9faac2bf2680b9fe1315ff20efa /npc | |
parent | 4af4c02e0556cdcac9b43075ca282a3b8c282fc0 (diff) | |
download | serverdata-79184a2455364199c03ccb3cda20ee32f250f561.tar.gz serverdata-79184a2455364199c03ccb3cda20ee32f250f561.tar.bz2 serverdata-79184a2455364199c03ccb3cda20ee32f250f561.tar.xz serverdata-79184a2455364199c03ccb3cda20ee32f250f561.zip |
Add player check in peter script
Diffstat (limited to 'npc')
-rw-r--r-- | npc/000-2-1/peter.txt | 1 |
1 files changed, 1 insertions, 0 deletions
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; |