summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-24 23:15:58 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-24 23:15:58 -0300
commit0b6af14c5d274926abeb82d93c3dbaf22650f32d (patch)
tree29d46a872366470cc7c485285a959abfb6253f4f /npc
parentc76f1f5e34e644f68519677532bed8b751462a80 (diff)
parentec7c9402cc3f30dae3d601b4823296d6d8fd136f (diff)
downloadserverdata-0b6af14c5d274926abeb82d93c3dbaf22650f32d.tar.gz
serverdata-0b6af14c5d274926abeb82d93c3dbaf22650f32d.tar.bz2
serverdata-0b6af14c5d274926abeb82d93c3dbaf22650f32d.tar.xz
serverdata-0b6af14c5d274926abeb82d93c3dbaf22650f32d.zip
Merge branch 'master' into testserver
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/fishing.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/fishing.txt b/npc/functions/fishing.txt
index 0e6a8c62e..56415e6eb 100644
--- a/npc/functions/fishing.txt
+++ b/npc/functions/fishing.txt
@@ -90,7 +90,7 @@ function script fishing {
.@rod = (.@rod ? .@rod : FishingRod);
.@net_ratio = getvariableofnpc(.net_ratio, .@npc$); // How many fishes and baits are required?
- .@net_ratio = min(1, (.@net_ratio ? .@net_ratio : 1));
+ .@net_ratio = max(1, (.@net_ratio ? .@net_ratio : 1));
.@regen_time = getvariableofnpc(.cooldown, .@npc$); // cooldown for the fishing spot
.@regen_time = (.@regen_time ? .@regen_time : 20);