This commit is contained in:
2024-09-13 16:31:11 +08:00
parent b25779f109
commit 417b5d85be
16 changed files with 815 additions and 119 deletions

View File

@@ -57,10 +57,9 @@ export class RoleViewComp extends CCComp {
power_max: number = 1200; /** 能量最大值 */
power_speed: number = 1; //能量回复速度每0.1秒回复量
skill_name: string = "base"; //技能名称
max_skill_name: string = "base"; //大技能名称
skill_uuid:number = 9002;
max_skill_uuid:number = 9002;
skill_uuid:number = 1005;
max_skill_uuid:number = 1005;
atk: number = 10; /**攻击力 */
// atk_speed: number = 1;
atk_cd: number = 1.3; /**攻击速度 攻击间隔 */

View File

@@ -77,7 +77,7 @@ export class SingletonModuleComp extends ecs.Comp {
g_time:0,
},
role:{
hp:300,
hp:3000,
atk:10,
lv:1,
exp:0,

View File

@@ -1,19 +1,22 @@
export const MissionNum = [1,2,3]
export const MissionNum = [6]
export const MonsetList = {
1:{
1:[1001,1002,1003,1041,1042,1043],
},
2:{
1:[1011,1012,1013,1041,1042,1043],
},
3:{
1:[1041,1042,1043],
},
4:{
1:[1021,1022,1023,1041,1042,1043],
},
5:{
1:[1031,1032,1033,1041,1042,1043],
// 1:{
// 1:[1001,1002,1003,1041,1042,1043],
// },
// 2:{
// 1:[1011,1012,1013,1041,1042,1043],
// },
// 3:{
// 1:[1041,1042,1043],
// },
// 4:{
// 1:[1021,1022,1023,1041,1042,1043],
// },
// 5:{
// 1:[1031,1032,1033,1041,1042,1043],
// },
6:{
1:[1021,1022,1023],
},
}

View File

@@ -31,6 +31,8 @@ export const SkillSet={
dis:720,count:1,atk:10,hp:0,shield:0,sd:10,cd:1,bsd:0,bcd:0,sk_uuid:1001,sk_count:0,speed:350, },
1004:{uuid: 1004,path: "1004",type: 1,level: 1,name: "奥术冲击",sp_name:"bm_ball",info:"释放一个寒冰箭攻击敌人",
dis:720,count:1,atk:10,hp:0,shield:0,sd:10,cd:1,bsd:0,bcd:0,sk_uuid:1001,sk_count:0,speed:350, },
1005:{uuid: 1005,path: "1005",type: 1,level: 1,name: "猛击",sp_name:"b_atk",info:"释放一个寒冰箭攻击敌人",
dis:0,count:1,atk:10,hp:0,shield:0,sd:10,cd:1,bsd:0,bcd:0,sk_uuid:1001,sk_count:0,speed:350, },
4011:{uuid: 4011,path: "1011",type: 1,level: 3,name: "火焰风暴",sp_name:"fire",info:"释放多个个火球术攻击敌人",
dis:720,count:5,atk:10,hp:0,shield:0,sd:10,cd:2,bsd:0,bcd:0,sk_uuid:1001,sk_count:0,speed:350, },
4012:{uuid: 4012,path: "1012",type: 1,level: 3,name: "冰晶风暴",sp_name:"ice",info:"释放多个个寒冰箭攻击敌人",

View File

@@ -2,7 +2,7 @@
export const HeroSet = {
9001: {
uuid: 9001, path: "k3", type: 1, level: 1, name: "战士", atk: 4, hp: 35, atk_dis: 30, atk_cd: 2, power: 0, power_max: 10, speed: 30,
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 9001, word: "守护", info: "自身护盾", atktype: 1,
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 1005, word: "守护", info: "自身护盾", atktype: 1,
},
@@ -31,51 +31,51 @@ export const HeroSet = {
export const MonSet = {
1001: {
uuid: 1001, path: "ge1", type: 1, level: 1, name: "战斗哥", atk: 4, hp: 30, atk_dis: 30, atk_cd: 2, power: 0, power_max: 10, speed: 30,
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 9001, word: "守护", info: "自身护盾", atktype: 1
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 1005, word: "守护", info: "自身护盾", atktype: 1
},
1002: {
uuid: 1002, path: "ge2", type: 1, level: 1, name: "墨西哥", atk: 4, hp: 30, atk_dis: 30, atk_cd: 2, power: 0, power_max: 10, speed: 30,
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 9001, word: "守护", info: "自身护盾", atktype: 1
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 1005, word: "守护", info: "自身护盾", atktype: 1
},
1003: {
uuid: 1003, path: "ge3", type: 1, level: 1, name: "铁头哥", atk: 4, hp: 30, atk_dis: 30, atk_cd: 2, power: 0, power_max: 10, speed: 30,
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 9001, word: "守护", info: "自身护盾", atktype: 1
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 1005, word: "守护", info: "自身护盾", atktype: 1
},
1011: {
uuid: 1011, path: "orc1", type: 1, level: 1, name: "森林兽人", atk: 4, hp: 30, atk_dis: 30, atk_cd: 2, power: 0, power_max: 10, speed: 30,
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 9001, word: "守护", info: "自身护盾", atktype: 1
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 1005, word: "守护", info: "自身护盾", atktype: 1
},
1012: {
uuid: 1012, path: "orc2", type: 1, level: 1, name: "荒野兽人", atk: 4, hp: 30, atk_dis: 30, atk_cd: 2, power: 0, power_max: 10, speed: 30,
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 9001, word: "守护", info: "自身护盾", atktype: 1
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 1005, word: "守护", info: "自身护盾", atktype: 1
},
1013: {
uuid: 1013, path: "orc3", type: 1, level: 1, name: "兽人战士", atk: 4, hp: 30, atk_dis: 30, atk_cd: 2, power: 0, power_max: 10, speed: 30,
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 9001, word: "守护", info: "自身护盾", atktype: 1
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 1005, word: "守护", info: "自身护盾", atktype: 1
},
1021: {
uuid: 1021, path: "gou1", type: 1, level: 1, name: "黄皮豺狼", atk: 4, hp: 30, atk_dis: 30, atk_cd: 2, power: 0, power_max: 10, speed: 30,
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 9001, word: "守护", info: "自身护盾", atktype: 1
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 1005, word: "守护", info: "自身护盾", atktype: 1
},
1022: {
uuid: 1022, path: "gou2", type: 1, level: 1, name: "白皮豺狼", atk: 4, hp: 30, atk_dis: 30, atk_cd: 2, power: 0, power_max: 10, speed: 30,
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 9001, word: "守护", info: "自身护盾", atktype: 1
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 1005, word: "守护", info: "自身护盾", atktype: 1
},
1023: {
uuid: 1023, path: "gou3", type: 1, level: 1, name: "灰皮豺狼", atk: 4, hp: 30, atk_dis: 30, atk_cd: 2, power: 0, power_max: 10, speed: 30,
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 9001, word: "守护", info: "自身护盾", atktype: 1
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 1005, word: "守护", info: "自身护盾", atktype: 1
},
1031: {
uuid: 1031, path: "gou1", type: 1, level: 1, name: "独眼巨人", atk: 4, hp: 30, atk_dis: 30, atk_cd: 2, power: 0, power_max: 10, speed: 30,
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 9001, word: "守护", info: "自身护盾", atktype: 1
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 1005, word: "守护", info: "自身护盾", atktype: 1
},
1032: {
uuid: 1032, path: "gou2", type: 1, level: 1, name: "狂暴独眼", atk: 4, hp: 30, atk_dis: 30, atk_cd: 2, power: 0, power_max: 10, speed: 30,
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 9001, word: "守护", info: "自身护盾", atktype: 1
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 1005, word: "守护", info: "自身护盾", atktype: 1
},
1033: {
uuid: 1033, path: "gou3", type: 1, level: 1, name: "独眼首领", atk: 4, hp: 30, atk_dis: 30, atk_cd: 2, power: 0, power_max: 10, speed: 30,
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 9001, word: "守护", info: "自身护盾", atktype: 1
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 1005, word: "守护", info: "自身护盾", atktype: 1
},
1041: {
uuid: 1041, path: "ys1", type: 1, level: 1, name: "火元素", atk: 4, hp: 30, atk_dis: 200, atk_cd: 2, power: 0, power_max: 10, speed: 30,