summaryrefslogtreecommitdiff
path: root/world/map/npc/029-1/zegas.txt
diff options
context:
space:
mode:
authormekolat <mekolat@gmail.com>2015-04-21 00:30:19 -0400
committermekolat <mekolat@users.noreply.github.com>2015-04-30 02:06:42 -0400
commit27fe76b6a48cf51aa87346094845fb0ed6333304 (patch)
tree4f88cae1c5ce996adaa41de52f0e72830e2fd497 /world/map/npc/029-1/zegas.txt
parentb28709f705abf9ca0fff5bf79f95d0599722fdff (diff)
downloadserverdata-27fe76b6a48cf51aa87346094845fb0ed6333304.tar.gz
serverdata-27fe76b6a48cf51aa87346094845fb0ed6333304.tar.bz2
serverdata-27fe76b6a48cf51aa87346094845fb0ed6333304.tar.xz
serverdata-27fe76b6a48cf51aa87346094845fb0ed6333304.zip
make PCtoNPCRange smarter
Diffstat (limited to 'world/map/npc/029-1/zegas.txt')
-rw-r--r--world/map/npc/029-1/zegas.txt10
1 files changed, 2 insertions, 8 deletions
diff --git a/world/map/npc/029-1/zegas.txt b/world/map/npc/029-1/zegas.txt
index 49b9a5c5..a350447d 100644
--- a/world/map/npc/029-1/zegas.txt
+++ b/world/map/npc/029-1/zegas.txt
@@ -3,10 +3,8 @@
// Npc
029-1,45,85,0|script|Zegas|165
{
- setarray @npc_loc, 45, 85, 2;
+ set @npc_distance, 2;
callfunc "PCtoNPCRange";
- if (@npc_check)
- goto L_Range;
if (QL_ZEGAS == 1)
goto L_Find;
@@ -18,10 +16,6 @@
goto L_Thanks;
goto L_Meet;
-L_Range:
- message strcharinfo(0), "Whats that? Come closer I can't hear you.";
- goto L_Close;
-
L_Meet:
mes "[Zegas]";
mes "\"Hey do you have a second?\"";
@@ -59,7 +53,7 @@ L_Looking:
L_QuestEnd:
mes "[Zegas]";
mes "\"From the smell I can see you found the bug bomb!\"";
- mes "\"Thanks once again, I know it's not much but here is 50 GP for your troubles.\"";
+ mes "\"Thanks once again, I know it's not much but here is 50 GP for your troubles.\"";
getexp 50, 0;
set Zeny, (Zeny + 50);
set QL_ZEGAS, 4;