summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-03-11 13:32:59 -0300
committerJesusaves <cpntb1@ymail.com>2018-03-11 13:32:59 -0300
commit70f38b9be2d415f70f745d8ae48b789e9a42b0a8 (patch)
treec589b34fee15701d5cb74b8cd88c38225c3889f3 /npc/functions
parent32429840c94dd19766718450ab688af1620f4326 (diff)
downloadserverdata-70f38b9be2d415f70f745d8ae48b789e9a42b0a8.tar.gz
serverdata-70f38b9be2d415f70f745d8ae48b789e9a42b0a8.tar.bz2
serverdata-70f38b9be2d415f70f745d8ae48b789e9a42b0a8.tar.xz
serverdata-70f38b9be2d415f70f745d8ae48b789e9a42b0a8.zip
Bugfix
Diffstat (limited to 'npc/functions')
-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 ca811314b..b00b499ac 100644
--- a/npc/functions/fishing.txt
+++ b/npc/functions/fishing.txt
@@ -194,7 +194,7 @@ function script fishing {
}
// RNG to obtain a rare fish or common fish
- if (rand(.@rare_fish_chance) < getvariableofnpc(.bait_ids[@bait_d+1], .@npc$))
+ if (rand(.@rare_fish_chance) <= getvariableofnpc(.bait_ids[@bait_d+1], .@npc$))
{
.@fish_id = .rare_fish[rand(getarraysize(.rare_fish))];
} else {