1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-12-19 16:25:47 +01:00

decrease bobber move y in water

added menu button(admin only) to display hunger baits value
This commit is contained in:
2015-07-28 17:32:23 +02:00
parent d491015a78
commit 06e0aab31f
3 changed files with 30 additions and 21 deletions

View File

@@ -144,11 +144,11 @@ local FISHING_BOBBER_ENTITY={
-- if fish or others items, move bobber to simulate fish on the line
if self.prize ~= "" and math.random(1,3) == 1 then
if self.old_pos2 == true then
pos.y = pos.y-0.0325
pos.y = pos.y-0.0280
self.object:moveto(pos, false)
self.old_pos2 = false
else
pos.y = pos.y+0.0325
pos.y = pos.y+0.0280
self.object:moveto(pos, false)
self.old_pos2 = true
end