summaryrefslogtreecommitdiff
path: root/npc/commands/warp.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-24 13:47:28 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-24 13:47:28 -0300
commit9c322449ade0d1952f6ca4dd73cc92413f61ca69 (patch)
tree1bff0731c4db0790ef57a2d524d739b1241ffa2c /npc/commands/warp.txt
parent9c649056dc45d39e88036bdb2bb373c477f8571f (diff)
parent255cf7c47f76a6e2f12fc809473ce513c294dfa4 (diff)
downloadserverdata-jesusalva/inns.tar.gz
serverdata-jesusalva/inns.tar.bz2
serverdata-jesusalva/inns.tar.xz
serverdata-jesusalva/inns.zip
Merge branch 'master' into jesusalva/innsjesusalva/inns
Diffstat (limited to 'npc/commands/warp.txt')
-rw-r--r--npc/commands/warp.txt17
1 files changed, 9 insertions, 8 deletions
diff --git a/npc/commands/warp.txt b/npc/commands/warp.txt
index 318489d7..22eeda39 100644
--- a/npc/commands/warp.txt
+++ b/npc/commands/warp.txt
@@ -70,21 +70,22 @@ OnCall:
}
slide_or_warp(.@map$, .@x, .@y);
+ updateSpotlight();
end;
OnInit:
if (debug > 0)
{
- bindatcmd("w", "@w::OnCall", 0, 2, 0);
- bindatcmd("go", "@w::OnCall", 0, 2, 0);
- bindatcmd("to", "@w::OnCall", 0, 2, 0);
- bindatcmd("warp", "@w::OnCall", 0, 2, 0);
+ bindatcmd("w", "@w::OnCall", 0, 20, 0);
+ bindatcmd("go", "@w::OnCall", 0, 20, 0);
+ bindatcmd("to", "@w::OnCall", 0, 20, 0);
+ bindatcmd("warp", "@w::OnCall", 0, 20, 0);
}
else
{
- bindatcmd("w", "@w::OnCall", 2, 2, 1);
- bindatcmd("go", "@w::OnCall", 2, 2, 1);
- bindatcmd("to", "@w::OnCall", 2, 2, 1);
- bindatcmd("warp", "@w::OnCall", 2, 2, 1);
+ bindatcmd("w", "@w::OnCall", 20, 60, 1);
+ bindatcmd("go", "@w::OnCall", 20, 60, 1);
+ bindatcmd("to", "@w::OnCall", 20, 60, 1);
+ bindatcmd("warp", "@w::OnCall", 20, 60, 1);
}
}