diff options
author | Reid <reidyaro@gmail.com> | 2016-03-01 08:31:55 +0100 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2016-03-01 19:04:14 +0100 |
commit | 7a4be47faf11811b29dd5f805ed333f5c9842386 (patch) | |
tree | e32a6546061fa77445e76dfa2dde780da4e8b0c7 /npc/functions | |
parent | 068b5d6fdba8a9f6d3d51bbcbf341f237912dc02 (diff) | |
download | serverdata-7a4be47faf11811b29dd5f805ed333f5c9842386.tar.gz serverdata-7a4be47faf11811b29dd5f805ed333f5c9842386.tar.bz2 serverdata-7a4be47faf11811b29dd5f805ed333f5c9842386.tar.xz serverdata-7a4be47faf11811b29dd5f805ed333f5c9842386.zip |
Change the difficulty of fishing.
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/fishing.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/functions/fishing.txt b/npc/functions/fishing.txt index e3289daf..8083e375 100644 --- a/npc/functions/fishing.txt +++ b/npc/functions/fishing.txt @@ -6,13 +6,13 @@ function script fishing { - .@wait_time_min = 5000; - .@wait_time_max = 30000; + .@wait_time_min = 8000; + .@wait_time_max = 35000; .@pull_rand_max = 800; .@pull_timeout = 1500; .@fish_id = CommonCarp; .@max_wait_times = 3; - .@rare_fish_chance = 2500; + .@rare_fish_chance = 25; setarray .@bait_ids[0], SmallTentacles, Bread, Aquada, UrchinMeat, TortugaTongue, @@ -94,7 +94,7 @@ L_Wait: case 1: .@timediff = gettimetick(0) - .@tick; .@rnd = rand(.@timediff); - if (!rand(.@rare_fish_chance)) + if (rand(.@rare_fish_chance) == 0) .@fish_id = GrassCarp; // debugmes "timediff = " + .@timediff; |