Jump to content

[Re-Report]Grass gator doesn't increase its diving range properly


_zwb
  • Fixed
-- In line 366 ~ 370 of stategraph/SGgrassgator.lua
if not inst.searchrange then 
    inst.searchrange = 15 + (math.random()*5)
end
inst.surfacelocation = inst.findnewshallowlocation(inst, inst.searchrange)
inst.searchrange = inst.searchrange + 8


-- In line 115 ~ 119 of prefabs/grassgator.lua
if not range then 
    range = 25 + (math.random()*5)
end
inst.surfacelocation = nil
local range = 25 + (math.random()*5)

From the stategraph the range is supposed to increase by 8 each time. However in line 119 of its prefab file, it's set to a random value from 25 ~ 30, thus never increase.


Steps to Reproduce

Above




User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...