排行榜优化
This commit is contained in:
parent
505f9a0dd6
commit
d79476b0d2
@ -522,13 +522,14 @@ func (p *PlayerBaseData) AddExp(player *Player, exp int, pexp int) (int, error)
|
||||
player.initAcitivity()
|
||||
player.BackDataActivity()
|
||||
player.QuestTrigger(&quest.Trigger{Label: quest.TRIGGER_LABEL_UPLV})
|
||||
p.p.TeLog("level_up", map[string]interface{}{
|
||||
player.TeLog("level_up", map[string]interface{}{
|
||||
"after_level": BaseMod.Level,
|
||||
})
|
||||
p.p.TeLog("property_level_up", map[string]interface{}{
|
||||
player.TeLog("property_level_up", map[string]interface{}{
|
||||
"property_level": BaseMod.Level,
|
||||
"property_level_reward": userCfg.GetUnlock(int(BaseMod.Level)),
|
||||
})
|
||||
player.HandleInUserRank()
|
||||
}
|
||||
if len(UpLevelItem) > 0 {
|
||||
err := player.HandleItem(UpLevelItem, msg.ITEM_POP_LABEL_LevUpReward.String())
|
||||
|
||||
Loading…
Reference in New Issue
Block a user