肉鸽技能

This commit is contained in:
puxuan 2025-10-18 10:15:39 +08:00
parent 9a5041a2af
commit 2a39d43518
11 changed files with 224 additions and 119 deletions

View File

@ -1,27 +1,27 @@
local battle_exp = { local battle_exp = {
[1]={ [1]={
["exp"]=10000 ["exp"]=1
}, },
[2]={ [2]={
["exp"]=10000 ["exp"]=1
}, },
[3]={ [3]={
["exp"]=10000 ["exp"]=1
}, },
[4]={ [4]={
["exp"]=10000 ["exp"]=1
}, },
[5]={ [5]={
["exp"]=10000 ["exp"]=1
}, },
[6]={ [6]={
["exp"]=10000 ["exp"]=1
}, },
[7]={ [7]={
["exp"]=10000 ["exp"]=1
}, },
[8]={ [8]={
["exp"]=10000 ["exp"]=1
}, },
[9]={ [9]={
["exp"]=10000 ["exp"]=10000

View File

@ -55,7 +55,7 @@ local buff = {
["decr"]=1, ["decr"]=1,
["icon"]="dec_dmg_red_add", ["icon"]="dec_dmg_red_add",
["show_name"]=true, ["show_name"]=true,
["ispercent"]=1 ["is_percent"]=1
}, },
[8]={ [8]={
["id"]=8, ["id"]=8,
@ -66,7 +66,7 @@ local buff = {
["decr"]=1, ["decr"]=1,
["icon"]="dec_dmg_yellow_add", ["icon"]="dec_dmg_yellow_add",
["show_name"]=true, ["show_name"]=true,
["ispercent"]=1 ["is_percent"]=1
}, },
[9]={ [9]={
["id"]=9, ["id"]=9,
@ -77,7 +77,7 @@ local buff = {
["decr"]=1, ["decr"]=1,
["icon"]="dec_dmg_green_add", ["icon"]="dec_dmg_green_add",
["show_name"]=true, ["show_name"]=true,
["ispercent"]=1 ["is_percent"]=1
}, },
[10]={ [10]={
["id"]=10, ["id"]=10,
@ -88,7 +88,7 @@ local buff = {
["decr"]=1, ["decr"]=1,
["icon"]="dec_dmg_blue_add", ["icon"]="dec_dmg_blue_add",
["show_name"]=true, ["show_name"]=true,
["ispercent"]=1 ["is_percent"]=1
}, },
[11]={ [11]={
["id"]=11, ["id"]=11,
@ -99,7 +99,7 @@ local buff = {
["decr"]=1, ["decr"]=1,
["icon"]="dec_dmg_purple_add", ["icon"]="dec_dmg_purple_add",
["show_name"]=true, ["show_name"]=true,
["ispercent"]=1 ["is_percent"]=1
}, },
[12]={ [12]={
["id"]=12, ["id"]=12,
@ -109,7 +109,7 @@ local buff = {
["decr"]=1, ["decr"]=1,
["icon"]="dec_dmg_all_add", ["icon"]="dec_dmg_all_add",
["show_name"]=true, ["show_name"]=true,
["ispercent"]=1 ["is_percent"]=1
}, },
[13]={ [13]={
["id"]=13, ["id"]=13,
@ -117,7 +117,8 @@ local buff = {
["buff_type"]=1, ["buff_type"]=1,
["stack"]=2, ["stack"]=2,
["position"]=1, ["position"]=1,
["decr"]=2 ["decr"]=2,
["is_percent"]=1
}, },
[14]={ [14]={
["id"]=14, ["id"]=14,
@ -125,7 +126,8 @@ local buff = {
["buff_type"]=1, ["buff_type"]=1,
["stack"]=2, ["stack"]=2,
["position"]=2, ["position"]=2,
["decr"]=2 ["decr"]=2,
["is_percent"]=1
}, },
[15]={ [15]={
["id"]=15, ["id"]=15,
@ -133,7 +135,8 @@ local buff = {
["buff_type"]=1, ["buff_type"]=1,
["stack"]=2, ["stack"]=2,
["position"]=3, ["position"]=3,
["decr"]=2 ["decr"]=2,
["is_percent"]=1
}, },
[16]={ [16]={
["id"]=16, ["id"]=16,
@ -141,7 +144,8 @@ local buff = {
["buff_type"]=1, ["buff_type"]=1,
["stack"]=2, ["stack"]=2,
["position"]=4, ["position"]=4,
["decr"]=2 ["decr"]=2,
["is_percent"]=1
}, },
[17]={ [17]={
["id"]=17, ["id"]=17,
@ -149,14 +153,16 @@ local buff = {
["buff_type"]=1, ["buff_type"]=1,
["stack"]=2, ["stack"]=2,
["position"]=5, ["position"]=5,
["decr"]=2 ["decr"]=2,
["is_percent"]=1
}, },
[18]={ [18]={
["id"]=18, ["id"]=18,
["name"]="weakness_all_add", ["name"]="weakness_all_add",
["buff_type"]=1, ["buff_type"]=1,
["stack"]=2, ["stack"]=2,
["decr"]=2 ["decr"]=2,
["is_percent"]=1
}, },
[19]={ [19]={
["id"]=19, ["id"]=19,
@ -164,7 +170,8 @@ local buff = {
["buff_type"]=1, ["buff_type"]=1,
["stack"]=2, ["stack"]=2,
["position"]=1, ["position"]=1,
["decr"]=1 ["decr"]=1,
["is_percent"]=1
}, },
[20]={ [20]={
["id"]=20, ["id"]=20,
@ -172,7 +179,8 @@ local buff = {
["buff_type"]=1, ["buff_type"]=1,
["stack"]=2, ["stack"]=2,
["position"]=2, ["position"]=2,
["decr"]=1 ["decr"]=1,
["is_percent"]=1
}, },
[21]={ [21]={
["id"]=21, ["id"]=21,
@ -180,7 +188,8 @@ local buff = {
["buff_type"]=1, ["buff_type"]=1,
["stack"]=2, ["stack"]=2,
["position"]=3, ["position"]=3,
["decr"]=1 ["decr"]=1,
["is_percent"]=1
}, },
[22]={ [22]={
["id"]=22, ["id"]=22,
@ -188,7 +197,8 @@ local buff = {
["buff_type"]=1, ["buff_type"]=1,
["stack"]=2, ["stack"]=2,
["position"]=4, ["position"]=4,
["decr"]=1 ["decr"]=1,
["is_percent"]=1
}, },
[23]={ [23]={
["id"]=23, ["id"]=23,
@ -196,7 +206,8 @@ local buff = {
["buff_type"]=1, ["buff_type"]=1,
["stack"]=2, ["stack"]=2,
["position"]=5, ["position"]=5,
["decr"]=1 ["decr"]=1,
["is_percent"]=1
}, },
[24]={ [24]={
["id"]=24, ["id"]=24,
@ -205,7 +216,7 @@ local buff = {
["stack"]=2, ["stack"]=2,
["decr"]=1, ["decr"]=1,
["icon"]="weakness_all_add", ["icon"]="weakness_all_add",
["ispercent"]=1 ["is_percent"]=1
}, },
[25]={ [25]={
["id"]=25, ["id"]=25,
@ -213,7 +224,8 @@ local buff = {
["buff_type"]=1, ["buff_type"]=1,
["stack"]=2, ["stack"]=2,
["decr"]=1, ["decr"]=1,
["limit_parameter"]=10000 ["limit_parameter"]=10000,
["is_percent"]=1
}, },
[26]={ [26]={
["id"]=26, ["id"]=26,
@ -222,7 +234,8 @@ local buff = {
["stack"]=2, ["stack"]=2,
["position"]=1, ["position"]=1,
["decr"]=1, ["decr"]=1,
["limit_parameter"]=10000 ["limit_parameter"]=10000,
["is_percent"]=1
}, },
[27]={ [27]={
["id"]=27, ["id"]=27,
@ -231,7 +244,8 @@ local buff = {
["stack"]=2, ["stack"]=2,
["position"]=2, ["position"]=2,
["decr"]=1, ["decr"]=1,
["limit_parameter"]=10000 ["limit_parameter"]=10000,
["is_percent"]=1
}, },
[28]={ [28]={
["id"]=28, ["id"]=28,
@ -240,7 +254,8 @@ local buff = {
["stack"]=2, ["stack"]=2,
["position"]=3, ["position"]=3,
["decr"]=1, ["decr"]=1,
["limit_parameter"]=10000 ["limit_parameter"]=10000,
["is_percent"]=1
}, },
[29]={ [29]={
["id"]=29, ["id"]=29,
@ -249,7 +264,8 @@ local buff = {
["stack"]=2, ["stack"]=2,
["position"]=4, ["position"]=4,
["decr"]=1, ["decr"]=1,
["limit_parameter"]=10000 ["limit_parameter"]=10000,
["is_percent"]=1
}, },
[30]={ [30]={
["id"]=30, ["id"]=30,
@ -258,7 +274,8 @@ local buff = {
["stack"]=2, ["stack"]=2,
["position"]=5, ["position"]=5,
["decr"]=1, ["decr"]=1,
["limit_parameter"]=10000 ["limit_parameter"]=10000,
["is_percent"]=1
}, },
[31]={ [31]={
["id"]=31, ["id"]=31,
@ -339,14 +356,16 @@ local buff = {
["name"]="block", ["name"]="block",
["buff_type"]=1, ["buff_type"]=1,
["stack"]=2, ["stack"]=2,
["decr"]=1 ["decr"]=1,
["is_percent"]=1
}, },
[39]={ [39]={
["id"]=39, ["id"]=39,
["name"]="hpp_add", ["name"]="hpp_add",
["buff_type"]=1, ["buff_type"]=1,
["stack"]=2, ["stack"]=2,
["decr"]=1 ["decr"]=1,
["is_percent"]=1
}, },
[40]={ [40]={
["id"]=40, ["id"]=40,
@ -356,7 +375,7 @@ local buff = {
["decr"]=1, ["decr"]=1,
["icon"]="crit_add", ["icon"]="crit_add",
["show_name"]=true, ["show_name"]=true,
["ispercent"]=1 ["is_percent"]=1
}, },
[41]={ [41]={
["id"]=41, ["id"]=41,
@ -366,14 +385,15 @@ local buff = {
["decr"]=1, ["decr"]=1,
["icon"]="crit_time_add", ["icon"]="crit_time_add",
["show_name"]=true, ["show_name"]=true,
["ispercent"]=1 ["is_percent"]=1
}, },
[42]={ [42]={
["id"]=42, ["id"]=42,
["name"]="exp_time_add", ["name"]="exp_time_add",
["buff_type"]=7, ["buff_type"]=7,
["stack"]=2, ["stack"]=2,
["decr"]=1 ["decr"]=1,
["is_percent"]=1
}, },
[43]={ [43]={
["id"]=43, ["id"]=43,
@ -425,7 +445,7 @@ local buff = {
["formula"]=4, ["formula"]=4,
["icon"]="burn", ["icon"]="burn",
["show_name"]=true, ["show_name"]=true,
["ispercent"]=1, ["is_percent"]=1,
["fx_take"]={ ["fx_take"]={
36 36
} }
@ -437,7 +457,7 @@ local buff = {
["decr"]=2, ["decr"]=2,
["icon"]="vulnerable", ["icon"]="vulnerable",
["show_name"]=true, ["show_name"]=true,
["ispercent"]=1, ["is_percent"]=1,
["fx_get"]={ ["fx_get"]={
34 34
} }
@ -466,7 +486,7 @@ local buff = {
["formula"]=4, ["formula"]=4,
["icon"]="poison", ["icon"]="poison",
["show_name"]=true, ["show_name"]=true,
["ispercent"]=1, ["is_percent"]=1,
["fx_take"]={ ["fx_take"]={
35 35
} }
@ -490,7 +510,7 @@ local buff = {
["decr"]=2, ["decr"]=2,
["icon"]="corrupt", ["icon"]="corrupt",
["show_name"]=true, ["show_name"]=true,
["ispercent"]=1, ["is_percent"]=1,
["fx_get"]={ ["fx_get"]={
19 19
} }
@ -503,7 +523,7 @@ local buff = {
["formula"]=4, ["formula"]=4,
["icon"]="bleed", ["icon"]="bleed",
["show_name"]=true, ["show_name"]=true,
["ispercent"]=1, ["is_percent"]=1,
["fx_take"]={ ["fx_take"]={
31 31
} }
@ -515,7 +535,7 @@ local buff = {
["decr"]=2, ["decr"]=2,
["icon"]="weaken", ["icon"]="weaken",
["show_name"]=true, ["show_name"]=true,
["ispercent"]=1, ["is_percent"]=1,
["fx_continued"]={ ["fx_continued"]={
33 33
} }
@ -586,7 +606,7 @@ local buff = {
["decr"]=1, ["decr"]=1,
["icon"]="counterattack", ["icon"]="counterattack",
["show_name"]=true, ["show_name"]=true,
["ispercent"]=1 ["is_percent"]=1
}, },
[63]={ [63]={
["id"]=63, ["id"]=63,
@ -595,7 +615,7 @@ local buff = {
["decr"]=1, ["decr"]=1,
["icon"]="thorns", ["icon"]="thorns",
["show_name"]=true, ["show_name"]=true,
["ispercent"]=1, ["is_percent"]=1,
["fx_continued"]={ ["fx_continued"]={
18 18
} }
@ -606,7 +626,8 @@ local buff = {
["buff_type"]=1, ["buff_type"]=1,
["stack"]=2, ["stack"]=2,
["position"]=1, ["position"]=1,
["decr"]=2 ["decr"]=2,
["is_percent"]=1
}, },
[65]={ [65]={
["id"]=65, ["id"]=65,
@ -614,7 +635,8 @@ local buff = {
["buff_type"]=1, ["buff_type"]=1,
["stack"]=2, ["stack"]=2,
["position"]=2, ["position"]=2,
["decr"]=2 ["decr"]=2,
["is_percent"]=1
}, },
[66]={ [66]={
["id"]=66, ["id"]=66,
@ -622,7 +644,8 @@ local buff = {
["buff_type"]=1, ["buff_type"]=1,
["stack"]=2, ["stack"]=2,
["position"]=3, ["position"]=3,
["decr"]=2 ["decr"]=2,
["is_percent"]=1
}, },
[67]={ [67]={
["id"]=67, ["id"]=67,
@ -630,7 +653,8 @@ local buff = {
["buff_type"]=1, ["buff_type"]=1,
["stack"]=2, ["stack"]=2,
["position"]=4, ["position"]=4,
["decr"]=2 ["decr"]=2,
["is_percent"]=1
}, },
[68]={ [68]={
["id"]=68, ["id"]=68,
@ -638,14 +662,16 @@ local buff = {
["buff_type"]=1, ["buff_type"]=1,
["stack"]=2, ["stack"]=2,
["position"]=5, ["position"]=5,
["decr"]=2 ["decr"]=2,
["is_percent"]=1
}, },
[69]={ [69]={
["id"]=69, ["id"]=69,
["name"]="dmg_dec_all_add", ["name"]="dmg_dec_all_add",
["buff_type"]=1, ["buff_type"]=1,
["stack"]=2, ["stack"]=2,
["decr"]=2 ["decr"]=2,
["is_percent"]=1
}, },
[70]={ [70]={
["id"]=70, ["id"]=70,
@ -859,7 +885,7 @@ local buff = {
["stack"]=1, ["stack"]=1,
["decr"]=3, ["decr"]=3,
["icon"]="counterattack", ["icon"]="counterattack",
["ispercent"]=1 ["is_percent"]=1
}, },
[91]={ [91]={
["id"]=91, ["id"]=91,
@ -869,7 +895,7 @@ local buff = {
["position"]=1, ["position"]=1,
["decr"]=3, ["decr"]=3,
["icon"]="dec_dmg_red_add", ["icon"]="dec_dmg_red_add",
["ispercent"]=1 ["is_percent"]=1
}, },
[92]={ [92]={
["id"]=92, ["id"]=92,
@ -879,7 +905,7 @@ local buff = {
["position"]=2, ["position"]=2,
["decr"]=3, ["decr"]=3,
["icon"]="dec_dmg_yellow_add", ["icon"]="dec_dmg_yellow_add",
["ispercent"]=1 ["is_percent"]=1
}, },
[93]={ [93]={
["id"]=93, ["id"]=93,
@ -889,7 +915,7 @@ local buff = {
["position"]=3, ["position"]=3,
["decr"]=3, ["decr"]=3,
["icon"]="dec_dmg_green_add", ["icon"]="dec_dmg_green_add",
["ispercent"]=1 ["is_percent"]=1
}, },
[94]={ [94]={
["id"]=94, ["id"]=94,
@ -899,7 +925,7 @@ local buff = {
["position"]=4, ["position"]=4,
["decr"]=3, ["decr"]=3,
["icon"]="dec_dmg_blue_add", ["icon"]="dec_dmg_blue_add",
["ispercent"]=1 ["is_percent"]=1
}, },
[95]={ [95]={
["id"]=95, ["id"]=95,
@ -909,7 +935,7 @@ local buff = {
["position"]=5, ["position"]=5,
["decr"]=3, ["decr"]=3,
["icon"]="dec_dmg_purple_add", ["icon"]="dec_dmg_purple_add",
["ispercent"]=1 ["is_percent"]=1
}, },
[96]={ [96]={
["id"]=96, ["id"]=96,
@ -918,7 +944,7 @@ local buff = {
["stack"]=2, ["stack"]=2,
["decr"]=3, ["decr"]=3,
["icon"]="dec_dmg_all_add", ["icon"]="dec_dmg_all_add",
["ispercent"]=1 ["is_percent"]=1
}, },
[97]={ [97]={
["id"]=97, ["id"]=97,
@ -927,7 +953,7 @@ local buff = {
["decr"]=3, ["decr"]=3,
["icon"]="thorns", ["icon"]="thorns",
["show_name"]=true, ["show_name"]=true,
["ispercent"]=1, ["is_percent"]=1,
["fx_continued"]={ ["fx_continued"]={
18 18
} }
@ -938,7 +964,8 @@ local buff = {
["buff_type"]=1, ["buff_type"]=1,
["stack"]=2, ["stack"]=2,
["position"]=1, ["position"]=1,
["decr"]=1 ["decr"]=1,
["is_percent"]=1
}, },
[99]={ [99]={
["id"]=99, ["id"]=99,
@ -946,7 +973,8 @@ local buff = {
["buff_type"]=1, ["buff_type"]=1,
["stack"]=2, ["stack"]=2,
["position"]=2, ["position"]=2,
["decr"]=1 ["decr"]=1,
["is_percent"]=1
}, },
[100]={ [100]={
["id"]=100, ["id"]=100,
@ -954,7 +982,8 @@ local buff = {
["buff_type"]=1, ["buff_type"]=1,
["stack"]=2, ["stack"]=2,
["position"]=3, ["position"]=3,
["decr"]=1 ["decr"]=1,
["is_percent"]=1
}, },
[101]={ [101]={
["id"]=101, ["id"]=101,
@ -962,7 +991,8 @@ local buff = {
["buff_type"]=1, ["buff_type"]=1,
["stack"]=2, ["stack"]=2,
["position"]=4, ["position"]=4,
["decr"]=1 ["decr"]=1,
["is_percent"]=1
}, },
[102]={ [102]={
["id"]=102, ["id"]=102,
@ -970,7 +1000,8 @@ local buff = {
["buff_type"]=1, ["buff_type"]=1,
["stack"]=2, ["stack"]=2,
["position"]=5, ["position"]=5,
["decr"]=1 ["decr"]=1,
["is_percent"]=1
}, },
[103]={ [103]={
["id"]=103, ["id"]=103,
@ -989,7 +1020,8 @@ local buff = {
["name"]="forever_uncontrolled", ["name"]="forever_uncontrolled",
["buff_type"]=7, ["buff_type"]=7,
["decr"]=1, ["decr"]=1,
["icon"]="immune" ["icon"]="immune",
["is_percent"]=1
}, },
[105]={ [105]={
["id"]=105, ["id"]=105,
@ -999,7 +1031,7 @@ local buff = {
["decr"]=1, ["decr"]=1,
["icon"]="attr_normal_hurtp_all_add", ["icon"]="attr_normal_hurtp_all_add",
["show_name"]=true, ["show_name"]=true,
["ispercent"]=1 ["is_percent"]=1
}, },
[106]={ [106]={
["id"]=106, ["id"]=106,

View File

@ -16,33 +16,23 @@ local chapter = {
}, },
["involved_skill"]={ ["involved_skill"]={
{ {
12, 3300111,
7, 2300111,
13 4300111
} }
}, },
["not_involved_skill"]={ ["not_involved_skill"]={
1,
2,
3,
4, 4,
5, 20,
6, 21,
16, 22,
17, 23,
18, 27,
30, 28,
31, 32
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44
}, },
["monster"]={ ["monster"]={
1010101, 1010101,

View File

@ -523,6 +523,38 @@ local fx = {
["res"]="sfx_c1_m20007_05", ["res"]="sfx_c1_m20007_05",
["bind"]="root" ["bind"]="root"
}, },
[200025]={
["res"]="sfx_c1_m20008_01",
["bind"]="root"
},
[200026]={
["res"]="sfx_c1_m20008_02",
["bind"]="root"
},
[200027]={
["res"]="sfx_c1_m20008_03",
["bind"]="root"
},
[200028]={
["res"]="sfx_c1_m20008_04",
["bind"]="root"
},
[200029]={
["res"]="sfx_c1_m20006_01",
["bind"]="root"
},
[200030]={
["res"]="sfx_c1_m20006_02",
["bind"]="root"
},
[200031]={
["res"]="sfx_c1_m20006_03",
["bind"]="root"
},
[200032]={
["res"]="sfx_c1_m20006_04",
["bind"]="root"
},
[500001]={ [500001]={
["res"]="sfx_c1_m30001_01", ["res"]="sfx_c1_m30001_01",
["bind"]="root" ["bind"]="root"
@ -563,6 +595,14 @@ local fx = {
["res"]="sfx_c1_m30002_05", ["res"]="sfx_c1_m30002_05",
["bind"]="root" ["bind"]="root"
}, },
[500011]={
["res"]="sfx_c1_m30003_01",
["bind"]="root"
},
[500012]={
["res"]="sfx_c1_m30003_05",
["bind"]="root"
},
[300001]={ [300001]={
["res"]="sfx_c1_p45002_01", ["res"]="sfx_c1_p45002_01",
["bind"]="root" ["bind"]="root"
@ -1456,6 +1496,6 @@ local fx = {
} }
} }
local config = { local config = {
data=fx,count=335 data=fx,count=345
} }
return config return config

View File

@ -8592,6 +8592,9 @@ local skill = {
["sound_delay"]=0.0, ["sound_delay"]=0.0,
["name_act"]="skill01", ["name_act"]="skill01",
["name_hit"]={ ["name_hit"]={
"suffer02",
"suffer01",
"suffer02",
"suffer03" "suffer03"
}, },
["fx_self"]=300100, ["fx_self"]=300100,
@ -8669,6 +8672,9 @@ local skill = {
["sound_delay"]=0.0, ["sound_delay"]=0.0,
["name_act"]="skill01", ["name_act"]="skill01",
["name_hit"]={ ["name_hit"]={
"suffer02",
"suffer01",
"suffer02",
"suffer03" "suffer03"
}, },
["fx_self"]=300100, ["fx_self"]=300100,
@ -8746,6 +8752,9 @@ local skill = {
["sound_delay"]=0.0, ["sound_delay"]=0.0,
["name_act"]="skill01", ["name_act"]="skill01",
["name_hit"]={ ["name_hit"]={
"suffer02",
"suffer01",
"suffer02",
"suffer03" "suffer03"
}, },
["fx_self"]=300100, ["fx_self"]=300100,
@ -8823,6 +8832,9 @@ local skill = {
["sound_delay"]=0.0, ["sound_delay"]=0.0,
["name_act"]="skill01", ["name_act"]="skill01",
["name_hit"]={ ["name_hit"]={
"suffer02",
"suffer01",
"suffer02",
"suffer03" "suffer03"
}, },
["fx_self"]=300100, ["fx_self"]=300100,
@ -11301,7 +11313,8 @@ local skill = {
["name_act"]="attack01", ["name_act"]="attack01",
["name_hit"]={ ["name_hit"]={
"suffer01" "suffer01"
} },
["fx_self"]=200029
}, },
[20080]={ [20080]={
["effect_type"]=1, ["effect_type"]=1,
@ -11324,7 +11337,8 @@ local skill = {
["name_act"]="attack02", ["name_act"]="attack02",
["name_hit"]={ ["name_hit"]={
"suffer02" "suffer02"
} },
["fx_self"]=200030
}, },
[20081]={ [20081]={
["effect_type"]=1, ["effect_type"]=1,
@ -11347,7 +11361,8 @@ local skill = {
["name_act"]="attack03", ["name_act"]="attack03",
["name_hit"]={ ["name_hit"]={
"suffer01" "suffer01"
} },
["fx_self"]=200031
}, },
[20082]={ [20082]={
["skill_type"]=3, ["skill_type"]=3,
@ -11379,6 +11394,7 @@ local skill = {
["name_hit"]={ ["name_hit"]={
"suffer03" "suffer03"
}, },
["fx_self"]=200032,
["bullet_time"]={ ["bullet_time"]={
966, 966,
5000, 5000,
@ -11558,7 +11574,8 @@ local skill = {
["name_act"]="attack01", ["name_act"]="attack01",
["name_hit"]={ ["name_hit"]={
"suffer01" "suffer01"
} },
["fx_self"]=200025
}, },
[20088]={ [20088]={
["effect_type"]=1, ["effect_type"]=1,
@ -11581,7 +11598,8 @@ local skill = {
["name_act"]="attack02", ["name_act"]="attack02",
["name_hit"]={ ["name_hit"]={
"suffer02" "suffer02"
} },
["fx_self"]=200026
}, },
[20089]={ [20089]={
["effect_type"]=1, ["effect_type"]=1,
@ -11604,7 +11622,8 @@ local skill = {
["name_act"]="attack03", ["name_act"]="attack03",
["name_hit"]={ ["name_hit"]={
"suffer01" "suffer01"
} },
["fx_self"]=200027
}, },
[20090]={ [20090]={
["skill_type"]=3, ["skill_type"]=3,
@ -11655,6 +11674,7 @@ local skill = {
"suffer01", "suffer01",
"suffer03" "suffer03"
}, },
["fx_self"]=200028,
["bullet_time"]={ ["bullet_time"]={
966, 966,
5000, 5000,
@ -11997,7 +12017,8 @@ local skill = {
["name_act"]="attack01", ["name_act"]="attack01",
["name_hit"]={ ["name_hit"]={
"suffer01" "suffer01"
} },
["fx_self"]=500011
}, },
[20102]={ [20102]={
["effect_type"]=1, ["effect_type"]=1,
@ -12020,7 +12041,8 @@ local skill = {
["name_act"]="attack02", ["name_act"]="attack02",
["name_hit"]={ ["name_hit"]={
"suffer02" "suffer02"
} },
["fx_self"]=500011
}, },
[20103]={ [20103]={
["effect_type"]=1, ["effect_type"]=1,
@ -12043,7 +12065,8 @@ local skill = {
["name_act"]="attack03", ["name_act"]="attack03",
["name_hit"]={ ["name_hit"]={
"suffer01" "suffer01"
} },
["fx_self"]=500011
}, },
[20104]={ [20104]={
["battle_icon"]="m30003_1", ["battle_icon"]="m30003_1",
@ -12079,6 +12102,7 @@ local skill = {
["name_hit"]={ ["name_hit"]={
"suffer03" "suffer03"
}, },
["fx_self"]=500012,
["bullet_time"]={ ["bullet_time"]={
366, 366,
3000, 3000,

View File

@ -213,7 +213,7 @@ local skill_rogue = {
["universal"]=1, ["universal"]=1,
["toast_mark"]=13, ["toast_mark"]=13,
["limit_times"]=3, ["limit_times"]=3,
["weight"]=2000, ["weight"]=100000000000,
["qlt"]=4, ["qlt"]=4,
["type"]=5, ["type"]=5,
["attr"]={ ["attr"]={
@ -324,7 +324,10 @@ local skill_rogue = {
["universal"]=1, ["universal"]=1,
["weight"]=1000, ["weight"]=1000,
["qlt"]=4, ["qlt"]=4,
["type"]=22, ["type"]=20,
["parameter"]={
10
},
["icon"]="27" ["icon"]="27"
}, },
[23]={ [23]={
@ -336,7 +339,7 @@ local skill_rogue = {
["effect"]={ ["effect"]={
{ {
["type"]="red_refresh_weight", ["type"]="red_refresh_weight",
["num"]=500, ["num"]=714,
["ratio"]=10000, ["ratio"]=10000,
["round"]=0 ["round"]=0
} }
@ -353,7 +356,7 @@ local skill_rogue = {
["effect"]={ ["effect"]={
{ {
["type"]="yellow_refresh_weight", ["type"]="yellow_refresh_weight",
["num"]=500, ["num"]=714,
["ratio"]=10000, ["ratio"]=10000,
["round"]=0 ["round"]=0
} }
@ -370,7 +373,7 @@ local skill_rogue = {
["effect"]={ ["effect"]={
{ {
["type"]="green_refresh_weight", ["type"]="green_refresh_weight",
["num"]=500, ["num"]=714,
["ratio"]=10000, ["ratio"]=10000,
["round"]=0 ["round"]=0
} }
@ -387,7 +390,7 @@ local skill_rogue = {
["effect"]={ ["effect"]={
{ {
["type"]="blue_refresh_weight", ["type"]="blue_refresh_weight",
["num"]=500, ["num"]=714,
["ratio"]=10000, ["ratio"]=10000,
["round"]=0 ["round"]=0
} }
@ -404,7 +407,7 @@ local skill_rogue = {
["effect"]={ ["effect"]={
{ {
["type"]="purple_refresh_weight", ["type"]="purple_refresh_weight",
["num"]=500, ["num"]=714,
["ratio"]=10000, ["ratio"]=10000,
["round"]=0 ["round"]=0
} }

View File

@ -142,5 +142,11 @@ Example: set_cur_chapter 9]],
Example: day_end]], Example: day_end]],
type = "day_end" type = "day_end"
}, },
{
title = "添加肉鸽技能",
desc = [[e:add_rouge
Example: add_rouge]],
type = "add_rouge"
},
} }
return GMConst return GMConst

View File

@ -171,7 +171,7 @@ function HeroManager:getSkillRogueDesc(skillId, value)
end end
local str local str
if cfg.attr then if cfg.attr then
str = GFunc.getFinalAttrValue(cfg.attr.type, value) str = GFunc.getFinalBuffValue(cfg.attr.type, value)
end end
return I18N:getText("skill_rogue", skillId, "desc", str) return I18N:getText("skill_rogue", skillId, "desc", str)
end end

View File

@ -102,7 +102,7 @@ function BattlePauseUI:_refreshScrollRect()
local cfg = ConfigManager:getConfig("skill_rogue")[skillId] local cfg = ConfigManager:getConfig("skill_rogue")[skillId]
local str local str
if cfg and cfg.attr and ModuleManager.HeroManager:showValueRogue(skillId) then if cfg and cfg.attr and ModuleManager.HeroManager:showValueRogue(skillId) then
str = GFunc.getFinalAttrValue(cfg.attr.type, value) str = GFunc.getFinalBuffValue(cfg.attr.type, value)
end end
cell:refresh(skillId, count, str) cell:refresh(skillId, count, str)
@ -117,7 +117,7 @@ function BattlePauseUI:_refreshScrollRect()
-- valueStr = ModuleManager.HeroManager:getSkillRogueDesc(skillId, value) -- valueStr = ModuleManager.HeroManager:getSkillRogueDesc(skillId, value)
-- end -- end
if EDITOR_MODE then if EDITOR_MODE then
valueStr = valueStr .. "\n" .. skillId valueStr = valueStr .. "\n技能ID" .. skillId
end end
ModuleManager.TipsManager:showDescTips(valueStr, cell:getBaseObject()) ModuleManager.TipsManager:showDescTips(valueStr, cell:getBaseObject())
end) end)

View File

@ -13,18 +13,19 @@ function BattleSelectSkillCell:refresh(skillId, func)
if cfg.type == 5 then if cfg.type == 5 then
self.value = math.random(cfg.attr.minnum, cfg.attr.maxnum) self.value = math.random(cfg.attr.minnum, cfg.attr.maxnum)
self.value = self.value // 100 * 100 self.value = self.value // 100 * 100
valueStr = GFunc.getFinalAttrValue(cfg.attr.type, self.value) valueStr = GFunc.getFinalBuffValue(cfg.attr.type, self.value)
value = ModuleManager.HeroManager:getSkillRogueDesc(skillId, self.value) value = ModuleManager.HeroManager:getSkillRogueDesc(skillId, self.value)
else else
self.value = nil -- self.value = nil
if skillId == 24 then -- 特殊处理 -- if skillId == 24 then -- 特殊处理
if ModuleManager.BattleManager.battleController then -- if ModuleManager.BattleManager.battleController then
value = ModuleManager.BattleManager.battleController.battleData:getSkillCount(skillId)+1 -- value = ModuleManager.BattleManager.battleController.battleData:getSkillCount(skillId)+1
value = I18N:getText("skill_rogue", skillId, "desc", value) -- value = I18N:getText("skill_rogue", skillId, "desc", value)
end -- end
else -- else
value = ModuleManager.HeroManager:getSkillRogueDesc(skillId, self.value) -- value = ModuleManager.HeroManager:getSkillRogueDesc(skillId, self.value)
end -- end
value = ModuleManager.HeroManager:getSkillRogueDesc(skillId, self.value or 0)
end end
local uiMap = self:getUIMap() local uiMap = self:getUIMap()

View File

@ -172,6 +172,15 @@ function GMToolUI:sendMsg(gmCommand)
DataManager.ChapterData:setChapterId(tonumber(args.args[2])) DataManager.ChapterData:setChapterId(tonumber(args.args[2]))
DataManager.ChapterData:setDirty() DataManager.ChapterData:setDirty()
self:closeUI() self:closeUI()
elseif args.args[1] == "add_rouge" then
local skillId = tonumber(args.args[2])
local cfg = ConfigManager:getConfig("skill_rogue")[skillId]
local value
if cfg.attr then
value = math.random(cfg.attr.minnum, cfg.attr.maxnum)
end
ModuleManager.BattleManager:onSelectSkill(skillId, value)
self:closeUI()
else else
args.args = {gmCommand} args.args = {gmCommand}
ModuleManager.DevToolManager:dealGM(args) ModuleManager.DevToolManager:dealGM(args)