``` feat(fight): 添加尼尔尼奥变身逻辑并重构怪物生成模块
This commit is contained in:
@@ -162,6 +162,9 @@ func (h Controller) OnPlayerFightNpcMonster(data *fight.FightNpcMonsterInboundIn
|
||||
|
||||
return nil, errorcode.ErrorCodes.ErrPokemonNotExists
|
||||
}
|
||||
if refpet.Ext != 0 {
|
||||
refpet.Id = refpet.Ext
|
||||
}
|
||||
mo := model.GenPetInfo(
|
||||
int(refpet.Id), -1,
|
||||
-1,
|
||||
|
||||
Reference in New Issue
Block a user