bug修复

This commit is contained in:
xiekaidong 2023-06-01 17:25:28 +08:00
parent 9429f79a1e
commit 9a6c3966cb
14 changed files with 3736 additions and 3059 deletions

View File

@ -257,7 +257,7 @@ local buff = {
["decr"]=1, ["decr"]=1,
["formula"]=3, ["formula"]=3,
["fx_get"]={ ["fx_get"]={
300025 300027
} }
}, },
[33]={ [33]={

View File

@ -5,7 +5,7 @@ local buff_daily_challenge = {
{ {
["type"]="exp_time_add", ["type"]="exp_time_add",
["num"]=1000, ["num"]=1000,
["ratio"]=1000, ["ratio"]=10000,
["round"]=999 ["round"]=999
} }
}, },
@ -17,7 +17,7 @@ local buff_daily_challenge = {
{ {
["type"]="dmg_addition_all_add", ["type"]="dmg_addition_all_add",
["num"]=500, ["num"]=500,
["ratio"]=1000, ["ratio"]=10000,
["round"]=999 ["round"]=999
} }
}, },
@ -29,7 +29,7 @@ local buff_daily_challenge = {
{ {
["type"]="dec_dmg_all_add", ["type"]="dec_dmg_all_add",
["num"]=1000, ["num"]=1000,
["ratio"]=1000, ["ratio"]=10000,
["round"]=999 ["round"]=999
} }
}, },
@ -40,14 +40,14 @@ local buff_daily_challenge = {
["effect"]={ ["effect"]={
{ {
["type"]="crit_add", ["type"]="crit_add",
["num"]=2000, ["num"]=1000,
["ratio"]=1000, ["ratio"]=10000,
["round"]=999 ["round"]=999
}, },
{ {
["type"]="crit_time_add", ["type"]="crit_time_add",
["num"]=3000, ["num"]=1500,
["ratio"]=1000, ["ratio"]=10000,
["round"]=999 ["round"]=999
} }
}, },
@ -59,7 +59,7 @@ local buff_daily_challenge = {
{ {
["type"]="skill_hurt_add", ["type"]="skill_hurt_add",
["num"]=1500, ["num"]=1500,
["ratio"]=1000, ["ratio"]=10000,
["round"]=999 ["round"]=999
} }
}, },
@ -69,13 +69,13 @@ local buff_daily_challenge = {
["buff_type"]=1, ["buff_type"]=1,
["effect"]={ ["effect"]={
{ {
["type"]="wavehealp", ["type"]="add_skill",
["num"]=100, ["num"]=8,
["ratio"]=10000, ["ratio"]=10000,
["round"]=0 ["round"]=0
} }
}, },
["obj"]=1 ["obj"]=8
}, },
[7]={ [7]={
["buff_type"]=1, ["buff_type"]=1,
@ -83,37 +83,25 @@ local buff_daily_challenge = {
{ {
["type"]="cured_add", ["type"]="cured_add",
["num"]=500, ["num"]=500,
["ratio"]=500, ["ratio"]=10000,
["round"]=999 ["round"]=999
} }
}, },
["obj"]=1 ["obj"]=1
}, },
[8]={ [8]={
["buff_type"]=1,
["effect"]={
{
["type"]="wavehealp",
["num"]=100,
["ratio"]=10000,
["round"]=0
}
},
["obj"]=1
},
[9]={
["buff_type"]=2, ["buff_type"]=2,
["effect"]={ ["effect"]={
{ {
["type"]="atkp_add", ["type"]="atkp_add",
["num"]=500, ["num"]=500,
["ratio"]=1000, ["ratio"]=10000,
["round"]=999 ["round"]=999
} }
}, },
["obj"]=2 ["obj"]=2
}, },
[10]={ [9]={
["buff_type"]=2, ["buff_type"]=2,
["effect"]={ ["effect"]={
{ {
@ -125,7 +113,7 @@ local buff_daily_challenge = {
}, },
["obj"]=2 ["obj"]=2
}, },
[11]={ [10]={
["buff_type"]=2, ["buff_type"]=2,
["effect"]={ ["effect"]={
{ {
@ -137,37 +125,37 @@ local buff_daily_challenge = {
}, },
["obj"]=2 ["obj"]=2
}, },
[12]={ [11]={
["buff_type"]=2, ["buff_type"]=2,
["effect"]={ ["effect"]={
{ {
["type"]="cured_dec", ["type"]="cured_dec",
["num"]=1000, ["num"]=1000,
["ratio"]=1000, ["ratio"]=10000,
["round"]=999
}
},
["obj"]=1
},
[12]={
["buff_type"]=2,
["effect"]={
{
["type"]="block",
["num"]=500,
["ratio"]=10000,
["round"]=999 ["round"]=999
} }
}, },
["obj"]=2 ["obj"]=2
}, },
[13]={ [13]={
["buff_type"]=2,
["effect"]={
{
["type"]="block",
["num"]=500,
["ratio"]=1000,
["round"]=999
}
},
["obj"]=2
},
[14]={
["buff_type"]=2, ["buff_type"]=2,
["effect"]={ ["effect"]={
{ {
["type"]="dec_dmg_all_add", ["type"]="dec_dmg_all_add",
["num"]=500, ["num"]=500,
["ratio"]=1000, ["ratio"]=10000,
["round"]=999 ["round"]=999
} }
}, },
@ -175,6 +163,6 @@ local buff_daily_challenge = {
} }
} }
local config = { local config = {
data=buff_daily_challenge,count=14 data=buff_daily_challenge,count=13
} }
return config return config

View File

@ -123,12 +123,12 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=28 ["weight"]=100
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 11000,
30000 11000
} }
}, },
[2]={ [2]={
@ -274,12 +274,12 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=28 ["weight"]=100
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 11000,
30000 11000
} }
}, },
[3]={ [3]={
@ -420,12 +420,12 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=28 ["weight"]=100
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 11000,
30000 11000
} }
}, },
[4]={ [4]={
@ -617,12 +617,12 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=28 ["weight"]=100
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 11000,
30000 11000
} }
}, },
[5]={ [5]={
@ -814,18 +814,18 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=28 ["weight"]=90
}, },
{ {
["type"]=1, ["type"]=1,
["id"]=5, ["id"]=5,
["num"]=1, ["num"]=1,
["weight"]=2 ["weight"]=10
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 12672,
30000 15334
} }
}, },
[6]={ [6]={
@ -1017,18 +1017,18 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=25 ["weight"]=85
}, },
{ {
["type"]=1, ["type"]=1,
["id"]=5, ["id"]=5,
["num"]=1, ["num"]=1,
["weight"]=5 ["weight"]=15
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 13453,
30000 16814
} }
}, },
[7]={ [7]={
@ -1236,18 +1236,18 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=25 ["weight"]=85
}, },
{ {
["type"]=1, ["type"]=1,
["id"]=5, ["id"]=5,
["num"]=1, ["num"]=1,
["weight"]=5 ["weight"]=15
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 15389,
30000 19894
} }
}, },
[8]={ [8]={
@ -1455,18 +1455,18 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=25 ["weight"]=85
}, },
{ {
["type"]=1, ["type"]=1,
["id"]=5, ["id"]=5,
["num"]=1, ["num"]=1,
["weight"]=5 ["weight"]=15
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 17688,
30000 23408
} }
}, },
[9]={ [9]={
@ -1674,18 +1674,18 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=25 ["weight"]=85
}, },
{ {
["type"]=1, ["type"]=1,
["id"]=5, ["id"]=5,
["num"]=1, ["num"]=1,
["weight"]=5 ["weight"]=15
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 19289,
30000 26153
} }
}, },
[10]={ [10]={
@ -1893,18 +1893,18 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=25 ["weight"]=85
}, },
{ {
["type"]=1, ["type"]=1,
["id"]=5, ["id"]=5,
["num"]=1, ["num"]=1,
["weight"]=5 ["weight"]=15
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 22561,
30000 31119
} }
}, },
[11]={ [11]={
@ -2112,18 +2112,18 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=23 ["weight"]=80
}, },
{ {
["type"]=1, ["type"]=1,
["id"]=5, ["id"]=5,
["num"]=1, ["num"]=1,
["weight"]=7 ["weight"]=20
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 26466,
30000 35657
} }
}, },
[12]={ [12]={
@ -2331,18 +2331,18 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=23 ["weight"]=80
}, },
{ {
["type"]=1, ["type"]=1,
["id"]=5, ["id"]=5,
["num"]=1, ["num"]=1,
["weight"]=7 ["weight"]=20
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 27220,
30000 38682
} }
}, },
[13]={ [13]={
@ -2550,18 +2550,18 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=23 ["weight"]=80
}, },
{ {
["type"]=1, ["type"]=1,
["id"]=5, ["id"]=5,
["num"]=1, ["num"]=1,
["weight"]=7 ["weight"]=20
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 28479,
30000 41052
} }
}, },
[14]={ [14]={
@ -2769,18 +2769,18 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=23 ["weight"]=80
}, },
{ {
["type"]=1, ["type"]=1,
["id"]=5, ["id"]=5,
["num"]=1, ["num"]=1,
["weight"]=7 ["weight"]=20
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 30899,
30000 45133
} }
}, },
[15]={ [15]={
@ -2988,18 +2988,18 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=23 ["weight"]=80
}, },
{ {
["type"]=1, ["type"]=1,
["id"]=5, ["id"]=5,
["num"]=1, ["num"]=1,
["weight"]=7 ["weight"]=20
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 31774,
30000 46992
} }
}, },
[16]={ [16]={
@ -3207,18 +3207,18 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=20 ["weight"]=75
}, },
{ {
["type"]=1, ["type"]=1,
["id"]=5, ["id"]=5,
["num"]=1, ["num"]=1,
["weight"]=10 ["weight"]=25
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 33633,
30000 50331
} }
}, },
[17]={ [17]={
@ -3426,18 +3426,18 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=20 ["weight"]=75
}, },
{ {
["type"]=1, ["type"]=1,
["id"]=5, ["id"]=5,
["num"]=1, ["num"]=1,
["weight"]=10 ["weight"]=25
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 35024,
30000 53042
} }
}, },
[18]={ [18]={
@ -3645,18 +3645,18 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=20 ["weight"]=75
}, },
{ {
["type"]=1, ["type"]=1,
["id"]=5, ["id"]=5,
["num"]=1, ["num"]=1,
["weight"]=10 ["weight"]=25
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 37136,
30000 56738
} }
}, },
[19]={ [19]={
@ -3864,18 +3864,18 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=20 ["weight"]=75
}, },
{ {
["type"]=1, ["type"]=1,
["id"]=5, ["id"]=5,
["num"]=1, ["num"]=1,
["weight"]=10 ["weight"]=25
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 38143,
30000 59004
} }
}, },
[20]={ [20]={
@ -4083,18 +4083,18 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=20 ["weight"]=75
}, },
{ {
["type"]=1, ["type"]=1,
["id"]=5, ["id"]=5,
["num"]=1, ["num"]=1,
["weight"]=10 ["weight"]=25
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 40535,
30000 63234
} }
}, },
[21]={ [21]={
@ -4302,18 +4302,18 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=18 ["weight"]=70
}, },
{ {
["type"]=1, ["type"]=1,
["id"]=5, ["id"]=5,
["num"]=1, ["num"]=1,
["weight"]=12 ["weight"]=30
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 42114,
30000 66275
} }
}, },
[22]={ [22]={
@ -4521,18 +4521,18 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=18 ["weight"]=70
}, },
{ {
["type"]=1, ["type"]=1,
["id"]=5, ["id"]=5,
["num"]=1, ["num"]=1,
["weight"]=12 ["weight"]=30
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 44759,
30000 70994
} }
}, },
[23]={ [23]={
@ -4740,18 +4740,18 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=18 ["weight"]=70
}, },
{ {
["type"]=1, ["type"]=1,
["id"]=5, ["id"]=5,
["num"]=1, ["num"]=1,
["weight"]=12 ["weight"]=30
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 46690,
30000 74635
} }
}, },
[24]={ [24]={
@ -4959,18 +4959,18 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=18 ["weight"]=70
}, },
{ {
["type"]=1, ["type"]=1,
["id"]=5, ["id"]=5,
["num"]=1, ["num"]=1,
["weight"]=12 ["weight"]=30
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 47564,
30000 76615
} }
}, },
[25]={ [25]={
@ -5178,18 +5178,18 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=18 ["weight"]=70
}, },
{ {
["type"]=1, ["type"]=1,
["id"]=5, ["id"]=5,
["num"]=1, ["num"]=1,
["weight"]=12 ["weight"]=30
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 51332,
30000 83375
} }
}, },
[26]={ [26]={
@ -5397,18 +5397,18 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=15 ["weight"]=65
}, },
{ {
["type"]=1, ["type"]=1,
["id"]=5, ["id"]=5,
["num"]=1, ["num"]=1,
["weight"]=15 ["weight"]=35
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 52333,
30000 85564
} }
}, },
[27]={ [27]={
@ -5616,18 +5616,18 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=15 ["weight"]=65
}, },
{ {
["type"]=1, ["type"]=1,
["id"]=5, ["id"]=5,
["num"]=1, ["num"]=1,
["weight"]=15 ["weight"]=35
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 56568,
30000 93055
} }
}, },
[28]={ [28]={
@ -5835,18 +5835,18 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=15 ["weight"]=65
}, },
{ {
["type"]=1, ["type"]=1,
["id"]=5, ["id"]=5,
["num"]=1, ["num"]=1,
["weight"]=15 ["weight"]=35
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 61303,
30000 101426
} }
}, },
[29]={ [29]={
@ -6054,18 +6054,18 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=15 ["weight"]=65
}, },
{ {
["type"]=1, ["type"]=1,
["id"]=5, ["id"]=5,
["num"]=1, ["num"]=1,
["weight"]=15 ["weight"]=35
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 56931,
30000 94804
} }
}, },
[30]={ [30]={
@ -6272,18 +6272,18 @@ local chapter = {
["type"]=1, ["type"]=1,
["id"]=4, ["id"]=4,
["num"]=1, ["num"]=1,
["weight"]=15 ["weight"]=65
}, },
{ {
["type"]=1, ["type"]=1,
["id"]=5, ["id"]=5,
["num"]=1, ["num"]=1,
["weight"]=15 ["weight"]=35
} }
}, },
["daily_challenge_difficulty"]={ ["daily_challenge_difficulty"]={
30000, 62926,
30000 105386
} }
} }
} }

