Commit 81b07025e0fa01c4c74d50f8ea39c751a9a4b642
1 parent
5f63a808
Exists in
master
提交
Showing
2 changed files
with
5 additions
and
4 deletions
Show diff stats
src/HttpServer/logic/constdef.go
src/HttpServer/logic/function.go
... | ... | @@ -146,21 +146,21 @@ func (u *UserData) DoFlopCardd(resp *DoFlopResp) { |
146 | 146 | case FLOPTYPE_45MIN: |
147 | 147 | addgold = u.Goldrate * 15 * 60 |
148 | 148 | case FLOPTYPE_FENCAT15MIN: |
149 | - catid = 14 + 100 | |
149 | + catid = 14 + REDCATIDEXTRA | |
150 | 150 | ctime = 15 * 60 |
151 | 151 | catfg = jsonconf.GetRedCatConfig(catid) |
152 | 152 | u.SetRedCatPos(catid, ctime, catfg.Money, nowt) |
153 | 153 | case FLOPTYPE_FENCAT10MIN: |
154 | - catid = 13 + 100 | |
154 | + catid = 13 + REDCATIDEXTRA | |
155 | 155 | ctime = 10 * 60 |
156 | 156 | catfg = jsonconf.GetRedCatConfig(catid) |
157 | 157 | u.SetRedCatPos(catid, ctime, catfg.Money, nowt) |
158 | 158 | case FLOPTYPE_REDCAT: |
159 | - catid = 10 + 100 | |
159 | + catid = 10 + REDCATIDEXTRA | |
160 | 160 | catfg = jsonconf.GetRedCatConfig(catid) |
161 | 161 | u.SetRedCatPos(catid, 0, catfg.Money, 0) |
162 | 162 | case FLOPTYPE_GLAMCAT: |
163 | - catid = 11 + 100 | |
163 | + catid = 11 + REDCATIDEXTRA | |
164 | 164 | catfg = jsonconf.GetRedCatConfig(catid) |
165 | 165 | u.SetRedCatPos(catid, 0, catfg.Money, 0) |
166 | 166 | } | ... | ... |