diff options
author | mekolat <mekolat@gmail.com> | 2015-04-21 00:30:19 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2015-04-30 02:06:42 -0400 |
commit | 27fe76b6a48cf51aa87346094845fb0ed6333304 (patch) | |
tree | 4f88cae1c5ce996adaa41de52f0e72830e2fd497 /world/map/npc/006-1/miriam.txt | |
parent | b28709f705abf9ca0fff5bf79f95d0599722fdff (diff) | |
download | serverdata-27fe76b6a48cf51aa87346094845fb0ed6333304.tar.gz serverdata-27fe76b6a48cf51aa87346094845fb0ed6333304.tar.bz2 serverdata-27fe76b6a48cf51aa87346094845fb0ed6333304.tar.xz serverdata-27fe76b6a48cf51aa87346094845fb0ed6333304.zip |
make PCtoNPCRange smarter
Diffstat (limited to 'world/map/npc/006-1/miriam.txt')
-rw-r--r-- | world/map/npc/006-1/miriam.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/world/map/npc/006-1/miriam.txt b/world/map/npc/006-1/miriam.txt index f513955b..8b7ebdb4 100644 --- a/world/map/npc/006-1/miriam.txt +++ b/world/map/npc/006-1/miriam.txt @@ -20,10 +20,8 @@ 006-1,115,111,0|script|Miriam|175 { - setarray @npc_loc, 115, 111, 2; + set @npc_distance, 2; callfunc "PCtoNPCRange"; - if (@npc_check) - goto L_Close; if (getskilllv(SKILL_SPEED)) goto L_fast; if (getequipid(equip_torso) < 0) goto L_naked; |