diff options
Diffstat (limited to 'npc/functions/pondfishing.txt')
-rw-r--r-- | npc/functions/pondfishing.txt | 12 |
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; } |