View File

@ -3673,7 +3673,7 @@ local chapter_board = {
3 3
}, },
{ {
3, 2,
0 0
}, },
{ {
@ -3681,7 +3681,7 @@ local chapter_board = {
4 4
}, },
{ {
3, 2,
0 0
}, },
{ {
@ -3689,7 +3689,7 @@ local chapter_board = {
3 3
}, },
{ {
3, 2,
0 0
}, },
{ {
@ -3697,7 +3697,7 @@ local chapter_board = {
3 3
}, },
{ {
3, 2,
0 0
}, },
{ {
@ -3705,7 +3705,7 @@ local chapter_board = {
4 4
}, },
{ {
3, 2,
0 0
}, },
{ {
@ -3713,7 +3713,7 @@ local chapter_board = {
4 4
}, },
{ {
3, 2,
0 0
}, },
{ {
@ -3721,35 +3721,35 @@ local chapter_board = {
4 4
}, },
{ {
3, 2,
0 0
}, },
{ {
3, 2,
0 0
}, },
{ {
3, 2,
0 0
}, },
{ {
3, 2,
0 0
}, },
{ {
3, 2,
0 0
}, },
{ {
3, 2,
0 0
}, },
{ {
3, 2,
0 0
}, },
{ {
3, 2,
0 0
}, },
{ {
@ -3871,7 +3871,7 @@ local chapter_board = {
3 3
}, },
{ {
3, 2,
0 0
}, },
{ {
@ -3879,7 +3879,7 @@ local chapter_board = {
4 4
}, },
{ {
3, 2,
0 0
}, },
{ {
@ -3887,7 +3887,7 @@ local chapter_board = {
3 3
}, },
{ {
3, 2,
0 0
}, },
{ {
@ -3895,7 +3895,7 @@ local chapter_board = {
3 3
}, },
{ {
3, 2,
0 0
}, },
{ {
@ -3903,7 +3903,7 @@ local chapter_board = {
4 4
}, },
{ {
3, 2,
0 0
}, },
{ {
@ -3911,7 +3911,7 @@ local chapter_board = {
4 4
}, },
{ {
3, 2,
0 0
}, },
{ {
@ -3919,35 +3919,35 @@ local chapter_board = {
4 4
}, },
{ {
3, 2,
0 0
}, },
{ {
3, 2,
0 0
}, },
{ {
3, 2,
0 0
}, },
{ {
3, 2,
0 0
}, },
{ {
3, 2,
0 0
}, },
{ {
3, 2,
0 0
}, },
{ {
3, 2,
0 0
}, },
{ {
3, 2,
0 0
}, },
{ {

File diff suppressed because it is too large Load Diff

View File

@ -111,7 +111,7 @@ local const = {
["value"]=600 ["value"]=600
}, },
["idle_item_drop_time"]={ ["idle_item_drop_time"]={
["value"]=600 ["value"]=1800
}, },
["idle_drop_fast_times_1"]={ ["idle_drop_fast_times_1"]={
["value"]=2 ["value"]=2

File diff suppressed because it is too large Load Diff

View File

@ -972,6 +972,9 @@ local monster_chapter = {
30065, 30065,
30066 30066
}, },
["skill"]={
10023
},
["monster_exp"]=18000 ["monster_exp"]=18000
}, },
[7601]={ [7601]={
@ -1097,6 +1100,9 @@ local monster_chapter = {
30065, 30065,
30066 30066
}, },
["skill"]={
10023
},
["monster_exp"]=24000 ["monster_exp"]=24000
}, },
[8601]={ [8601]={
@ -1163,6 +1169,9 @@ local monster_chapter = {
10067, 10067,
10068 10068
}, },
["passive_skill"]={
10013
},
["monster_exp"]=22000 ["monster_exp"]=22000
}, },
[9101]={ [9101]={
@ -1288,6 +1297,9 @@ local monster_chapter = {
30065, 30065,
30066 30066
}, },
["skill"]={
10023
},
["monster_exp"]=12000 ["monster_exp"]=12000
}, },
[10101]={ [10101]={

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1914,18 +1914,11 @@ local skill_rogue = {
["limit_times"]=1, ["limit_times"]=1,
["weight"]=3000, ["weight"]=3000,
["qlt"]=3, ["qlt"]=3,
["type"]=2,
["skill_position"]=3,
["boardrange"]={
{
["type"]=1, ["type"]=1,
["range"]=2 ["parameter"]={
}, 3300125
{
["type"]=2,
["range"]=2
}
}, },
["skill_position"]=3,
["icon"]="82" ["icon"]="82"
}, },
[3300104]={ [3300104]={
@ -2974,18 +2967,11 @@ local skill_rogue = {
["limit_times"]=1, ["limit_times"]=1,
["weight"]=3000, ["weight"]=3000,
["qlt"]=3, ["qlt"]=3,
["type"]=2, ["type"]=1,
["parameter"]={
5300225
},
["skill_position"]=5, ["skill_position"]=5,
["boardrange"]={
{
["type"]=3,
["range"]=2
},
{
["type"]=4,
["range"]=2
}
},
["icon"]="129" ["icon"]="129"
}, },
[5300202]={ [5300202]={

View File

@ -3,6 +3,7 @@ local BattleScheduler = require "app/module/battle/helper/battle_scheduler"
local BattleTeam = require "app/module/battle/team/battle_team" local BattleTeam = require "app/module/battle/team/battle_team"
local BattlePassive = require "app/module/battle/helper/battle_passive" local BattlePassive = require "app/module/battle/helper/battle_passive"
local BattlePool = require "app/module/battle/helper/battle_pool" local BattlePool = require "app/module/battle/helper/battle_pool"
local BattleBuffEntity = require "app/userdata/battle/skill/battle_buff_entity"
local BattleController = class("BattleController") local BattleController = class("BattleController")
@ -43,14 +44,31 @@ function BattleController:getBuffs()
end end
function BattleController:handleBuffs(side) function BattleController:handleBuffs(side)
for _, buffEntity in ipairs(self:getBuffs()) do for _, buffInfo in ipairs(self:getBuffs()) do
local buffEntity = buffInfo.buffEntity
local buffTargetSide = buffEntity:getTargetSide() local buffTargetSide = buffEntity:getTargetSide()
local target local target
if buffTargetSide == BattleConst.SIDE_ATK then if buffTargetSide == BattleConst.SIDE_DEF then
target = self.atkTeam:getMainUnit()
else
target = self.defTeam:getMainUnit() target = self.defTeam:getMainUnit()
elseif buffTargetSide == BattleConst.SIDE_ATK then
target = self.atkTeam:getMainUnit()
elseif buffTargetSide == BattleConst.SIDE_ATK_ALL then
if not side or side == buffTargetSide then
for matchtype, comp in pairs(self.atkTeam:getUnitComp()) do
local buffEntity = BattleBuffEntity:create()
buffEntity:init(buffInfo.effect, comp.unitEntity)
buffEntity:setTargetSide(buffTargetSide)
comp:takeEffect(buffEntity, comp)
end end
end
else
local matchType = BattleConst.SIDE_OBJ_TO_MATCH_TYPE[buffTargetSide]
if matchType then
target = self.atkTeam:getUnitComp()[matchType]
end
end
if target then
if side then if side then
if buffTargetSide == side then if buffTargetSide == side then
buffEntity:setOwner(target) buffEntity:setOwner(target)
@ -61,6 +79,7 @@ function BattleController:handleBuffs(side)
target:takeEffect(buffEntity, target) target:takeEffect(buffEntity, target)
end end
end end
end
end end
-- 战斗对应的ui -- 战斗对应的ui

View File

@ -36,7 +36,7 @@ function BattleControllerDailyChallenge:getBuffs()
buffEntity:setTargetSide(cfg[buffId].obj) buffEntity:setTargetSide(cfg[buffId].obj)
buffEntity:setIsCantRemove(true) buffEntity:setIsCantRemove(true)
table.insert(self.initBuffs, buffEntity) table.insert(self.initBuffs, {buffEntity = buffEntity, effect = effect[1]})
end end
end end
end end

View File

@ -30,7 +30,7 @@ local function _crossSpread(entity, gridEntities, battleController, onlyCheck)
for _, posId in ipairs(tempList) do for _, posId in ipairs(tempList) do
local gridEntity = gridEntities[posId] local gridEntity = gridEntities[posId]
if gridEntity:isEmptyIdle() then if gridEntity:isEmptyIdle() then
battleController.battleData:setGridType(posId, BattleConst.GRID_TYPE.JELLY) battleController.battleData:setGridType(posId, entity:getGridType() or BattleConst.GRID_TYPE.JELLY)
succ = true succ = true
break break
end end