开源...

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

View File

@@ -79,8 +79,8 @@ export default abstract class GRoleBase<T> extends GObject<T>{
this._values = value;
}
//添加避障
ov:NOVBase;
// //添加避障
// ov:NOVBase;
get():this{
if(this.isDie) return null;
@@ -89,8 +89,8 @@ export default abstract class GRoleBase<T> extends GObject<T>{
onSyncLoad(){
//避障
this.ov = new NOV2DSimple(this.node.getComponent(BoxCollider2D));
// //避障
// this.ov = new NOV2DSimple(this.node.getComponent(BoxCollider2D));
if(!this.spine) this.spine = this.node.getComponent(JNSkeleton);
//如果没有生成则直接销毁

View File

@@ -32,7 +32,7 @@ export default class GPetAttribute extends GAttributeBase{
});
//计算升级成长属性
let level = this.pet.petLevel; //宠物等级
let level = 1 + this.pet.petStar; //宠物等级
let grow = TD.TbGRoleUpGrow.get(this.pet.petId) || TD.TbGRoleUpGrow.get(0); //成长
TD.TbGAttribute.getDataList().forEach(attr => {

View File

@@ -6,7 +6,7 @@ import GAttributeBase from "../GAttributeBase";
export default class GPetEquipAttribute extends GAttributeBase{
//宠物信息
equips:PetEquip[];
equips:PetEquip[] = [];
constructor(equips:PetEquip[]){