mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-12-19 16:25:47 +01:00
rewrite random loot
This commit is contained in:
@@ -172,7 +172,7 @@ local FISHING_BOBBER_ENTITY={
|
||||
self.prize = fishing_setting.prizes["fish"][math.random(1,#fishing_setting.prizes["fish"])]
|
||||
else
|
||||
if math.random(1, 100) <= 10 then
|
||||
self.prize = fishing_setting.prizes["plants"][math.random(1,#fishing_setting.prizes["plants"])]
|
||||
self.prize = fishing_setting.func.get_loot()
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user