diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-03-11 13:32:59 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-03-11 13:32:59 -0300 |
commit | 70f38b9be2d415f70f745d8ae48b789e9a42b0a8 (patch) | |
tree | c589b34fee15701d5cb74b8cd88c38225c3889f3 | |
parent | 32429840c94dd19766718450ab688af1620f4326 (diff) | |
download | serverdata-70f38b9be2d415f70f745d8ae48b789e9a42b0a8.tar.gz serverdata-70f38b9be2d415f70f745d8ae48b789e9a42b0a8.tar.bz2 serverdata-70f38b9be2d415f70f745d8ae48b789e9a42b0a8.tar.xz serverdata-70f38b9be2d415f70f745d8ae48b789e9a42b0a8.zip |
Bugfix
-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 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 { |