summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-03-17 19:27:34 -0300
committerJesusaves <cpntb1@ymail.com>2018-03-17 19:27:34 -0300
commitc7deba34f182f9dfa5849a10013f2631a7893017 (patch)
tree6a8cef3d388e97cfa187ca7cfca3e10482b1de97 /npc
parentf1909ac61624d502f1473a3af1fb71b1c4ef53d1 (diff)
downloadserverdata-c7deba34f182f9dfa5849a10013f2631a7893017.tar.gz
serverdata-c7deba34f182f9dfa5849a10013f2631a7893017.tar.bz2
serverdata-c7deba34f182f9dfa5849a10013f2631a7893017.tar.xz
serverdata-c7deba34f182f9dfa5849a10013f2631a7893017.zip
Fix pipeline
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/pondfishing.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/functions/pondfishing.txt b/npc/functions/pondfishing.txt
index 366e4db34..1154ff6f0 100644
--- a/npc/functions/pondfishing.txt
+++ b/npc/functions/pondfishing.txt
@@ -31,7 +31,7 @@
return;
}*/
-- script global fishing handler 32767,{
+- script candor fishing handler 32767,{
end;
OnBite:
@@ -168,8 +168,8 @@ function script pondfishing {
// pull too soon
if (.@dir == UP)
{
- deltimer "global fishing handler::OnCleanUp"; // cancel auto cleanup
- deltimer "global fishing handler::OnBite";
+ deltimer "candor fishing handler::OnCleanUp"; // cancel auto cleanup
+ deltimer "candor fishing handler::OnBite";
specialeffect(.@failure_fx, SELF, playerattached()); // event fail
fishing_cleanup .@npc$; // do it manually instead
dispbottom l("You pulled too soon and lost the bait.");
@@ -179,7 +179,7 @@ function script pondfishing {
// pull maybe on time
else if (.@dir == LEFT)
{
- deltimer "global fishing handler::OnCleanUp"; // cancel auto cleanup
+ deltimer "candor fishing handler::OnCleanUp"; // cancel auto cleanup
fishing_cleanup .@npc$; // do it manually instead
getmapxy .@mapbis$, .@xbis, .@ybis, UNITTYPE_PC; // get current char location
@@ -300,8 +300,8 @@ function script pondfishing {
.@delay = rand(.@wait_time_min, .@wait_time_max);
- addtimer .@delay, "global fishing handler::OnBite"; // bite logic
- addtimer (.@delay + .@catch_time), "global fishing handler::OnCleanUp"; // auto clean up
+ addtimer .@delay, "candor fishing handler::OnBite"; // bite logic
+ addtimer (.@delay + .@catch_time), "candor fishing handler::OnCleanUp"; // auto clean up
return 0;
}