This commit is contained in:
2024-09-23 08:14:39 +08:00
parent 96c96da552
commit 618a6e3f7b
65 changed files with 38950 additions and 8530 deletions

View File

@@ -73,16 +73,22 @@ export class SingletonModuleComp extends ecs.Comp {
vm_data: any = {
name : "纸片精灵大乱斗",
game_over:false,
/**宝石数量 */
game_pause:false,
gems: 4,
unlock:5,
game:{
mission:{
once:6, //每波刷新怪物数量
total:120, //总怪物数
reward:12, //怪物死亡奖励数量
reward_num:0, //怪物死亡数
t_damge:0,
t_dps:0,
h_dps:0,
m_dps:0,
g_level:1,
g_time:0,
m_less:0,
},
role:{
hp:3000,
@@ -101,13 +107,31 @@ export class SingletonModuleComp extends ecs.Comp {
power:300,
skill:1004,
skills:[
{uuid:1002,cd:2,alive:true },
{uuid:4012,cd:3,alive:true},
{uuid:4011,cd:4,alive:true},
{uuid:0,cd:2,alive:false },
{uuid:0,cd:3,alive:false},
{uuid:0,cd:4,alive:false},
{uuid:0,cd:0,alive:false},
{uuid:0,cd:0,alive:false},
]
],
},
talent:{
1:{bonus:3,lv:0,lv_max:5,info:"英雄血量加成",name:""},
2:{bonus:3,lv:0,lv_max:5,info:"英雄攻击加成",name:""},
3:{bonus:3,lv:0,lv_max:5,info:"英雄攻击加速",name:""},
4:{bonus:3,lv:0,lv_max:5,info:"英雄技能cd加速",name:""},
5:{bonus:3,lv:0,lv_max:5,info:"英雄技能效果加强",name:""},
6:{bonus:3,lv:0,lv_max:5,info:"",name:""},
7:{bonus:3,lv:0,lv_max:5,info:"",name:""},
8:{bonus:3,lv:0,lv_max:5,info:"",name:""},
9:{bonus:3,lv:0,lv_max:5,info:"",name:""},
10:{bonus:3,lv:0,lv_max:5,info:"",name:""},
11:{bonus:3,lv:0,lv_max:5,info:"血量加成",name:""},
12:{bonus:3,lv:0,lv_max:5,info:"攻击加成",name:""},
13:{bonus:3,lv:0,lv_max:5,info:"攻击加速",name:""},
14:{bonus:3,lv:0,lv_max:5,info:"技能cd加速",name:""},
15:{bonus:3,lv:0,lv_max:5,info:"技能效果加强",name:""},
16:{bonus:3,lv:0,lv_max:5,info:"技能持续时间",name:""},
},
/** 当前等级 */
cards:{

View File

@@ -28,7 +28,7 @@ export enum BoxSet {
MONSTER_START = 360,
END_POINT = 360,
//游戏地平线
GAME_LINE = 150,
GAME_LINE = 180,
CSKILL_X = 320,
CSKILL_Y = 400,
//攻击距离

View File

@@ -15,13 +15,16 @@ export enum UIID {
/** 加载与延时提示界面 */
Netinstable,
/** 角色控制 */
Role_Controller
Role_Controller,
/** 奖励界面 */
Rewards,
}
/** 打开界面方式的配置数据 */
export var UIConfigData: { [key: number]: UIConfig } = {
[UIID.Loading]: { layer: LayerType.UI, prefab: "loading/prefab/loading", bundle: "resources" },
[UIID.Netinstable]: { layer: LayerType.PopUp, prefab: "common/prefab/netinstable" },
[UIID.Window]: { layer: LayerType.Dialog, prefab: "common/prefab/window" },
[UIID.Window]: { layer: LayerType.Dialog, prefab: "common/prefab/window" },
[UIID.Rewards]: { layer: LayerType.Dialog, prefab: "gui/rewards" },
[UIID.Role_Controller]: { layer: LayerType.UI, prefab: "gui/role_controller" },
}

View File

@@ -0,0 +1,64 @@
export const RewardSet={
1:[
{uuid: 5001,path: "5001",type: 1,lv: 1,name: "攻击强化1",info:"佣兵攻击提升10%",atk:10,hp:0,atk_cd:0,},
{uuid: 5002,path: "5002",type: 1,lv: 1,name: "攻速强化1",info:"佣兵攻击速度提升10%",atk:0,hp:0,atk_cd:10,},
{uuid: 5003,path: "5003",type: 1,lv: 1,name: "生命强化1",info:"佣兵生命值10%",atk:0,hp:20,atk_cd:0,},
],
2:[
{uuid: 5001,path: "5001",type: 1,lv: 2,name: "攻击强化2",info:"佣兵攻击速度提升15%",atk:15,hp:0,atk_cd:0,},
{uuid: 5002,path: "5002",type: 1,lv: 2,name: "攻速强化2",info:"佣兵攻击速度提升15%",atk:0,hp:0,atk_cd:15,},
{uuid: 5003,path: "5003",type: 1,lv: 2,name: "生命强化2",info:"佣兵生命值30%",atk:0,hp:30,atk_cd:0,},
],
3:[
{uuid: 5001,path: "5001",type: 1,lv: 2,name: "攻击强化2",info:"佣兵攻击速度提升15%",atk:15,hp:0,atk_cd:0,},
{uuid: 5002,path: "5002",type: 1,lv: 2,name: "攻速强化2",info:"佣兵攻击速度提升15%",atk:0,hp:0,atk_cd:15,},
{uuid: 5003,path: "5003",type: 1,lv: 2,name: "生命强化2",info:"佣兵生命值30%",atk:0,hp:30,atk_cd:0,},
],
4:[
{uuid: 5001,path: "5001",type: 1,lv: 2,name: "攻击强化2",info:"佣兵攻击速度提升15%",atk:15,hp:0,atk_cd:0,},
{uuid: 5002,path: "5002",type: 1,lv: 2,name: "攻速强化2",info:"佣兵攻击速度提升15%",atk:0,hp:0,atk_cd:15,},
{uuid: 5003,path: "5003",type: 1,lv: 2,name: "生命强化2",info:"佣兵生命值30%",atk:0,hp:30,atk_cd:0,},
],
5:[
{uuid: 5001,path: "5001",type: 1,lv: 2,name: "攻击强化2",info:"佣兵攻击速度提升15%",atk:15,hp:0,atk_cd:0,},
{uuid: 5002,path: "5002",type: 1,lv: 2,name: "攻速强化2",info:"佣兵攻击速度提升15%",atk:0,hp:0,atk_cd:15,},
{uuid: 5003,path: "5003",type: 1,lv: 2,name: "生命强化2",info:"佣兵生命值30%",atk:0,hp:30,atk_cd:0,},
],
6:[
{uuid: 5001,path: "5001",type: 1,lv: 2,name: "攻击强化2",info:"佣兵攻击速度提升15%",atk:15,hp:0,atk_cd:0,},
{uuid: 5002,path: "5002",type: 1,lv: 2,name: "攻速强化2",info:"佣兵攻击速度提升15%",atk:0,hp:0,atk_cd:15,},
{uuid: 5003,path: "5003",type: 1,lv: 2,name: "生命强化2",info:"佣兵生命值30%",atk:0,hp:30,atk_cd:0,},
],
7:[
{uuid: 5001,path: "5001",type: 1,lv: 2,name: "攻击强化2",info:"佣兵攻击速度提升15%",atk:15,hp:0,atk_cd:0,},
{uuid: 5002,path: "5002",type: 1,lv: 2,name: "攻速强化2",info:"佣兵攻击速度提升15%",atk:0,hp:0,atk_cd:15,},
{uuid: 5003,path: "5003",type: 1,lv: 2,name: "生命强化2",info:"佣兵生命值30%",atk:0,hp:30,atk_cd:0,},
],
8:[
{uuid: 5001,path: "5001",type: 1,lv: 2,name: "攻击强化2",info:"佣兵攻击速度提升15%",atk:15,hp:0,atk_cd:0,},
{uuid: 5002,path: "5002",type: 1,lv: 2,name: "攻速强化2",info:"佣兵攻击速度提升15%",atk:0,hp:0,atk_cd:15,},
{uuid: 5003,path: "5003",type: 1,lv: 2,name: "生命强化2",info:"佣兵生命值30%",atk:0,hp:30,atk_cd:0,},
],
9:[
{uuid: 5001,path: "5001",type: 1,lv: 2,name: "攻击强化2",info:"佣兵攻击速度提升15%",atk:15,hp:0,atk_cd:0,},
{uuid: 5002,path: "5002",type: 1,lv: 2,name: "攻速强化2",info:"佣兵攻击速度提升15%",atk:0,hp:0,atk_cd:15,},
{uuid: 5003,path: "5003",type: 1,lv: 2,name: "生命强化2",info:"佣兵生命值30%",atk:0,hp:30,atk_cd:0,},
],
10:[
{uuid: 5001,path: "5001",type: 1,lv: 2,name: "攻击强化2",info:"佣兵攻击速度提升15%",atk:15,hp:0,atk_cd:0,},
{uuid: 5002,path: "5002",type: 1,lv: 2,name: "攻速强化2",info:"佣兵攻击速度提升15%",atk:0,hp:0,atk_cd:15,},
{uuid: 5003,path: "5003",type: 1,lv: 2,name: "生命强化2",info:"佣兵生命值30%",atk:0,hp:30,atk_cd:0,},
],
11:[
{uuid: 5001,path: "5001",type: 1,lv: 2,name: "攻击强化2",info:"佣兵攻击速度提升15%",atk:15,hp:0,atk_cd:0,},
{uuid: 5002,path: "5002",type: 1,lv: 2,name: "攻速强化2",info:"佣兵攻击速度提升15%",atk:0,hp:0,atk_cd:15,},
{uuid: 5003,path: "5003",type: 1,lv: 2,name: "生命强化2",info:"佣兵生命值30%",atk:0,hp:30,atk_cd:0,},
],
12:[
{uuid: 5001,path: "5001",type: 1,lv: 2,name: "攻击强化2",info:"佣兵攻击速度提升15%",atk:15,hp:0,atk_cd:0,},
{uuid: 5002,path: "5002",type: 1,lv: 2,name: "攻速强化2",info:"佣兵攻击速度提升15%",atk:0,hp:0,atk_cd:15,},
{uuid: 5003,path: "5003",type: 1,lv: 2,name: "生命强化2",info:"佣兵生命值30%",atk:0,hp:30,atk_cd:0,},
]
}

View File

@@ -0,0 +1,9 @@
{
"ver": "4.0.23",
"importer": "typescript",
"imported": true,
"uuid": "0388f0b8-c77d-4020-8b9a-dabf774f6502",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -36,11 +36,11 @@ export const SkillSet={
dis:1,count:1,in:0,run:0,atk:10,hp:0,shield:0,sd:10,cd:1,bsd:0,bcd:0,sk_uuid:1001,sk_count:0,speed:600, },
2001:{uuid: 2001,path: "2001",type: 91,tg:1,angle:false,level: 1,name: "治愈术",sp_name:"heath",info:"释放一个寒冰箭攻击敌人",
dis:1,count:1,in:0,run:1,atk:0,hp:30,shield:0,sd:10,cd:1,bsd:0,bcd:0,sk_uuid:1001,sk_count:0,speed:450, },
dis:1,count:1,in:0,run:1,atk:0,hp:3,shield:0,sd:10,cd:1,bsd:0,bcd:0,sk_uuid:1001,sk_count:0,speed:450, },
2002:{uuid: 2002,path: "2002",type: 91,tg:0,angle:false,level: 1,name: "魔法盾",sp_name:"shield",info:"释放一个寒冰箭攻击敌人",
dis:1,count:1,in:0.2,run:2,atk:0,hp:0,shield:50,sd:0,cd:0,bsd:8,bcd:0,sk_uuid:1001,sk_count:0,speed:450, },
dis:1,count:1,in:0.2,run:2,atk:0,hp:0,shield:5,sd:0,cd:0,bsd:8,bcd:0,sk_uuid:1001,sk_count:0,speed:450, },
2003:{uuid: 2003,path: "2003",type: 91,tg:0,angle:false,level: 1,name: "狂暴",sp_name:"atkup",info:"释放一个寒冰箭攻击敌人",
dis:1,count:1,in:0.2,run:2,atk:10,hp:0,shield:0,sd:0,cd:0,bsd:8,bcd:0,sk_uuid:1001,sk_count:0,speed:450, },
dis:1,count:1,in:0.2,run:2,atk:1,hp:0,shield:0,sd:0,cd:0,bsd:8,bcd:0,sk_uuid:1001,sk_count:0,speed:450, },
3001:{uuid: 3001,path: "3001",type: 1,tg:3,angle:true,level: 1,name: "三连击",sp_name:"patk",info:"释放一个魔法球攻击敌人",

View File

@@ -1,12 +1,12 @@
export const HeroSet = {
9001: {
uuid: 9001, path: "k3", type: 1, level: 1,cost:2, name: "骑士", atk: 4, hp: 60, atk_dis: 40, atk_cd: 1, power: 0, power_max: 20, speed: 30,
uuid: 9001, path: "k3", type: 1, level: 1,cost:2, name: "骑士", atk: 4, hp: 60, atk_dis: 40, atk_cd: 1, power: 0, power_max: 20, speed: 40,
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 2002, word: "守护", info: "自身护盾", atktype: 1,
},
9002: {
uuid: 9002, path: "k1", type: 1, level: 1,cost:2, name: "战士", atk: 8, hp: 30, atk_dis: 40, atk_cd: 1, power: 0, power_max: 20, speed: 30,
uuid: 9002, path: "k1", type: 1, level: 1,cost:2, name: "战士", atk: 8, hp: 30, atk_dis: 40, atk_cd: 1, power: 0, power_max: 20, speed: 40,
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 2003, word: "守护", info: "自身护盾", atktype: 1,
},
9011: {
@@ -19,7 +19,7 @@ export const HeroSet = {
},
9031: {
uuid: 9005, path: "m2", type: 3, level: 1,cost:2, name: "牧师", atk: 3, hp: 20, atk_dis: 260, atk_cd: 2, power: 0, power_max: 20, speed: 30,
uuid: 9005, path: "m2", type: 3, level: 1,cost:2, name: "牧师", atk: 3, hp: 20, atk_dis: 260, atk_cd: 2, power: 15, power_max: 20, speed: 30,
max_skill: "治愈术", skill_uuid: 9002, max_skill_uuid: 2001, word: "守护", info: "自身护盾", atktype: 2
},