环境技能继续

This commit is contained in:
2024-12-11 10:54:40 +08:00
parent 4ef7abf374
commit ec83f6506b
14 changed files with 4822 additions and 5396 deletions

View File

@@ -30,21 +30,19 @@ export class SingletonModuleComp extends ecs.Comp {
// {uuid:6213,type:2},{uuid:6214,type:2},{uuid:6215,type:2},
// {uuid:6216,type:2},{uuid:6217,type:2},{uuid:6218,type:2}
];
sitems:any = []
player_skills: any = [
];
player_buffs: any = [
{x:-BoxSet.CSKILL_X,y:BoxSet.CSKILL_Y,eid:0},
{x:-BoxSet.CSKILL_X+55,y:BoxSet.CSKILL_Y,eid:0},
{x:-BoxSet.CSKILL_X+110,y:BoxSet.CSKILL_Y,eid:0},
{x:-BoxSet.CSKILL_X,y:BoxSet.CSKILL_Y,eid:0},
{x:-BoxSet.CSKILL_X,y:BoxSet.CSKILL_Y+55,eid:0},
{x:-BoxSet.CSKILL_X+55,y:BoxSet.CSKILL_Y+55,eid:0},
{x:-BoxSet.CSKILL_X+110,y:BoxSet.CSKILL_Y+55,eid:0},
{x:-BoxSet.CSKILL_X+165,y:BoxSet.CSKILL_Y+55,eid:0},
];
monster_buffs: any = [];
skills: any = [
{uuid:1001,type:3,lv:0},
{uuid:1002,type:3,lv:0},
{uuid:1003,type:3,lv:0},
{uuid:1004,type:3,lv:0},
{uuid:1005,type:3,lv:0},
{uuid:1006,type:3,lv:0},
{uuid:1007,type:3,lv:0},
{uuid:1008,type:3,lv:0},
{uuid:1009,type:3,lv:0},
]
mskill=0;
/** 游戏主角 */
heros:any={
9001:{uuid:9001,lv:1,exp:0,slv:0,stone:0},
@@ -53,7 +51,6 @@ export class SingletonModuleComp extends ecs.Comp {
};
mheros:any = [];
monsters:any = [];
skills:any = []
sk_info:any = []
monsters_dead:any = []
heros_dead:any = []
@@ -131,20 +128,7 @@ export class SingletonModuleComp extends ecs.Comp {
1027:0,
1028:0,
},
talent:{
1001:{uuid:1001,lv:0,},
},
item_box:{
hp:0,
atk:0,
atk_cd:0,
power:0,
name:"",
skillcd:0,
skillsd:0,
shield:0,
info:"",
}
};
vmAdd() {
VM.add(this.vmdata, "data");