Merge branch 'dev' of http://git.legu.cc/liwei_3d/go_dreamfactory into dev
This commit is contained in:
commit
d474f153a6
@ -520,7 +520,7 @@ func (this *ModelHero) AddCardExp(session comm.IUserSession, hero *pb.DBHero, ex
|
||||
curExp = 0
|
||||
break
|
||||
}
|
||||
|
||||
maxExp = _data.Heroexp
|
||||
if maxLv <= curLv && curExp >= maxExp { // 设置最大经验和等级
|
||||
curLv = maxLv
|
||||
curExp = maxExp
|
||||
|
Loading…
Reference in New Issue
Block a user