diff options
Diffstat (limited to 'npc/functions/fishing.txt')
-rw-r--r-- | npc/functions/fishing.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/fishing.txt b/npc/functions/fishing.txt index c071f20d2..57df44956 100644 --- a/npc/functions/fishing.txt +++ b/npc/functions/fishing.txt @@ -208,7 +208,7 @@ function script fishing { // 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); - if (rand(0, 100) < getvariableofnpc(.bait_ids[@bait_d+1], .@npc$)+.@boost) + if (rand2(0, 100) < getvariableofnpc(.bait_ids[@bait_d+1], .@npc$)+.@boost) { //debugmes("[FISH] Got a rare with %d drop chances", getarraysize(.@rare_fish)); .@fish_id = any_of(.@rare_fish); |