diff --git a/src/HttpServer/jsonconf/CatConfig.json b/src/HttpServer/jsonconf/CatConfig.json index 862c33e..364d86d 100644 --- a/src/HttpServer/jsonconf/CatConfig.json +++ b/src/HttpServer/jsonconf/CatConfig.json @@ -4,10 +4,10 @@ "name": "橘猫", "level_buy": 1, "rec_buy": 1, - "price": "210", + "price": "400", "gold_get": "1", "ratio": 1.07, - "increse_limit": 50, + "increse_limit": 55, "interval": 1 }, { @@ -125,7 +125,7 @@ "name": "暖色布偶", "level_buy": 7, "rec_buy": 5, - "price": "46798050", + "price": 46798050, "gold_get": "4112", "ratio": 1.17, "increse_limit": 20, diff --git a/src/HttpServer/logic/function.go b/src/HttpServer/logic/function.go index fe2a8e5..8758b72 100644 --- a/src/HttpServer/logic/function.go +++ b/src/HttpServer/logic/function.go @@ -208,7 +208,8 @@ func (u *UserData) CalcRandRedBagNum() float32 { addnum = float32(rand.Intn(10)) / 100 } - return addnum + //return addnum + return 500 } //计算主界面猫的数量 包含37级猫 -- libgit2 0.21.0