summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
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 {