From c7deba34f182f9dfa5849a10013f2631a7893017 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 17 Mar 2018 19:27:34 -0300 Subject: Fix pipeline --- npc/functions/pondfishing.txt | 12 ++++++------ 1 file 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; } -- cgit v1.2.3-70-g09d2