From 70f38b9be2d415f70f745d8ae48b789e9a42b0a8 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 11 Mar 2018 13:32:59 -0300 Subject: Bugfix --- npc/functions/fishing.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/functions') 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 { -- cgit v1.2.3-70-g09d2