This commit is contained in:
@@ -157,6 +157,9 @@ func (Controller) OnPlayerFightNpcMonster(data1 *fight.FightNpcMonsterInboundInf
|
||||
if !p.CanFight() {
|
||||
return nil, errorcode.ErrorCodes.ErrSystemError
|
||||
}
|
||||
if data1.Number > 9 {
|
||||
return nil, errorcode.ErrorCodes.ErrSystemError
|
||||
}
|
||||
refPet := p.OgreInfo.Data[data1.Number]
|
||||
if refPet.ID == 0 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user