mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-17 22:52:27 +08:00
实现更多的触发器
This commit is contained in:
@@ -19,7 +19,7 @@ func (g *Game) HandlePlayerExpAdd(userId uint32) {
|
||||
for {
|
||||
playerLevel := player.PropertiesMap[constant.PLAYER_PROP_PLAYER_LEVEL]
|
||||
// 读取玩家等级配置表
|
||||
playerLevelConfig := gdconf.GetPlayerLevelDataById(int32(playerLevel))
|
||||
playerLevelConfig := gdconf.GetPlayerLevelDataByLevel(int32(playerLevel))
|
||||
if playerLevelConfig == nil {
|
||||
// 获取不到代表已经到达最大等级
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user