mirror of
https://gitee.com/jisol/jisol-game/
synced 2026-07-08 00:36:36 +00:00
开源...
This commit is contained in:
@@ -241,8 +241,7 @@ export default class GOnHookMode extends GNormalModeBase<{},{}>{
|
||||
petId:0,
|
||||
petPlayerId:0,
|
||||
petTbId:creeps.petTbId,
|
||||
petLevel:creeps.petLevel,
|
||||
petStar:0,
|
||||
petStar:creeps.petLevel,
|
||||
petStarExp:0,
|
||||
}));
|
||||
|
||||
|
||||
@@ -93,7 +93,7 @@ export default class GPVPMode extends GBaseMode<{},GPVPStart>{
|
||||
rightTbs[index] = null;
|
||||
|
||||
if(petId != 0){
|
||||
let pet:PlayerPetOV = JSON.parse(this.data.leftPets[petId]);
|
||||
let pet:PlayerPetOV = JSON.parse(this.data.rightPets[petId]);
|
||||
if(pet && pet.petId)
|
||||
rightTbs[index] = pet;
|
||||
}
|
||||
@@ -112,7 +112,7 @@ export default class GPVPMode extends GBaseMode<{},GPVPStart>{
|
||||
//调整相机
|
||||
this.camera.enabled = true;
|
||||
let camreaPos = this.camera.node.worldPosition;
|
||||
this.camera.node.worldPosition = v3(0,800,camreaPos.z)
|
||||
this.camera.node.worldPosition = v3(0,360,camreaPos.z)
|
||||
|
||||
//初始化战斗
|
||||
console.log("GPVPMode 模式初始化");
|
||||
|
||||
Reference in New Issue
Block a user