升级初步完成

This commit is contained in:
panw
2024-12-06 16:34:17 +08:00
parent 4bac3c6d86
commit a968281bdc
9 changed files with 54 additions and 67 deletions

View File

@@ -29,7 +29,6 @@ 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}
];
items: any = []
sitems:any = []
player_skills: any = [
];
@@ -46,7 +45,11 @@ export class SingletonModuleComp extends ecs.Comp {
];
monster_buffs: any = [];
/** 游戏主角 */
heros:any = [];
heros:any={
9001:{uuid:9001,lv:1,exp:0,slv:1,stone:0},
9002:{uuid:9002,lv:2,exp:0,slv:2,stone:0},
9003:{uuid:9003,lv:3,exp:0,slv:3,stone:0},
};
mheros:any = [];
monsters:any = [];
skills:any = []
@@ -96,10 +99,10 @@ export class SingletonModuleComp extends ecs.Comp {
},
fight_heros:[9001,],
items:{
1001:0,
1001:1000,
1002:0,
1003:0,
1004:0,
1004:1000,
1005:0,
1006:0,
1007:0,
@@ -112,11 +115,6 @@ export class SingletonModuleComp extends ecs.Comp {
1027:0,
1028:0,
},
heros:{
9001:{uuid:9001,lv:1,exp:0,slv:1,stone:0},
9002:{uuid:9002,lv:2,exp:0,slv:2,stone:0},
9003:{uuid:9003,lv:3,exp:0,slv:3,stone:0},
},
talent:{
1001:{uuid:1001,lv:0,},
},

View File

@@ -1,25 +1,2 @@
/*
* @Author: dgflash
* @Date: 2021-11-23 15:28:39
* @LastEditors: dgflash
* @LastEditTime: 2022-01-26 16:42:00
*/
export const RoleType = {
1: "前排",
2: "后排",
}
export const RoleSet ={
101:{uuid:"101", name:'魔法师', path:"101",atk:6,atk_cd:2, hp:30, power:50, speed:150,skill:{ }},
102:{uuid:"102", name:'魔法师', path:"102",atk:6,atk_cd:2, hp:30, power:50, speed:150,skill:{ }},
103:{uuid:"103", name:'魔法师', path:"103",atk:6,atk_cd:2, hp:30, power:50, speed:150,skill:{ }},
104:{uuid:"104", name:'魔法师', path:"104",atk:6,atk_cd:2, hp:30, power:50, speed:150,skill:{ }},
105:{uuid:"105", name:'魔法师', path:"105",atk:6,atk_cd:2, hp:30, power:50, speed:150,skill:{ }},
106:{uuid:"106", name:'魔法师', path:"106",atk:6,atk_cd:2, hp:30, power:50, speed:150,skill:{ }},
107:{uuid:"107", name:'魔法师', path:"107",atk:6,atk_cd:2, hp:30, power:50, speed:150,skill:{ }},
108:{uuid:"108", name:'魔法师', path:"108",atk:6,atk_cd:2, hp:30, power:50, speed:150,skill:{ }},
109:{uuid:"109", name:'魔法师', path:"109",atk:6,atk_cd:2, hp:30, power:50, speed:150,skill:{ }},
110:{uuid:"110", name:'魔法师', path:"110",atk:6,atk_cd:2, hp:30, power:50, speed:150,skill:{ }},
}
export const SlvSet =[0,20,40,80,160]