Rtype9
This commit is contained in:
parent
79245aacef
commit
31ec56ffbf
@ -17756,15 +17756,15 @@
|
||||
"type_sp": 1,
|
||||
"tasktxt": {
|
||||
"key": "buried_buried_condi_tasktxt_759",
|
||||
"text": "装备副本boss2难度2"
|
||||
"text": "火焰泰坦难度3"
|
||||
},
|
||||
"type": 73,
|
||||
"valid": 0,
|
||||
"NPC": 10344,
|
||||
"value": 1,
|
||||
"filter": [
|
||||
2,
|
||||
2
|
||||
1,
|
||||
3
|
||||
],
|
||||
"filter2": [
|
||||
"boss类型",
|
||||
@ -17923,7 +17923,7 @@
|
||||
"type_sp": 1,
|
||||
"tasktxt": {
|
||||
"key": "buried_buried_condi_tasktxt_766",
|
||||
"text": "维京远征火焰泰坦难度3"
|
||||
"text": "火焰泰坦难度4"
|
||||
},
|
||||
"type": 73,
|
||||
"valid": 0,
|
||||
@ -17931,7 +17931,7 @@
|
||||
"value": 1,
|
||||
"filter": [
|
||||
1,
|
||||
3
|
||||
4
|
||||
],
|
||||
"filter2": [
|
||||
"boss类型",
|
||||
|
@ -411,7 +411,7 @@
|
||||
},
|
||||
{
|
||||
"a": "item",
|
||||
"t": "10000008",
|
||||
"t": "10000004",
|
||||
"n": 3
|
||||
}
|
||||
],
|
||||
@ -980,7 +980,7 @@
|
||||
},
|
||||
{
|
||||
"a": "item",
|
||||
"t": "10000008",
|
||||
"t": "10000004",
|
||||
"n": 3
|
||||
}
|
||||
],
|
||||
@ -1269,7 +1269,7 @@
|
||||
},
|
||||
{
|
||||
"a": "item",
|
||||
"t": "10000008",
|
||||
"t": "10000004",
|
||||
"n": 3
|
||||
}
|
||||
],
|
||||
@ -1542,7 +1542,7 @@
|
||||
},
|
||||
{
|
||||
"a": "item",
|
||||
"t": "10000008",
|
||||
"t": "10000004",
|
||||
"n": 3
|
||||
}
|
||||
],
|
||||
@ -2133,7 +2133,7 @@
|
||||
},
|
||||
{
|
||||
"a": "item",
|
||||
"t": "10000009",
|
||||
"t": "10000005",
|
||||
"n": 2
|
||||
}
|
||||
],
|
||||
@ -2647,7 +2647,7 @@
|
||||
},
|
||||
{
|
||||
"a": "item",
|
||||
"t": "10000009",
|
||||
"t": "10000005",
|
||||
"n": 4
|
||||
}
|
||||
],
|
||||
@ -3279,7 +3279,7 @@
|
||||
},
|
||||
{
|
||||
"a": "item",
|
||||
"t": "10000010",
|
||||
"t": "10000006",
|
||||
"n": 2
|
||||
}
|
||||
],
|
||||
|
@ -105,6 +105,13 @@ func (this *apiComp) Login(session comm.IUserSession, req *pb.UserLoginReq) (err
|
||||
return
|
||||
}
|
||||
|
||||
// 在logintime更新前判断是否是昨天
|
||||
if utils.IsYestoday(user.Logintime) {
|
||||
go this.module.ModuleBuried.TriggerBuried(session.GetUserId(), comm.GetBuriedParam(comm.Rtype9, 1))
|
||||
} else {
|
||||
this.module.ModuleBuried.ResetBuriedByType(user.Uid, comm.Rtype9)
|
||||
}
|
||||
|
||||
//不是新账号
|
||||
if !isNewUser {
|
||||
lastLoginTime = user.Logintime
|
||||
@ -129,13 +136,14 @@ func (this *apiComp) Login(session comm.IUserSession, req *pb.UserLoginReq) (err
|
||||
if this.module.modelUser.isLoginFirst(lastLoginTime) {
|
||||
this.module.ModuleHero.NoLoginDay(user.Uid, int32(utils.DiffDays(lastLoginTime, configure.Now().Unix())))
|
||||
go this.module.ModuleBuried.TriggerBuried(session.GetUserId(), comm.GetBuriedParam(comm.Rtype8, 1))
|
||||
go this.module.ModuleBuried.TriggerBuried(session.GetUserId(), comm.GetBuriedParam(comm.Rtype9, 1))
|
||||
this.module.modelExpand.updateLoginDay(user.Uid, lastLoginTime)
|
||||
// 清理点赞
|
||||
this.module.ModuleFriend.ResetFriend(user.Uid)
|
||||
this.module.modelSign.UserSign(session)
|
||||
}
|
||||
|
||||
// 判断昨日是否登录
|
||||
|
||||
rsp.Data = user
|
||||
|
||||
// 查询玩家扩展数据
|
||||
|
Loading…
Reference in New Issue
Block a user