1
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
xinian
2026-02-16 03:02:59 +08:00
committed by cnb
parent deeb1ccc38
commit b67dd576e5
4 changed files with 9 additions and 8 deletions

View File

@@ -200,9 +200,9 @@ func (Controller) OnPlayerFightNpcMonster(data1 *fight.FightNpcMonsterInboundInf
if foi.Reason == 0 && foi.WinnerId == p.Info.UserID {
exp := uint32(xmlres.PetMAP[int(monster.ID)].YieldingExp) * monster.Level / 7
addlevel, pookevel := p.CanGetExp()
addlevel, poolevel := p.CanGetExp()
addexp := uint32(addlevel) * (exp)
poolexp := uint32(pookevel) * (exp)
poolexp := uint32(poolevel) * (exp)
items := &info.S2C_GET_BOSS_MONSTER{
//EV: 45,
EXP: poolexp,