This commit is contained in:
walkpan
2024-09-09 07:56:18 +08:00
parent 47af795c12
commit 9bac2d5c5b
264 changed files with 96262 additions and 53551 deletions

View File

@@ -11,6 +11,7 @@ import { GameMap } from "../map/GameMap";
import { BoxSet } from "./config/BoxSet";
import { Role } from "../Role/Role";
import { Monster } from "../monster/Monster";
import { v3 } from "cc";
// import { Role } from "../role/Role";
// import { data } from "../data/data";
@@ -38,11 +39,14 @@ export class SingletonModuleComp extends ecs.Comp {
monster_buffs: any = [];
/** 游戏主角 */
Role: Role = null;
t_monster:any={eid:0,pos:v3(0,0,0)};
t_hero:any={eid:0,pos:v3(0,0,0)};
/** 游戏数据 */
// data:data = null!;
/**怪物数据 数组 */
/**heros 数据 */
heros:any = [];
monsters:any = [];
skills:any = []
sk_info:any = []
monsters_dead:any = []
@@ -71,7 +75,7 @@ export class SingletonModuleComp extends ecs.Comp {
exp:0,
next_exp:100,
power:300,
atk_cd:1.5,
atk_cd:2,
},
/** 当前等级 */
cards:{
@@ -101,6 +105,7 @@ export class SingletonModuleComp extends ecs.Comp {
name:"",
skillcd:0,
skillsd:0,
shield:0,
info:"",
}