diff options
author | mekolat <mekolat@users.noreply.github.com> | 2016-03-30 19:52:24 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2016-04-07 06:58:14 -0400 |
commit | 40add9a2181ef5cb2d8804eeb01c0a190d6c8ee5 (patch) | |
tree | b2fb2774a570950cb6db582da8a25361e8d70249 /world/map/npc/functions/default_npc_checks.txt | |
parent | c22162b0a8cd9cceab579548bbc1b68ff67ba4dd (diff) | |
download | classic-serverdata-40add9a2181ef5cb2d8804eeb01c0a190d6c8ee5.tar.gz classic-serverdata-40add9a2181ef5cb2d8804eeb01c0a190d6c8ee5.tar.bz2 classic-serverdata-40add9a2181ef5cb2d8804eeb01c0a190d6c8ee5.tar.xz classic-serverdata-40add9a2181ef5cb2d8804eeb01c0a190d6c8ee5.zip |
slowly getting things done
explain the debug spell is deprecated
upmarmu typo
cooldown fix
make maps with updated converter, make nodes
update permissions
Diffstat (limited to 'world/map/npc/functions/default_npc_checks.txt')
-rw-r--r-- | world/map/npc/functions/default_npc_checks.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/world/map/npc/functions/default_npc_checks.txt b/world/map/npc/functions/default_npc_checks.txt index da080e82..cc5c4086 100644 --- a/world/map/npc/functions/default_npc_checks.txt +++ b/world/map/npc/functions/default_npc_checks.txt @@ -9,6 +9,7 @@ function|script|PCtoNPCRange set @npc_check, 0; set @Nmap$, strnpcinfo(3); if(!@npc_distance) set @npc_distance, 4; // <== default distance + if(@npc_distance == (1-2)) set @npc_distance, ATTACKRANGE; cleararray @npc_loc, 0, 3; setarray @npc_loc, getnpcx(), getnpcy(), @npc_distance; set @Nx1, (@npc_loc[0] - @npc_loc[2]); |