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 a68984cfa..0dd05dc9e 100644
--- a/npc/functions/fishing.txt
+++ b/npc/functions/fishing.txt
@@ -216,7 +216,7 @@ function script fishing {
// RNG to obtain a rare fish or common fish
// Luck can increase up to 5% when it is at 100.
// Level can increase up to 10% when it is at 100.
- .@boost=(readparam(bLuk)/20)+(BaseLevel/10);
+ .@boost=(readparam2(bLuk)/20)+(BaseLevel/10);
if (rand2(0, 100) < getvariableofnpc(.bait_ids[@bait_d+1], .@npc$)+.@boost)
{
.@fish_id = any_of(.@rare_fish);