猫咪戏法修复bug
This commit is contained in:
parent
4b74c69df4
commit
564c650a28
@ -350,10 +350,10 @@ func GetCatTrickType(Duartion int) int {
|
||||
log.Debug("GetCatTrick err:%v", err)
|
||||
return 1
|
||||
}
|
||||
for _, v := range data {
|
||||
for k, v := range data {
|
||||
D := gamedata.GetIntValue(v, "Duration")
|
||||
if Duartion == D {
|
||||
return gamedata.GetIntValue(v, "Type")
|
||||
return GoUtil.Int(k)
|
||||
}
|
||||
}
|
||||
return gamedata.GetIntValue(data, "Type")
|
||||
|
||||
@ -496,5 +496,6 @@ func getLimitEventMsg(t int, e *LTEInfo) *msg.LimitEvent {
|
||||
Cd: int32(Cd),
|
||||
Mul: float32(Mul),
|
||||
StartTime: int32(e.StartT),
|
||||
Param: Param,
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user