This commit is contained in:
@@ -175,7 +175,7 @@ func (Controller) OnPlayerFightNpcMonster(data1 *fight.FightNpcMonsterInboundInf
|
|||||||
|
|
||||||
p.AddPetExp(foi.Winpet, int64(addexp))
|
p.AddPetExp(foi.Winpet, int64(addexp))
|
||||||
|
|
||||||
if monster.IsShiny() && p.CanGetXUAN() {
|
if monster.IsShiny() && p.CanGetXUAN() &&xmlres.PetMAP[int(refref.GeGet()].Type<16{
|
||||||
xuan := 400686 + int64(xmlres.PetMAP[int(refPet.GetID())].Type)
|
xuan := 400686 + int64(xmlres.PetMAP[int(refPet.GetID())].Type)
|
||||||
ok := p.ItemAdd(xuan, 1)
|
ok := p.ItemAdd(xuan, 1)
|
||||||
if ok {
|
if ok {
|
||||||
|
|||||||
Reference in New Issue
Block a user