summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-06 12:27:03 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-06 12:27:03 -0300
commitd62fa0e38483b374353781cc9b004a2f5d076556 (patch)
treead20a930aefce1c00592d2ebeb4bd6958d503b1f /npc/functions
parent0e9b48607b0535d73630c84616c9a0003d6ef40d (diff)
downloadserverdata-d62fa0e38483b374353781cc9b004a2f5d076556.tar.gz
serverdata-d62fa0e38483b374353781cc9b004a2f5d076556.tar.bz2
serverdata-d62fa0e38483b374353781cc9b004a2f5d076556.tar.xz
serverdata-d62fa0e38483b374353781cc9b004a2f5d076556.zip
'-'
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/fishing.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/functions/fishing.txt b/npc/functions/fishing.txt
index 8d87fd2b9..a68984cfa 100644
--- a/npc/functions/fishing.txt
+++ b/npc/functions/fishing.txt
@@ -40,7 +40,8 @@ OnBite:
setnpcdir @fishing_spot$, LEFT;
@fishing_tick = gettimetick(0);
- specialeffect(getvariableofnpc(.bite_fx, @fishing_spot$), SELF, playerattached());
+ .@bite_fx=getvariableofnpc(.bite_fx, @fishing_spot$);
+ specialeffect(.@bite_fx ? .@bite_fx : 30, SELF, playerattached());
end;
OnCleanUp: