开源...

This commit is contained in:
DESKTOP-5RP3AKU\Jisol
2025-04-16 12:08:49 +08:00
parent 81c2bc83ff
commit c65eed7e63
16675 changed files with 575 additions and 2326041 deletions
@@ -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 模式初始化");