ddd
This commit is contained in:
@@ -23,7 +23,11 @@ export class SingletonModuleComp extends ecs.Comp {
|
||||
/** 游戏地图 */
|
||||
map: GameMap = null!;
|
||||
cards: any = [
|
||||
{uuid:9001,type:1},{uuid:9002,type:1},{uuid:9011,type:1},{uuid:9021,type:1},{uuid:9031,type:1},{uuid:9041,type:1}
|
||||
{uuid:9001,type:1},{uuid:9002,type:1},{uuid:9011,type:1},{uuid:9021,type:1},{uuid:9031,type:1},
|
||||
{uuid:9003,type:1},{uuid:9004,type:1},{uuid:9005,type:1},
|
||||
{uuid:9012,type:1},{uuid:9013,type:1},
|
||||
{uuid:9022,type:1},{uuid:9023,type:1},
|
||||
{uuid:9032,type:1},{uuid:9033,type:1},
|
||||
];
|
||||
item_list: any = [
|
||||
{uuid:6005,type:2},{uuid:6006,type:2},{uuid:6101,type:2},{uuid:6102,type:2}, {uuid:6210,type:2},{uuid:6211,type:2},{uuid:6212,type:2},
|
||||
@@ -131,12 +135,14 @@ export class SingletonModuleComp extends ecs.Comp {
|
||||
hero_num:12,
|
||||
hp:300,
|
||||
hp_max:300,
|
||||
speed:40,
|
||||
speed:0,
|
||||
atk:10,
|
||||
atk_dis:100,
|
||||
atk_dis:700,
|
||||
buff_atk:0,
|
||||
mission_atk:0,
|
||||
atk_time:0,
|
||||
atk_cd:1,
|
||||
atk_base_cd:1,
|
||||
atk_cd_up:0,
|
||||
mission_atk_cd_up:0,
|
||||
atk_range:400,
|
||||
@@ -144,9 +150,9 @@ export class SingletonModuleComp extends ecs.Comp {
|
||||
exp:0,
|
||||
next_exp:100,
|
||||
power:300,
|
||||
skill:9001,
|
||||
skill1:{uuid:1001,cd:3,cd_max:3,alive:true },
|
||||
skill2:{uuid:1001,cd:3,cd_max:3,alive:false},
|
||||
skill:1004,
|
||||
skill1:{uuid:1004,cd:3,cd_max:3,alive:true },
|
||||
skill2:{uuid:1002,cd:3,cd_max:3,alive:true},
|
||||
skill3:{uuid:1001,cd:3,cd_max:3,alive:false},
|
||||
skill4:{uuid:1001,cd:3,cd_max:3,alive:false},
|
||||
skill5:{uuid:1001,cd:3,cd_max:3,alive:false},
|
||||
@@ -184,14 +190,6 @@ export class SingletonModuleComp extends ecs.Comp {
|
||||
monster:{
|
||||
gold_add:1,
|
||||
},
|
||||
/** 当前等级 */
|
||||
cards:{
|
||||
level:1,
|
||||
level_max:4,
|
||||
eid:0,
|
||||
ref_cost:1,
|
||||
up_cost:4,
|
||||
},
|
||||
gold: {
|
||||
min: 200,
|
||||
max: 200,
|
||||
|
||||
@@ -1,25 +1,62 @@
|
||||
|
||||
export const HeroSet = {
|
||||
9001: {
|
||||
uuid: 9001, path: "k3", type: 1, level: 1,cost:2, name: "骑士", atk: 10, hp: 100, atk_dis: 100, atk_cd: 1, power: 0, power_max: 20, speed: 40,
|
||||
skill_uuid: 9001, max_skill_uuid: 2002, atktype: 1,
|
||||
uuid: 9001, path: "k3", type: 1, level: 1,cost:2, name: "骑士", atk: 10, hp: 100, atk_dis: 100, atk_cd: 1, power: 0, power_max: 15, speed: 40,
|
||||
skill_uuid: 9001, max_skill_uuid: 2002, atktype: 1,
|
||||
},
|
||||
9002: {
|
||||
uuid: 9002, path: "k1", type: 1, level: 1,cost:2, name: "战士", atk: 20, hp: 50, atk_dis: 100, atk_cd: 1, power: 0, power_max: 20, speed: 40,
|
||||
skill_uuid: 9001, max_skill_uuid: 2003, atktype: 1,
|
||||
uuid: 9002, path: "k1", type: 1, level: 1,cost:2, name: "战士", atk: 20, hp: 50, atk_dis: 100, atk_cd: 1, power: 0, power_max: 15, speed: 40,
|
||||
skill_uuid: 9001, max_skill_uuid: 2003, atktype: 1,
|
||||
},
|
||||
9003: {
|
||||
uuid: 9003, path: "kk1", type: 1, level: 1,cost:2, name: "骑士", atk: 10, hp: 100, atk_dis: 100, atk_cd: 1, power: 0, power_max: 15, speed: 40,
|
||||
skill_uuid: 9001, max_skill_uuid: 2002, atktype: 1,
|
||||
},
|
||||
9004: {
|
||||
uuid: 9004, path: "kk2", type: 1, level: 1,cost:2, name: "战士", atk: 20, hp: 50, atk_dis: 100, atk_cd: 1, power: 0, power_max: 15, speed: 40,
|
||||
skill_uuid: 9001, max_skill_uuid: 2003, atktype: 1,
|
||||
},
|
||||
9005: {
|
||||
uuid: 9005, path: "kk3", type: 1, level: 1,cost:2, name: "战士", atk: 20, hp: 50, atk_dis: 100, atk_cd: 1, power: 0, power_max: 15, speed: 40,
|
||||
skill_uuid: 9001, max_skill_uuid: 2003, atktype: 1,
|
||||
},
|
||||
9011: {
|
||||
uuid: 9004, path: "m1", type: 3, level: 1,cost:2, name: "冰法", atk: 25, hp: 50, atk_dis: 260, atk_cd: 2.5, power: 0, power_max: 20, speed: 20,
|
||||
uuid: 9011, path: "m1", type: 3, level: 1,cost:2, name: "冰法", atk: 25, hp: 50, atk_dis: 260, atk_cd: 2.5, power: 0, power_max: 15, speed: 20,
|
||||
skill_uuid: 9002, max_skill_uuid: 1002, atktype: 1,
|
||||
},
|
||||
9012: {
|
||||
uuid: 9012, path: "i2", type: 3, level: 1,cost:2, name: "冰法", atk: 25, hp: 50, atk_dis: 260, atk_cd: 2.5, power: 0, power_max: 15, speed: 20,
|
||||
skill_uuid: 9002, max_skill_uuid: 1002, atktype: 1,
|
||||
},
|
||||
9013: {
|
||||
uuid: 9013, path: "i3", type: 3, level: 1,cost:2, name: "冰法", atk: 25, hp: 50, atk_dis: 260, atk_cd: 2.5, power: 0, power_max: 15, speed: 20,
|
||||
skill_uuid: 9002, max_skill_uuid: 1002, atktype: 1,
|
||||
},
|
||||
9021: {
|
||||
uuid: 9006, path: "m3", type: 3, level: 1,cost:2, name: "火法", atk: 20, hp: 50, atk_dis: 260, atk_cd: 2, power: 0, power_max: 20, speed: 20,
|
||||
skill_uuid: 9002, max_skill_uuid: 1001, atktype: 2
|
||||
uuid: 9021, path: "m3", type: 3, level: 1,cost:2, name: "火法", atk: 20, hp: 50, atk_dis: 260, atk_cd: 2, power: 0, power_max: 15, speed: 20,
|
||||
skill_uuid: 9002, max_skill_uuid: 1001, atktype: 2
|
||||
},
|
||||
9022: {
|
||||
uuid: 9022, path: "f2", type: 3, level: 1,cost:2, name: "火法", atk: 20, hp: 50, atk_dis: 260, atk_cd: 2, power: 0, power_max: 15, speed: 20,
|
||||
skill_uuid: 9002, max_skill_uuid: 1001, atktype: 2
|
||||
},
|
||||
9023: {
|
||||
uuid: 9023, path: "f3", type: 3, level: 1,cost:2, name: "火法", atk: 20, hp: 50, atk_dis: 260, atk_cd: 2, power: 0, power_max: 15, speed: 20,
|
||||
skill_uuid: 9002, max_skill_uuid: 1001, atktype: 2
|
||||
},
|
||||
9031: {
|
||||
uuid: 9005, path: "m2", type: 3, level: 1,cost:2, name: "牧师", atk: 10, hp: 50, atk_dis: 260, atk_cd: 2, power: 1, power_max: 1, speed: 20,
|
||||
skill_uuid: 9002, max_skill_uuid: 2001, atktype: 2
|
||||
uuid: 9031, path: "m2", type: 3, level: 1,cost:2, name: "牧师", atk: 10, hp: 50, atk_dis: 260, atk_cd: 2, power: 1, power_max: 10, speed: 20,
|
||||
skill_uuid: 9002, max_skill_uuid: 2001, atktype: 2
|
||||
},
|
||||
9032: {
|
||||
uuid: 9032, path: "h2", type: 3, level: 1,cost:2, name: "牧师", atk: 10, hp: 50, atk_dis: 260, atk_cd: 2, power: 1, power_max: 10, speed: 20,
|
||||
skill_uuid: 9002, max_skill_uuid: 2001, atktype: 2
|
||||
},
|
||||
9033: {
|
||||
uuid: 9033, path: "h3", type: 3, level: 1,cost:2, name: "牧师", atk: 10, hp: 50, atk_dis: 260, atk_cd: 2, power: 1, power_max: 10, speed: 20,
|
||||
skill_uuid: 9002, max_skill_uuid: 2001, atktype: 2
|
||||
},
|
||||
|
||||
9041: {
|
||||
uuid: 9009, path: "arc1", type: 2, level: 1,cost:2, name: "弓箭手", atk: 15, hp: 50, atk_dis: 200, atk_cd: 1.5, power: 0, power_max: 20, speed: 30,
|
||||
skill_uuid: 9003, max_skill_uuid: 1003, atktype: 2
|
||||
|
||||
Reference in New Issue
Block a user