删除好多英雄 专精几个英雄,继续英雄页面

This commit is contained in:
walkpan
2025-01-23 23:11:34 +08:00
parent 43fbf30e46
commit 14a40a24f1
229 changed files with 8045 additions and 102923 deletions

View File

@@ -18,9 +18,9 @@ export const MissionSet = [
[5201],
]
export const Missions = [
[5201,5201,5202,5203,5204,5205,5206,5207,5208,5209,5210,5211,5212,5219,5220,5221],
[5213,5213,5214,5215,5216,5217,5218],
[5015,5003],
[5201,5202,5203,5204,5205,5206,5207,5208,5209,5210,5211,5212,5219,5220,5221],
[5213,5214,5215,5216,5217,5218],
[5225,5226,5227],
]

View File

@@ -235,22 +235,6 @@ export const BoxDrop={
{uuid: 5009,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5010,dropRate: 5,num_max: 5,type:1}, // quality 3
{uuid: 5011,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5012,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5013,dropRate: 5,num_max: 5,type:1}, // 箭雨 quality 3
{uuid: 5014,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5015,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5016,dropRate: 5,num_max: 5,type:1}, // quality 3
{uuid: 5017,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5018,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5019,dropRate: 15,num_max: 5,type:1}, // 罗宾汉 quality 2
{uuid: 5020,dropRate: 5,num_max: 5,type:1}, // quality 3
{uuid: 5021,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5022,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5023,dropRate: 5,num_max: 5,type:1}, // quality 3
{uuid: 5024,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5025,dropRate: 30,num_max: 5,type:1}, // 武道家 quality 1
{uuid: 5026,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5027,dropRate: 5,num_max: 5,type:1}, // quality 3
],
3:[
{uuid: 5001,dropRate: 5,num_max: 5,type:1}, // 圣盾战 quality 3
@@ -264,22 +248,6 @@ export const BoxDrop={
{uuid: 5009,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5010,dropRate: 5,num_max: 5,type:1}, // quality 3
{uuid: 5011,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5012,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5013,dropRate: 5,num_max: 5,type:1}, // 箭雨 quality 3
{uuid: 5014,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5015,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5016,dropRate: 5,num_max: 5,type:1}, // quality 3
{uuid: 5017,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5018,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5019,dropRate: 15,num_max: 5,type:1}, // 罗宾汉 quality 2
{uuid: 5020,dropRate: 5,num_max: 5,type:1}, // quality 3
{uuid: 5021,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5022,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5023,dropRate: 5,num_max: 5,type:1}, // quality 3
{uuid: 5024,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5025,dropRate: 30,num_max: 5,type:1}, // 武道家 quality 1
{uuid: 5026,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5027,dropRate: 5,num_max: 5,type:1}, // quality 3
],
}
export const BoxDropCount={
@@ -312,22 +280,6 @@ export const DropConfigList=[
{uuid: 5009,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5010,dropRate: 5,num_max: 5,type:1}, // quality 3
{uuid: 5011,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5012,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5013,dropRate: 5,num_max: 5,type:1}, // 箭雨 quality 3
{uuid: 5014,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5015,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5016,dropRate: 5,num_max: 5,type:1}, // quality 3
{uuid: 5017,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5018,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5019,dropRate: 15,num_max: 5,type:1}, // 罗宾汉 quality 2
{uuid: 5020,dropRate: 5,num_max: 5,type:1}, // quality 3
{uuid: 5021,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5022,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5023,dropRate: 5,num_max: 5,type:1}, // quality 3
{uuid: 5024,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5025,dropRate: 30,num_max: 5,type:1}, // 武道家 quality 1
{uuid: 5026,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5027,dropRate: 5,num_max: 5,type:1}, // quality 3
{uuid: 9001,dropRate: 100,num_max: 5000,type:2},
{uuid: 1003,dropRate: 20,num_max: 5,type:2},
]

View File

@@ -56,14 +56,14 @@ export enum HeroType {
water = 2,
air = 3,
}
export const HeroList = [5001,5002,5003,5004,5005,5006,5007,5008,5009,5010,5011,5012,5013,5014,5015,5016,5017,5018,5019,5020,5021,5022,5023,5024,5025,5026,5027]
export const HeroList = [5001,5002,5003,5004,5005,5006,5007,5008,5009,5010,5011]
export const MonList = [5201]
export const HeroSet = {
StartPos:[-300,-350,-350]
}
export const HeroInfo = {
5001:{uuid:5001,name:"神圣守护",path:"k2",quality:3,kind:1,type:0,
5001:{uuid:5001,name:"神圣守护",path:"k2",quality:3,kind:1,type:0,
hp:5120,hp_up:130,shp_up:100,def:100,def_up:16,sdef_up:50,ap:100,ap_up:6,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:180,
a_cd:1,speed:120,lvexp:0,slvexp:0,slv:0,aexp:5,uaexp:2,cexp:5,
@@ -72,97 +72,7 @@ export const HeroInfo = {
sk1:[6005,6005,6005,6005,6005,6005],sk2:[6018,6018,6018,6018,6018,6018],sk3:[6018,6018,6018,6018,6018,6018],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5002:{uuid:5002,name:"炽焰女巫",path:"m3",quality:1,kind:2,type:2,
hp:3160,hp_up:110,shp_up:100,def:50,def_up:2,sdef_up:0,ap:150,ap_up:10,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:500,
a_cd:1.5,speed:50,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
doexp:10,dexp:20,pw:0,pwm:150,pws:10,apw:4,uapw:2,cpw:5,dpw:5,
dopw:5,wp:1001,arm:2001,ring:3001,shoes:4001,
sk1:[6002,6002,6002,6002,6002,6002],sk2:[6012,6012,6012,6012,6012,6012],sk3:[6012,6012,6012,6012,6012,6012],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5003:{uuid:5003,name:"圣光祭司",path:"h1",quality:1,kind:2,type:2,
hp:6210,hp_up:150,shp_up:100,def:50,def_up:2,sdef_up:0,ap:100,ap_up:5,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:500,
a_cd:1.5,speed:50,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
doexp:10,dexp:20,pw:0,pwm:150,pws:10,apw:4,uapw:2,cpw:5,dpw:5,
dopw:5,wp:1001,arm:2001,ring:3001,shoes:4001,
sk1:[6004,6004,6004,6004,6004,6004],sk2:[6017,6017,6017,6017,6017,6017],sk3:[6017,6017,6017,6017,6017,6017],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5004:{uuid:5004,name:"不朽骑士",path:"k3",quality:2,kind:1,type:0,
hp:5510,hp_up:120,shp_up:100,def:100,def_up:15,sdef_up:50,ap:100,ap_up:5,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:180,
a_cd:1,speed:120,lvexp:0,slvexp:0,slv:0,aexp:5,uaexp:2,cexp:5,
doexp:5,dexp:20,pw:0,pwm:150,pws:10,apw:2,uapw:1,cpw:5,dpw:5,
dopw:5,wp:1001,arm:2001,ring:3001,shoes:4001,
sk1:[6005,6005,6005,6005,6005,6005],sk2:[6032,6032,6032,6032,6032,6032],sk3:[6032,6032,6032,6032,6032,6032],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,10,15,20,25,30],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["受攻击后有几率触发自愈","受攻击后有几率触发自愈","受攻击后有几率触发自愈","受攻击后有几率触发自愈","受攻击后有几率触发自愈"]},
5005:{uuid:5005,name:"雷霆船长",path:"cz1",quality:3,kind:2,type:0,
hp:4720,hp_up:130,shp_up:100,def:100,def_up:16,sdef_up:50,ap:100,ap_up:6,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:180,
a_cd:1,speed:120,lvexp:0,slvexp:0,slv:0,aexp:5,uaexp:2,cexp:5,
doexp:5,dexp:20,pw:0,pwm:150,pws:10,apw:2,uapw:1,cpw:5,dpw:5,
dopw:5,wp:1001,arm:2001,ring:3001,shoes:4001,
sk1:[6005,6005,6005,6005,6005,6005],sk2:[6026,6026,6026,6026,6026,6026],sk3:[6026,6026,6026,6026,6026,6026],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5006:{uuid:5006,name:"战争领主",path:"k5",quality:3,kind:2,type:0,
hp:5230,hp_up:130,shp_up:100,def:100,def_up:16,sdef_up:50,ap:100,ap_up:6,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:180,
a_cd:1,speed:120,lvexp:0,slvexp:0,slv:0,aexp:5,uaexp:2,cexp:5,
doexp:5,dexp:20,pw:0,pwm:150,pws:10,apw:2,uapw:1,cpw:5,dpw:5,
dopw:5,wp:1001,arm:2001,ring:3001,shoes:4001,
sk1:[6005,6005,6005,6005,6005,6005],sk2:[6027,6027,6027,6027,6027,6027],sk3:[6027,6027,6027,6027,6027,6027],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5007:{uuid:5007,name:"混沌召唤师",path:"zh1",quality:3,kind:2,type:2,
hp:6160,hp_up:110,shp_up:100,def:50,def_up:3,sdef_up:0,ap:100,ap_up:6,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:500,
a_cd:1.5,speed:50,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
doexp:10,dexp:20,pw:0,pwm:150,pws:10,apw:4,uapw:2,cpw:5,dpw:5,
dopw:5,wp:1001,arm:2001,ring:3001,shoes:4001,
sk1:[6003,6003,6003,6003,6003,6003],sk2:[6031,6031,6031,6031,6031,6031],sk3:[6031,6031,6031,6031,6031,6031],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5008:{uuid:5008,name:"冰雪圣女",path:"df3",quality:3,kind:2,type:2,
hp:3120,hp_up:110,shp_up:100,def:50,def_up:3,sdef_up:0,ap:150,ap_up:12,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:500,
a_cd:1.5,speed:50,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
doexp:10,dexp:20,pw:0,pwm:150,pws:10,apw:4,uapw:2,cpw:5,dpw:5,
dopw:5,wp:1001,arm:2001,ring:3001,shoes:4001,
sk1:[6001,6001,6001,6001,6001,6001],sk2:[6022,6022,6022,6022,6022,6022],sk3:[6022,6022,6022,6022,6022,6022],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5009:{uuid:5009,name:"风暴精灵",path:"m4",quality:3,kind:2,type:2,
hp:3110,hp_up:110,shp_up:100,def:50,def_up:3,sdef_up:0,ap:150,ap_up:12,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:500,
a_cd:1.5,speed:50,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
doexp:10,dexp:20,pw:0,pwm:150,pws:10,apw:4,uapw:2,cpw:5,dpw:5,
dopw:5,wp:1001,arm:2001,ring:3001,shoes:4001,
sk1:[6001,6001,6001,6001,6001,6001],sk2:[6016,6016,6016,6016,6016,6016],sk3:[6016,6016,6016,6016,6016,6016],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5010:{uuid:5010,name:"生命圣者",path:"d1",quality:3,kind:2,type:2,
hp:6220,hp_up:150,shp_up:100,def:50,def_up:3,sdef_up:0,ap:100,ap_up:6,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:500,
a_cd:1.5,speed:50,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
doexp:10,dexp:20,pw:0,pwm:150,pws:10,apw:4,uapw:2,cpw:5,dpw:5,
dopw:5,wp:1001,arm:2001,ring:3001,shoes:4001,
sk1:[6003,6003,6003,6003,6003,6003],sk2:[6028,6028,6028,6028,6028,6028],sk3:[6028,6028,6028,6028,6028,6028],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5011:{uuid:5011,name:"战争祭祀",path:"d2",quality:3,kind:2,type:2,
hp:6010,hp_up:150,shp_up:100,def:50,def_up:3,sdef_up:0,ap:100,ap_up:6,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:500,
a_cd:1.5,speed:50,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
doexp:10,dexp:20,pw:0,pwm:150,pws:10,apw:4,uapw:2,cpw:5,dpw:5,
dopw:5,wp:1001,arm:2001,ring:3001,shoes:4001,
sk1:[6003,6003,6003,6003,6003,6003],sk2:[6019,6019,6019,6019,6019,6019],sk3:[6019,6019,6019,6019,6019,6019],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5012:{uuid:5012,name:"幻影剑豪",path:"k1",quality:3,kind:2,type:0,
5002:{uuid:5002,name:"幻影剑豪",path:"k1",quality:3,kind:2,type:0,
hp:4650,hp_up:130,shp_up:100,def:100,def_up:16,sdef_up:50,ap:100,ap_up:6,
sap_up:100,atp:1,vun:0,crit:40,crit_add:0,ucr:0,dodge:0,dis:180,
a_cd:1,speed:120,lvexp:0,slvexp:0,slv:0,aexp:5,uaexp:2,cexp:5,
@@ -171,34 +81,25 @@ export const HeroInfo = {
sk1:[6005,6005,6005,6005,6005,6005],sk2:[6024,6024,6024,6024,6024,6024],sk3:[6024,6024,6024,6024,6024,6024],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5013:{uuid:5013,name:"暴风射手",path:"a5",quality:3,kind:2,type:1,
hp:3080,hp_up:110,shp_up:100,def:50,def_up:3,sdef_up:0,ap:150,ap_up:12,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:400,
a_cd:1.2,speed:80,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
doexp:10,dexp:20,pw:0,pwm:150,pws:10,apw:3,uapw:2,cpw:5,dpw:5,
5003:{uuid:5003,name:"战争领主",path:"k5",quality:3,kind:2,type:0,
hp:5230,hp_up:130,shp_up:100,def:100,def_up:16,sdef_up:50,ap:100,ap_up:6,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:180,
a_cd:1,speed:120,lvexp:0,slvexp:0,slv:0,aexp:5,uaexp:2,cexp:5,
doexp:5,dexp:20,pw:0,pwm:150,pws:10,apw:2,uapw:1,cpw:5,dpw:5,
dopw:5,wp:1001,arm:2001,ring:3001,shoes:4001,
sk1:[6006,6006,6006,6006,6006,6006],sk2:[6034,6034,6034,6034,6034,6034],sk3:[6034,6034,6034,6034,6034,6034],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
sk1:[6005,6005,6005,6005,6005,6005],sk2:[6027,6027,6027,6027,6027,6027],sk3:[6027,6027,6027,6027,6027,6027],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5014:{uuid:5014,name:"苍穹射手",path:"a3",quality:3,kind:1,type:1,
hp:3230,hp_up:110,shp_up:100,def:50,def_up:3,sdef_up:0,ap:150,ap_up:12,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:400,
a_cd:1.2,speed:80,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
doexp:10,dexp:20,pw:0,pwm:150,pws:10,apw:3,uapw:2,cpw:5,dpw:5,
5004:{uuid:5004,name:"混沌法师",path:"zh1",quality:3,kind:2,type:2,
hp:6160,hp_up:110,shp_up:100,def:50,def_up:3,sdef_up:0,ap:100,ap_up:6,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:500,
a_cd:1.5,speed:50,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
doexp:10,dexp:20,pw:0,pwm:150,pws:10,apw:4,uapw:2,cpw:5,dpw:5,
dopw:5,wp:1001,arm:2001,ring:3001,shoes:4001,
sk1:[6006,6006,6006,6006,6006,6006],sk2:[6014,6014,6014,6014,6014,6014],sk3:[6014,6014,6014,6014,6014,6014],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
sk1:[6003,6003,6003,6003,6003,6003],sk2:[6031,6031,6031,6031,6031,6031],sk3:[6031,6031,6031,6031,6031,6031],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5015:{uuid:5015,name:"幽灵射手",path:"a4",quality:3,kind:2,type:1,
hp:3090,hp_up:110,shp_up:100,def:50,def_up:3,sdef_up:0,ap:150,ap_up:12,
sap_up:100,atp:1,vun:0,crit:40,crit_add:0,ucr:0,dodge:0,dis:400,
a_cd:1.2,speed:80,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
doexp:10,dexp:20,pw:0,pwm:150,pws:10,apw:3,uapw:2,cpw:5,dpw:5,
dopw:5,wp:1001,arm:2001,ring:3001,shoes:4001,
sk1:[6006,6006,6006,6006,6006,6006],sk2:[6021,6021,6021,6021,6021,6021],sk3:[6021,6021,6021,6021,6021,6021],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5016:{uuid:5016,name:"火焰法师",path:"zh2",quality:3,kind:2,type:2,
5005:{uuid:5005,name:"火焰法师",path:"zh2",quality:3,kind:2,type:2,
hp:3110,hp_up:110,shp_up:100,def:50,def_up:3,sdef_up:0,ap:150,ap_up:12,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:500,
a_cd:1.5,speed:80,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
@@ -207,103 +108,58 @@ export const HeroInfo = {
sk1:[6003,6003,6003,6003,6003,6003],sk2:[6013,6013,6013,6013,6013,6013],sk3:[6013,6013,6013,6013,6013,6013],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5017:{uuid:5017,name:"星辰法师",path:"m2",quality:2,kind:1,type:2,
hp:3300,hp_up:100,shp_up:100,def:50,def_up:2,sdef_up:0,ap:150,ap_up:10,
5006:{uuid:5006,name:"风暴精灵",path:"m4",quality:3,kind:2,type:2,
hp:3110,hp_up:110,shp_up:100,def:50,def_up:3,sdef_up:0,ap:150,ap_up:12,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:500,
a_cd:1.5,speed:50,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
doexp:10,dexp:20,pw:0,pwm:150,pws:10,apw:4,uapw:2,cpw:5,dpw:5,
dopw:5,wp:1001,arm:2001,ring:3001,shoes:4001,
sk1:[6005,6005,6005,6005,6005,6005],sk2:[6029,6029,6029,6029,6029,6029],sk3:[6029,6029,6029,6029,6029,6029],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
sk1:[6001,6001,6001,6001,6001,6001],sk2:[6016,6016,6016,6016,6016,6016],sk3:[6016,6016,6016,6016,6016,6016],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5018:{uuid:5018,name:"月光游侠",path:"a1",quality:1,kind:1,type:1,
hp:3110,hp_up:90,shp_up:100,def:50,def_up:2,sdef_up:0,ap:150,ap_up:9,
5007:{uuid:5007,name:"生命圣者",path:"d1",quality:3,kind:2,type:2,
hp:6220,hp_up:150,shp_up:100,def:50,def_up:3,sdef_up:0,ap:100,ap_up:6,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:500,
a_cd:1.5,speed:50,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
doexp:10,dexp:20,pw:0,pwm:150,pws:10,apw:4,uapw:2,cpw:5,dpw:5,
dopw:5,wp:1001,arm:2001,ring:3001,shoes:4001,
sk1:[6003,6003,6003,6003,6003,6003],sk2:[6028,6028,6028,6028,6028,6028],sk3:[6028,6028,6028,6028,6028,6028],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5008:{uuid:5008,name:"战争祭祀",path:"d2",quality:3,kind:2,type:2,
hp:6010,hp_up:150,shp_up:100,def:50,def_up:3,sdef_up:0,ap:100,ap_up:6,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:500,
a_cd:1.5,speed:50,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
doexp:10,dexp:20,pw:0,pwm:150,pws:10,apw:4,uapw:2,cpw:5,dpw:5,
dopw:5,wp:1001,arm:2001,ring:3001,shoes:4001,
sk1:[6003,6003,6003,6003,6003,6003],sk2:[6019,6019,6019,6019,6019,6019],sk3:[6019,6019,6019,6019,6019,6019],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5009:{uuid:5009,name:"暴风射手",path:"a5",quality:3,kind:2,type:1,
hp:3080,hp_up:110,shp_up:100,def:50,def_up:3,sdef_up:0,ap:150,ap_up:12,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:400,
a_cd:1.2,speed:80,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
doexp:10,dexp:20,pw:0,pwm:150,pws:10,apw:3,uapw:2,cpw:5,dpw:5,
dopw:5,wp:1001,arm:2001,ring:3001,shoes:4001,
sk1:[6006,6006,6006,6006,6006,6006],sk2:[6015,6015,6015,6015,6015,6015],sk3:[6015,6015,6015,6015,6015,6015],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
sk1:[6006,6006,6006,6006,6006,6006],sk2:[6034,6034,6034,6034,6034,6034],sk3:[6034,6034,6034,6034,6034,6034],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5019:{uuid:5019,name:"翠影神射手",path:"a2",quality:2,kind:1,type:1,
hp:3210,hp_up:100,shp_up:100,def:50,def_up:2,sdef_up:0,ap:150,ap_up:10,
5010:{uuid:5010,name:"苍穹射手",path:"a3",quality:3,kind:1,type:1,
hp:3230,hp_up:110,shp_up:100,def:50,def_up:3,sdef_up:0,ap:150,ap_up:12,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:400,
a_cd:1.2,speed:80,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
doexp:10,dexp:20,pw:0,pwm:150,pws:10,apw:3,uapw:2,cpw:5,dpw:5,
dopw:5,wp:1001,arm:2001,ring:3001,shoes:4001,
sk1:[6006,6006,6006,6006,6006,6006],sk2:[6016,6016,6016,6016,6016,6016],sk3:[6016,6016,6016,6016,6016,6016],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
sk1:[6006,6006,6006,6006,6006,6006],sk2:[6014,6014,6014,6014,6014,6014],sk3:[6014,6014,6014,6014,6014,6014],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5020:{uuid:5020,name:"碎山者",path:"ft1",quality:2,kind:2,type:0,
hp:4650,hp_up:120,shp_up:100,def:100,def_up:15,sdef_up:50,ap:100,ap_up:5,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:180,
a_cd:1,speed:120,lvexp:0,slvexp:0,slv:0,aexp:5,uaexp:2,cexp:5,
doexp:5,dexp:20,pw:0,pwm:150,pws:10,apw:2,uapw:1,cpw:5,dpw:5,
dopw:5,wp:1001,arm:2001,ring:3001,shoes:4001,
sk1:[6005,6005,6005,6005,6005,6005],sk2:[6033,6033,6033,6033,6033,6033],sk3:[6032,6032,6032,6032,6032,6032],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5021:{uuid:5021,name:"寒冰法师",path:"m7",quality:2,kind:2,type:2,
hp:3210,hp_up:100,shp_up:100,def:50,def_up:2,sdef_up:0,ap:150,ap_up:10,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:500,
a_cd:1.5,speed:50,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
doexp:10,dexp:20,pw:0,pwm:150,pws:10,apw:4,uapw:2,cpw:5,dpw:5,
dopw:5,wp:1001,arm:2001,ring:3001,shoes:4001,
sk1:[6001,6001,6001,6001,6001,6001],sk2:[6023,6023,6023,6023,6023,6023],sk3:[6023,6023,6023,6023,6023,6023],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5022:{uuid:5022,name:"神秘法师",path:"m8",quality:2,kind:2,type:2,
hp:3150,hp_up:100,shp_up:100,def:50,def_up:2,sdef_up:0,ap:150,ap_up:10,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:500,
a_cd:1.5,speed:50,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
doexp:10,dexp:20,pw:0,pwm:150,pws:10,apw:4,uapw:2,cpw:5,dpw:5,
dopw:5,wp:1001,arm:2001,ring:3001,shoes:4001,
sk1:[6001,6001,6001,6001,6001,6001],sk2:[6025,6025,6025,6025,6025,6025],sk3:[6025,6025,6025,6025,6025,6025],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5023:{uuid:5023,name:"黑桃K",path:"k6",quality:1,kind:2,type:0,
hp:5110,hp_up:110,shp_up:100,def:100,def_up:14,sdef_up:50,ap:100,ap_up:4,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:180,
a_cd:1,speed:120,lvexp:0,slvexp:0,slv:0,aexp:5,uaexp:2,cexp:5,
doexp:5,dexp:20,pw:0,pwm:150,pws:10,apw:2,uapw:1,cpw:5,dpw:5,
dopw:5,wp:1001,arm:2001,ring:3001,shoes:4001,
sk1:[6005,6005,6005,6005,6005,6005],sk2:[6027,6027,6027,6027,6027,6027],sk3:[6027,6027,6027,6027,6027,6027],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5024:{uuid:5024,name:"红桃K",path:"k7",quality:1,kind:2,type:0,
hp:5110,hp_up:110,shp_up:100,def:100,def_up:14,sdef_up:50,ap:100,ap_up:4,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:180,
a_cd:1,speed:120,lvexp:0,slvexp:0,slv:0,aexp:5,uaexp:2,cexp:5,
doexp:5,dexp:20,pw:0,pwm:150,pws:10,apw:2,uapw:1,cpw:5,dpw:5,
dopw:5,wp:1001,arm:2001,ring:3001,shoes:4001,
sk1:[6005,6005,6005,6005,6005,6005],sk2:[6027,6027,6027,6027,6027,6027],sk3:[6027,6027,6027,6027,6027,6027],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5025:{uuid:5025,name:"烈焰武神",path:"k4",quality:1,kind:2,type:0,
hp:4550,hp_up:110,shp_up:100,def:100,def_up:14,sdef_up:50,ap:100,ap_up:4,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:180,
a_cd:1,speed:120,lvexp:0,slvexp:0,slv:0,aexp:5,uaexp:2,cexp:5,
doexp:5,dexp:20,pw:0,pwm:150,pws:10,apw:2,uapw:1,cpw:5,dpw:5,
dopw:5,wp:1001,arm:2001,ring:3001,shoes:4001,
sk1:[6005,6005,6005,6005,6005,6005],sk2:[6027,6027,6027,6027,6027,6027],sk3:[6027,6027,6027,6027,6027,6027],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5026:{uuid:5026,name:"射手未定",path:"a6",quality:3,kind:2,type:1,
hp:3060,hp_up:110,shp_up:100,def:50,def_up:3,sdef_up:0,ap:150,ap_up:12,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:400,
5011:{uuid:5011,name:"幽灵射手",path:"a4",quality:3,kind:2,type:1,
hp:3090,hp_up:110,shp_up:100,def:50,def_up:3,sdef_up:0,ap:150,ap_up:12,
sap_up:100,atp:1,vun:0,crit:40,crit_add:0,ucr:0,dodge:0,dis:400,
a_cd:1.2,speed:80,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
doexp:10,dexp:20,pw:0,pwm:150,pws:10,apw:3,uapw:2,cpw:5,dpw:5,
dopw:5,wp:1001,arm:2001,ring:3001,shoes:4001,
sk1:[6006,6006,6006,6006,6006,6006],sk2:[6006,6006,6006,6006,6006,6006],sk3:[6006,6006,6006,6006,6006,6006],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5027:{uuid:5027,name:"法师待定",path:"m9",quality:3,kind:2,type:2,
hp:3130,hp_up:110,shp_up:100,def:50,def_up:3,sdef_up:0,ap:150,ap_up:12,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:500,
a_cd:1.5,speed:50,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
doexp:10,dexp:20,pw:0,pwm:150,pws:10,apw:4,uapw:2,cpw:5,dpw:5,
dopw:5,wp:1001,arm:2001,ring:3001,shoes:4001,
sk1:[6001,6001,6001,6001,6001,6001],sk2:[6001,6001,6001,6001,6001,6001],sk3:[6001,6001,6001,6001,6001,6001],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
sk1:[6006,6006,6006,6006,6006,6006],sk2:[6021,6021,6021,6021,6021,6021],sk3:[6021,6021,6021,6021,6021,6021],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5201:{uuid:5201,name:"兽人战士",path:"mor1",quality:1,kind:1,type:0,

View File

@@ -81,10 +81,10 @@ export class BuffComp extends Component {
max_show(){
this.node.getChildByName("max").active=true
this.scheduleOnce(()=>{
this.node.getChildByName("max").active=false
},0.8)
// this.node.getChildByName("max").active=true
// this.scheduleOnce(()=>{
// this.node.getChildByName("max").active=false
// },0.8)
}
show_do_buff(name:string){
var path = "game/skills/"+name;

View File

@@ -12,14 +12,11 @@ import { HeroSpine } from "./HeroSpine";
import { HeroModelComp } from "./HeroModelComp";
import { BoxSet, GameSet } from "../common/config/BoxSet";
import { smc } from "../common/SingletonModuleComp";
import { oops } from "../../../../extensions/oops-plugin-framework/assets/core/Oops";
import { Skill } from "../skills/Skill";
import { Timer } from "../../../../extensions/oops-plugin-framework/assets/core/common/timer/Timer";
import { SkillCom } from "../skills/SkillCom";
import { SkillSet, SkTG, SkType } from "../common/config/SkillSet";
import { Tooltip } from "../skills/Tooltip";
import { RandomManager } from "../../../../extensions/oops-plugin-framework/assets/core/common/random/RandomManager";
import { TimerManager } from "../../../../extensions/oops-plugin-framework/assets/core/common/timer/TimerManager";
import { HeroSet } from "../common/config/heroSet";
import { BuffComp } from "./BuffComp";
import { MonModelComp } from "./MonModelComp";
@@ -172,39 +169,11 @@ export class HeroViewComp extends CCComp {
// console.log(Date.now()+this.hero_name+":"+this.uuid+' onBeginContact: '+skill.s_name+skill.uuid);
if(this.hp <= 0 ) return
if(skill.tg< 3) return
this.check_uatk(skill);
}
if(oCol.group == seCol.group&&oCol.tag==BoxSet.SKILL_TAG){
let skill = oCol.node.getComponent(SkillCom)!;
if(skill.tg==2||skill.tg==0){
this.do_buff(skill)
}
this.check_uatk(skill);
}
}
do_buff(skill:any){
if(SkillSet[skill.s_uuid].hp > 0){ //buff加血
// let increase_hp=Math.floor(skill.hp/(skill.in_time/skill.cd))
let increase_hp=Math.floor(skill.hp)
this.add_hp(increase_hp)
}
if(SkillSet[skill.s_uuid].apup > 0){ //buff加攻击
// let increase_atk=Math.floor(skill.apup/(skill.in_time/skill.cd))
let increase_atk=Math.floor(skill.apup)
this.add_ap(increase_atk)
}
if(SkillSet[skill.s_uuid].shield > 0){ //buff护盾
this.add_shield(skill.shield)
}
if(SkillSet[skill.s_uuid].mhp > 0){ //hp最大值
// console.log("do_buff mhp: ",skill.mhp/(skill.in_time/skill.cd))
this.add_hp_max(skill.mhp/(skill.in_time/skill.cd))
}
}
onEndContact (seCol: Collider2D, oCol: Collider2D) {
}
@@ -384,7 +353,7 @@ export class HeroViewComp extends CCComp {
* @param l_hp - 可选参数表示英雄的当前生命值默认为0
*/
check_debuff(skill:any,l_hp:number=0){
console.log(this.hero_name+this.uuid+": skillname: "+skill.s_name+" :check_debuff "+skill.debuff);
// console.log(this.hero_name+this.uuid+": skillname: "+skill.s_name+" :check_debuff "+skill.debuff);
if(skill.debuff == 0) return
let num=RandomManager.instance.getRandomInt(0,100)
switch (skill.debuff){
@@ -488,7 +457,7 @@ export class HeroViewComp extends CCComp {
// console.log("攻击判断: i="+i+":akr="+this.akr);
if(i < this.akr){
// console.log("攻击触发: i="+i+":akr="+this.akr);
this.BUFFCOMP.max_show()
// this.BUFFCOMP.max_show()
this.do_skill(this.sk3)
}
}
@@ -499,7 +468,7 @@ export class HeroViewComp extends CCComp {
// console.log("闪避判断: i="+i+":dgr="+this.dgr);
if(i < this.dgr){
// console.log("闪避触发: i="+i+":dgr="+this.dgr);
this.BUFFCOMP.max_show()
// this.BUFFCOMP.max_show()
this.do_skill(this.sk3)
}
}
@@ -511,7 +480,7 @@ export class HeroViewComp extends CCComp {
if(i < this.crr){
// console.log("暴击触发: i="+i+":crr="+this.crr);
this.BUFFCOMP.max_show()
// this.BUFFCOMP.max_show()
this.do_skill(this.sk3)
}
}
@@ -521,7 +490,7 @@ export class HeroViewComp extends CCComp {
// console.log("受伤判断i="+i+":akr="+this.uar);
if(i < this.uar){
// console.log("受伤触发: i="+i+":uar="+this.uar);
this.BUFFCOMP.max_show()
// this.BUFFCOMP.max_show()
this.do_skill(this.sk3)
}
}
@@ -645,22 +614,10 @@ export class HeroViewComp extends CCComp {
left_x = hero.node.position.x
f_hero = hero
}
if(this.box_group==BoxSet.MONSTER){
if(hero.node.position.x < right_x){
right_x = hero.node.position.x
f_hero = hero
}
}
if(hero.node.position.x < right_x){
right_x = hero.node.position.x
b_hero = hero
}
if(this.box_group==BoxSet.MONSTER){
if(hero.node.position.x > left_x){
left_x = hero.node.position.x
b_hero = hero
}
}
}
return {l_hero,m_hero,f_hero,b_hero,r_hero}
}
@@ -747,20 +704,20 @@ export class HeroViewComp extends CCComp {
let skill = ecs.getEntity<Skill>(Skill);
let pos=v3(0,0)
let t_pos = pos
this.to_console("to_all_buff:"+sk)
// this.to_console("to_all_buff:"+sk)
let is_crit=this.check_crit()
skill.load(pos,this.box_group,this.node,sk,this.ap_max,t_pos,is_crit,this.crit_add,this.rhp_max);
this.to_console("使用buff:"+sk+" t_pos:"+t_pos+" box:"+this.box_group);
// this.to_console("使用buff:"+sk+" t_pos:"+t_pos+" box:"+this.box_group);
}
do_add_buff(hero:any,sk:number){
let skill = ecs.getEntity<Skill>(Skill);
let t_pos=hero.node.position
let pos = this.node.position
this.to_console("do_add_buff:"+hero.hero_name+" "+sk);
// this.to_console("do_add_buff:"+hero.hero_name+" "+sk);
let is_crit=this.check_crit()
skill.load(pos,this.box_group,this.node,sk,this.ap_max,t_pos,is_crit,this.crit_add,this.rhp_max);
this.to_console(this.scale+this.hero_name+"使用buff:"+sk+SkillSet[sk].name+" t_pos:"+t_pos+" box:"+this.box_group,);
// this.to_console(this.scale+this.hero_name+"使用buff:"+sk+SkillSet[sk].name+" t_pos:"+t_pos+" box:"+this.box_group,);
}
exp_add(exp:number=0){
@@ -896,7 +853,7 @@ export class HeroViewComp extends CCComp {
let Drops = getMonsterDrops(1, MonsterType.Normal, 1.2);
if(this.is_boss) Drops =getMonsterDrops(1, MonsterType.Elite, 1.2);
if(this.is_big_boss) Drops =getMonsterDrops(1, MonsterType.Boss, 1.2);
console.log("掉落物品:",Drops);
// console.log("掉落物品:",Drops);
//根据掉落类型和uuid 写入用户数据文件SingletonModuleComp =smc英雄碎片对应smc.heros[uuid].num,smc.heros[uuid].x1 记录本局掉落的数量,也需要添加对应值
//金币uuid=9001 对应smc.vmdata.gold.num,宝箱uuid1003,对应smc.vmdata.box.num smc.itmes[9001].x1,smc.itmes[1003].x1 记录本局
for (let i = 0; i < Drops.length; i++) {

View File

@@ -29,7 +29,8 @@ export class CardControllerComp extends CCComp {
bbg_x:any=[-300,-150,0,150,300]
protected onLoad(): void {
this.bbg=this.node.getChildByName("bar").getChildByName("bbg")
oops.message.on(GameEvent.MissionStart,this.mission_start,this)
oops.message.on(GameEvent.MissionStart,this.mission_home_to_mission,this)
// oops.message.on(GameEvent.MissionEnd,this.mission_home_to_mission,this)
}
start() {
this.bbg=this.node.getChildByName("bar").getChildByName("bbg")
@@ -56,13 +57,19 @@ export class CardControllerComp extends CCComp {
this.node.getChildByName("mission").active = false;
}
mission_start(){
mission_home_to_mission(){
this.node.getChildByName("bar").active=false;
let mission=this.node.getChildByName("mission").getComponent(MissionComp)
mission.node.active = true;
mission.mission_start()
smc.mission.play = true;
}
mission_to_mission_home(){
let mission_home=this.node.getChildByName("mission_home").getComponent(MissionHomeComp)
this.bar_change(null,"home")
this.node.getChildByName("bar").active=true;
mission_home.load_ui_heros()
}
bar_change(e:any,args:any){
console.log("bar_change",args)
this.node.getChildByName("bar").active=true;

View File

@@ -6,10 +6,8 @@ import { HeroCard } from "../hero/HeroCard";
import { smc } from "../common/SingletonModuleComp";
import { UIID } from "../common/config/GameUIConfig";
import { oops } from "../../../../extensions/oops-plugin-framework/assets/core/Oops";
import { Items } from "../common/config/Items";
import { SkillSet } from "../common/config/SkillSet";
import { getUpChipByLv, getUpGoldByRange, LvUp, SlvUp, UpGold } from "../common/config/RoleSet";
import { HChipComp } from "../hero/HChipComp";
const { ccclass, property } = _decorator;
/** 视图层对象 */
@@ -61,7 +59,6 @@ export class HeroHomeComp extends CCComp {
this.node.getChildByName("show").active=true
this.h_uuid=uuid
this.hero=HeroInfo[uuid]
console.log("hero_show",uuid)
let skill1 = SkillSet[this.hero.sk1[0]]
let skill2 = SkillSet[this.hero.sk2[0]]

View File

@@ -4,18 +4,12 @@ import { CCComp } from "../../../../extensions/oops-plugin-framework/assets/modu
import { smc } from "../common/SingletonModuleComp";
import { oops } from "../../../../extensions/oops-plugin-framework/assets/core/Oops";
import { RandomManager } from "../../../../extensions/oops-plugin-framework/assets/core/common/random/RandomManager";
import { MSkillset, MSlist, SkillSet } from "../common/config/SkillSet";
import { HeroModelComp } from "../hero/HeroModelComp";
import { BoxSet, GameSet } from "../common/config/BoxSet";
import { GameMap } from "./GameMap";
import { MapModelComp } from "./model/MapModelComp";
import { Talent } from "../Role/Talent";
import { Talents } from "../common/config/TalentSet";
import { HeroViewComp } from "../hero/HeroViewComp";
import { BoxSet } from "../common/config/BoxSet";
import { Hero } from "../hero/Hero";
import { HeroInfo, HeroSet } from "../common/config/heroSet";
import { HeroSet } from "../common/config/heroSet";
import { MonModelComp } from "../hero/MonModelComp";
import { BossList, MBSet, MissionNum, Missions, MissionSet, MonsetList } from "../common/config/MissionSet";
import { MBSet, Missions,} from "../common/config/MissionSet";
import { Timer } from "../../../../extensions/oops-plugin-framework/assets/core/common/timer/Timer";
import { HCard } from "./HCard";
import { HCardComp } from "./HCardComp";
@@ -284,19 +278,29 @@ export class MissionComp extends CCComp {
let yc=2
let bc=1
for(let i=0;i<tc;i++){
let x=RandomManager.instance.getRandomInt(1,t_num,3)
this.addMonster(Missions[0][x-1],i)
console.log("Missions:"+x,Missions[0][x-1])
let x=RandomManager.instance.getRandomInt(0,t_num,1)
this.addMonster(Missions[0][x],i)
console.log("Missions t:"+x,Missions[0][x])
}
for(let i=0;i<yc;i++){
let x=RandomManager.instance.getRandomInt(1,y_num,3)
this.addMonster(Missions[1][x-1],i)
console.log("Missions:"+x,Missions[1][x-1])
let x=RandomManager.instance.getRandomInt(0,y_num,1)
this.addMonster(Missions[1][x],i)
console.log("Missions y:"+x,Missions[1][x])
}
for(let i=0;i<bc;i++){
let x=RandomManager.instance.getRandomInt(1,b_num,3)
this.addMonster(Missions[2][x-1],i,true)
console.log("Missions:"+x,Missions[2][x-1],)
let x=RandomManager.instance.getRandomInt(0,b_num,1)
console.log("Missions b:"+x,Missions[2][x])
x=RandomManager.instance.getRandomInt(0,b_num,1)
console.log("Missions b:"+x,Missions[2][x])
x=RandomManager.instance.getRandomInt(0,b_num,1)
console.log("Missions b:"+x,Missions[2][x])
x=RandomManager.instance.getRandomInt(0,b_num,1)
console.log("Missions b:"+x,Missions[2][x])
x=RandomManager.instance.getRandomInt(0,b_num,1)
console.log("Missions b:"+x,Missions[2][x])
x=RandomManager.instance.getRandomInt(0,b_num,1)
console.log("Missions b:"+x,Missions[2][x])
this.addMonster(Missions[2][x],i,true)
}
}
heros_call(){

View File

@@ -1,7 +1,12 @@
import { _decorator, Component, Node, tween, Vec3 } from 'cc';
import { _decorator, Component, Node, RigidBody2D, tween, Vec3 } from 'cc';
import { SkillCom } from './SkillCom';
import { HeroViewComp } from '../hero/HeroViewComp';
import { smc } from '../common/SingletonModuleComp';
import { HeroModelComp } from '../hero/HeroModelComp';
import { ecs } from '../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS';
import { BoxSet } from '../common/config/BoxSet';
import { MonModelComp } from '../hero/MonModelComp';
import { SkillSet } from '../common/config/SkillSet';
const { ccclass, property } = _decorator;
@ccclass('CdCom')
@@ -9,8 +14,10 @@ export class CdCom extends Component {
cd:number = 0;
base:SkillCom = null
time:number = 0;
rigid:RigidBody2D = null
start() {
this.base =this.node.getComponent(SkillCom)
this.rigid = this.getComponent(RigidBody2D);
}
update(deltaTime: number) {
@@ -19,11 +26,36 @@ export class CdCom extends Component {
if(this.cd>=this.base.cd){
if(this.base.is_destroy) return
// this.node.setPosition(v3(-1000,0,0))
this.node.active = false
this.node.active = true
this.rigid.sleep()
this.rigid.wakeUp()
if(this.base.tg==2) this.do_all_buff()
this.cd=0
}
}
do_all_buff(){
let heros:any = ecs.query(ecs.allOf(HeroModelComp));
if(this.base.box_group==BoxSet.MONSTER) heros = ecs.query(ecs.allOf(MonModelComp));
for (let i = 0; i < heros.length; i++) {
let hero:any = heros[i].HeroView;
// if (hero.in_grave) continue
if(SkillSet[this.base.s_uuid].hp > 0){ //buff加血
// let increase_hp=Math.floor(this.base.hp/(this.base.in_time/this.base.cd))
let increase_hp=Math.floor(this.base.hp)
hero.add_hp(increase_hp)
}
if(SkillSet[this.base.s_uuid].apup > 0){ //buff加攻击
// let increase_atk=Math.floor(this.base.apup/(this.base.in_time/this.base.cd))
let increase_atk=Math.floor(this.base.apup)
hero.add_ap(increase_atk)
}
if(SkillSet[this.base.s_uuid].shield > 0){ //buff护盾
hero.add_shield(this.base.shield)
}
if(SkillSet[this.base.s_uuid].mhp > 0){ //hp最大值
hero.add_hp_max(this.base.mhp)
}
}
}
}

View File

@@ -17,6 +17,10 @@ export class EndAnmBomCom extends Component {
this.rigid = this.getComponent(RigidBody2D);
console.log("collider",this.collider,this.rigid)
this.rigid.sleep()
this.scheduleOnce(()=>{
this.rigid.wakeUp()
},0.5)
// this.collider.enabled = false
// if(this.base.box_group ==BoxSet.HERO) this.collider.group = BoxSet.MONSTER
// if(this.base.box_group ==BoxSet.MONSTER) this.collider.group = BoxSet.HERO
@@ -34,25 +38,27 @@ export class EndAnmBomCom extends Component {
this.onAnimationFinished()
console.log("[track %s][animation %s] complete: %s", trackEntry.trackIndex);
});
spine.setEventListener((trackEntry, event:any) => {
this.onEnvent(event)
// console.log("[track %s][animation %s] event: %s", trackEntry.trackIndex, event.data.name, event.intValue);
});
// spine.setEventListener((trackEntry, event:any) => {
// this.onEnvent(event)
// // console.log("[track %s][animation %s] event: %s", trackEntry.trackIndex, event.data.name, event.intValue);
// });
}
}
}
onAnimationFinished(){
if(!this.is_complete){
// this.collider.group = this.base.box_group
// this.node.active=false
// this.node.active=true
this.rigid.wakeUp()
// this.collider.enabled = true
console.log("动画结束,开始伤害")
}
// if(!this.is_complete){
// // this.collider.group = this.base.box_group
// // this.node.active=false
// // this.node.active=true
// this.rigid.wakeUp()
// // this.collider.enabled = true
// console.log("动画结束,开始伤害")
// }
this.rigid.wakeUp()
// this.collider.enabled = true
console.log("动画结束,开始伤害")
this.base.is_destroy = true
}

View File

@@ -63,39 +63,11 @@ export class SkillCom extends CCComp {
if(otCol.group != seCol.group&&otCol.tag ==0){
this.atk_count+=1
}
// if(otCol.group == seCol.group&&otCol.tag ==0&&(this.tg==2||this.tg==0)){
// this.to_console("skill onBeginContact 是对自己人的buff",seCol,otCol)
// this.do_buff(otCol.node.getComponent(HeroViewComp))
// }
}
to_console(value:any,value2:any=null,value3:any=null){
console.log("["+this.s_name+this.s_uuid+"]:",value,value2,value3)
}
do_buff(hero:any){
this.to_console(" do_buff hero: ",hero)
if(SkillSet[this.s_uuid].hp > 0){ //buff加血
// let increase_hp=Math.floor(this.hp/(this.in_time/this.cd))
let increase_hp=Math.floor(this.hp)
hero.add_hp(increase_hp)
}
if(SkillSet[this.s_uuid].apup > 0){ //buff加攻击
// let increase_atk=Math.floor(this.apup/(this.in_time/this.cd))
let increase_atk=Math.floor(this.apup)
hero.add_ap(increase_atk)
}
if(SkillSet[this.s_uuid].shield > 0){ //buff护盾
console.log("do_buff shield: ",this.shield)
hero.add_shield(this.shield)
}
if(SkillSet[this.s_uuid].mhp > 0){ //hp最大值
// console.log("do_buff mhp: ",this.mhp/(this.in_time/this.cd))
console.log("do_buff mhp: ",this.mhp)
hero.add_hp_max(this.mhp/(this.in_time/this.cd))
}
}
update(deltaTime: number) {
if(smc.mission.pause) return
this.toDestroy()