接入战斗

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

View File

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

View File

@ -4,210 +4,570 @@ local monster_dungeon_gold = {
["hp"]=90000000, ["hp"]=90000000,
["atk"]=0, ["atk"]=0,
["atk_times"]=0, ["atk_times"]=0,
["monster_exp"]=440000 ["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}, },
[205]={ [205]={
["monster_base"]=20003, ["monster_base"]=20003,
["hp"]=90200000, ["hp"]=90200000,
["atk"]=0, ["atk"]=0,
["atk_times"]=0, ["atk_times"]=0,
["monster_exp"]=440000 ["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}, },
[305]={ [305]={
["monster_base"]=20003, ["monster_base"]=20003,
["hp"]=90400000, ["hp"]=90400000,
["atk"]=0, ["atk"]=0,
["atk_times"]=0, ["atk_times"]=0,
["monster_exp"]=440000 ["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}, },
[405]={ [405]={
["monster_base"]=20003, ["monster_base"]=20003,
["hp"]=90600000, ["hp"]=90600000,
["atk"]=0, ["atk"]=0,
["atk_times"]=0, ["atk_times"]=0,
["monster_exp"]=440000 ["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}, },
[505]={ [505]={
["monster_base"]=20003, ["monster_base"]=20003,
["hp"]=90800000, ["hp"]=90800000,
["atk"]=0, ["atk"]=0,
["atk_times"]=0, ["atk_times"]=0,
["monster_exp"]=440000 ["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}, },
[605]={ [605]={
["monster_base"]=20003, ["monster_base"]=20003,
["hp"]=91000000, ["hp"]=91000000,
["atk"]=0, ["atk"]=0,
["atk_times"]=0, ["atk_times"]=0,
["monster_exp"]=440000 ["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}, },
[705]={ [705]={
["monster_base"]=20003, ["monster_base"]=20003,
["hp"]=91200000, ["hp"]=91200000,
["atk"]=0, ["atk"]=0,
["atk_times"]=0, ["atk_times"]=0,
["monster_exp"]=440000 ["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}, },
[805]={ [805]={
["monster_base"]=20003, ["monster_base"]=20003,
["hp"]=91400000, ["hp"]=91400000,
["atk"]=0, ["atk"]=0,
["atk_times"]=0, ["atk_times"]=0,
["monster_exp"]=440000 ["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}, },
[905]={ [905]={
["monster_base"]=20003, ["monster_base"]=20003,
["hp"]=91600000, ["hp"]=91600000,
["atk"]=0, ["atk"]=0,
["atk_times"]=0, ["atk_times"]=0,
["monster_exp"]=440000 ["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}, },
[1005]={ [1005]={
["monster_base"]=20003, ["monster_base"]=20003,
["hp"]=91800000, ["hp"]=91800000,
["atk"]=0, ["atk"]=0,
["atk_times"]=0, ["atk_times"]=0,
["monster_exp"]=440000 ["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}, },
[1105]={ [1105]={
["monster_base"]=20003, ["monster_base"]=20003,
["hp"]=92000000, ["hp"]=92000000,
["atk"]=0, ["atk"]=0,
["atk_times"]=0, ["atk_times"]=0,
["monster_exp"]=440000 ["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}, },
[1205]={ [1205]={
["monster_base"]=20003, ["monster_base"]=20003,
["hp"]=92200000, ["hp"]=92200000,
["atk"]=0, ["atk"]=0,
["atk_times"]=0, ["atk_times"]=0,
["monster_exp"]=440000 ["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}, },
[1305]={ [1305]={
["monster_base"]=20003, ["monster_base"]=20003,
["hp"]=92400000, ["hp"]=92400000,
["atk"]=0, ["atk"]=0,
["atk_times"]=0, ["atk_times"]=0,
["monster_exp"]=440000 ["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}, },
[1405]={ [1405]={
["monster_base"]=20003, ["monster_base"]=20003,
["hp"]=92600000, ["hp"]=92600000,
["atk"]=0, ["atk"]=0,
["atk_times"]=0, ["atk_times"]=0,
["monster_exp"]=440000 ["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}, },
[1505]={ [1505]={
["monster_base"]=20003, ["monster_base"]=20003,
["hp"]=92800000, ["hp"]=92800000,
["atk"]=0, ["atk"]=0,
["atk_times"]=0, ["atk_times"]=0,
["monster_exp"]=440000 ["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}, },
[1605]={ [1605]={
["monster_base"]=20003, ["monster_base"]=20003,
["hp"]=93000000, ["hp"]=93000000,
["atk"]=0, ["atk"]=0,
["atk_times"]=0, ["atk_times"]=0,
["monster_exp"]=440000 ["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}, },
[1705]={ [1705]={
["monster_base"]=20003, ["monster_base"]=20003,
["hp"]=93200000, ["hp"]=93200000,
["atk"]=0, ["atk"]=0,
["atk_times"]=0, ["atk_times"]=0,
["monster_exp"]=440000 ["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}, },
[1805]={ [1805]={
["monster_base"]=20003, ["monster_base"]=20003,
["hp"]=93400000, ["hp"]=93400000,
["atk"]=0, ["atk"]=0,
["atk_times"]=0, ["atk_times"]=0,
["monster_exp"]=440000 ["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}, },
[1905]={ [1905]={
["monster_base"]=20003, ["monster_base"]=20003,
["hp"]=93600000, ["hp"]=93600000,
["atk"]=0, ["atk"]=0,
["atk_times"]=0, ["atk_times"]=0,
["monster_exp"]=440000 ["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}, },
[2005]={ [2005]={
["monster_base"]=20003, ["monster_base"]=20003,
["hp"]=93800000, ["hp"]=93800000,
["atk"]=0, ["atk"]=0,
["atk_times"]=0, ["atk_times"]=0,
["monster_exp"]=440000 ["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}, },
[2105]={ [2105]={
["monster_base"]=20003, ["monster_base"]=20003,
["hp"]=94000000, ["hp"]=94000000,
["atk"]=0, ["atk"]=0,
["atk_times"]=0, ["atk_times"]=0,
["monster_exp"]=440000 ["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}, },
[2205]={ [2205]={
["monster_base"]=20003, ["monster_base"]=20003,
["hp"]=94200000, ["hp"]=94200000,
["atk"]=0, ["atk"]=0,
["atk_times"]=0, ["atk_times"]=0,
["monster_exp"]=440000 ["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}, },
[2305]={ [2305]={
["monster_base"]=20003, ["monster_base"]=20003,
["hp"]=94400000, ["hp"]=94400000,
["atk"]=0, ["atk"]=0,
["atk_times"]=0, ["atk_times"]=0,
["monster_exp"]=440000 ["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}, },
[2405]={ [2405]={
["monster_base"]=20003, ["monster_base"]=20003,
["hp"]=94600000, ["hp"]=94600000,
["atk"]=0, ["atk"]=0,
["atk_times"]=0, ["atk_times"]=0,
["monster_exp"]=440000 ["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}, },
[2505]={ [2505]={
["monster_base"]=20003, ["monster_base"]=20003,
["hp"]=94800000, ["hp"]=94800000,
["atk"]=0, ["atk"]=0,
["atk_times"]=0, ["atk_times"]=0,
["monster_exp"]=440000 ["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}, },
[2605]={ [2605]={
["monster_base"]=20003, ["monster_base"]=20003,
["hp"]=95000000, ["hp"]=95000000,
["atk"]=0, ["atk"]=0,
["atk_times"]=0, ["atk_times"]=0,
["monster_exp"]=440000 ["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}, },
[2705]={ [2705]={
["monster_base"]=20003, ["monster_base"]=20003,
["hp"]=95200000, ["hp"]=95200000,
["atk"]=0, ["atk"]=0,
["atk_times"]=0, ["atk_times"]=0,
["monster_exp"]=440000 ["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}, },
[2805]={ [2805]={
["monster_base"]=20003, ["monster_base"]=20003,
["hp"]=95400000, ["hp"]=95400000,
["atk"]=0, ["atk"]=0,
["atk_times"]=0, ["atk_times"]=0,
["monster_exp"]=440000 ["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}, },
[2905]={ [2905]={
["monster_base"]=20003, ["monster_base"]=20003,
["hp"]=95600000, ["hp"]=95600000,
["atk"]=0, ["atk"]=0,
["atk_times"]=0, ["atk_times"]=0,
["monster_exp"]=440000 ["monster_exp"]=440000,
["monster_hp"]={
10000,
7000,
4000,
2000
},
["monster_hp_skin"]={
"1",
"2",
"3",
"4"
}
}, },
[3005]={ [3005]={
["monster_base"]=20003, ["monster_base"]=20003,
["hp"]=95800000, ["hp"]=95800000,
["atk"]=0, ["atk"]=0,
["atk_times"]=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 = { 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]={ [2400202]={
["limit_times"]=1, ["limit_times"]=1,
["weight"]=3000, ["weight"]=3000,
["qlt"]=3, ["qlt"]=4,
["type"]=12, ["type"]=12,
["skill_position"]=2, ["skill_position"]=2,
["effect"]={ ["effect"]={
@ -1900,7 +1900,6 @@ local skill_rogue = {
["icon"]="144" ["icon"]="144"
}, },
[2400203]={ [2400203]={
["unlock"]=2400201,
["limit_times"]=1, ["limit_times"]=1,
["weight"]=3000, ["weight"]=3000,
["qlt"]=3, ["qlt"]=3,
@ -2489,7 +2488,12 @@ local skill_rogue = {
[3400201]={ [3400201]={
["limit_times"]=1, ["limit_times"]=1,
["weight"]=3000, ["weight"]=3000,
["qlt"]=3,
["type"]=1, ["type"]=1,
["parameter"]={
3400221
},
["skill_position"]=3,
["icon"]="150" ["icon"]="150"
}, },
[3400202]={ [3400202]={
@ -2512,19 +2516,41 @@ local skill_rogue = {
[3400203]={ [3400203]={
["limit_times"]=1, ["limit_times"]=1,
["weight"]=3000, ["weight"]=3000,
["qlt"]=4,
["type"]=8, ["type"]=8,
["parameter"]={
2,
1
},
["skill_position"]=3,
["icon"]="152" ["icon"]="152"
}, },
[3400204]={ [3400204]={
["limit_times"]=1, ["limit_times"]=1,
["weight"]=3000, ["weight"]=3000,
["qlt"]=4,
["type"]=7, ["type"]=7,
["parameter"]={
2,
2500
},
["skill_position"]=3,
["icon"]="153" ["icon"]="153"
}, },
[3400205]={ [3400205]={
["limit_times"]=1, ["limit_times"]=1,
["weight"]=3000, ["weight"]=3000,
["type"]=12, ["qlt"]=4,
["type"]=9,
["skill_position"]=3,
["effect"]={
{
["type"]="add_skill",
["num"]=3400222,
["ratio"]=10000,
["round"]=999
}
},
["obj"]=5, ["obj"]=5,
["icon"]="154" ["icon"]="154"
}, },
@ -2532,6 +2558,7 @@ local skill_rogue = {
["unlock"]=3400201, ["unlock"]=3400201,
["limit_times"]=1, ["limit_times"]=1,
["weight"]=3000, ["weight"]=3000,
["qlt"]=3,
["type"]=2, ["type"]=2,
["skill_position"]=3, ["skill_position"]=3,
["boardrange"]={ ["boardrange"]={
@ -2551,7 +2578,17 @@ local skill_rogue = {
["cover_unlock"]=3400205, ["cover_unlock"]=3400205,
["limit_times"]=1, ["limit_times"]=1,
["weight"]=3000, ["weight"]=3000,
["type"]=12, ["qlt"]=3,
["type"]=9,
["skill_position"]=3,
["effect"]={
{
["type"]="add_skill",
["num"]=3400223,
["ratio"]=10000,
["round"]=999
}
},
["obj"]=5, ["obj"]=5,
["icon"]="156" ["icon"]="156"
}, },
@ -3034,6 +3071,140 @@ local skill_rogue = {
["obj"]=6, ["obj"]=6,
["icon"]="163" ["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]={ [5200100]={
["limit_times"]=1, ["limit_times"]=1,
["weight"]=100000, ["weight"]=100000,
@ -3515,9 +3686,122 @@ local skill_rogue = {
}, },
["obj"]=7, ["obj"]=7,
["icon"]="170" ["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 = { local config = {
data=skill_rogue,count=228 data=skill_rogue,count=244
} }
return config return config

View File

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

View File

@ -10,7 +10,25 @@ function BattleControllerDungeonGold:getChapterConfig()
end end
function BattleControllerDungeonGold:getChapterId() 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 end
function BattleControllerDungeonGold:controllBattleEnd() function BattleControllerDungeonGold:controllBattleEnd()

View File

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

View File

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

View File

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