接入战斗

This commit is contained in:
xiekaidong 2023-06-12 18:49:59 +08:00
parent 59289536d1
commit 30bfbb5476
11 changed files with 2545 additions and 1181 deletions

View File

@ -24,7 +24,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
},
[2]={
["scene"]="bg_11",
@ -51,7 +52,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
},
[3]={
["scene"]="bg_11",
@ -78,7 +80,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
},
[4]={
["scene"]="bg_11",
@ -105,7 +108,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
},
[5]={
["scene"]="bg_11",
@ -132,7 +136,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
},
[6]={
["scene"]="bg_11",
@ -159,7 +164,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
},
[7]={
["scene"]="bg_11",
@ -186,7 +192,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
},
[8]={
["scene"]="bg_11",
@ -213,7 +220,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
},
[9]={
["scene"]="bg_11",
@ -240,7 +248,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
},
[10]={
["scene"]="bg_11",
@ -267,7 +276,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
},
[11]={
["scene"]="bg_11",
@ -294,7 +304,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
},
[12]={
["scene"]="bg_11",
@ -321,7 +332,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
},
[13]={
["scene"]="bg_11",
@ -348,7 +360,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
},
[14]={
["scene"]="bg_11",
@ -375,7 +388,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
},
[15]={
["scene"]="bg_11",
@ -402,7 +416,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
},
[16]={
["scene"]="bg_11",
@ -429,7 +444,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
},
[17]={
["scene"]="bg_11",
@ -456,7 +472,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
},
[18]={
["scene"]="bg_11",
@ -483,7 +500,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
},
[19]={
["scene"]="bg_11",
@ -510,7 +528,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
},
[20]={
["scene"]="bg_11",
@ -537,7 +556,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
},
[21]={
["scene"]="bg_11",
@ -564,7 +584,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
},
[22]={
["scene"]="bg_11",
@ -591,7 +612,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
},
[23]={
["scene"]="bg_11",
@ -618,7 +640,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
},
[24]={
["scene"]="bg_11",
@ -645,7 +668,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
},
[25]={
["scene"]="bg_11",
@ -672,7 +696,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
},
[26]={
["scene"]="bg_11",
@ -699,7 +724,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
},
[27]={
["scene"]="bg_11",
@ -726,7 +752,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
},
[28]={
["scene"]="bg_11",
@ -753,7 +780,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
},
[29]={
["scene"]="bg_11",
@ -780,7 +808,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
},
[30]={
["scene"]="bg_11",
@ -807,7 +836,8 @@ local chapter_dungeon_gold = {
["id_for_nothing"]="Vw==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["wave_limit"]=5
}
}
local config = {

View File

@ -17,21 +17,12 @@ local chapter_dungeon_shards = {
404,
504
},
["buff_id"]={
["effect"]={
{
7
},
{
7
},
{
7
},
{
7
},
{
7
["type"]="dec_dmg_red_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={
@ -115,21 +106,12 @@ local chapter_dungeon_shards = {
904,
1004
},
["buff_id"]={
["effect"]={
{
8
},
{
8
},
{
8
},
{
8
},
{
8
["type"]="dec_dmg_yellow_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={
@ -213,21 +195,12 @@ local chapter_dungeon_shards = {
1404,
1504
},
["buff_id"]={
["effect"]={
{
9
},
{
9
},
{
9
},
{
9
},
{
9
["type"]="dec_dmg_green_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={
@ -311,21 +284,12 @@ local chapter_dungeon_shards = {
1904,
2004
},
["buff_id"]={
["effect"]={
{
10
},
{
10
},
{
10
},
{
10
},
{
10
["type"]="dec_dmg_blue_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={
@ -409,21 +373,12 @@ local chapter_dungeon_shards = {
2404,
2504
},
["buff_id"]={
["effect"]={
{
11
},
{
11
},
{
11
},
{
11
},
{
11
["type"]="dec_dmg_purple_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={
@ -507,21 +462,12 @@ local chapter_dungeon_shards = {
2904,
3004
},
["buff_id"]={
["effect"]={
{
7
},
{
7
},
{
7
},
{
7
},
{
7
["type"]="dec_dmg_red_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={
@ -605,21 +551,12 @@ local chapter_dungeon_shards = {
3404,
3504
},
["buff_id"]={
["effect"]={
{
8
},
{
8
},
{
8
},
{
8
},
{
8
["type"]="dec_dmg_yellow_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={
@ -703,21 +640,12 @@ local chapter_dungeon_shards = {
3904,
4004
},
["buff_id"]={
["effect"]={
{
9
},
{
9
},
{
9
},
{
9
},
{
9
["type"]="dec_dmg_green_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={
@ -801,21 +729,12 @@ local chapter_dungeon_shards = {
4404,
4504
},
["buff_id"]={
["effect"]={
{
10
},
{
10
},
{
10
},
{
10
},
{
10
["type"]="dec_dmg_blue_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={
@ -899,21 +818,12 @@ local chapter_dungeon_shards = {
4904,
5004
},
["buff_id"]={
["effect"]={
{
11
},
{
11
},
{
11
},
{
11
},
{
11
["type"]="dec_dmg_purple_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={
@ -997,21 +907,12 @@ local chapter_dungeon_shards = {
5404,
5504
},
["buff_id"]={
["effect"]={
{
7
},
{
7
},
{
7
},
{
7
},
{
7
["type"]="dec_dmg_red_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={
@ -1095,21 +996,12 @@ local chapter_dungeon_shards = {
5904,
6004
},
["buff_id"]={
["effect"]={
{
8
},
{
8
},
{
8
},
{
8
},
{
8
["type"]="dec_dmg_yellow_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={
@ -1193,21 +1085,12 @@ local chapter_dungeon_shards = {
6404,
6504
},
["buff_id"]={
["effect"]={
{
9
},
{
9
},
{
9
},
{
9
},
{
9
["type"]="dec_dmg_green_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={
@ -1291,21 +1174,12 @@ local chapter_dungeon_shards = {
6904,
7004
},
["buff_id"]={
["effect"]={
{
10
},
{
10
},
{
10
},
{
10
},
{
10
["type"]="dec_dmg_blue_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={
@ -1389,21 +1263,12 @@ local chapter_dungeon_shards = {
7404,
7504
},
["buff_id"]={
["effect"]={
{
11
},
{
11
},
{
11
},
{
11
},
{
11
["type"]="dec_dmg_purple_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={
@ -1487,21 +1352,12 @@ local chapter_dungeon_shards = {
7904,
8004
},
["buff_id"]={
["effect"]={
{
7
},
{
7
},
{
7
},
{
7
},
{
7
["type"]="dec_dmg_red_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={
@ -1585,21 +1441,12 @@ local chapter_dungeon_shards = {
8404,
8504
},
["buff_id"]={
["effect"]={
{
8
},
{
8
},
{
8
},
{
8
},
{
8
["type"]="dec_dmg_yellow_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={
@ -1683,21 +1530,12 @@ local chapter_dungeon_shards = {
8904,
9004
},
["buff_id"]={
["effect"]={
{
9
},
{
9
},
{
9
},
{
9
},
{
9
["type"]="dec_dmg_green_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={
@ -1781,21 +1619,12 @@ local chapter_dungeon_shards = {
9404,
9504
},
["buff_id"]={
["effect"]={
{
10
},
{
10
},
{
10
},
{
10
},
{
10
["type"]="dec_dmg_blue_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={
@ -1879,21 +1708,12 @@ local chapter_dungeon_shards = {
9904,
10004
},
["buff_id"]={
["effect"]={
{
11
},
{
11
},
{
11
},
{
11
},
{
11
["type"]="dec_dmg_purple_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={
@ -1977,21 +1797,12 @@ local chapter_dungeon_shards = {
10404,
10504
},
["buff_id"]={
["effect"]={
{
7
},
{
7
},
{
7
},
{
7
},
{
7
["type"]="dec_dmg_red_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={
@ -2075,21 +1886,12 @@ local chapter_dungeon_shards = {
10904,
11004
},
["buff_id"]={
["effect"]={
{
8
},
{
8
},
{
8
},
{
8
},
{
8
["type"]="dec_dmg_yellow_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={
@ -2173,21 +1975,12 @@ local chapter_dungeon_shards = {
11404,
11504
},
["buff_id"]={
["effect"]={
{
9
},
{
9
},
{
9
},
{
9
},
{
9
["type"]="dec_dmg_green_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={
@ -2271,21 +2064,12 @@ local chapter_dungeon_shards = {
11904,
12004
},
["buff_id"]={
["effect"]={
{
10
},
{
10
},
{
10
},
{
10
},
{
10
["type"]="dec_dmg_blue_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={
@ -2369,21 +2153,12 @@ local chapter_dungeon_shards = {
12404,
12504
},
["buff_id"]={
["effect"]={
{
11
},
{
11
},
{
11
},
{
11
},
{
11
["type"]="dec_dmg_purple_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={
@ -2467,21 +2242,12 @@ local chapter_dungeon_shards = {
12904,
13004
},
["buff_id"]={
["effect"]={
{
7
},
{
7
},
{
7
},
{
7
},
{
7
["type"]="dec_dmg_red_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={
@ -2565,21 +2331,12 @@ local chapter_dungeon_shards = {
13404,
13504
},
["buff_id"]={
["effect"]={
{
8
},
{
8
},
{
8
},
{
8
},
{
8
["type"]="dec_dmg_yellow_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={
@ -2663,21 +2420,12 @@ local chapter_dungeon_shards = {
13904,
14004
},
["buff_id"]={
["effect"]={
{
9
},
{
9
},
{
9
},
{
9
},
{
9
["type"]="dec_dmg_green_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={
@ -2761,21 +2509,12 @@ local chapter_dungeon_shards = {
14404,
14504
},
["buff_id"]={
["effect"]={
{
10
},
{
10
},
{
10
},
{
10
},
{
10
["type"]="dec_dmg_blue_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={
@ -2859,21 +2598,12 @@ local chapter_dungeon_shards = {
14904,
15004
},
["buff_id"]={
["effect"]={
{
11
},
{
11
},
{
11
},
{
11
},
{
11
["type"]="dec_dmg_purple_add",
["num"]=5000,
["ratio"]=10000,
["round"]=999
}
},
["wave_reward"]={

View File

@ -4,210 +4,570 @@ local monster_dungeon_gold = {
["hp"]=90000000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
},
[205]={
["monster_base"]=20003,
["hp"]=90200000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
},
[305]={
["monster_base"]=20003,
["hp"]=90400000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
},
[405]={
["monster_base"]=20003,
["hp"]=90600000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
},
[505]={
["monster_base"]=20003,
["hp"]=90800000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
},
[605]={
["monster_base"]=20003,
["hp"]=91000000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
},
[705]={
["monster_base"]=20003,
["hp"]=91200000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
},
[805]={
["monster_base"]=20003,
["hp"]=91400000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
},
[905]={
["monster_base"]=20003,
["hp"]=91600000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
},
[1005]={
["monster_base"]=20003,
["hp"]=91800000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
},
[1105]={
["monster_base"]=20003,
["hp"]=92000000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
},
[1205]={
["monster_base"]=20003,
["hp"]=92200000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
},
[1305]={
["monster_base"]=20003,
["hp"]=92400000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
},
[1405]={
["monster_base"]=20003,
["hp"]=92600000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
},
[1505]={
["monster_base"]=20003,
["hp"]=92800000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
},
[1605]={
["monster_base"]=20003,
["hp"]=93000000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
},
[1705]={
["monster_base"]=20003,
["hp"]=93200000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
},
[1805]={
["monster_base"]=20003,
["hp"]=93400000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
},
[1905]={
["monster_base"]=20003,
["hp"]=93600000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
},
[2005]={
["monster_base"]=20003,
["hp"]=93800000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
},
[2105]={
["monster_base"]=20003,
["hp"]=94000000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
},
[2205]={
["monster_base"]=20003,
["hp"]=94200000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
},
[2305]={
["monster_base"]=20003,
["hp"]=94400000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
},
[2405]={
["monster_base"]=20003,
["hp"]=94600000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
},
[2505]={
["monster_base"]=20003,
["hp"]=94800000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
},
[2605]={
["monster_base"]=20003,
["hp"]=95000000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
},
[2705]={
["monster_base"]=20003,
["hp"]=95200000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
},
[2805]={
["monster_base"]=20003,
["hp"]=95400000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
},
[2905]={
["monster_base"]=20003,
["hp"]=95600000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
},
[3005]={
["monster_base"]=20003,
["hp"]=95800000,
["atk"]=0,
["atk_times"]=0,
["monster_exp"]=440000
["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}
}
local config = {

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1885,7 +1885,7 @@ local skill_rogue = {
[2400202]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
["qlt"]=4,
["type"]=12,
["skill_position"]=2,
["effect"]={
@ -1900,7 +1900,6 @@ local skill_rogue = {
["icon"]="144"
},
[2400203]={
["unlock"]=2400201,
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
@ -2489,7 +2488,12 @@ local skill_rogue = {
[3400201]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
["type"]=1,
["parameter"]={
3400221
},
["skill_position"]=3,
["icon"]="150"
},
[3400202]={
@ -2512,19 +2516,41 @@ local skill_rogue = {
[3400203]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=8,
["parameter"]={
2,
1
},
["skill_position"]=3,
["icon"]="152"
},
[3400204]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=7,
["parameter"]={
2,
2500
},
["skill_position"]=3,
["icon"]="153"
},
[3400205]={
["limit_times"]=1,
["weight"]=3000,
["type"]=12,
["qlt"]=4,
["type"]=9,
["skill_position"]=3,
["effect"]={
{
["type"]="add_skill",
["num"]=3400222,
["ratio"]=10000,
["round"]=999
}
},
["obj"]=5,
["icon"]="154"
},
@ -2532,6 +2558,7 @@ local skill_rogue = {
["unlock"]=3400201,
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
["type"]=2,
["skill_position"]=3,
["boardrange"]={
@ -2551,7 +2578,17 @@ local skill_rogue = {
["cover_unlock"]=3400205,
["limit_times"]=1,
["weight"]=3000,
["type"]=12,
["qlt"]=3,
["type"]=9,
["skill_position"]=3,
["effect"]={
{
["type"]="add_skill",
["num"]=3400223,
["ratio"]=10000,
["round"]=999
}
},
["obj"]=5,
["icon"]="156"
},
@ -3034,6 +3071,140 @@ local skill_rogue = {
["obj"]=6,
["icon"]="163"
},
[4400200]={
["limit_times"]=1,
["weight"]=100000,
["qlt"]=4,
["type"]=6,
["skill_position"]=4,
["icon"]="189"
},
[4400201]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
["type"]=2,
["skill_position"]=4,
["boardrange"]={
{
["type"]=5,
["range"]=1
},
{
["type"]=6,
["range"]=1
},
{
["type"]=7,
["range"]=1
},
{
["type"]=8,
["range"]=1
}
},
["icon"]="157"
},
[4400202]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
["type"]=12,
["skill_position"]=4,
["effect"]={
{
["type"]="add_skill",
["num"]=4400221,
["ratio"]=10000,
["round"]=1
}
},
["obj"]=6,
["icon"]="158"
},
[4400203]={
["unlock"]=4400201,
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
["type"]=2,
["skill_position"]=4,
["boardrange"]={
{
["type"]=5,
["range"]=1
},
{
["type"]=6,
["range"]=1
},
{
["type"]=7,
["range"]=1
},
{
["type"]=8,
["range"]=1
}
},
["icon"]="159"
},
[4400204]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=16,
["parameter"]={
2,
5000
},
["skill_position"]=4,
["icon"]="160"
},
[4400205]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=9,
["effect"]={
{
["type"]="add_skill",
["num"]=4400222,
["ratio"]=10000,
["round"]=999
}
},
["obj"]=6,
["icon"]="161"
},
[4400206]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
["type"]=9,
["skill_position"]=4,
["effect"]={
{
["type"]="atkp_blue_add",
["num"]=1500,
["ratio"]=10000,
["round"]=999
}
},
["obj"]=6,
["icon"]="162"
},
[4400207]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=1,
["parameter"]={
4400223
},
["skill_position"]=4,
["icon"]="163"
},
[5200100]={
["limit_times"]=1,
["weight"]=100000,
@ -3515,9 +3686,122 @@ local skill_rogue = {
},
["obj"]=7,
["icon"]="170"
},
[5400200]={
["limit_times"]=1,
["weight"]=100000,
["qlt"]=4,
["type"]=6,
["skill_position"]=5,
["icon"]="190"
},
[5400201]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
["type"]=8,
["parameter"]={
1,
1
},
["skill_position"]=5,
["icon"]="164"
},
[5400202]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=9,
["skill_position"]=5,
["effect"]={
{
["type"]="add_skill",
["num"]=5400221,
["ratio"]=10000,
["round"]=999
}
},
["obj"]=7,
["icon"]="165"
},
[5400203]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
["type"]=1,
["parameter"]={
5400222
},
["skill_position"]=5,
["icon"]="166"
},
[5400204]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=8,
["parameter"]={
1,
1
},
["skill_position"]=5,
["icon"]="167"
},
[5400205]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=9,
["skill_position"]=5,
["effect"]={
{
["type"]="add_skill",
["num"]=5400223,
["ratio"]=10000,
["round"]=999
}
},
["obj"]=7,
["icon"]="168"
},
[5400206]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
["type"]=9,
["skill_position"]=5,
["effect"]={
{
["type"]="atkp_purple_add",
["num"]=1500,
["ratio"]=10000,
["round"]=999
}
},
["obj"]=7,
["icon"]="169"
},
[5400207]={
["unlock"]=5400202,
["cover_unlock"]=5400202,
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=9,
["skill_position"]=5,
["effect"]={
{
["type"]="add_skill",
["num"]=5400224,
["ratio"]=10000,
["round"]=999
}
},
["obj"]=7,
["icon"]="170"
}
}
local config = {
data=skill_rogue,count=228
data=skill_rogue,count=244
}
return config

View File

@ -54,7 +54,7 @@ end
function BattleController:getNotInvolvedSkills()
if not self.notInvolvedSkills then
self.notInvolvedSkills = {}
local config = self:getchapterConfig()[self.chapterId]
local config = self:getChapterConfig()[self.chapterId]
if config.not_involved_skill then
for _, skillId in ipairs(config.not_involved_skill) do
self.notInvolvedSkills[skillId] = true
@ -76,7 +76,7 @@ end
function BattleController:getSealElementType()
if not self.sealElementType then
self.sealElementType = {}
local config = self:getchapterConfig()[self.chapterId]
local config = self:getChapterConfig()[self.chapterId]
if config.seal_element then
for _, elementType in ipairs(config.seal_element) do
self.sealElementType[elementType] = true
@ -189,7 +189,7 @@ function BattleController:initDefUnits(callback)
end
function BattleController:generateNextMonster()
local config = self:getchapterConfig()[self.chapterId]
local config = self:getChapterConfig()[self.chapterId]
local monsterId = config.monster[self.waveIndex + 1]
if monsterId == nil then
return self:enterNextWave()

View File

@ -10,7 +10,25 @@ function BattleControllerDungeonGold:getChapterConfig()
end
function BattleControllerDungeonGold:getChapterId()
return ModuleManager.DungeonData:getCurFightChapterId()
return DataManager.DungeonData:getCurFightChapterId()
end
function BattleControllerDungeonGold:enterRoundBegin(...)
if self.dungeonGoldMaxRoundCount then
local nextWaveRound = (self.waveRoundCount[self.waveIndex] or 0) + 1
if self.dungeonGoldMaxRoundCount < nextWaveRound then -- 超过最大回合, 直接结算
self.victory = false
self:postWaveOver(false)
self:battleEnd()
return
end
end
BattleController.enterRoundBegin(self, ...)
end
-- 不同模块的战斗需要初始化的东西
function BattleControllerDungeonGold:initOther()
self.dungeonGoldMaxRoundCount = self:getBoardConfig()[self.chapterId].wave_limit or 1
end
function BattleControllerDungeonGold:controllBattleEnd()

View File

@ -10,7 +10,7 @@ function BattleControllerDungeonShards:getChapterConfig()
end
function BattleControllerDungeonShards:getChapterId()
return ModuleManager.DungeonData:getCurFightChapterId()
return DataManager.DungeonData:getCurFightChapterId()
end
function BattleControllerDungeonShards:controllBattleEnd()

View File

@ -38,19 +38,19 @@ end
function DungeonManager:reqChallengeGold(id)
local moduleKey = ModuleManager.MODULE_KEY.DUNGEON_GOLD
-- 判断次数
if not DataManager.DungeonData:getRemainTimes(moduleKey) > 0 then
if DataManager.DungeonData:getRemainTimes(moduleKey) <= 0 then
GFunc.showToast(I18N:getGlobalText(I18N.GlobalConst.DAILY_CHALLENGE_DESC_1))
return
end
-- 判断体力
if not DataManager.DailyChallengeData:isEnoughHp(moduleKey) then
if not DataManager.DungeonData:isEnoughHp(moduleKey) then
GFunc.showItemNotEnough(GConst.ItemConst.ITEM_ID_VIT)
ModuleManager.CommerceManager:showBuyVitUI()
return
end
if not DataManager.DailyChallengeData:isCanChallenge(moduleKey) then
if not DataManager.DungeonData:isCanChallenge(moduleKey) then
return
end
@ -92,19 +92,19 @@ end
function DungeonManager:reqSweepGold(id)
local moduleKey = ModuleManager.MODULE_KEY.DUNGEON_GOLD
-- 判断次数
if not DataManager.DungeonData:getRemainTimes(moduleKey) > 0 then
if DataManager.DungeonData:getRemainTimes(moduleKey) <= 0 then
GFunc.showToast(I18N:getGlobalText(I18N.GlobalConst.DAILY_CHALLENGE_DESC_1))
return
end
-- 判断体力
if not DataManager.DailyChallengeData:isEnoughHp(moduleKey) then
if not DataManager.DungeonData:isEnoughHp(moduleKey) then
GFunc.showItemNotEnough(GConst.ItemConst.ITEM_ID_VIT)
ModuleManager.CommerceManager:showBuyVitUI()
return
end
if not DataManager.DailyChallengeData:isCanChallenge(moduleKey) then
if not DataManager.DungeonData:isCanChallenge(moduleKey) then
return
end
@ -125,19 +125,19 @@ end
function DungeonManager:reqChallengeShards(id)
local moduleKey = ModuleManager.MODULE_KEY.DUNGEON_GOLD
-- 判断次数
if not DataManager.DungeonData:getRemainTimes(moduleKey) > 0 then
if DataManager.DungeonData:getRemainTimes(moduleKey) <= 0 then
GFunc.showToast(I18N:getGlobalText(I18N.GlobalConst.DAILY_CHALLENGE_DESC_1))
return
end
-- 判断体力
if not DataManager.DailyChallengeData:isEnoughHp(moduleKey) then
if not DataManager.DungeonData:isEnoughHp(moduleKey) then
GFunc.showItemNotEnough(GConst.ItemConst.ITEM_ID_VIT)
ModuleManager.CommerceManager:showBuyVitUI()
return
end
if not DataManager.DailyChallengeData:isCanChallenge(moduleKey) then
if not DataManager.DungeonData:isCanChallenge(moduleKey) then
return
end
@ -178,19 +178,19 @@ end
function DungeonManager:reqSweepShards(id)
local moduleKey = ModuleManager.MODULE_KEY.DUNGEON_SHARDS
-- 判断次数
if not DataManager.DungeonData:getRemainTimes(moduleKey) > 0 then
if DataManager.DungeonData:getRemainTimes(moduleKey) <= 0 then
GFunc.showToast(I18N:getGlobalText(I18N.GlobalConst.DAILY_CHALLENGE_DESC_1))
return
end
-- 判断体力
if not DataManager.DailyChallengeData:isEnoughHp(moduleKey) then
if not DataManager.DungeonData:isEnoughHp(moduleKey) then
GFunc.showItemNotEnough(GConst.ItemConst.ITEM_ID_VIT)
ModuleManager.CommerceManager:showBuyVitUI()
return
end
if not DataManager.DailyChallengeData:isCanChallenge(moduleKey) then
if not DataManager.DungeonData:isCanChallenge(moduleKey) then
return
end

View File

@ -17,13 +17,13 @@ end
-- 初始化金币副本数据
function DungeonData:initDungeonGold(data)
if EDITOR_MODE then
data = {
today_challenge_count = 2,
max_chapter_gold_id = 2,
-- latest_chapter_gold_id = 1,-- todo 这是啥数据呢?
}
end
-- if EDITOR_MODE then
-- data = {
-- today_challenge_count = 2,
-- max_chapter_gold_id = 2,
-- -- latest_chapter_gold_id = 1,-- todo 这是啥数据呢?
-- }
-- end
self:initAllDataClass()
self.dataDungeons[ModuleManager.MODULE_KEY.DUNGEON_GOLD]:init(data)