小修订

This commit is contained in:
yuexin 2020-12-09 17:18:20 +08:00
parent 98fb1aa446
commit 8526ef71ea

View File

@ -136,7 +136,9 @@ export class PlayerHandler {
}
obj.srcpet = pet;
if(!obj.dstpet){
obj.dstpet = pet;
if(obj.dstplayer && obj.dstplayer.isMyPet(pet)){
obj.dstpet = pet;
}
}
pet.loadData(cfg.stageunit_id, obj,
[cfg.quoteskill1id, cfg.quoteskill2id, cfg.quoteskill3id, cfg.quoteskill4id]);