diff options
Diffstat (limited to 'npc/functions/fishing.txt')
-rw-r--r-- | npc/functions/fishing.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/functions/fishing.txt b/npc/functions/fishing.txt index 704d23e1b..e9d52d41f 100644 --- a/npc/functions/fishing.txt +++ b/npc/functions/fishing.txt @@ -120,6 +120,7 @@ function script fishing { setarray .@rare_fish, GrassCarp; } + debugmes("[FISH] Initialized with %d common and %d rare fishes", getarraysize(.@common_fish), getarraysize(.@rare_fish)); if (getvariableofnpc(.bait_ids[0], .@npc$) < 1) { @@ -194,8 +195,10 @@ function script fishing { // RNG to obtain a rare fish or common fish if (rand(0, 100) < getvariableofnpc(.bait_ids[@bait_d+1], .@npc$)) { + debugmes("[FISH] Got a rare with %d drop chances", getarraysize(.@rare_fish)); .@fish_id = any_of(.@rare_fish); } else { + debugmes("[FISH] Got a common with %d drop chances", getarraysize(.@common_fish)); .@fish_id = any_of(.@common_fish); } |