装备属性

This commit is contained in:
puxuan 2025-10-26 18:10:13 +08:00
parent ec8344394d
commit d03ebfb183
53 changed files with 3219 additions and 5787 deletions

View File

@ -94,7 +94,7 @@ local act_sevenday_quest = {
[205]={ [205]={
["day"]=1, ["day"]=1,
["type"]=51, ["type"]=51,
["number"]=5, ["number"]=20,
["reward"]={ ["reward"]={
{ {
["type"]=1, ["type"]=1,
@ -163,7 +163,7 @@ local act_sevenday_quest = {
[208]={ [208]={
["day"]=2, ["day"]=2,
["type"]=45, ["type"]=45,
["number"]=2, ["number"]=4,
["reward"]={ ["reward"]={
{ {
["type"]=1, ["type"]=1,
@ -186,7 +186,7 @@ local act_sevenday_quest = {
[209]={ [209]={
["day"]=2, ["day"]=2,
["type"]=12, ["type"]=12,
["number"]=30, ["number"]=50,
["reward"]={ ["reward"]={
{ {
["type"]=1, ["type"]=1,
@ -255,7 +255,7 @@ local act_sevenday_quest = {
[212]={ [212]={
["day"]=3, ["day"]=3,
["type"]=25, ["type"]=25,
["number"]=10, ["number"]=20,
["reward"]={ ["reward"]={
{ {
["type"]=1, ["type"]=1,
@ -301,7 +301,7 @@ local act_sevenday_quest = {
[214]={ [214]={
["day"]=3, ["day"]=3,
["type"]=12, ["type"]=12,
["number"]=60, ["number"]=100,
["reward"]={ ["reward"]={
{ {
["type"]=1, ["type"]=1,
@ -324,7 +324,7 @@ local act_sevenday_quest = {
[215]={ [215]={
["day"]=3, ["day"]=3,
["type"]=31, ["type"]=31,
["number"]=1000, ["number"]=1100,
["reward"]={ ["reward"]={
{ {
["type"]=1, ["type"]=1,
@ -370,7 +370,7 @@ local act_sevenday_quest = {
[217]={ [217]={
["day"]=4, ["day"]=4,
["type"]=51, ["type"]=51,
["number"]=20, ["number"]=55,
["reward"]={ ["reward"]={
{ {
["type"]=1, ["type"]=1,
@ -439,7 +439,7 @@ local act_sevenday_quest = {
[220]={ [220]={
["day"]=4, ["day"]=4,
["type"]=13, ["type"]=13,
["number"]=300, ["number"]=400,
["reward"]={ ["reward"]={
{ {
["type"]=1, ["type"]=1,
@ -485,7 +485,7 @@ local act_sevenday_quest = {
[222]={ [222]={
["day"]=5, ["day"]=5,
["type"]=25, ["type"]=25,
["number"]=20, ["number"]=30,
["reward"]={ ["reward"]={
{ {
["type"]=1, ["type"]=1,
@ -508,7 +508,7 @@ local act_sevenday_quest = {
[223]={ [223]={
["day"]=5, ["day"]=5,
["type"]=44, ["type"]=44,
["number"]=44, ["number"]=5,
["reward"]={ ["reward"]={
{ {
["type"]=1, ["type"]=1,
@ -554,7 +554,7 @@ local act_sevenday_quest = {
[225]={ [225]={
["day"]=5, ["day"]=5,
["type"]=12, ["type"]=12,
["number"]=90, ["number"]=160,
["reward"]={ ["reward"]={
{ {
["type"]=1, ["type"]=1,
@ -600,7 +600,7 @@ local act_sevenday_quest = {
[227]={ [227]={
["day"]=6, ["day"]=6,
["type"]=51, ["type"]=51,
["number"]=30, ["number"]=70,
["reward"]={ ["reward"]={
{ {
["type"]=1, ["type"]=1,
@ -669,7 +669,7 @@ local act_sevenday_quest = {
[230]={ [230]={
["day"]=6, ["day"]=6,
["type"]=13, ["type"]=13,
["number"]=420, ["number"]=800,
["reward"]={ ["reward"]={
{ {
["type"]=1, ["type"]=1,
@ -715,7 +715,7 @@ local act_sevenday_quest = {
[232]={ [232]={
["day"]=7, ["day"]=7,
["type"]=44, ["type"]=44,
["number"]=2, ["number"]=8,
["reward"]={ ["reward"]={
{ {
["type"]=1, ["type"]=1,
@ -761,7 +761,7 @@ local act_sevenday_quest = {
[234]={ [234]={
["day"]=7, ["day"]=7,
["type"]=12, ["type"]=12,
["number"]=120, ["number"]=240,
["reward"]={ ["reward"]={
{ {
["type"]=1, ["type"]=1,
@ -784,7 +784,7 @@ local act_sevenday_quest = {
[235]={ [235]={
["day"]=7, ["day"]=7,
["type"]=31, ["type"]=31,
["number"]=1800, ["number"]=1600,
["reward"]={ ["reward"]={
{ {
["type"]=1, ["type"]=1,

View File

@ -7,16 +7,16 @@ local act_week_signin = {
["type_for_nothing"]="Vw==", ["type_for_nothing"]="Vw==",
["id"]=2, ["id"]=2,
["id_for_nothing"]="VA==", ["id_for_nothing"]="VA==",
["num"]=200, ["num"]=100,
["num_for_nothing"]="VAhc" ["num_for_nothing"]="Vwhc"
}, },
["reward_pro"]={ ["reward_pro"]={
["type"]=1, ["type"]=1,
["type_for_nothing"]="Vw==", ["type_for_nothing"]="Vw==",
["id"]=2, ["id"]=2,
["id_for_nothing"]="VA==", ["id_for_nothing"]="VA==",
["num"]=2000, ["num"]=600,
["num_for_nothing"]="VAhcAw==" ["num_for_nothing"]="UAhc"
} }
}, },
[102]={ [102]={
@ -25,18 +25,18 @@ local act_week_signin = {
["reward"]={ ["reward"]={
["type"]=1, ["type"]=1,
["type_for_nothing"]="Vw==", ["type_for_nothing"]="Vw==",
["id"]=2, ["id"]=3,
["id_for_nothing"]="VA==", ["id_for_nothing"]="VQ==",
["num"]=100, ["num"]=20,
["num_for_nothing"]="Vwhc" ["num_for_nothing"]="VAg="
}, },
["reward_pro"]={ ["reward_pro"]={
["type"]=1, ["type"]=1,
["type_for_nothing"]="Vw==", ["type_for_nothing"]="Vw==",
["id"]=2, ["id"]=3,
["id_for_nothing"]="VA==", ["id_for_nothing"]="VQ==",
["num"]=1000, ["num"]=60,
["num_for_nothing"]="VwhcAw==" ["num_for_nothing"]="UAg="
} }
}, },
[103]={ [103]={
@ -45,18 +45,18 @@ local act_week_signin = {
["reward"]={ ["reward"]={
["type"]=1, ["type"]=1,
["type_for_nothing"]="Vw==", ["type_for_nothing"]="Vw==",
["id"]=2, ["id"]=5,
["id_for_nothing"]="VA==", ["id_for_nothing"]="Uw==",
["num"]=200, ["num"]=2,
["num_for_nothing"]="VAhc" ["num_for_nothing"]="VA=="
}, },
["reward_pro"]={ ["reward_pro"]={
["type"]=1, ["type"]=1,
["type_for_nothing"]="Vw==", ["type_for_nothing"]="Vw==",
["id"]=2, ["id"]=5,
["id_for_nothing"]="VA==", ["id_for_nothing"]="Uw==",
["num"]=2000, ["num"]=8,
["num_for_nothing"]="VAhcAw==" ["num_for_nothing"]="Xg=="
} }
}, },
[104]={ [104]={
@ -65,43 +65,23 @@ local act_week_signin = {
["reward"]={ ["reward"]={
["type"]=1, ["type"]=1,
["type_for_nothing"]="Vw==", ["type_for_nothing"]="Vw==",
["id"]=2, ["id"]=18,
["id_for_nothing"]="VA==", ["id_for_nothing"]="VwA=",
["num"]=100, ["num"]=100,
["num_for_nothing"]="Vwhc" ["num_for_nothing"]="Vwhc"
}, },
["reward_pro"]={ ["reward_pro"]={
["type"]=1, ["type"]=1,
["type_for_nothing"]="Vw==", ["type_for_nothing"]="Vw==",
["id"]=2, ["id"]=18,
["id_for_nothing"]="VA==", ["id_for_nothing"]="VwA=",
["num"]=1000, ["num"]=300,
["num_for_nothing"]="VwhcAw==" ["num_for_nothing"]="VQhc"
} }
}, },
[105]={ [105]={
["season"]=2, ["season"]=2,
["day"]=5, ["day"]=5,
["reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
["id"]=2,
["id_for_nothing"]="VA==",
["num"]=200,
["num_for_nothing"]="VAhc"
},
["reward_pro"]={
["type"]=1,
["type_for_nothing"]="Vw==",
["id"]=2,
["id_for_nothing"]="VA==",
["num"]=2000,
["num_for_nothing"]="VAhcAw=="
}
},
[106]={
["season"]=2,
["day"]=6,
["reward"]={ ["reward"]={
["type"]=1, ["type"]=1,
["type_for_nothing"]="Vw==", ["type_for_nothing"]="Vw==",
@ -115,8 +95,28 @@ local act_week_signin = {
["type_for_nothing"]="Vw==", ["type_for_nothing"]="Vw==",
["id"]=2, ["id"]=2,
["id_for_nothing"]="VA==", ["id_for_nothing"]="VA==",
["num"]=1000, ["num"]=600,
["num_for_nothing"]="VwhcAw==" ["num_for_nothing"]="UAhc"
}
},
[106]={
["season"]=2,
["day"]=6,
["reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
["id"]=1,
["id_for_nothing"]="Vw==",
["num"]=5000,
["num_for_nothing"]="UwhcAw=="
},
["reward_pro"]={
["type"]=1,
["type_for_nothing"]="Vw==",
["id"]=1,
["id_for_nothing"]="Vw==",
["num"]=20000,
["num_for_nothing"]="VAhcA2U="
} }
}, },
[107]={ [107]={
@ -125,18 +125,18 @@ local act_week_signin = {
["reward"]={ ["reward"]={
["type"]=1, ["type"]=1,
["type_for_nothing"]="Vw==", ["type_for_nothing"]="Vw==",
["id"]=2, ["id"]=5,
["id_for_nothing"]="VA==", ["id_for_nothing"]="Uw==",
["num"]=300, ["num"]=2,
["num_for_nothing"]="VQhc" ["num_for_nothing"]="VA=="
}, },
["reward_pro"]={ ["reward_pro"]={
["type"]=1, ["type"]=1,
["type_for_nothing"]="Vw==", ["type_for_nothing"]="Vw==",
["id"]=2, ["id"]=5,
["id_for_nothing"]="VA==", ["id_for_nothing"]="Uw==",
["num"]=3000, ["num"]=8,
["num_for_nothing"]="VQhcAw==" ["num_for_nothing"]="Xg=="
} }
} }
} }

View File

@ -232,6 +232,54 @@ local chapter_board = {
0, 0,
1 1
}, },
{
0,
1
},
{
0,
1
},
{
0,
4
},
{
1,
0
},
{
1,
0
},
{
1,
0
},
{
0,
1
},
{
0,
2
},
{
0,
1
},
{
1,
0
},
{
1,
0
},
{
1,
0
},
{ {
0, 0,
2 2
@ -242,59 +290,35 @@ local chapter_board = {
}, },
{ {
0, 0,
4 2
},
{
1,
0
},
{
1,
0
},
{
1,
0
},
{
0,
3
}, },
{ {
0, 0,
1 1
}, },
{
0,
3
},
{
1,
0
},
{
1,
0
},
{
1,
0
},
{
0,
1
},
{
0,
3
},
{ {
0, 0,
2 2
}, },
{
1,
0
},
{
1,
0
},
{
1,
0
},
{ {
0, 0,
3 1
},
{
0,
1
}, },
{ {
0, 0,
@ -312,18 +336,6 @@ local chapter_board = {
1, 1,
0 0
}, },
{
0,
4
},
{
0,
2
},
{
0,
4
},
{ {
1, 1,
0 0
@ -340,18 +352,6 @@ local chapter_board = {
1, 1,
0 0
}, },
{
0,
4
},
{
1,
0
},
{
0,
4
},
{ {
1, 1,
0 0
@ -434,7 +434,7 @@ local chapter_board = {
}, },
{ {
0, 0,
2 3
}, },
{ {
0, 0,
@ -454,56 +454,24 @@ local chapter_board = {
}, },
{ {
0, 0,
2 3
}, },
{ {
0, 0,
4 4
}, },
{
0,
2
},
{ {
0, 0,
4 4
}, },
{ {
0, 0,
2 4
},
{
1,
0
},
{
1,
0
},
{
0,
2
}, },
{ {
0, 0,
3 3
}, },
{
0,
2
},
{
0,
3
},
{
0,
2
},
{
1,
0
},
{ {
1, 1,
0 0
@ -520,6 +488,38 @@ local chapter_board = {
0, 0,
4 4
}, },
{
0,
4
},
{
0,
4
},
{
0,
2
},
{
1,
0
},
{
1,
0
},
{
1,
0
},
{
0,
2
},
{
0,
2
},
{ {
0, 0,
2 2
@ -546,7 +546,7 @@ local chapter_board = {
}, },
{ {
0, 0,
2 1
}, },
{ {
0, 0,
@ -634,7 +634,7 @@ local chapter_board = {
}, },
{ {
0, 0,
1 5
}, },
{ {
0, 0,
@ -662,7 +662,7 @@ local chapter_board = {
}, },
{ {
0, 0,
2 5
}, },
{ {
0, 0,
@ -834,7 +834,7 @@ local chapter_board = {
}, },
{ {
0, 0,
2 3
}, },
{ {
0, 0,
@ -1062,7 +1062,7 @@ local chapter_board = {
}, },
{ {
0, 0,
3 2
}, },
{ {
0, 0,
@ -1090,7 +1090,7 @@ local chapter_board = {
}, },
{ {
2, 2,
3 0
}, },
{ {
0, 0,
@ -1234,7 +1234,7 @@ local chapter_board = {
}, },
{ {
0, 0,
2 3
}, },
{ {
0, 0,
@ -1432,7 +1432,7 @@ local chapter_board = {
}, },
{ {
0, 0,
2 3
}, },
{ {
0, 0,

View File

@ -445,9 +445,60 @@ local const = {
}, },
["daily_challenge_ads_double_rewards_limit"]={ ["daily_challenge_ads_double_rewards_limit"]={
["value"]=2 ["value"]=2
},
["act_gogogo_round_reward_1"]={
["reward"]={
{
["type"]=1,
["type_for_nothing"]="Vw==",
["id"]=44,
["id_for_nothing"]="Ugw=",
["num"]=1,
["num_for_nothing"]="Vw=="
},
{
["type"]=1,
["type_for_nothing"]="Vw==",
["id"]=2,
["id_for_nothing"]="VA==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
}
},
["act_gogogo_round_limit_1"]={
["value"]=5
},
["dungeon_show_reward"]={
["reward"]={
{
["type"]=1,
["type_for_nothing"]="Vw==",
["id"]=2,
["id_for_nothing"]="VA==",
["num"]=1,
["num_for_nothing"]="Vw=="
},
{
["type"]=1,
["type_for_nothing"]="Vw==",
["id"]=1,
["id_for_nothing"]="Vw==",
["num"]=1,
["num_for_nothing"]="Vw=="
},
{
["type"]=1,
["type_for_nothing"]="Vw==",
["id"]=18,
["id_for_nothing"]="VwA=",
["num"]=1,
["num_for_nothing"]="Vw=="
}
}
} }
} }
local config = { local config = {
data=const,count=78 data=const,count=81
} }
return config return config

View File

@ -48,7 +48,7 @@ local func_open = {
["pop_ups"]=1 ["pop_ups"]=1
}, },
["summon_open"]={ ["summon_open"]={
["stage"]=1, ["stage"]=3,
["pop_ups"]=1 ["pop_ups"]=1
}, },
["first_charge_1"]={ ["first_charge_1"]={
@ -63,13 +63,13 @@ local func_open = {
["time"]=3 ["time"]=3
}, },
["card_ad"]={ ["card_ad"]={
["stage"]=2 ["stage"]=5
}, },
["card_monthly"]={ ["card_monthly"]={
["level"]=4 ["stage"]=2
}, },
["act_sevenday"]={ ["act_sevenday"]={
["stage"]=2 ["stage"]=3
}, },
["dungeon_gold"]={ ["dungeon_gold"]={
["stage"]=6, ["stage"]=6,

File diff suppressed because it is too large Load Diff

View File

@ -293,9 +293,19 @@ local monster_base = {
["model_id"]="p55002", ["model_id"]="p55002",
["body"]=2, ["body"]=2,
["model_ui"]=1.0 ["model_ui"]=1.0
},
[501001]={
["model_id"]="m30001",
["body"]=2,
["model_ui"]=1.0
},
[501002]={
["model_id"]="m30003",
["body"]=2,
["model_ui"]=1.0
} }
} }
local config = { local config = {
data=monster_base,count=59 data=monster_base,count=61
} }
return config return config

View File

@ -1,10 +1,10 @@
local monster_dungeon = { local monster_dungeon = {
[103]={ [103]={
["monster_base"]=10001, ["monster_base"]=501001,
["is_boss"]=2, ["is_boss"]=2,
["hp"]=86580000, ["atk"]=1800000,
["atk"]=1850000, ["hp"]=240000000,
["atk_times"]=1, ["atk_times"]=3,
["hurt_skill"]={ ["hurt_skill"]={
30001, 30001,
30002, 30002,
@ -16,11 +16,11 @@ local monster_dungeon = {
["monster_exp"]=0 ["monster_exp"]=0
}, },
[203]={ [203]={
["monster_base"]=10001, ["monster_base"]=501001,
["is_boss"]=2, ["is_boss"]=2,
["hp"]=129540000, ["atk"]=5600000,
["atk"]=2060000, ["hp"]=680000000,
["atk_times"]=1, ["atk_times"]=3,
["hurt_skill"]={ ["hurt_skill"]={
30001, 30001,
30002, 30002,
@ -32,11 +32,11 @@ local monster_dungeon = {
["monster_exp"]=0 ["monster_exp"]=0
}, },
[303]={ [303]={
["monster_base"]=10001, ["monster_base"]=501001,
["is_boss"]=2, ["is_boss"]=2,
["hp"]=162560000, ["atk"]=7200000,
["atk"]=2150000, ["hp"]=920000000,
["atk_times"]=1, ["atk_times"]=3,
["hurt_skill"]={ ["hurt_skill"]={
30001, 30001,
30002, 30002,
@ -48,11 +48,11 @@ local monster_dungeon = {
["monster_exp"]=0 ["monster_exp"]=0
}, },
[403]={ [403]={
["monster_base"]=10001, ["monster_base"]=501001,
["is_boss"]=2, ["is_boss"]=2,
["hp"]=171200000, ["atk"]=8460000,
["atk"]=2590000, ["hp"]=1129820000,
["atk_times"]=1, ["atk_times"]=3,
["hurt_skill"]={ ["hurt_skill"]={
30001, 30001,
30002, 30002,
@ -64,11 +64,11 @@ local monster_dungeon = {
["monster_exp"]=0 ["monster_exp"]=0
}, },
[503]={ [503]={
["monster_base"]=10001, ["monster_base"]=501001,
["is_boss"]=2, ["is_boss"]=2,
["hp"]=351000000, ["atk"]=11130000,
["atk"]=2770000, ["hp"]=1662460000,
["atk_times"]=1, ["atk_times"]=3,
["hurt_skill"]={ ["hurt_skill"]={
30001, 30001,
30002, 30002,
@ -80,11 +80,11 @@ local monster_dungeon = {
["monster_exp"]=0 ["monster_exp"]=0
}, },
[603]={ [603]={
["monster_base"]=10001, ["monster_base"]=501001,
["is_boss"]=2, ["is_boss"]=2,
["hp"]=210900000, ["atk"]=14100000,
["atk"]=2680000, ["hp"]=2211230000,
["atk_times"]=1, ["atk_times"]=3,
["hurt_skill"]={ ["hurt_skill"]={
30001, 30001,
30002, 30002,
@ -96,11 +96,11 @@ local monster_dungeon = {
["monster_exp"]=0 ["monster_exp"]=0
}, },
[703]={ [703]={
["monster_base"]=10001, ["monster_base"]=501001,
["is_boss"]=2, ["is_boss"]=2,
["hp"]=244760000, ["atk"]=18330000,
["atk"]=2770000, ["hp"]=3002110000,
["atk_times"]=1, ["atk_times"]=3,
["hurt_skill"]={ ["hurt_skill"]={
30001, 30001,
30002, 30002,
@ -112,11 +112,11 @@ local monster_dungeon = {
["monster_exp"]=0 ["monster_exp"]=0
}, },
[803]={ [803]={
["monster_base"]=10001, ["monster_base"]=501001,
["is_boss"]=2, ["is_boss"]=2,
["hp"]=286950000, ["atk"]=22640000,
["atk"]=2740000, ["hp"]=3873680000,
["atk_times"]=1, ["atk_times"]=3,
["hurt_skill"]={ ["hurt_skill"]={
30001, 30001,
30002, 30002,
@ -128,11 +128,11 @@ local monster_dungeon = {
["monster_exp"]=0 ["monster_exp"]=0
}, },
[903]={ [903]={
["monster_base"]=10001, ["monster_base"]=501001,
["is_boss"]=2, ["is_boss"]=2,
["hp"]=329100000, ["atk"]=29540000,
["atk"]=2880000, ["hp"]=5326320000,
["atk_times"]=1, ["atk_times"]=3,
["hurt_skill"]={ ["hurt_skill"]={
30001, 30001,
30002, 30002,
@ -144,11 +144,11 @@ local monster_dungeon = {
["monster_exp"]=0 ["monster_exp"]=0
}, },
[1003]={ [1003]={
["monster_base"]=10001, ["monster_base"]=501001,
["is_boss"]=2, ["is_boss"]=2,
["hp"]=558600000, ["atk"]=32810000,
["atk"]=2880000, ["hp"]=6197890000,
["atk_times"]=1, ["atk_times"]=3,
["hurt_skill"]={ ["hurt_skill"]={
30001, 30001,
30002, 30002,
@ -159,12 +159,172 @@ local monster_dungeon = {
}, },
["monster_exp"]=0 ["monster_exp"]=0
}, },
[10103]={ [1103]={
["monster_base"]=10002, ["monster_base"]=501001,
["is_boss"]=2, ["is_boss"]=2,
["hp"]=86580000, ["atk"]=37930000,
["atk"]=1850000, ["hp"]=8167020000,
["atk_times"]=0, ["atk_times"]=3,
["hurt_skill"]={
30001,
30002,
30003
},
["skill"]={
30004
},
["monster_exp"]=0
},
[1203]={
["monster_base"]=501001,
["is_boss"]=2,
["atk"]=44910000,
["hp"]=11120700000,
["atk_times"]=3,
["hurt_skill"]={
30001,
30002,
30003
},
["skill"]={
30004
},
["monster_exp"]=0
},
[1303]={
["monster_base"]=501001,
["is_boss"]=2,
["atk"]=51810000,
["hp"]=13719300000,
["atk_times"]=3,
["hurt_skill"]={
30001,
30002,
30003
},
["skill"]={
30004
},
["monster_exp"]=0
},
[1403]={
["monster_base"]=501001,
["is_boss"]=2,
["atk"]=57900000,
["hp"]=16011230000,
["atk_times"]=3,
["hurt_skill"]={
30001,
30002,
30003
},
["skill"]={
30004
},
["monster_exp"]=0
},
[1503]={
["monster_base"]=501001,
["is_boss"]=2,
["atk"]=63910000,
["hp"]=18577540000,
["atk_times"]=3,
["hurt_skill"]={
30001,
30002,
30003
},
["skill"]={
30004
},
["monster_exp"]=0
},
[1603]={
["monster_base"]=501001,
["is_boss"]=2,
["atk"]=72890000,
["hp"]=22919300000,
["atk_times"]=3,
["hurt_skill"]={
30001,
30002,
30003
},
["skill"]={
30004
},
["monster_exp"]=0
},
[1703]={
["monster_base"]=501001,
["is_boss"]=2,
["atk"]=82020000,
["hp"]=27712980000,
["atk_times"]=3,
["hurt_skill"]={
30001,
30002,
30003
},
["skill"]={
30004
},
["monster_exp"]=0
},
[1803]={
["monster_base"]=501001,
["is_boss"]=2,
["atk"]=91520000,
["hp"]=33087720000,
["atk_times"]=3,
["hurt_skill"]={
30001,
30002,
30003
},
["skill"]={
30004
},
["monster_exp"]=0
},
[1903]={
["monster_base"]=501001,
["is_boss"]=2,
["atk"]=101320000,
["hp"]=38898250000,
["atk_times"]=3,
["hurt_skill"]={
30001,
30002,
30003
},
["skill"]={
30004
},
["monster_exp"]=0
},
[2003]={
["monster_base"]=501001,
["is_boss"]=2,
["atk"]=113200000,
["hp"]=44418250000,
["atk_times"]=3,
["hurt_skill"]={
30001,
30002,
30003
},
["skill"]={
30004
},
["monster_exp"]=0
},
[100103]={
["monster_base"]=501002,
["is_boss"]=2,
["atk"]=1800000,
["hp"]=240000000,
["atk_times"]=3,
["hurt_skill"]={ ["hurt_skill"]={
30005, 30005,
30006, 30006,
@ -175,12 +335,12 @@ local monster_dungeon = {
}, },
["monster_exp"]=0 ["monster_exp"]=0
}, },
[10203]={ [100203]={
["monster_base"]=10002, ["monster_base"]=501002,
["is_boss"]=2, ["is_boss"]=2,
["hp"]=129540000, ["atk"]=5600000,
["atk"]=2060000, ["hp"]=680000000,
["atk_times"]=0, ["atk_times"]=3,
["hurt_skill"]={ ["hurt_skill"]={
30005, 30005,
30006, 30006,
@ -191,12 +351,12 @@ local monster_dungeon = {
}, },
["monster_exp"]=0 ["monster_exp"]=0
}, },
[10303]={ [100303]={
["monster_base"]=10002, ["monster_base"]=501002,
["is_boss"]=2, ["is_boss"]=2,
["hp"]=162560000, ["atk"]=7200000,
["atk"]=2150000, ["hp"]=920000000,
["atk_times"]=0, ["atk_times"]=3,
["hurt_skill"]={ ["hurt_skill"]={
30005, 30005,
30006, 30006,
@ -207,12 +367,12 @@ local monster_dungeon = {
}, },
["monster_exp"]=0 ["monster_exp"]=0
}, },
[10403]={ [100403]={
["monster_base"]=10002, ["monster_base"]=501002,
["is_boss"]=2, ["is_boss"]=2,
["hp"]=171200000, ["atk"]=8460000,
["atk"]=2590000, ["hp"]=1129820000,
["atk_times"]=0, ["atk_times"]=3,
["hurt_skill"]={ ["hurt_skill"]={
30005, 30005,
30006, 30006,
@ -223,12 +383,12 @@ local monster_dungeon = {
}, },
["monster_exp"]=0 ["monster_exp"]=0
}, },
[10503]={ [100503]={
["monster_base"]=10002, ["monster_base"]=501002,
["is_boss"]=2, ["is_boss"]=2,
["hp"]=351000000, ["atk"]=11130000,
["atk"]=2770000, ["hp"]=1662460000,
["atk_times"]=0, ["atk_times"]=3,
["hurt_skill"]={ ["hurt_skill"]={
30005, 30005,
30006, 30006,
@ -239,12 +399,12 @@ local monster_dungeon = {
}, },
["monster_exp"]=0 ["monster_exp"]=0
}, },
[10603]={ [100603]={
["monster_base"]=10002, ["monster_base"]=501002,
["is_boss"]=2, ["is_boss"]=2,
["hp"]=210900000, ["atk"]=14100000,
["atk"]=2680000, ["hp"]=2211230000,
["atk_times"]=0, ["atk_times"]=3,
["hurt_skill"]={ ["hurt_skill"]={
30005, 30005,
30006, 30006,
@ -255,12 +415,12 @@ local monster_dungeon = {
}, },
["monster_exp"]=0 ["monster_exp"]=0
}, },
[10703]={ [100703]={
["monster_base"]=10002, ["monster_base"]=501002,
["is_boss"]=2, ["is_boss"]=2,
["hp"]=244760000, ["atk"]=18330000,
["atk"]=2770000, ["hp"]=3002110000,
["atk_times"]=0, ["atk_times"]=3,
["hurt_skill"]={ ["hurt_skill"]={
30005, 30005,
30006, 30006,
@ -271,12 +431,12 @@ local monster_dungeon = {
}, },
["monster_exp"]=0 ["monster_exp"]=0
}, },
[10803]={ [100803]={
["monster_base"]=10002, ["monster_base"]=501002,
["is_boss"]=2, ["is_boss"]=2,
["hp"]=286950000, ["atk"]=22640000,
["atk"]=2740000, ["hp"]=3873680000,
["atk_times"]=0, ["atk_times"]=3,
["hurt_skill"]={ ["hurt_skill"]={
30005, 30005,
30006, 30006,
@ -287,12 +447,12 @@ local monster_dungeon = {
}, },
["monster_exp"]=0 ["monster_exp"]=0
}, },
[10903]={ [100903]={
["monster_base"]=10002, ["monster_base"]=501002,
["is_boss"]=2, ["is_boss"]=2,
["hp"]=329100000, ["atk"]=29540000,
["atk"]=2880000, ["hp"]=5326320000,
["atk_times"]=0, ["atk_times"]=3,
["hurt_skill"]={ ["hurt_skill"]={
30005, 30005,
30006, 30006,
@ -303,12 +463,172 @@ local monster_dungeon = {
}, },
["monster_exp"]=0 ["monster_exp"]=0
}, },
[11003]={ [101003]={
["monster_base"]=10002, ["monster_base"]=501002,
["is_boss"]=2, ["is_boss"]=2,
["hp"]=558600000, ["atk"]=32810000,
["atk"]=2880000, ["hp"]=6197890000,
["atk_times"]=0, ["atk_times"]=3,
["hurt_skill"]={
30005,
30006,
30007
},
["passive_skill"]={
30008
},
["monster_exp"]=0
},
[101103]={
["monster_base"]=501002,
["is_boss"]=2,
["atk"]=37930000,
["hp"]=8167020000,
["atk_times"]=3,
["hurt_skill"]={
30005,
30006,
30007
},
["passive_skill"]={
30008
},
["monster_exp"]=0
},
[101203]={
["monster_base"]=501002,
["is_boss"]=2,
["atk"]=44910000,
["hp"]=11120700000,
["atk_times"]=3,
["hurt_skill"]={
30005,
30006,
30007
},
["passive_skill"]={
30008
},
["monster_exp"]=0
},
[101303]={
["monster_base"]=501002,
["is_boss"]=2,
["atk"]=51810000,
["hp"]=13719300000,
["atk_times"]=3,
["hurt_skill"]={
30005,
30006,
30007
},
["passive_skill"]={
30008
},
["monster_exp"]=0
},
[101403]={
["monster_base"]=501002,
["is_boss"]=2,
["atk"]=57900000,
["hp"]=16011230000,
["atk_times"]=3,
["hurt_skill"]={
30005,
30006,
30007
},
["passive_skill"]={
30008
},
["monster_exp"]=0
},
[101503]={
["monster_base"]=501002,
["is_boss"]=2,
["atk"]=63910000,
["hp"]=18577540000,
["atk_times"]=3,
["hurt_skill"]={
30005,
30006,
30007
},
["passive_skill"]={
30008
},
["monster_exp"]=0
},
[101603]={
["monster_base"]=501002,
["is_boss"]=2,
["atk"]=72890000,
["hp"]=22919300000,
["atk_times"]=3,
["hurt_skill"]={
30005,
30006,
30007
},
["passive_skill"]={
30008
},
["monster_exp"]=0
},
[101703]={
["monster_base"]=501002,
["is_boss"]=2,
["atk"]=82020000,
["hp"]=27712980000,
["atk_times"]=3,
["hurt_skill"]={
30005,
30006,
30007
},
["passive_skill"]={
30008
},
["monster_exp"]=0
},
[101803]={
["monster_base"]=501002,
["is_boss"]=2,
["atk"]=91520000,
["hp"]=33087720000,
["atk_times"]=3,
["hurt_skill"]={
30005,
30006,
30007
},
["passive_skill"]={
30008
},
["monster_exp"]=0
},
[101903]={
["monster_base"]=501002,
["is_boss"]=2,
["atk"]=101320000,
["hp"]=38898250000,
["atk_times"]=3,
["hurt_skill"]={
30005,
30006,
30007
},
["passive_skill"]={
30008
},
["monster_exp"]=0
},
[102003]={
["monster_base"]=501002,
["is_boss"]=2,
["atk"]=113200000,
["hp"]=44418250000,
["atk_times"]=3,
["hurt_skill"]={ ["hurt_skill"]={
30005, 30005,
30006, 30006,
@ -321,6 +641,6 @@ local monster_dungeon = {
} }
} }
local config = { local config = {
data=monster_dungeon,count=20 data=monster_dungeon,count=40
} }
return config return config

View File

@ -12524,7 +12524,8 @@ local skill = {
["name_act"]="attack01", ["name_act"]="attack01",
["name_hit"]={ ["name_hit"]={
"suffer01" "suffer01"
} },
["fx_self"]=500001
}, },
[30002]={ [30002]={
["effect_type"]=1, ["effect_type"]=1,
@ -12547,7 +12548,8 @@ local skill = {
["name_act"]="attack02", ["name_act"]="attack02",
["name_hit"]={ ["name_hit"]={
"suffer02" "suffer02"
} },
["fx_self"]=500002
}, },
[30003]={ [30003]={
["effect_type"]=1, ["effect_type"]=1,
@ -12570,7 +12572,8 @@ local skill = {
["name_act"]="attack03", ["name_act"]="attack03",
["name_hit"]={ ["name_hit"]={
"suffer01" "suffer01"
} },
["fx_self"]=500003
}, },
[30004]={ [30004]={
["battle_icon"]="45002", ["battle_icon"]="45002",
@ -12590,7 +12593,19 @@ local skill = {
0 0
}, },
["cd"]=1, ["cd"]=1,
["cd_start"]=1 ["cd_start"]=1,
["shake_time"]=200,
["shake_type"]=6,
["name_act"]="skill01",
["name_hit"]={
"suffer03"
},
["fx_self"]=500004,
["bullet_time"]={
500,
3000,
400
}
}, },
[30005]={ [30005]={
["effect_type"]=1, ["effect_type"]=1,
@ -12613,7 +12628,8 @@ local skill = {
["name_act"]="attack01", ["name_act"]="attack01",
["name_hit"]={ ["name_hit"]={
"suffer01" "suffer01"
} },
["fx_self"]=500011
}, },
[30006]={ [30006]={
["effect_type"]=1, ["effect_type"]=1,
@ -12636,7 +12652,8 @@ local skill = {
["name_act"]="attack02", ["name_act"]="attack02",
["name_hit"]={ ["name_hit"]={
"suffer02" "suffer02"
} },
["fx_self"]=500011
}, },
[30007]={ [30007]={
["effect_type"]=1, ["effect_type"]=1,
@ -12659,7 +12676,8 @@ local skill = {
["name_act"]="attack03", ["name_act"]="attack03",
["name_hit"]={ ["name_hit"]={
"suffer01" "suffer01"
} },
["fx_self"]=500011
}, },
[30008]={ [30008]={
["effect_type"]=2, ["effect_type"]=2,

View File

@ -2,7 +2,7 @@ local skill_rogue = {
[1]={ [1]={
["universal"]=1, ["universal"]=1,
["limit_times"]=1, ["limit_times"]=1,
["weight"]=1000, ["weight"]=500,
["qlt"]=5, ["qlt"]=5,
["type"]=9, ["type"]=9,
["effect"]={ ["effect"]={
@ -20,7 +20,7 @@ local skill_rogue = {
[2]={ [2]={
["universal"]=1, ["universal"]=1,
["limit_times"]=1, ["limit_times"]=1,
["weight"]=1000, ["weight"]=500,
["qlt"]=5, ["qlt"]=5,
["type"]=9, ["type"]=9,
["effect"]={ ["effect"]={
@ -38,7 +38,7 @@ local skill_rogue = {
[3]={ [3]={
["universal"]=1, ["universal"]=1,
["limit_times"]=1, ["limit_times"]=1,
["weight"]=1000, ["weight"]=500,
["qlt"]=5, ["qlt"]=5,
["type"]=9, ["type"]=9,
["effect"]={ ["effect"]={
@ -56,7 +56,7 @@ local skill_rogue = {
[4]={ [4]={
["universal"]=1, ["universal"]=1,
["limit_times"]=1, ["limit_times"]=1,
["weight"]=1500, ["weight"]=600,
["qlt"]=5, ["qlt"]=5,
["type"]=9, ["type"]=9,
["effect"]={ ["effect"]={
@ -75,7 +75,7 @@ local skill_rogue = {
["universal"]=1, ["universal"]=1,
["toast_mark"]=1, ["toast_mark"]=1,
["limit_times"]=1, ["limit_times"]=1,
["weight"]=1000, ["weight"]=800,
["qlt"]=5, ["qlt"]=5,
["type"]=5, ["type"]=5,
["attr"]={ ["attr"]={
@ -91,7 +91,7 @@ local skill_rogue = {
["universal"]=1, ["universal"]=1,
["toast_mark"]=1, ["toast_mark"]=1,
["limit_times"]=2, ["limit_times"]=2,
["weight"]=2000, ["weight"]=1500,
["qlt"]=4, ["qlt"]=4,
["type"]=5, ["type"]=5,
["attr"]={ ["attr"]={
@ -121,7 +121,7 @@ local skill_rogue = {
["universal"]=1, ["universal"]=1,
["toast_mark"]=2, ["toast_mark"]=2,
["limit_times"]=1, ["limit_times"]=1,
["weight"]=1000, ["weight"]=800,
["qlt"]=5, ["qlt"]=5,
["type"]=5, ["type"]=5,
["attr"]={ ["attr"]={
@ -137,7 +137,7 @@ local skill_rogue = {
["universal"]=1, ["universal"]=1,
["toast_mark"]=2, ["toast_mark"]=2,
["limit_times"]=2, ["limit_times"]=2,
["weight"]=2000, ["weight"]=1500,
["qlt"]=4, ["qlt"]=4,
["type"]=5, ["type"]=5,
["attr"]={ ["attr"]={
@ -167,7 +167,7 @@ local skill_rogue = {
["universal"]=1, ["universal"]=1,
["toast_mark"]=3, ["toast_mark"]=3,
["limit_times"]=1, ["limit_times"]=1,
["weight"]=1000, ["weight"]=800,
["qlt"]=5, ["qlt"]=5,
["type"]=5, ["type"]=5,
["attr"]={ ["attr"]={
@ -183,7 +183,7 @@ local skill_rogue = {
["universal"]=1, ["universal"]=1,
["toast_mark"]=3, ["toast_mark"]=3,
["limit_times"]=2, ["limit_times"]=2,
["weight"]=2000, ["weight"]=1500,
["qlt"]=4, ["qlt"]=4,
["type"]=5, ["type"]=5,
["attr"]={ ["attr"]={
@ -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"]=1200,
["qlt"]=4, ["qlt"]=4,
["type"]=5, ["type"]=5,
["attr"]={ ["attr"]={
@ -228,7 +228,7 @@ local skill_rogue = {
["universal"]=1, ["universal"]=1,
["toast_mark"]=8, ["toast_mark"]=8,
["limit_times"]=1, ["limit_times"]=1,
["weight"]=1000, ["weight"]=800,
["qlt"]=5, ["qlt"]=5,
["type"]=5, ["type"]=5,
["attr"]={ ["attr"]={
@ -244,7 +244,7 @@ local skill_rogue = {
["universal"]=1, ["universal"]=1,
["toast_mark"]=8, ["toast_mark"]=8,
["limit_times"]=2, ["limit_times"]=2,
["weight"]=2000, ["weight"]=1500,
["qlt"]=4, ["qlt"]=4,
["type"]=5, ["type"]=5,
["attr"]={ ["attr"]={
@ -259,7 +259,7 @@ local skill_rogue = {
["universal"]=1, ["universal"]=1,
["toast_mark"]=8, ["toast_mark"]=8,
["limit_times"]=3, ["limit_times"]=3,
["weight"]=3000, ["weight"]=2000,
["qlt"]=3, ["qlt"]=3,
["type"]=5, ["type"]=5,
["attr"]={ ["attr"]={
@ -274,7 +274,7 @@ local skill_rogue = {
["universal"]=1, ["universal"]=1,
["toast_mark"]=7, ["toast_mark"]=7,
["limit_times"]=1, ["limit_times"]=1,
["weight"]=3000, ["weight"]=1500,
["qlt"]=4, ["qlt"]=4,
["type"]=5, ["type"]=5,
["attr"]={ ["attr"]={
@ -289,7 +289,7 @@ local skill_rogue = {
["universal"]=1, ["universal"]=1,
["toast_mark"]=7, ["toast_mark"]=7,
["limit_times"]=2, ["limit_times"]=2,
["weight"]=3000, ["weight"]=2000,
["qlt"]=3, ["qlt"]=3,
["type"]=5, ["type"]=5,
["attr"]={ ["attr"]={
@ -302,7 +302,7 @@ local skill_rogue = {
}, },
[20]={ [20]={
["universal"]=1, ["universal"]=1,
["weight"]=1000, ["weight"]=1200,
["qlt"]=4, ["qlt"]=4,
["type"]=20, ["type"]=20,
["parameter"]={ ["parameter"]={
@ -312,7 +312,7 @@ local skill_rogue = {
}, },
[21]={ [21]={
["universal"]=1, ["universal"]=1,
["weight"]=1000, ["weight"]=1200,
["qlt"]=4, ["qlt"]=4,
["type"]=21, ["type"]=21,
["parameter"]={ ["parameter"]={
@ -322,7 +322,7 @@ local skill_rogue = {
}, },
[22]={ [22]={
["universal"]=1, ["universal"]=1,
["weight"]=1000, ["weight"]=1200,
["qlt"]=4, ["qlt"]=4,
["type"]=20, ["type"]=20,
["parameter"]={ ["parameter"]={
@ -333,7 +333,7 @@ local skill_rogue = {
[23]={ [23]={
["universal"]=1, ["universal"]=1,
["limit_times"]=2, ["limit_times"]=2,
["weight"]=1000, ["weight"]=2000,
["qlt"]=3, ["qlt"]=3,
["type"]=9, ["type"]=9,
["effect"]={ ["effect"]={
@ -350,7 +350,7 @@ local skill_rogue = {
[24]={ [24]={
["universal"]=1, ["universal"]=1,
["limit_times"]=2, ["limit_times"]=2,
["weight"]=1000, ["weight"]=2000,
["qlt"]=3, ["qlt"]=3,
["type"]=9, ["type"]=9,
["effect"]={ ["effect"]={
@ -367,7 +367,7 @@ local skill_rogue = {
[25]={ [25]={
["universal"]=1, ["universal"]=1,
["limit_times"]=2, ["limit_times"]=2,
["weight"]=1000, ["weight"]=2000,
["qlt"]=3, ["qlt"]=3,
["type"]=9, ["type"]=9,
["effect"]={ ["effect"]={
@ -384,7 +384,7 @@ local skill_rogue = {
[26]={ [26]={
["universal"]=1, ["universal"]=1,
["limit_times"]=2, ["limit_times"]=2,
["weight"]=1000, ["weight"]=2000,
["qlt"]=3, ["qlt"]=3,
["type"]=9, ["type"]=9,
["effect"]={ ["effect"]={
@ -401,7 +401,7 @@ local skill_rogue = {
[27]={ [27]={
["universal"]=1, ["universal"]=1,
["limit_times"]=2, ["limit_times"]=2,
["weight"]=1000, ["weight"]=2000,
["qlt"]=3, ["qlt"]=3,
["type"]=9, ["type"]=9,
["effect"]={ ["effect"]={
@ -4291,11 +4291,11 @@ local skill_rogue = {
["skill_position"]=3, ["skill_position"]=3,
["boardrange"]={ ["boardrange"]={
{ {
["type"]=1, ["type"]=3,
["range"]=1 ["range"]=1
}, },
{ {
["type"]=2, ["type"]=4,
["range"]=1 ["range"]=1
} }
}, },
@ -4313,11 +4313,11 @@ local skill_rogue = {
["skill_position"]=3, ["skill_position"]=3,
["boardrange"]={ ["boardrange"]={
{ {
["type"]=1, ["type"]=3,
["range"]=1 ["range"]=1
}, },
{ {
["type"]=2, ["type"]=4,
["range"]=1 ["range"]=1
} }
}, },
@ -4335,11 +4335,11 @@ local skill_rogue = {
["skill_position"]=3, ["skill_position"]=3,
["boardrange"]={ ["boardrange"]={
{ {
["type"]=1, ["type"]=3,
["range"]=2 ["range"]=2
}, },
{ {
["type"]=2, ["type"]=4,
["range"]=2 ["range"]=2
} }
}, },
@ -4370,11 +4370,11 @@ local skill_rogue = {
["skill_position"]=3, ["skill_position"]=3,
["boardrange"]={ ["boardrange"]={
{ {
["type"]=1, ["type"]=3,
["range"]=2 ["range"]=2
}, },
{ {
["type"]=2, ["type"]=4,
["range"]=2 ["range"]=2
} }
} }

View File

@ -1,546 +1,279 @@
local attr = { local attr = {
[1]={ [1]={
["id"]=1, ["desc"]="生命提升{0}"
["desc"]="生命提升{0}",
["name"]="hp"
}, },
[2]={ [2]={
["id"]=2, ["desc"]="攻击力提升{0}"
["desc"]="攻击力提升{0}",
["name"]="atk_red"
}, },
[3]={ [3]={
["id"]=3, ["desc"]="攻击力提升{0}"
["desc"]="攻击力提升{0}",
["name"]="atk_yellow"
}, },
[4]={ [4]={
["id"]=4, ["desc"]="攻击力提升{0}"
["desc"]="攻击力提升{0}",
["name"]="atk_green"
}, },
[5]={ [5]={
["id"]=5, ["desc"]="攻击力提升{0}"
["desc"]="攻击力提升{0}",
["name"]="atk_blue"
}, },
[6]={ [6]={
["id"]=6, ["desc"]="攻击力提升{0}"
["desc"]="攻击力提升{0}",
["name"]="atk_purple"
}, },
[7]={ [7]={
["id"]=7, ["desc"]="暴击率提升{0}"
["desc"]="暴击率提升{0}",
["name"]="attr_crit_red"
}, },
[8]={ [8]={
["id"]=8, ["desc"]="暴击率提升{0}"
["desc"]="暴击率提升{0}",
["name"]="attr_crit_yellow"
}, },
[9]={ [9]={
["id"]=9, ["desc"]="暴击率提升{0}"
["desc"]="暴击率提升{0}",
["name"]="attr_crit_green"
}, },
[10]={ [10]={
["id"]=10, ["desc"]="暴击率提升{0}"
["desc"]="暴击率提升{0}",
["name"]="attr_crit_blue"
}, },
[11]={ [11]={
["id"]=11, ["desc"]="暴击率提升{0}"
["desc"]="暴击率提升{0}",
["name"]="attr_crit_purple"
}, },
[12]={ [12]={
["id"]=12, ["desc"]="暴击伤害提升{0}"
["desc"]="暴击伤害提升{0}",
["name"]="attr_crit_time_red"
}, },
[13]={ [13]={
["id"]=13, ["desc"]="暴击伤害提升{0}"
["desc"]="暴击伤害提升{0}",
["name"]="attr_crit_time_yellow"
}, },
[14]={ [14]={
["id"]=14, ["desc"]="暴击伤害提升{0}"
["desc"]="暴击伤害提升{0}",
["name"]="attr_crit_time_green"
}, },
[15]={ [15]={
["id"]=15, ["desc"]="暴击伤害提升{0}"
["desc"]="暴击伤害提升{0}",
["name"]="attr_crit_time_blue"
}, },
[16]={ [16]={
["id"]=16, ["desc"]="暴击伤害提升{0}"
["desc"]="暴击伤害提升{0}",
["name"]="attr_crit_time_purple"
}, },
[17]={ [17]={
["id"]=17, ["desc"]="治疗效果提升{0}"
["desc"]="治疗效果提升{0}",
["name"]="attr_cured_red"
}, },
[18]={ [18]={
["id"]=18, ["desc"]="治疗效果提升{0}"
["desc"]="治疗效果提升{0}",
["name"]="attr_cured_yellow"
}, },
[19]={ [19]={
["id"]=19, ["desc"]="治疗效果提升{0}"
["desc"]="治疗效果提升{0}",
["name"]="attr_cured_green"
}, },
[20]={ [20]={
["id"]=20, ["desc"]="治疗效果提升{0}"
["desc"]="治疗效果提升{0}",
["name"]="attr_cured_blue"
}, },
[21]={ [21]={
["id"]=21, ["desc"]="治疗效果提升{0}"
["desc"]="治疗效果提升{0}",
["name"]="attr_cured_purple"
}, },
[22]={ [22]={
["id"]=22, ["desc"]="{0}攻击+{1}"
["desc"]="{0}攻击+{1}",
["name"]="attr_atkp_red"
}, },
[23]={ [23]={
["id"]=23, ["desc"]="{0}攻击+{1}"
["desc"]="{0}攻击+{1}",
["name"]="attr_atkp_yellow"
}, },
[24]={ [24]={
["id"]=24, ["desc"]="{0}攻击+{1}"
["desc"]="{0}攻击+{1}",
["name"]="attr_atkp_green"
}, },
[25]={ [25]={
["id"]=25, ["desc"]="{0}攻击+{1}"
["desc"]="{0}攻击+{1}",
["name"]="attr_atkp_blue"
}, },
[26]={ [26]={
["id"]=26, ["desc"]="{0}攻击+{1}"
["desc"]="{0}攻击+{1}",
["name"]="attr_atkp_purple"
}, },
[27]={ [27]={
["id"]=27, ["desc"]="{0}生命+{1}"
["desc"]="{0}生命+{1}",
["name"]="attr_hpp_red"
}, },
[28]={ [28]={
["id"]=28, ["desc"]="{0}生命+{1}"
["desc"]="{0}生命+{1}",
["name"]="attr_hpp_yellow"
}, },
[29]={ [29]={
["id"]=29, ["desc"]="{0}生命+{1}"
["desc"]="{0}生命+{1}",
["name"]="attr_hpp_green"
}, },
[30]={ [30]={
["id"]=30, ["desc"]="{0}生命+{1}"
["desc"]="{0}生命+{1}",
["name"]="attr_hpp_blue"
}, },
[31]={ [31]={
["id"]=31, ["desc"]="{0}生命+{1}"
["desc"]="{0}生命+{1}",
["name"]="attr_hpp_purple"
}, },
[32]={ [32]={
["id"]=32, ["desc"]="普攻伤害增加{0}点"
["desc"]="普攻伤害增加{0}点",
["name"]="attr_normal_hurt_red"
}, },
[33]={ [33]={
["id"]=33, ["desc"]="普攻伤害增加{0}点"
["desc"]="普攻伤害增加{0}点",
["name"]="attr_normal_hurt_yellow"
}, },
[34]={ [34]={
["id"]=34, ["desc"]="普攻伤害增加{0}点"
["desc"]="普攻伤害增加{0}点",
["name"]="attr_normal_hurt_green"
}, },
[35]={ [35]={
["id"]=35, ["desc"]="普攻伤害增加{0}点"
["desc"]="普攻伤害增加{0}点",
["name"]="attr_normal_hurt_blue"
}, },
[36]={ [36]={
["id"]=36, ["desc"]="普攻伤害增加{0}点"
["desc"]="普攻伤害增加{0}点",
["name"]="attr_normal_hurt_purple"
}, },
[37]={ [37]={
["id"]=37, ["desc"]="技能伤害增加{0}点"
["desc"]="技能伤害增加{0}点",
["name"]="attr_skill_hurt_red"
}, },
[38]={ [38]={
["id"]=38, ["desc"]="技能伤害增加{0}点"
["desc"]="技能伤害增加{0}点",
["name"]="attr_skill_hurt_yellow"
}, },
[39]={ [39]={
["id"]=39, ["desc"]="技能伤害增加{0}点"
["desc"]="技能伤害增加{0}点",
["name"]="attr_skill_hurt_green"
}, },
[40]={ [40]={
["id"]=40, ["desc"]="技能伤害增加{0}点"
["desc"]="技能伤害增加{0}点",
["name"]="attr_skill_hurt_blue"
}, },
[41]={ [41]={
["id"]=41, ["desc"]="技能伤害增加{0}点"
["desc"]="技能伤害增加{0}点",
["name"]="attr_skill_hurt_purple"
}, },
[42]={ [42]={
["id"]=42, ["desc"]="普攻伤害增加{0}"
["desc"]="普攻伤害增加{0}",
["name"]="attr_normal_hurtp_red"
}, },
[43]={ [43]={
["id"]=43, ["desc"]="普攻伤害增加{0}"
["desc"]="普攻伤害增加{0}",
["name"]="attr_normal_hurtp_yellow"
}, },
[44]={ [44]={
["id"]=44, ["desc"]="普攻伤害增加{0}"
["desc"]="普攻伤害增加{0}",
["name"]="attr_normal_hurtp_green"
}, },
[45]={ [45]={
["id"]=45, ["desc"]="普攻伤害增加{0}"
["desc"]="普攻伤害增加{0}",
["name"]="attr_normal_hurtp_blue"
}, },
[46]={ [46]={
["id"]=46, ["desc"]="普攻伤害增加{0}"
["desc"]="普攻伤害增加{0}",
["name"]="attr_normal_hurtp_purple"
}, },
[47]={ [47]={
["id"]=47, ["desc"]="技能伤害增加{0}"
["desc"]="技能伤害增加{0}",
["name"]="attr_skill_hurtp_red"
}, },
[48]={ [48]={
["id"]=48, ["desc"]="技能伤害增加{0}"
["desc"]="技能伤害增加{0}",
["name"]="attr_skill_hurtp_yellow"
}, },
[49]={ [49]={
["id"]=49, ["desc"]="技能伤害增加{0}"
["desc"]="技能伤害增加{0}",
["name"]="attr_skill_hurtp_green"
}, },
[50]={ [50]={
["id"]=50, ["desc"]="技能伤害增加{0}"
["desc"]="技能伤害增加{0}",
["name"]="attr_skill_hurtp_blue"
}, },
[51]={ [51]={
["id"]=51, ["desc"]="技能伤害增加{0}"
["desc"]="技能伤害增加{0}",
["name"]="attr_skill_hurtp_purple"
}, },
[52]={ [52]={
["id"]=52, ["desc"]="生命提升{0}"
["desc"]="生命提升{0}",
["name"]="attr_hp_red"
}, },
[53]={ [53]={
["id"]=53, ["desc"]="生命提升{0}"
["desc"]="生命提升{0}",
["name"]="attr_hp_yellow"
}, },
[54]={ [54]={
["id"]=54, ["desc"]="生命提升{0}"
["desc"]="生命提升{0}",
["name"]="attr_hp_green"
}, },
[55]={ [55]={
["id"]=55, ["desc"]="生命提升{0}"
["desc"]="生命提升{0}",
["name"]="attr_hp_blue"
}, },
[56]={ [56]={
["id"]=56, ["desc"]="生命提升{0}"
["desc"]="生命提升{0}",
["name"]="attr_hp_purple"
}, },
[57]={ [57]={
["id"]=57, ["desc"]="所有伤害提升{0}"
["desc"]="所有伤害提升{0}",
["name"]="attr_all_hurtp_red"
}, },
[58]={ [58]={
["id"]=58, ["desc"]="所有伤害提升{0}"
["desc"]="所有伤害提升{0}",
["name"]="attr_all_hurtp_yellow"
}, },
[59]={ [59]={
["id"]=59, ["desc"]="所有伤害提升{0}"
["desc"]="所有伤害提升{0}",
["name"]="attr_all_hurtp_green"
}, },
[60]={ [60]={
["id"]=60, ["desc"]="所有伤害提升{0}"
["desc"]="所有伤害提升{0}",
["name"]="attr_all_hurtp_blue"
}, },
[61]={ [61]={
["id"]=61, ["desc"]="所有伤害提升{0}"
["desc"]="所有伤害提升{0}",
["name"]="attr_all_hurtp_purple"
}, },
[62]={ [62]={
["id"]=62, ["desc"]="全体红色快递员攻击+{0}"
["desc"]="全体红色快递员攻击+{0}",
["name"]="attr_atkp_red_all"
}, },
[63]={ [63]={
["id"]=63, ["desc"]="全体黄色快递员攻击+{0}"
["desc"]="全体黄色快递员攻击+{0}",
["name"]="attr_atkp_yellow_all"
}, },
[64]={ [64]={
["id"]=64, ["desc"]="全体绿色快递员攻击+{0}"
["desc"]="全体绿色快递员攻击+{0}",
["name"]="attr_atkp_green_all"
}, },
[65]={ [65]={
["id"]=65, ["desc"]="全体蓝色快递员攻击+{0}"
["desc"]="全体蓝色快递员攻击+{0}",
["name"]="attr_atkp_blue_all"
}, },
[66]={ [66]={
["id"]=66, ["desc"]="全体紫色快递员攻击+{0}"
["desc"]="全体紫色快递员攻击+{0}",
["name"]="attr_atkp_purple_all"
}, },
[67]={ [67]={
["id"]=67, ["desc"]="攻击+{0}"
["desc"]="攻击+{0}",
["name"]="atk_all"
}, },
[68]={ [68]={
["id"]=68, ["desc"]="生命+{0}"
["desc"]="生命+{0}",
["name"]="attr_hp_all"
}, },
[69]={ [69]={
["id"]=69, ["desc"]="减伤+{0}"
["desc"]="减伤+{0}",
["name"]="attr_dmgdec_all"
}, },
[70]={ [70]={
["id"]=70, ["desc"]="暴击率+{0}"
["desc"]="暴击率+{0}",
["name"]="attr_crit_all"
}, },
[71]={ [71]={
["id"]=71, ["desc"]="暴击伤害+{0}"
["desc"]="暴击伤害+{0}",
["name"]="attr_crit_time_all"
}, },
[72]={ [72]={
["id"]=72, ["desc"]="普攻增伤+{0}"
["desc"]="普攻增伤+{0}",
["name"]="attr_normal_hurtp_all"
}, },
[73]={ [73]={
["id"]=73, ["desc"]="技能增伤+{0}"
["desc"]="技能增伤+{0}",
["name"]="attr_skill_hurtp_all"
}, },
[74]={ [74]={
["id"]=74, ["desc"]="攻击+{0}"
["desc"]="攻击+{0}",
["name"]="attr_atkp_all"
}, },
[75]={ [75]={
["id"]=75, ["name"]="攻击",
["desc"]="攻击+{0}", ["desc"]="攻击+{0}"
["name"]="attr_atk"
}, },
[76]={ [76]={
["id"]=76, ["name"]="生命",
["desc"]="生命+{0}", ["desc"]="生命+{0}"
["name"]="attr_hp"
}, },
[77]={ [77]={
["id"]=77, ["name"]="普攻增伤",
["desc"]="普攻增伤+{0}", ["desc"]="普攻增伤+{0}"
["name"]="attr_normal_hurt"
}, },
[78]={ [78]={
["id"]=78, ["name"]="技能增伤",
["desc"]="技能增伤+{0}", ["desc"]="技能增伤+{0}"
["name"]="attr_skill_hurt"
}, },
[79]={ [79]={
["id"]=79, ["desc"]="减伤提升{0}"
["desc"]="减伤提升{0}",
["name"]="dmgdec"
}, },
[80]={ [80]={
["id"]=80, ["desc"]="全体生命+{0}"
["desc"]="全体生命+{0}",
["name"]="attr_hpp_all"
}, },
[81]={ [81]={
["id"]=81, ["desc"]="对普通怪物伤害+{0}"
["desc"]="对普通怪物伤害+{0}",
["name"]="attr_monster_dmg"
}, },
[82]={ [82]={
["id"]=82, ["desc"]="对首领怪物伤害+{0}"
["desc"]="对首领怪物伤害+{0}",
["name"]="attr_boss_dmg"
}, },
[83]={ [83]={
["id"]=83, ["name"]="普攻增伤%",
["desc"]="普攻伤害+{0}", ["desc"]="普攻伤害+{0}"
["name"]="attr_normal_hurtp"
}, },
[84]={ [84]={
["id"]=84, ["name"]="技能增伤%",
["desc"]="技能伤害+{0}", ["desc"]="技能伤害+{0}"
["name"]="attr_skill_hurtp"
}, },
[85]={ [85]={
["id"]=85, ["desc"]="全体红色快递员生命+{0}"
["desc"]="全体红色快递员生命+{0}",
["name"]="attr_hpp_red_all"
}, },
[86]={ [86]={
["id"]=86, ["desc"]="全体黄色快递员生命+{0}"
["desc"]="全体黄色快递员生命+{0}",
["name"]="attr_hpp_yellow_all"
}, },
[87]={ [87]={
["id"]=87, ["desc"]="全体绿色快递员生命+{0}"
["desc"]="全体绿色快递员生命+{0}",
["name"]="attr_hpp_green_all"
}, },
[88]={ [88]={
["id"]=88, ["desc"]="全体蓝色快递员生命+{0}"
["desc"]="全体蓝色快递员生命+{0}",
["name"]="attr_hpp_blue_all"
}, },
[89]={ [89]={
["id"]=89, ["desc"]="全体紫色快递员生命+{0}"
["desc"]="全体紫色快递员生命+{0}",
["name"]="attr_hpp_purple_all"
}
}
local keys = {
name = {
["hp"]=attr[1],
["atk_red"]=attr[2],
["atk_yellow"]=attr[3],
["atk_green"]=attr[4],
["atk_blue"]=attr[5],
["atk_purple"]=attr[6],
["attr_crit_red"]=attr[7],
["attr_crit_yellow"]=attr[8],
["attr_crit_green"]=attr[9],
["attr_crit_blue"]=attr[10],
["attr_crit_purple"]=attr[11],
["attr_crit_time_red"]=attr[12],
["attr_crit_time_yellow"]=attr[13],
["attr_crit_time_green"]=attr[14],
["attr_crit_time_blue"]=attr[15],
["attr_crit_time_purple"]=attr[16],
["attr_cured_red"]=attr[17],
["attr_cured_yellow"]=attr[18],
["attr_cured_green"]=attr[19],
["attr_cured_blue"]=attr[20],
["attr_cured_purple"]=attr[21],
["attr_atkp_red"]=attr[22],
["attr_atkp_yellow"]=attr[23],
["attr_atkp_green"]=attr[24],
["attr_atkp_blue"]=attr[25],
["attr_atkp_purple"]=attr[26],
["attr_hpp_red"]=attr[27],
["attr_hpp_yellow"]=attr[28],
["attr_hpp_green"]=attr[29],
["attr_hpp_blue"]=attr[30],
["attr_hpp_purple"]=attr[31],
["attr_normal_hurt_red"]=attr[32],
["attr_normal_hurt_yellow"]=attr[33],
["attr_normal_hurt_green"]=attr[34],
["attr_normal_hurt_blue"]=attr[35],
["attr_normal_hurt_purple"]=attr[36],
["attr_skill_hurt_red"]=attr[37],
["attr_skill_hurt_yellow"]=attr[38],
["attr_skill_hurt_green"]=attr[39],
["attr_skill_hurt_blue"]=attr[40],
["attr_skill_hurt_purple"]=attr[41],
["attr_normal_hurtp_red"]=attr[42],
["attr_normal_hurtp_yellow"]=attr[43],
["attr_normal_hurtp_green"]=attr[44],
["attr_normal_hurtp_blue"]=attr[45],
["attr_normal_hurtp_purple"]=attr[46],
["attr_skill_hurtp_red"]=attr[47],
["attr_skill_hurtp_yellow"]=attr[48],
["attr_skill_hurtp_green"]=attr[49],
["attr_skill_hurtp_blue"]=attr[50],
["attr_skill_hurtp_purple"]=attr[51],
["attr_hp_red"]=attr[52],
["attr_hp_yellow"]=attr[53],
["attr_hp_green"]=attr[54],
["attr_hp_blue"]=attr[55],
["attr_hp_purple"]=attr[56],
["attr_all_hurtp_red"]=attr[57],
["attr_all_hurtp_yellow"]=attr[58],
["attr_all_hurtp_green"]=attr[59],
["attr_all_hurtp_blue"]=attr[60],
["attr_all_hurtp_purple"]=attr[61],
["attr_atkp_red_all"]=attr[62],
["attr_atkp_yellow_all"]=attr[63],
["attr_atkp_green_all"]=attr[64],
["attr_atkp_blue_all"]=attr[65],
["attr_atkp_purple_all"]=attr[66],
["atk_all"]=attr[67],
["attr_hp_all"]=attr[68],
["attr_dmgdec_all"]=attr[69],
["attr_crit_all"]=attr[70],
["attr_crit_time_all"]=attr[71],
["attr_normal_hurtp_all"]=attr[72],
["attr_skill_hurtp_all"]=attr[73],
["attr_atkp_all"]=attr[74],
["attr_atk"]=attr[75],
["attr_hp"]=attr[76],
["attr_normal_hurt"]=attr[77],
["attr_skill_hurt"]=attr[78],
["dmgdec"]=attr[79],
["attr_hpp_all"]=attr[80],
["attr_monster_dmg"]=attr[81],
["attr_boss_dmg"]=attr[82],
["attr_normal_hurtp"]=attr[83],
["attr_skill_hurtp"]=attr[84],
["attr_hpp_red_all"]=attr[85],
["attr_hpp_yellow_all"]=attr[86],
["attr_hpp_green_all"]=attr[87],
["attr_hpp_blue_all"]=attr[88],
["attr_hpp_purple_all"]=attr[89]
} }
} }
local config = { local config = {
data=attr, data=attr,count=89
keys=keys,
count=89
} }
return config return config

View File

@ -1,195 +1,195 @@
local item = { local item = {
[1]={ [1]={
["name"]="金币", ["name"]="金币",
["desc"]="通用货币,很多地方都会使用" ["desc"]="金币\n通用货币,很多地方都会使用"
}, },
[2]={ [2]={
["name"]="钻石", ["name"]="钻石",
["desc"]="稀有货币,可以购买大部分道具" ["desc"]="钻石\n稀有货币,可以购买大部分道具"
}, },
[3]={ [3]={
["name"]="体力", ["name"]="体力",
["desc"]="闯关需要的当然是体力。" ["desc"]="体力\n闯关需要的当然是体力。"
}, },
[4]={ [4]={
["name"]="经验", ["name"]="经验",
["desc"]="累计达到一定数量可升级。" ["desc"]="经验\n累计达到一定数量可升级。"
}, },
[5]={ [5]={
["name"]="宇宙魔方", ["name"]="宇宙魔方",
["desc"]="可以在普通招募中进行招募。" ["desc"]="宇宙魔方\n可以在普通招募中进行招募。"
}, },
[6]={ [6]={
["name"]="高级信件", ["name"]="高级信件",
["desc"]="可以在高级招募中进行招募。" ["desc"]="高级信件\n可以在高级招募中进行招募。"
}, },
[7]={ [7]={
["name"]="神秘信件", ["name"]="神秘信件",
["desc"]="可以在限时招募中进行招募。" ["desc"]="神秘信件\n可以在限时招募中进行招募。"
}, },
[8]={ [8]={
["name"]="竞技券", ["name"]="竞技券",
["desc"]="每次挑战需要给竞技场记录员一张券。每天都有免费的券发放。" ["desc"]="竞技券\n每次挑战需要给竞技场记录员一张券。每天都有免费的券发放。"
}, },
[9]={ [9]={
["name"]="红色能量饮料", ["name"]="红色能量饮料",
["desc"]="元素英雄升级材料" ["desc"]="色能量饮料\n元素英雄升级材料"
}, },
[10]={ [10]={
["name"]="黄色能量饮料", ["name"]="黄色能量饮料",
["desc"]="元素英雄升级材料" ["desc"]="色能量饮料\n元素英雄升级材料"
}, },
[11]={ [11]={
["name"]="绿色能量饮料", ["name"]="绿色能量饮料",
["desc"]="绿元素英雄升级材料" ["desc"]="绿色能量饮料\n绿元素英雄升级材料"
}, },
[12]={ [12]={
["name"]="蓝色能量饮料", ["name"]="蓝色能量饮料",
["desc"]="元素英雄升级材料" ["desc"]="色能量饮料\n元素英雄升级材料"
}, },
[13]={ [13]={
["name"]="紫色能量饮料", ["name"]="紫色能量饮料",
["desc"]="元素英雄升级材料" ["desc"]="色能量饮料\n元素英雄升级材料"
}, },
[14]={ [14]={
["name"]="稀有契约", ["name"]="稀有契约",
["desc"]="稀有英雄升星材料" ["desc"]="稀有契约\n稀有英雄升星材料"
}, },
[15]={ [15]={
["name"]="史诗契约", ["name"]="史诗契约",
["desc"]="史诗英雄升星材料" ["desc"]="史诗契约\n史诗英雄升星材料"
}, },
[16]={ [16]={
["name"]="传说契约", ["name"]="传说契约",
["desc"]="传说英雄升星材料" ["desc"]="传说契约\n传说英雄升星材料"
}, },
[17]={ [17]={
["name"]="神话契约", ["name"]="神话契约",
["desc"]="神话英雄升星材料" ["desc"]="神话契约\n神话英雄升星材料"
}, },
[18]={ [18]={
["name"]="随机能量饮料", ["name"]="随机能量饮料",
["desc"]="随机元素升级材料" ["desc"]="随机能量饮料\n随机元素升级材料"
}, },
[19]={ [19]={
["name"]="强化石", ["name"]="强化石",
["desc"]="用于强化装备,提升强化等级。" ["desc"]="强化石\n用于强化装备,提升强化等级。"
}, },
[20]={ [20]={
["name"]="精炼石", ["name"]="精炼石",
["desc"]="用于提升装备精炼等级。" ["desc"]="精炼石\n用于提升装备精炼等级。"
}, },
[21]={ [21]={
["name"]="绿色1星装备随机宝箱", ["name"]="绿色1星装备随机宝箱",
["desc"]="使用后获得1件随机绿色1星装备" ["desc"]="绿色1星装备随机宝箱\n使用后获得1件随机绿色1星装备"
}, },
[22]={ [22]={
["name"]="绿色2星装备随机宝箱", ["name"]="绿色2星装备随机宝箱",
["desc"]="使用后获得1件随机绿色2星装备" ["desc"]="绿色2星装备随机宝箱\n使用后获得1件随机绿色2星装备"
}, },
[23]={ [23]={
["name"]="蓝色1星装备随机宝箱", ["name"]="蓝色1星装备随机宝箱",
["desc"]="使用后获得1件随机蓝色1星装备" ["desc"]="蓝色1星装备随机宝箱\n使用后获得1件随机蓝色1星装备"
}, },
[24]={ [24]={
["name"]="蓝色2星装备随机宝箱", ["name"]="蓝色2星装备随机宝箱",
["desc"]="使用后获得1件随机蓝色2星装备" ["desc"]="蓝色2星装备随机宝箱\n使用后获得1件随机蓝色2星装备"
}, },
[25]={ [25]={
["name"]="蓝色3星装备随机宝箱", ["name"]="蓝色3星装备随机宝箱",
["desc"]="使用后获得1件随机蓝色3星装备" ["desc"]="蓝色3星装备随机宝箱\n使用后获得1件随机蓝色3星装备"
}, },
[26]={ [26]={
["name"]="紫色1星装备随机宝箱", ["name"]="紫色1星装备随机宝箱",
["desc"]="使用后获得1件随机紫色1星装备" ["desc"]="紫色1星装备随机宝箱\n使用后获得1件随机紫色1星装备"
}, },
[27]={ [27]={
["name"]="紫色2星装备随机宝箱", ["name"]="紫色2星装备随机宝箱",
["desc"]="使用后获得1件随机紫色2星装备" ["desc"]="紫色2星装备随机宝箱\n使用后获得1件随机紫色2星装备"
}, },
[28]={ [28]={
["name"]="紫色3星装备随机宝箱", ["name"]="紫色3星装备随机宝箱",
["desc"]="使用后获得1件随机紫色3星装备" ["desc"]="紫色3星装备随机宝箱\n使用后获得1件随机紫色3星装备"
}, },
[29]={ [29]={
["name"]="紫色4星装备随机宝箱", ["name"]="紫色4星装备随机宝箱",
["desc"]="使用后获得1件随机紫色4星装备" ["desc"]="紫色4星装备随机宝箱\n使用后获得1件随机紫色4星装备"
}, },
[30]={ [30]={
["name"]="橙色1星装备随机宝箱", ["name"]="橙色1星装备随机宝箱",
["desc"]="使用后获得1件随机橙色1星装备" ["desc"]="橙色1星装备随机宝箱\n使用后获得1件随机橙色1星装备"
}, },
[31]={ [31]={
["name"]="橙色2星装备随机宝箱", ["name"]="橙色2星装备随机宝箱",
["desc"]="使用后获得1件随机橙色2星装备" ["desc"]="橙色2星装备随机宝箱\n使用后获得1件随机橙色2星装备"
}, },
[32]={ [32]={
["name"]="橙色3星装备随机宝箱", ["name"]="橙色3星装备随机宝箱",
["desc"]="使用后获得1件随机橙色3星装备" ["desc"]="橙色3星装备随机宝箱\n使用后获得1件随机橙色3星装备"
}, },
[33]={ [33]={
["name"]="橙色4星装备随机宝箱", ["name"]="橙色4星装备随机宝箱",
["desc"]="使用后获得1件随机橙色4星装备" ["desc"]="橙色4星装备随机宝箱\n使用后获得1件随机橙色4星装备"
}, },
[34]={ [34]={
["name"]="橙色5星装备随机宝箱", ["name"]="橙色5星装备随机宝箱",
["desc"]="使用后获得1件随机橙色5星装备" ["desc"]="橙色5星装备随机宝箱\n使用后获得1件随机橙色5星装备"
}, },
[35]={ [35]={
["name"]="红色1星装备随机宝箱", ["name"]="红色1星装备随机宝箱",
["desc"]="使用后获得1件随机红色1星装备" ["desc"]="红色1星装备随机宝箱\n使用后获得1件随机红色1星装备"
}, },
[36]={ [36]={
["name"]="红色2星装备随机宝箱", ["name"]="红色2星装备随机宝箱",
["desc"]="使用后获得1件随机红色2星装备" ["desc"]="红色2星装备随机宝箱\n使用后获得1件随机红色2星装备"
}, },
[37]={ [37]={
["name"]="红色3星装备随机宝箱", ["name"]="红色3星装备随机宝箱",
["desc"]="使用后获得1件随机红色3星装备" ["desc"]="红色3星装备随机宝箱\n使用后获得1件随机红色3星装备"
}, },
[38]={ [38]={
["name"]="红色4星装备随机宝箱", ["name"]="红色4星装备随机宝箱",
["desc"]="使用后获得1件随机红色4星装备" ["desc"]="红色4星装备随机宝箱\n使用后获得1件随机红色4星装备"
}, },
[39]={ [39]={
["name"]="红色5星装备随机宝箱", ["name"]="红色5星装备随机宝箱",
["desc"]="使用后获得1件随机红色5星装备" ["desc"]="红色5星装备随机宝箱\n使用后获得1件随机红色5星装备"
}, },
[40]={ [40]={
["name"]="稀有英雄随机宝箱", ["name"]="稀有英雄随机宝箱",
["desc"]="使用后获得1个随机史诗英雄碎片" ["desc"]="稀有英雄随机宝箱\n使用后获得1个随机史诗英雄碎片"
}, },
[41]={ [41]={
["name"]="史诗英雄随机宝箱", ["name"]="史诗英雄随机宝箱",
["desc"]="使用后获得1个随机传说英雄碎片" ["desc"]="史诗英雄随机宝箱\n使用后获得1个随机传说英雄碎片"
}, },
[42]={ [42]={
["name"]="史诗英雄自选宝箱", ["name"]="史诗英雄自选宝箱",
["desc"]="使用后获得5个随机传说英雄碎片" ["desc"]="史诗英雄自选宝箱\n使用后获得5个随机传说英雄碎片"
}, },
[43]={ [43]={
["name"]="传说英雄随机宝箱", ["name"]="传说英雄随机宝箱",
["desc"]="使用后获得20个随机传说英雄碎片" ["desc"]="传说英雄随机宝箱\n使用后获得20个随机传说英雄碎片"
}, },
[44]={ [44]={
["name"]="传说英雄自选宝箱", ["name"]="传说英雄自选宝箱",
["desc"]="使用后可以自选1个传说英雄碎片" ["desc"]="传说英雄自选宝箱\n使用后可以自选1个传说英雄碎片"
}, },
[45]={ [45]={
["name"]="七天乐积分", ["name"]="七天乐积分",
["desc"]="完成七天乐任务可领取奖励" ["desc"]="七天乐积分\n完成七天乐任务可领取奖励"
}, },
[46]={ [46]={
["name"]="心愿币", ["name"]="心愿币",
["desc"]="普通卡池的心愿币,用于普通卡池兑换。" ["desc"]="心愿币\n普通卡池的心愿币,用于普通卡池兑换。"
}, },
[47]={ [47]={
["name"]="金币副本门票", ["name"]="金币副本门票",
["desc"]="参加金币副本挑战的凭证" ["desc"]="金币副本门票\n参加金币副本挑战的凭证"
}, },
[48]={ [48]={
["name"]="材料副本门票", ["name"]="材料副本门票",
["desc"]="参加材料副本挑战的凭证" ["desc"]="材料副本门票\n参加材料副本挑战的凭证"
}, },
[49]={ [49]={
["name"]="随机契约" ["name"]="随机契约"

View File

@ -1248,32 +1248,32 @@ local skill_rogue = {
["rougedesc"]="闪送雷神普攻20%几率附加<color=#5bff5f>虚弱</color>2回合" ["rougedesc"]="闪送雷神普攻20%几率附加<color=#5bff5f>虚弱</color>2回合"
}, },
[3300111]={ [3300111]={
["desc"]="荒野镖客技能可上下消除2格", ["desc"]="荒野镖客技能可左右消除2格",
["entry_1"]="战斗中直接生效!", ["entry_1"]="战斗中直接生效!",
["entry_2"]="上下消除增加2格", ["entry_2"]="左右消除增加2格",
["entry_3"]="技能链接时伤害增加15%", ["entry_3"]="技能链接时伤害增加15%",
["rougedesc"]="荒野镖客技能可上下消除2格" ["rougedesc"]="荒野镖客技能可左右消除2格"
}, },
[3300112]={ [3300112]={
["desc"]="荒野镖客技能可上下消除2格", ["desc"]="荒野镖客技能可左右消除2格",
["entry_1"]="战斗中直接生效!", ["entry_1"]="战斗中直接生效!",
["entry_2"]="上下消除增加2格", ["entry_2"]="左右消除增加2格",
["entry_3"]="技能链接时伤害增加15%", ["entry_3"]="技能链接时伤害增加15%",
["rougedesc"]="荒野镖客技能可上下消除2格" ["rougedesc"]="荒野镖客技能可左右消除2格"
}, },
[3300113]={ [3300113]={
["desc"]="荒野镖客技能可上下消除2格", ["desc"]="荒野镖客技能可左右消除2格",
["entry_1"]="战斗中直接生效!", ["entry_1"]="战斗中直接生效!",
["entry_2"]="上下消除增加2格", ["entry_2"]="左右消除增加2格",
["entry_3"]="技能链接时伤害增加15%", ["entry_3"]="技能链接时伤害增加15%",
["rougedesc"]="荒野镖客技能可上下消除4格" ["rougedesc"]="荒野镖客技能可左右消除4格"
}, },
[3300114]={ [3300114]={
["desc"]="荒野镖客技能可上下消除2格", ["desc"]="荒野镖客技能可左右消除2格",
["entry_1"]="战斗中直接生效!", ["entry_1"]="战斗中直接生效!",
["entry_2"]="上下消除增加2格", ["entry_2"]="左右消除增加2格",
["entry_3"]="技能链接时伤害增加15%", ["entry_3"]="技能链接时伤害增加15%",
["rougedesc"]="荒野镖客技能可上下消除2格链接增伤15%" ["rougedesc"]="荒野镖客技能可左右消除2格链接增伤15%"
}, },
[3300121]={ [3300121]={
["desc"]="荒野镖客技能有30%几率附加<color=#049500>眩晕</color>1回合", ["desc"]="荒野镖客技能有30%几率附加<color=#049500>眩晕</color>1回合",

View File

@ -6,10 +6,10 @@ local tutorial = {
["value"]="领取宝箱,解锁新英雄" ["value"]="领取宝箱,解锁新英雄"
}, },
["tutorial_txt_3"]={ ["tutorial_txt_3"]={
["value"]="领取宝箱,获取英雄碎片" ["value"]="消耗饮料提升英雄等级"
}, },
["tutorial_txt_4"]={ ["tutorial_txt_4"]={
["value"]="领取宝箱,获取第五位英雄" ["value"]="回到主线继续吧!"
}, },
["tutorial_txt_5"]={ ["tutorial_txt_5"]={
["value"]="前往商城,获得更多英雄!" ["value"]="前往商城,获得更多英雄!"

View File

@ -1,457 +1,273 @@
local attr = { local attr = {
[1]={ [1]={
["id"]=1,
["name"]="hp"
}, },
[2]={ [2]={
["id"]=2,
["name"]="atk_red"
}, },
[3]={ [3]={
["id"]=3,
["name"]="atk_yellow"
}, },
[4]={ [4]={
["id"]=4,
["name"]="atk_green"
}, },
[5]={ [5]={
["id"]=5,
["name"]="atk_blue"
}, },
[6]={ [6]={
["id"]=6,
["name"]="atk_purple"
}, },
[7]={ [7]={
["id"]=7,
["name"]="attr_crit_red"
}, },
[8]={ [8]={
["id"]=8,
["name"]="attr_crit_yellow"
}, },
[9]={ [9]={
["id"]=9,
["name"]="attr_crit_green"
}, },
[10]={ [10]={
["id"]=10,
["name"]="attr_crit_blue"
}, },
[11]={ [11]={
["id"]=11,
["name"]="attr_crit_purple"
}, },
[12]={ [12]={
["id"]=12,
["name"]="attr_crit_time_red"
}, },
[13]={ [13]={
["id"]=13,
["name"]="attr_crit_time_yellow"
}, },
[14]={ [14]={
["id"]=14,
["name"]="attr_crit_time_green"
}, },
[15]={ [15]={
["id"]=15,
["name"]="attr_crit_time_blue"
}, },
[16]={ [16]={
["id"]=16,
["name"]="attr_crit_time_purple"
}, },
[17]={ [17]={
["id"]=17,
["name"]="attr_cured_red"
}, },
[18]={ [18]={
["id"]=18,
["name"]="attr_cured_yellow"
}, },
[19]={ [19]={
["id"]=19,
["name"]="attr_cured_green"
}, },
[20]={ [20]={
["id"]=20,
["name"]="attr_cured_blue"
}, },
[21]={ [21]={
["id"]=21,
["name"]="attr_cured_purple"
}, },
[22]={ [22]={
["id"]=22,
["name"]="attr_atkp_red"
}, },
[23]={ [23]={
["id"]=23,
["name"]="attr_atkp_yellow"
}, },
[24]={ [24]={
["id"]=24,
["name"]="attr_atkp_green"
}, },
[25]={ [25]={
["id"]=25,
["name"]="attr_atkp_blue"
}, },
[26]={ [26]={
["id"]=26,
["name"]="attr_atkp_purple"
}, },
[27]={ [27]={
["id"]=27,
["name"]="attr_hpp_red"
}, },
[28]={ [28]={
["id"]=28,
["name"]="attr_hpp_yellow"
}, },
[29]={ [29]={
["id"]=29,
["name"]="attr_hpp_green"
}, },
[30]={ [30]={
["id"]=30,
["name"]="attr_hpp_blue"
}, },
[31]={ [31]={
["id"]=31,
["name"]="attr_hpp_purple"
}, },
[32]={ [32]={
["id"]=32,
["name"]="attr_normal_hurt_red"
}, },
[33]={ [33]={
["id"]=33,
["name"]="attr_normal_hurt_yellow"
}, },
[34]={ [34]={
["id"]=34,
["name"]="attr_normal_hurt_green"
}, },
[35]={ [35]={
["id"]=35,
["name"]="attr_normal_hurt_blue"
}, },
[36]={ [36]={
["id"]=36,
["name"]="attr_normal_hurt_purple"
}, },
[37]={ [37]={
["id"]=37,
["name"]="attr_skill_hurt_red"
}, },
[38]={ [38]={
["id"]=38,
["name"]="attr_skill_hurt_yellow"
}, },
[39]={ [39]={
["id"]=39,
["name"]="attr_skill_hurt_green"
}, },
[40]={ [40]={
["id"]=40,
["name"]="attr_skill_hurt_blue"
}, },
[41]={ [41]={
["id"]=41,
["name"]="attr_skill_hurt_purple"
}, },
[42]={ [42]={
["id"]=42,
["name"]="attr_normal_hurtp_red"
}, },
[43]={ [43]={
["id"]=43,
["name"]="attr_normal_hurtp_yellow"
}, },
[44]={ [44]={
["id"]=44,
["name"]="attr_normal_hurtp_green"
}, },
[45]={ [45]={
["id"]=45,
["name"]="attr_normal_hurtp_blue"
}, },
[46]={ [46]={
["id"]=46,
["name"]="attr_normal_hurtp_purple"
}, },
[47]={ [47]={
["id"]=47,
["name"]="attr_skill_hurtp_red"
}, },
[48]={ [48]={
["id"]=48,
["name"]="attr_skill_hurtp_yellow"
}, },
[49]={ [49]={
["id"]=49,
["name"]="attr_skill_hurtp_green"
}, },
[50]={ [50]={
["id"]=50,
["name"]="attr_skill_hurtp_blue"
}, },
[51]={ [51]={
["id"]=51,
["name"]="attr_skill_hurtp_purple"
}, },
[52]={ [52]={
["id"]=52,
["name"]="attr_hp_red"
}, },
[53]={ [53]={
["id"]=53,
["name"]="attr_hp_yellow"
}, },
[54]={ [54]={
["id"]=54,
["name"]="attr_hp_green"
}, },
[55]={ [55]={
["id"]=55,
["name"]="attr_hp_blue"
}, },
[56]={ [56]={
["id"]=56,
["name"]="attr_hp_purple"
}, },
[57]={ [57]={
["id"]=57,
["name"]="attr_all_hurtp_red"
}, },
[58]={ [58]={
["id"]=58,
["name"]="attr_all_hurtp_yellow"
}, },
[59]={ [59]={
["id"]=59,
["name"]="attr_all_hurtp_green"
}, },
[60]={ [60]={
["id"]=60,
["name"]="attr_all_hurtp_blue"
}, },
[61]={ [61]={
["id"]=61,
["name"]="attr_all_hurtp_purple"
}, },
[62]={ [62]={
["id"]=62,
["name"]="attr_atkp_red_all"
}, },
[63]={ [63]={
["id"]=63,
["name"]="attr_atkp_yellow_all"
}, },
[64]={ [64]={
["id"]=64,
["name"]="attr_atkp_green_all"
}, },
[65]={ [65]={
["id"]=65,
["name"]="attr_atkp_blue_all"
}, },
[66]={ [66]={
["id"]=66,
["name"]="attr_atkp_purple_all"
}, },
[67]={ [67]={
["id"]=67,
["name"]="atk_all"
}, },
[68]={ [68]={
["id"]=68,
["name"]="attr_hp_all"
}, },
[69]={ [69]={
["id"]=69,
["name"]="attr_dmgdec_all"
}, },
[70]={ [70]={
["id"]=70,
["name"]="attr_crit_all"
}, },
[71]={ [71]={
["id"]=71,
["name"]="attr_crit_time_all"
}, },
[72]={ [72]={
["id"]=72,
["name"]="attr_normal_hurtp_all"
}, },
[73]={ [73]={
["id"]=73,
["name"]="attr_skill_hurtp_all"
}, },
[74]={ [74]={
["id"]=74,
["name"]="attr_atkp_all"
}, },
[75]={ [75]={
["id"]=75,
["name"]="attr_atk"
}, },
[76]={ [76]={
["id"]=76,
["name"]="attr_hp"
}, },
[77]={ [77]={
["id"]=77,
["name"]="attr_normal_hurt"
}, },
[78]={ [78]={
["id"]=78,
["name"]="attr_skill_hurt"
}, },
[79]={ [79]={
["id"]=79,
["name"]="dmgdec"
}, },
[80]={ [80]={
["id"]=80,
["name"]="attr_hpp_all"
}, },
[81]={ [81]={
["id"]=81,
["name"]="attr_monster_dmg"
}, },
[82]={ [82]={
["id"]=82,
["name"]="attr_boss_dmg"
}, },
[83]={ [83]={
["id"]=83,
["name"]="attr_normal_hurtp"
}, },
[84]={ [84]={
["id"]=84,
["name"]="attr_skill_hurtp"
}, },
[85]={ [85]={
["id"]=85,
["name"]="attr_hpp_red_all"
}, },
[86]={ [86]={
["id"]=86,
["name"]="attr_hpp_yellow_all"
}, },
[87]={ [87]={
["id"]=87,
["name"]="attr_hpp_green_all"
}, },
[88]={ [88]={
["id"]=88,
["name"]="attr_hpp_blue_all"
}, },
[89]={ [89]={
["id"]=89,
["name"]="attr_hpp_purple_all"
}
}
local keys = {
name = {
["hp"]=attr[1],
["atk_red"]=attr[2],
["atk_yellow"]=attr[3],
["atk_green"]=attr[4],
["atk_blue"]=attr[5],
["atk_purple"]=attr[6],
["attr_crit_red"]=attr[7],
["attr_crit_yellow"]=attr[8],
["attr_crit_green"]=attr[9],
["attr_crit_blue"]=attr[10],
["attr_crit_purple"]=attr[11],
["attr_crit_time_red"]=attr[12],
["attr_crit_time_yellow"]=attr[13],
["attr_crit_time_green"]=attr[14],
["attr_crit_time_blue"]=attr[15],
["attr_crit_time_purple"]=attr[16],
["attr_cured_red"]=attr[17],
["attr_cured_yellow"]=attr[18],
["attr_cured_green"]=attr[19],
["attr_cured_blue"]=attr[20],
["attr_cured_purple"]=attr[21],
["attr_atkp_red"]=attr[22],
["attr_atkp_yellow"]=attr[23],
["attr_atkp_green"]=attr[24],
["attr_atkp_blue"]=attr[25],
["attr_atkp_purple"]=attr[26],
["attr_hpp_red"]=attr[27],
["attr_hpp_yellow"]=attr[28],
["attr_hpp_green"]=attr[29],
["attr_hpp_blue"]=attr[30],
["attr_hpp_purple"]=attr[31],
["attr_normal_hurt_red"]=attr[32],
["attr_normal_hurt_yellow"]=attr[33],
["attr_normal_hurt_green"]=attr[34],
["attr_normal_hurt_blue"]=attr[35],
["attr_normal_hurt_purple"]=attr[36],
["attr_skill_hurt_red"]=attr[37],
["attr_skill_hurt_yellow"]=attr[38],
["attr_skill_hurt_green"]=attr[39],
["attr_skill_hurt_blue"]=attr[40],
["attr_skill_hurt_purple"]=attr[41],
["attr_normal_hurtp_red"]=attr[42],
["attr_normal_hurtp_yellow"]=attr[43],
["attr_normal_hurtp_green"]=attr[44],
["attr_normal_hurtp_blue"]=attr[45],
["attr_normal_hurtp_purple"]=attr[46],
["attr_skill_hurtp_red"]=attr[47],
["attr_skill_hurtp_yellow"]=attr[48],
["attr_skill_hurtp_green"]=attr[49],
["attr_skill_hurtp_blue"]=attr[50],
["attr_skill_hurtp_purple"]=attr[51],
["attr_hp_red"]=attr[52],
["attr_hp_yellow"]=attr[53],
["attr_hp_green"]=attr[54],
["attr_hp_blue"]=attr[55],
["attr_hp_purple"]=attr[56],
["attr_all_hurtp_red"]=attr[57],
["attr_all_hurtp_yellow"]=attr[58],
["attr_all_hurtp_green"]=attr[59],
["attr_all_hurtp_blue"]=attr[60],
["attr_all_hurtp_purple"]=attr[61],
["attr_atkp_red_all"]=attr[62],
["attr_atkp_yellow_all"]=attr[63],
["attr_atkp_green_all"]=attr[64],
["attr_atkp_blue_all"]=attr[65],
["attr_atkp_purple_all"]=attr[66],
["atk_all"]=attr[67],
["attr_hp_all"]=attr[68],
["attr_dmgdec_all"]=attr[69],
["attr_crit_all"]=attr[70],
["attr_crit_time_all"]=attr[71],
["attr_normal_hurtp_all"]=attr[72],
["attr_skill_hurtp_all"]=attr[73],
["attr_atkp_all"]=attr[74],
["attr_atk"]=attr[75],
["attr_hp"]=attr[76],
["attr_normal_hurt"]=attr[77],
["attr_skill_hurt"]=attr[78],
["dmgdec"]=attr[79],
["attr_hpp_all"]=attr[80],
["attr_monster_dmg"]=attr[81],
["attr_boss_dmg"]=attr[82],
["attr_normal_hurtp"]=attr[83],
["attr_skill_hurtp"]=attr[84],
["attr_hpp_red_all"]=attr[85],
["attr_hpp_yellow_all"]=attr[86],
["attr_hpp_green_all"]=attr[87],
["attr_hpp_blue_all"]=attr[88],
["attr_hpp_purple_all"]=attr[89]
} }
} }
local config = { local config = {
data=attr, data=attr,count=89
keys=keys,
count=89
} }
return config return config

View File

@ -1,513 +1,273 @@
local attr = { local attr = {
[1]={ [1]={
["id"]=1, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="hp"
}, },
[2]={ [2]={
["id"]=2, ["desc"]="ATK +{0}"
["desc"]="ATK +{0}",
["name"]="atk_red"
}, },
[3]={ [3]={
["id"]=3, ["desc"]="ATK +{0}"
["desc"]="ATK +{0}",
["name"]="atk_yellow"
}, },
[4]={ [4]={
["id"]=4, ["desc"]="ATK +{0}"
["desc"]="ATK +{0}",
["name"]="atk_green"
}, },
[5]={ [5]={
["id"]=5, ["desc"]="ATK +{0}"
["desc"]="ATK +{0}",
["name"]="atk_blue"
}, },
[6]={ [6]={
["id"]=6, ["desc"]="ATK +{0}"
["desc"]="ATK +{0}",
["name"]="atk_purple"
}, },
[7]={ [7]={
["id"]=7, ["desc"]="CRIT Rate +{0}"
["desc"]="CRIT Rate +{0}",
["name"]="attr_crit_red"
}, },
[8]={ [8]={
["id"]=8, ["desc"]="CRIT Rate +{0}"
["desc"]="CRIT Rate +{0}",
["name"]="attr_crit_yellow"
}, },
[9]={ [9]={
["id"]=9, ["desc"]="CRIT Rate +{0}"
["desc"]="CRIT Rate +{0}",
["name"]="attr_crit_green"
}, },
[10]={ [10]={
["id"]=10, ["desc"]="CRIT Rate +{0}"
["desc"]="CRIT Rate +{0}",
["name"]="attr_crit_blue"
}, },
[11]={ [11]={
["id"]=11, ["desc"]="CRIT Rate +{0}"
["desc"]="CRIT Rate +{0}",
["name"]="attr_crit_purple"
}, },
[12]={ [12]={
["id"]=12, ["desc"]="CRIT DMG +{0}"
["desc"]="CRIT DMG +{0}",
["name"]="attr_crit_time_red"
}, },
[13]={ [13]={
["id"]=13, ["desc"]="CRIT DMG +{0}"
["desc"]="CRIT DMG +{0}",
["name"]="attr_crit_time_yellow"
}, },
[14]={ [14]={
["id"]=14, ["desc"]="CRIT DMG +{0}"
["desc"]="CRIT DMG +{0}",
["name"]="attr_crit_time_green"
}, },
[15]={ [15]={
["id"]=15, ["desc"]="CRIT DMG +{0}"
["desc"]="CRIT DMG +{0}",
["name"]="attr_crit_time_blue"
}, },
[16]={ [16]={
["id"]=16, ["desc"]="CRIT DMG +{0}"
["desc"]="CRIT DMG +{0}",
["name"]="attr_crit_time_purple"
}, },
[17]={ [17]={
["id"]=17, ["desc"]="Healing Effect +{0}"
["desc"]="Healing Effect +{0}",
["name"]="attr_cured_red"
}, },
[18]={ [18]={
["id"]=18, ["desc"]="Healing Effect +{0}"
["desc"]="Healing Effect +{0}",
["name"]="attr_cured_yellow"
}, },
[19]={ [19]={
["id"]=19, ["desc"]="Healing Effect +{0}"
["desc"]="Healing Effect +{0}",
["name"]="attr_cured_green"
}, },
[20]={ [20]={
["id"]=20, ["desc"]="Healing Effect +{0}"
["desc"]="Healing Effect +{0}",
["name"]="attr_cured_blue"
}, },
[21]={ [21]={
["id"]=21, ["desc"]="Healing Effect +{0}"
["desc"]="Healing Effect +{0}",
["name"]="attr_cured_purple"
}, },
[22]={ [22]={
["id"]=22,
["name"]="attr_atkp_red"
}, },
[23]={ [23]={
["id"]=23,
["name"]="attr_atkp_yellow"
}, },
[24]={ [24]={
["id"]=24,
["name"]="attr_atkp_green"
}, },
[25]={ [25]={
["id"]=25,
["name"]="attr_atkp_blue"
}, },
[26]={ [26]={
["id"]=26,
["name"]="attr_atkp_purple"
}, },
[27]={ [27]={
["id"]=27, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hpp_red"
}, },
[28]={ [28]={
["id"]=28, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hpp_yellow"
}, },
[29]={ [29]={
["id"]=29, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hpp_green"
}, },
[30]={ [30]={
["id"]=30, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hpp_blue"
}, },
[31]={ [31]={
["id"]=31, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hpp_purple"
}, },
[32]={ [32]={
["id"]=32, ["desc"]="Normal Attack DMG +{0}"
["desc"]="Normal Attack DMG +{0}",
["name"]="attr_normal_hurt_red"
}, },
[33]={ [33]={
["id"]=33, ["desc"]="Normal Attack DMG +{0}"
["desc"]="Normal Attack DMG +{0}",
["name"]="attr_normal_hurt_yellow"
}, },
[34]={ [34]={
["id"]=34, ["desc"]="Normal Attack DMG +{0}"
["desc"]="Normal Attack DMG +{0}",
["name"]="attr_normal_hurt_green"
}, },
[35]={ [35]={
["id"]=35, ["desc"]="Normal Attack DMG +{0}"
["desc"]="Normal Attack DMG +{0}",
["name"]="attr_normal_hurt_blue"
}, },
[36]={ [36]={
["id"]=36, ["desc"]="Normal Attack DMG +{0}"
["desc"]="Normal Attack DMG +{0}",
["name"]="attr_normal_hurt_purple"
}, },
[37]={ [37]={
["id"]=37, ["desc"]="Skill DMG +{0}"
["desc"]="Skill DMG +{0}",
["name"]="attr_skill_hurt_red"
}, },
[38]={ [38]={
["id"]=38, ["desc"]="Skill DMG +{0}"
["desc"]="Skill DMG +{0}",
["name"]="attr_skill_hurt_yellow"
}, },
[39]={ [39]={
["id"]=39, ["desc"]="Skill DMG +{0}"
["desc"]="Skill DMG +{0}",
["name"]="attr_skill_hurt_green"
}, },
[40]={ [40]={
["id"]=40, ["desc"]="Skill DMG +{0}"
["desc"]="Skill DMG +{0}",
["name"]="attr_skill_hurt_blue"
}, },
[41]={ [41]={
["id"]=41, ["desc"]="Skill DMG +{0}"
["desc"]="Skill DMG +{0}",
["name"]="attr_skill_hurt_purple"
}, },
[42]={ [42]={
["id"]=42, ["desc"]="Normal Attack DMG +{0}"
["desc"]="Normal Attack DMG +{0}",
["name"]="attr_normal_hurtp_red"
}, },
[43]={ [43]={
["id"]=43, ["desc"]="Normal Attack DMG +{0}"
["desc"]="Normal Attack DMG +{0}",
["name"]="attr_normal_hurtp_yellow"
}, },
[44]={ [44]={
["id"]=44, ["desc"]="Normal Attack DMG +{0}"
["desc"]="Normal Attack DMG +{0}",
["name"]="attr_normal_hurtp_green"
}, },
[45]={ [45]={
["id"]=45, ["desc"]="Normal Attack DMG +{0}"
["desc"]="Normal Attack DMG +{0}",
["name"]="attr_normal_hurtp_blue"
}, },
[46]={ [46]={
["id"]=46, ["desc"]="Normal Attack DMG +{0}"
["desc"]="Normal Attack DMG +{0}",
["name"]="attr_normal_hurtp_purple"
}, },
[47]={ [47]={
["id"]=47, ["desc"]="Skill DMG +{0}"
["desc"]="Skill DMG +{0}",
["name"]="attr_skill_hurtp_red"
}, },
[48]={ [48]={
["id"]=48, ["desc"]="Skill DMG +{0}"
["desc"]="Skill DMG +{0}",
["name"]="attr_skill_hurtp_yellow"
}, },
[49]={ [49]={
["id"]=49, ["desc"]="Skill DMG +{0}"
["desc"]="Skill DMG +{0}",
["name"]="attr_skill_hurtp_green"
}, },
[50]={ [50]={
["id"]=50, ["desc"]="Skill DMG +{0}"
["desc"]="Skill DMG +{0}",
["name"]="attr_skill_hurtp_blue"
}, },
[51]={ [51]={
["id"]=51, ["desc"]="Skill DMG +{0}"
["desc"]="Skill DMG +{0}",
["name"]="attr_skill_hurtp_purple"
}, },
[52]={ [52]={
["id"]=52, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hp_red"
}, },
[53]={ [53]={
["id"]=53, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hp_yellow"
}, },
[54]={ [54]={
["id"]=54, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hp_green"
}, },
[55]={ [55]={
["id"]=55, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hp_blue"
}, },
[56]={ [56]={
["id"]=56, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hp_purple"
}, },
[57]={ [57]={
["id"]=57, ["desc"]="All damage increases by {0}"
["desc"]="All damage increases by {0}",
["name"]="attr_all_hurtp_red"
}, },
[58]={ [58]={
["id"]=58, ["desc"]="All damage increases by {0}"
["desc"]="All damage increases by {0}",
["name"]="attr_all_hurtp_yellow"
}, },
[59]={ [59]={
["id"]=59, ["desc"]="All damage increases by {0}"
["desc"]="All damage increases by {0}",
["name"]="attr_all_hurtp_green"
}, },
[60]={ [60]={
["id"]=60, ["desc"]="All damage increases by {0}"
["desc"]="All damage increases by {0}",
["name"]="attr_all_hurtp_blue"
}, },
[61]={ [61]={
["id"]=61, ["desc"]="All damage increases by {0}"
["desc"]="All damage increases by {0}",
["name"]="attr_all_hurtp_purple"
}, },
[62]={ [62]={
["id"]=62,
["name"]="attr_atkp_red_all"
}, },
[63]={ [63]={
["id"]=63,
["name"]="attr_atkp_yellow_all"
}, },
[64]={ [64]={
["id"]=64,
["name"]="attr_atkp_green_all"
}, },
[65]={ [65]={
["id"]=65,
["name"]="attr_atkp_blue_all"
}, },
[66]={ [66]={
["id"]=66,
["name"]="attr_atkp_purple_all"
}, },
[67]={ [67]={
["id"]=67,
["name"]="atk_all"
}, },
[68]={ [68]={
["id"]=68,
["name"]="attr_hp_all"
}, },
[69]={ [69]={
["id"]=69,
["name"]="attr_dmgdec_all"
}, },
[70]={ [70]={
["id"]=70,
["name"]="attr_crit_all"
}, },
[71]={ [71]={
["id"]=71,
["name"]="attr_crit_time_all"
}, },
[72]={ [72]={
["id"]=72,
["name"]="attr_normal_hurtp_all"
}, },
[73]={ [73]={
["id"]=73,
["name"]="attr_skill_hurtp_all"
}, },
[74]={ [74]={
["id"]=74,
["name"]="attr_atkp_all"
}, },
[75]={ [75]={
["id"]=75,
["name"]="attr_atk"
}, },
[76]={ [76]={
["id"]=76,
["name"]="attr_hp"
}, },
[77]={ [77]={
["id"]=77,
["name"]="attr_normal_hurt"
}, },
[78]={ [78]={
["id"]=78,
["name"]="attr_skill_hurt"
}, },
[79]={ [79]={
["id"]=79,
["name"]="dmgdec"
}, },
[80]={ [80]={
["id"]=80,
["name"]="attr_hpp_all"
}, },
[81]={ [81]={
["id"]=81,
["name"]="attr_monster_dmg"
}, },
[82]={ [82]={
["id"]=82,
["name"]="attr_boss_dmg"
}, },
[83]={ [83]={
["id"]=83,
["name"]="attr_normal_hurtp"
}, },
[84]={ [84]={
["id"]=84,
["name"]="attr_skill_hurtp"
}, },
[85]={ [85]={
["id"]=85,
["name"]="attr_hpp_red_all"
}, },
[86]={ [86]={
["id"]=86,
["name"]="attr_hpp_yellow_all"
}, },
[87]={ [87]={
["id"]=87,
["name"]="attr_hpp_green_all"
}, },
[88]={ [88]={
["id"]=88,
["name"]="attr_hpp_blue_all"
}, },
[89]={ [89]={
["id"]=89,
["name"]="attr_hpp_purple_all"
}
}
local keys = {
name = {
["hp"]=attr[1],
["atk_red"]=attr[2],
["atk_yellow"]=attr[3],
["atk_green"]=attr[4],
["atk_blue"]=attr[5],
["atk_purple"]=attr[6],
["attr_crit_red"]=attr[7],
["attr_crit_yellow"]=attr[8],
["attr_crit_green"]=attr[9],
["attr_crit_blue"]=attr[10],
["attr_crit_purple"]=attr[11],
["attr_crit_time_red"]=attr[12],
["attr_crit_time_yellow"]=attr[13],
["attr_crit_time_green"]=attr[14],
["attr_crit_time_blue"]=attr[15],
["attr_crit_time_purple"]=attr[16],
["attr_cured_red"]=attr[17],
["attr_cured_yellow"]=attr[18],
["attr_cured_green"]=attr[19],
["attr_cured_blue"]=attr[20],
["attr_cured_purple"]=attr[21],
["attr_atkp_red"]=attr[22],
["attr_atkp_yellow"]=attr[23],
["attr_atkp_green"]=attr[24],
["attr_atkp_blue"]=attr[25],
["attr_atkp_purple"]=attr[26],
["attr_hpp_red"]=attr[27],
["attr_hpp_yellow"]=attr[28],
["attr_hpp_green"]=attr[29],
["attr_hpp_blue"]=attr[30],
["attr_hpp_purple"]=attr[31],
["attr_normal_hurt_red"]=attr[32],
["attr_normal_hurt_yellow"]=attr[33],
["attr_normal_hurt_green"]=attr[34],
["attr_normal_hurt_blue"]=attr[35],
["attr_normal_hurt_purple"]=attr[36],
["attr_skill_hurt_red"]=attr[37],
["attr_skill_hurt_yellow"]=attr[38],
["attr_skill_hurt_green"]=attr[39],
["attr_skill_hurt_blue"]=attr[40],
["attr_skill_hurt_purple"]=attr[41],
["attr_normal_hurtp_red"]=attr[42],
["attr_normal_hurtp_yellow"]=attr[43],
["attr_normal_hurtp_green"]=attr[44],
["attr_normal_hurtp_blue"]=attr[45],
["attr_normal_hurtp_purple"]=attr[46],
["attr_skill_hurtp_red"]=attr[47],
["attr_skill_hurtp_yellow"]=attr[48],
["attr_skill_hurtp_green"]=attr[49],
["attr_skill_hurtp_blue"]=attr[50],
["attr_skill_hurtp_purple"]=attr[51],
["attr_hp_red"]=attr[52],
["attr_hp_yellow"]=attr[53],
["attr_hp_green"]=attr[54],
["attr_hp_blue"]=attr[55],
["attr_hp_purple"]=attr[56],
["attr_all_hurtp_red"]=attr[57],
["attr_all_hurtp_yellow"]=attr[58],
["attr_all_hurtp_green"]=attr[59],
["attr_all_hurtp_blue"]=attr[60],
["attr_all_hurtp_purple"]=attr[61],
["attr_atkp_red_all"]=attr[62],
["attr_atkp_yellow_all"]=attr[63],
["attr_atkp_green_all"]=attr[64],
["attr_atkp_blue_all"]=attr[65],
["attr_atkp_purple_all"]=attr[66],
["atk_all"]=attr[67],
["attr_hp_all"]=attr[68],
["attr_dmgdec_all"]=attr[69],
["attr_crit_all"]=attr[70],
["attr_crit_time_all"]=attr[71],
["attr_normal_hurtp_all"]=attr[72],
["attr_skill_hurtp_all"]=attr[73],
["attr_atkp_all"]=attr[74],
["attr_atk"]=attr[75],
["attr_hp"]=attr[76],
["attr_normal_hurt"]=attr[77],
["attr_skill_hurt"]=attr[78],
["dmgdec"]=attr[79],
["attr_hpp_all"]=attr[80],
["attr_monster_dmg"]=attr[81],
["attr_boss_dmg"]=attr[82],
["attr_normal_hurtp"]=attr[83],
["attr_skill_hurtp"]=attr[84],
["attr_hpp_red_all"]=attr[85],
["attr_hpp_yellow_all"]=attr[86],
["attr_hpp_green_all"]=attr[87],
["attr_hpp_blue_all"]=attr[88],
["attr_hpp_purple_all"]=attr[89]
} }
} }
local config = { local config = {
data=attr, data=attr,count=89
keys=keys,
count=89
} }
return config return config

View File

@ -6,10 +6,10 @@ local tutorial = {
["value"]="Claim chest to unlock new hero" ["value"]="Claim chest to unlock new hero"
}, },
["tutorial_txt_3"]={ ["tutorial_txt_3"]={
["value"]="Claim chest to obtain Hero Shard"
}, },
["tutorial_txt_4"]={ ["tutorial_txt_4"]={
["value"]="Claim chest to obtain your 5th Hero"
}, },
["tutorial_txt_5"]={ ["tutorial_txt_5"]={
["value"]="Get more heroes in the shop!" ["value"]="Get more heroes in the shop!"

View File

@ -1,513 +1,273 @@
local attr = { local attr = {
[1]={ [1]={
["id"]=1, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="hp"
}, },
[2]={ [2]={
["id"]=2, ["desc"]="ATQ +{0}"
["desc"]="ATQ +{0}",
["name"]="atk_red"
}, },
[3]={ [3]={
["id"]=3, ["desc"]="ATQ +{0}"
["desc"]="ATQ +{0}",
["name"]="atk_yellow"
}, },
[4]={ [4]={
["id"]=4, ["desc"]="ATQ +{0}"
["desc"]="ATQ +{0}",
["name"]="atk_green"
}, },
[5]={ [5]={
["id"]=5, ["desc"]="ATQ +{0}"
["desc"]="ATQ +{0}",
["name"]="atk_blue"
}, },
[6]={ [6]={
["id"]=6, ["desc"]="ATQ +{0}"
["desc"]="ATQ +{0}",
["name"]="atk_purple"
}, },
[7]={ [7]={
["id"]=7, ["desc"]="Tasa de golpe crítico +{0}"
["desc"]="Tasa de golpe crítico +{0}",
["name"]="attr_crit_red"
}, },
[8]={ [8]={
["id"]=8, ["desc"]="Tasa de golpe crítico +{0}"
["desc"]="Tasa de golpe crítico +{0}",
["name"]="attr_crit_yellow"
}, },
[9]={ [9]={
["id"]=9, ["desc"]="Tasa de golpe crítico +{0}"
["desc"]="Tasa de golpe crítico +{0}",
["name"]="attr_crit_green"
}, },
[10]={ [10]={
["id"]=10, ["desc"]="Tasa de golpe crítico +{0}"
["desc"]="Tasa de golpe crítico +{0}",
["name"]="attr_crit_blue"
}, },
[11]={ [11]={
["id"]=11, ["desc"]="Tasa de golpe crítico +{0}"
["desc"]="Tasa de golpe crítico +{0}",
["name"]="attr_crit_purple"
}, },
[12]={ [12]={
["id"]=12, ["desc"]="Daño de golpe crítico aumenta en {0}"
["desc"]="Daño de golpe crítico aumenta en {0}",
["name"]="attr_crit_time_red"
}, },
[13]={ [13]={
["id"]=13, ["desc"]="Daño de golpe crítico aumenta en {0}"
["desc"]="Daño de golpe crítico aumenta en {0}",
["name"]="attr_crit_time_yellow"
}, },
[14]={ [14]={
["id"]=14, ["desc"]="Daño de golpe crítico aumenta en {0}"
["desc"]="Daño de golpe crítico aumenta en {0}",
["name"]="attr_crit_time_green"
}, },
[15]={ [15]={
["id"]=15, ["desc"]="Daño de golpe crítico aumenta en {0}"
["desc"]="Daño de golpe crítico aumenta en {0}",
["name"]="attr_crit_time_blue"
}, },
[16]={ [16]={
["id"]=16, ["desc"]="Daño de golpe crítico aumenta en {0}"
["desc"]="Daño de golpe crítico aumenta en {0}",
["name"]="attr_crit_time_purple"
}, },
[17]={ [17]={
["id"]=17, ["desc"]="Efecto curativo aumenta en {0}"
["desc"]="Efecto curativo aumenta en {0}",
["name"]="attr_cured_red"
}, },
[18]={ [18]={
["id"]=18, ["desc"]="Efecto curativo aumenta en {0}"
["desc"]="Efecto curativo aumenta en {0}",
["name"]="attr_cured_yellow"
}, },
[19]={ [19]={
["id"]=19, ["desc"]="Efecto curativo aumenta en {0}"
["desc"]="Efecto curativo aumenta en {0}",
["name"]="attr_cured_green"
}, },
[20]={ [20]={
["id"]=20, ["desc"]="Efecto curativo aumenta en {0}"
["desc"]="Efecto curativo aumenta en {0}",
["name"]="attr_cured_blue"
}, },
[21]={ [21]={
["id"]=21, ["desc"]="Efecto curativo aumenta en {0}"
["desc"]="Efecto curativo aumenta en {0}",
["name"]="attr_cured_purple"
}, },
[22]={ [22]={
["id"]=22,
["name"]="attr_atkp_red"
}, },
[23]={ [23]={
["id"]=23,
["name"]="attr_atkp_yellow"
}, },
[24]={ [24]={
["id"]=24,
["name"]="attr_atkp_green"
}, },
[25]={ [25]={
["id"]=25,
["name"]="attr_atkp_blue"
}, },
[26]={ [26]={
["id"]=26,
["name"]="attr_atkp_purple"
}, },
[27]={ [27]={
["id"]=27, ["desc"]="Vida aumenta en {0}"
["desc"]="Vida aumenta en {0}",
["name"]="attr_hpp_red"
}, },
[28]={ [28]={
["id"]=28, ["desc"]="Vida aumenta en {0}"
["desc"]="Vida aumenta en {0}",
["name"]="attr_hpp_yellow"
}, },
[29]={ [29]={
["id"]=29, ["desc"]="Vida aumenta en {0}"
["desc"]="Vida aumenta en {0}",
["name"]="attr_hpp_green"
}, },
[30]={ [30]={
["id"]=30, ["desc"]="Vida aumenta en {0}"
["desc"]="Vida aumenta en {0}",
["name"]="attr_hpp_blue"
}, },
[31]={ [31]={
["id"]=31, ["desc"]="Vida aumenta en {0}"
["desc"]="Vida aumenta en {0}",
["name"]="attr_hpp_purple"
}, },
[32]={ [32]={
["id"]=32, ["desc"]="Daño de ataque común aumenta en {0} puntos"
["desc"]="Daño de ataque común aumenta en {0} puntos",
["name"]="attr_normal_hurt_red"
}, },
[33]={ [33]={
["id"]=33, ["desc"]="Daño de ataque común aumenta en {0} puntos"
["desc"]="Daño de ataque común aumenta en {0} puntos",
["name"]="attr_normal_hurt_yellow"
}, },
[34]={ [34]={
["id"]=34, ["desc"]="Daño de ataque común aumenta en {0} puntos"
["desc"]="Daño de ataque común aumenta en {0} puntos",
["name"]="attr_normal_hurt_green"
}, },
[35]={ [35]={
["id"]=35, ["desc"]="Daño de ataque común aumenta en {0} puntos"
["desc"]="Daño de ataque común aumenta en {0} puntos",
["name"]="attr_normal_hurt_blue"
}, },
[36]={ [36]={
["id"]=36, ["desc"]="Daño de ataque común aumenta en {0} puntos"
["desc"]="Daño de ataque común aumenta en {0} puntos",
["name"]="attr_normal_hurt_purple"
}, },
[37]={ [37]={
["id"]=37, ["desc"]="Daño de habilidad aumenta en {0} puntos"
["desc"]="Daño de habilidad aumenta en {0} puntos",
["name"]="attr_skill_hurt_red"
}, },
[38]={ [38]={
["id"]=38, ["desc"]="Daño de habilidad aumenta en {0} puntos"
["desc"]="Daño de habilidad aumenta en {0} puntos",
["name"]="attr_skill_hurt_yellow"
}, },
[39]={ [39]={
["id"]=39, ["desc"]="Daño de habilidad aumenta en {0} puntos"
["desc"]="Daño de habilidad aumenta en {0} puntos",
["name"]="attr_skill_hurt_green"
}, },
[40]={ [40]={
["id"]=40, ["desc"]="Daño de habilidad aumenta en {0} puntos"
["desc"]="Daño de habilidad aumenta en {0} puntos",
["name"]="attr_skill_hurt_blue"
}, },
[41]={ [41]={
["id"]=41, ["desc"]="Daño de habilidad aumenta en {0} puntos"
["desc"]="Daño de habilidad aumenta en {0} puntos",
["name"]="attr_skill_hurt_purple"
}, },
[42]={ [42]={
["id"]=42, ["desc"]="Daño de ataque común aumenta en {0}"
["desc"]="Daño de ataque común aumenta en {0}",
["name"]="attr_normal_hurtp_red"
}, },
[43]={ [43]={
["id"]=43, ["desc"]="Daño de ataque común aumenta en {0}"
["desc"]="Daño de ataque común aumenta en {0}",
["name"]="attr_normal_hurtp_yellow"
}, },
[44]={ [44]={
["id"]=44, ["desc"]="Daño de ataque común aumenta en {0}"
["desc"]="Daño de ataque común aumenta en {0}",
["name"]="attr_normal_hurtp_green"
}, },
[45]={ [45]={
["id"]=45, ["desc"]="Daño de ataque común aumenta en {0}"
["desc"]="Daño de ataque común aumenta en {0}",
["name"]="attr_normal_hurtp_blue"
}, },
[46]={ [46]={
["id"]=46, ["desc"]="Daño de ataque común aumenta en {0}"
["desc"]="Daño de ataque común aumenta en {0}",
["name"]="attr_normal_hurtp_purple"
}, },
[47]={ [47]={
["id"]=47, ["desc"]="Daño de habilidad aumenta en {0}"
["desc"]="Daño de habilidad aumenta en {0}",
["name"]="attr_skill_hurtp_red"
}, },
[48]={ [48]={
["id"]=48, ["desc"]="Daño de habilidad aumenta en {0}"
["desc"]="Daño de habilidad aumenta en {0}",
["name"]="attr_skill_hurtp_yellow"
}, },
[49]={ [49]={
["id"]=49, ["desc"]="Daño de habilidad aumenta en {0}"
["desc"]="Daño de habilidad aumenta en {0}",
["name"]="attr_skill_hurtp_green"
}, },
[50]={ [50]={
["id"]=50, ["desc"]="Daño de habilidad aumenta en {0}"
["desc"]="Daño de habilidad aumenta en {0}",
["name"]="attr_skill_hurtp_blue"
}, },
[51]={ [51]={
["id"]=51, ["desc"]="Daño de habilidad aumenta en {0}"
["desc"]="Daño de habilidad aumenta en {0}",
["name"]="attr_skill_hurtp_purple"
}, },
[52]={ [52]={
["id"]=52, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hp_red"
}, },
[53]={ [53]={
["id"]=53, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hp_yellow"
}, },
[54]={ [54]={
["id"]=54, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hp_green"
}, },
[55]={ [55]={
["id"]=55, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hp_blue"
}, },
[56]={ [56]={
["id"]=56, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hp_purple"
}, },
[57]={ [57]={
["id"]=57, ["desc"]="Todo el daño aumenta en {0}"
["desc"]="Todo el daño aumenta en {0}",
["name"]="attr_all_hurtp_red"
}, },
[58]={ [58]={
["id"]=58, ["desc"]="Todo el daño aumenta en {0}"
["desc"]="Todo el daño aumenta en {0}",
["name"]="attr_all_hurtp_yellow"
}, },
[59]={ [59]={
["id"]=59, ["desc"]="Todo el daño aumenta en {0}"
["desc"]="Todo el daño aumenta en {0}",
["name"]="attr_all_hurtp_green"
}, },
[60]={ [60]={
["id"]=60, ["desc"]="Todo el daño aumenta en {0}"
["desc"]="Todo el daño aumenta en {0}",
["name"]="attr_all_hurtp_blue"
}, },
[61]={ [61]={
["id"]=61, ["desc"]="Todo el daño aumenta en {0}"
["desc"]="Todo el daño aumenta en {0}",
["name"]="attr_all_hurtp_purple"
}, },
[62]={ [62]={
["id"]=62,
["name"]="attr_atkp_red_all"
}, },
[63]={ [63]={
["id"]=63,
["name"]="attr_atkp_yellow_all"
}, },
[64]={ [64]={
["id"]=64,
["name"]="attr_atkp_green_all"
}, },
[65]={ [65]={
["id"]=65,
["name"]="attr_atkp_blue_all"
}, },
[66]={ [66]={
["id"]=66,
["name"]="attr_atkp_purple_all"
}, },
[67]={ [67]={
["id"]=67,
["name"]="atk_all"
}, },
[68]={ [68]={
["id"]=68,
["name"]="attr_hp_all"
}, },
[69]={ [69]={
["id"]=69,
["name"]="attr_dmgdec_all"
}, },
[70]={ [70]={
["id"]=70,
["name"]="attr_crit_all"
}, },
[71]={ [71]={
["id"]=71,
["name"]="attr_crit_time_all"
}, },
[72]={ [72]={
["id"]=72,
["name"]="attr_normal_hurtp_all"
}, },
[73]={ [73]={
["id"]=73,
["name"]="attr_skill_hurtp_all"
}, },
[74]={ [74]={
["id"]=74,
["name"]="attr_atkp_all"
}, },
[75]={ [75]={
["id"]=75,
["name"]="attr_atk"
}, },
[76]={ [76]={
["id"]=76,
["name"]="attr_hp"
}, },
[77]={ [77]={
["id"]=77,
["name"]="attr_normal_hurt"
}, },
[78]={ [78]={
["id"]=78,
["name"]="attr_skill_hurt"
}, },
[79]={ [79]={
["id"]=79,
["name"]="dmgdec"
}, },
[80]={ [80]={
["id"]=80,
["name"]="attr_hpp_all"
}, },
[81]={ [81]={
["id"]=81,
["name"]="attr_monster_dmg"
}, },
[82]={ [82]={
["id"]=82,
["name"]="attr_boss_dmg"
}, },
[83]={ [83]={
["id"]=83,
["name"]="attr_normal_hurtp"
}, },
[84]={ [84]={
["id"]=84,
["name"]="attr_skill_hurtp"
}, },
[85]={ [85]={
["id"]=85,
["name"]="attr_hpp_red_all"
}, },
[86]={ [86]={
["id"]=86,
["name"]="attr_hpp_yellow_all"
}, },
[87]={ [87]={
["id"]=87,
["name"]="attr_hpp_green_all"
}, },
[88]={ [88]={
["id"]=88,
["name"]="attr_hpp_blue_all"
}, },
[89]={ [89]={
["id"]=89,
["name"]="attr_hpp_purple_all"
}
}
local keys = {
name = {
["hp"]=attr[1],
["atk_red"]=attr[2],
["atk_yellow"]=attr[3],
["atk_green"]=attr[4],
["atk_blue"]=attr[5],
["atk_purple"]=attr[6],
["attr_crit_red"]=attr[7],
["attr_crit_yellow"]=attr[8],
["attr_crit_green"]=attr[9],
["attr_crit_blue"]=attr[10],
["attr_crit_purple"]=attr[11],
["attr_crit_time_red"]=attr[12],
["attr_crit_time_yellow"]=attr[13],
["attr_crit_time_green"]=attr[14],
["attr_crit_time_blue"]=attr[15],
["attr_crit_time_purple"]=attr[16],
["attr_cured_red"]=attr[17],
["attr_cured_yellow"]=attr[18],
["attr_cured_green"]=attr[19],
["attr_cured_blue"]=attr[20],
["attr_cured_purple"]=attr[21],
["attr_atkp_red"]=attr[22],
["attr_atkp_yellow"]=attr[23],
["attr_atkp_green"]=attr[24],
["attr_atkp_blue"]=attr[25],
["attr_atkp_purple"]=attr[26],
["attr_hpp_red"]=attr[27],
["attr_hpp_yellow"]=attr[28],
["attr_hpp_green"]=attr[29],
["attr_hpp_blue"]=attr[30],
["attr_hpp_purple"]=attr[31],
["attr_normal_hurt_red"]=attr[32],
["attr_normal_hurt_yellow"]=attr[33],
["attr_normal_hurt_green"]=attr[34],
["attr_normal_hurt_blue"]=attr[35],
["attr_normal_hurt_purple"]=attr[36],
["attr_skill_hurt_red"]=attr[37],
["attr_skill_hurt_yellow"]=attr[38],
["attr_skill_hurt_green"]=attr[39],
["attr_skill_hurt_blue"]=attr[40],
["attr_skill_hurt_purple"]=attr[41],
["attr_normal_hurtp_red"]=attr[42],
["attr_normal_hurtp_yellow"]=attr[43],
["attr_normal_hurtp_green"]=attr[44],
["attr_normal_hurtp_blue"]=attr[45],
["attr_normal_hurtp_purple"]=attr[46],
["attr_skill_hurtp_red"]=attr[47],
["attr_skill_hurtp_yellow"]=attr[48],
["attr_skill_hurtp_green"]=attr[49],
["attr_skill_hurtp_blue"]=attr[50],
["attr_skill_hurtp_purple"]=attr[51],
["attr_hp_red"]=attr[52],
["attr_hp_yellow"]=attr[53],
["attr_hp_green"]=attr[54],
["attr_hp_blue"]=attr[55],
["attr_hp_purple"]=attr[56],
["attr_all_hurtp_red"]=attr[57],
["attr_all_hurtp_yellow"]=attr[58],
["attr_all_hurtp_green"]=attr[59],
["attr_all_hurtp_blue"]=attr[60],
["attr_all_hurtp_purple"]=attr[61],
["attr_atkp_red_all"]=attr[62],
["attr_atkp_yellow_all"]=attr[63],
["attr_atkp_green_all"]=attr[64],
["attr_atkp_blue_all"]=attr[65],
["attr_atkp_purple_all"]=attr[66],
["atk_all"]=attr[67],
["attr_hp_all"]=attr[68],
["attr_dmgdec_all"]=attr[69],
["attr_crit_all"]=attr[70],
["attr_crit_time_all"]=attr[71],
["attr_normal_hurtp_all"]=attr[72],
["attr_skill_hurtp_all"]=attr[73],
["attr_atkp_all"]=attr[74],
["attr_atk"]=attr[75],
["attr_hp"]=attr[76],
["attr_normal_hurt"]=attr[77],
["attr_skill_hurt"]=attr[78],
["dmgdec"]=attr[79],
["attr_hpp_all"]=attr[80],
["attr_monster_dmg"]=attr[81],
["attr_boss_dmg"]=attr[82],
["attr_normal_hurtp"]=attr[83],
["attr_skill_hurtp"]=attr[84],
["attr_hpp_red_all"]=attr[85],
["attr_hpp_yellow_all"]=attr[86],
["attr_hpp_green_all"]=attr[87],
["attr_hpp_blue_all"]=attr[88],
["attr_hpp_purple_all"]=attr[89]
} }
} }
local config = { local config = {
data=attr, data=attr,count=89
keys=keys,
count=89
} }
return config return config

View File

@ -6,10 +6,10 @@ local tutorial = {
["value"]="Colecta el cofre y desbloquea nuevos héroes" ["value"]="Colecta el cofre y desbloquea nuevos héroes"
}, },
["tutorial_txt_3"]={ ["tutorial_txt_3"]={
["value"]="Colecta el cofre para obtener fragmentos de héroes"
}, },
["tutorial_txt_4"]={ ["tutorial_txt_4"]={
["value"]="Colecta el cofre para obtener el quinto héroe"
}, },
["tutorial_txt_5"]={ ["tutorial_txt_5"]={
["value"]="¡Consigue más héroes en la Tienda!" ["value"]="¡Consigue más héroes en la Tienda!"

View File

@ -1,457 +1,273 @@
local attr = { local attr = {
[1]={ [1]={
["id"]=1,
["name"]="hp"
}, },
[2]={ [2]={
["id"]=2,
["name"]="atk_red"
}, },
[3]={ [3]={
["id"]=3,
["name"]="atk_yellow"
}, },
[4]={ [4]={
["id"]=4,
["name"]="atk_green"
}, },
[5]={ [5]={
["id"]=5,
["name"]="atk_blue"
}, },
[6]={ [6]={
["id"]=6,
["name"]="atk_purple"
}, },
[7]={ [7]={
["id"]=7,
["name"]="attr_crit_red"
}, },
[8]={ [8]={
["id"]=8,
["name"]="attr_crit_yellow"
}, },
[9]={ [9]={
["id"]=9,
["name"]="attr_crit_green"
}, },
[10]={ [10]={
["id"]=10,
["name"]="attr_crit_blue"
}, },
[11]={ [11]={
["id"]=11,
["name"]="attr_crit_purple"
}, },
[12]={ [12]={
["id"]=12,
["name"]="attr_crit_time_red"
}, },
[13]={ [13]={
["id"]=13,
["name"]="attr_crit_time_yellow"
}, },
[14]={ [14]={
["id"]=14,
["name"]="attr_crit_time_green"
}, },
[15]={ [15]={
["id"]=15,
["name"]="attr_crit_time_blue"
}, },
[16]={ [16]={
["id"]=16,
["name"]="attr_crit_time_purple"
}, },
[17]={ [17]={
["id"]=17,
["name"]="attr_cured_red"
}, },
[18]={ [18]={
["id"]=18,
["name"]="attr_cured_yellow"
}, },
[19]={ [19]={
["id"]=19,
["name"]="attr_cured_green"
}, },
[20]={ [20]={
["id"]=20,
["name"]="attr_cured_blue"
}, },
[21]={ [21]={
["id"]=21,
["name"]="attr_cured_purple"
}, },
[22]={ [22]={
["id"]=22,
["name"]="attr_atkp_red"
}, },
[23]={ [23]={
["id"]=23,
["name"]="attr_atkp_yellow"
}, },
[24]={ [24]={
["id"]=24,
["name"]="attr_atkp_green"
}, },
[25]={ [25]={
["id"]=25,
["name"]="attr_atkp_blue"
}, },
[26]={ [26]={
["id"]=26,
["name"]="attr_atkp_purple"
}, },
[27]={ [27]={
["id"]=27,
["name"]="attr_hpp_red"
}, },
[28]={ [28]={
["id"]=28,
["name"]="attr_hpp_yellow"
}, },
[29]={ [29]={
["id"]=29,
["name"]="attr_hpp_green"
}, },
[30]={ [30]={
["id"]=30,
["name"]="attr_hpp_blue"
}, },
[31]={ [31]={
["id"]=31,
["name"]="attr_hpp_purple"
}, },
[32]={ [32]={
["id"]=32,
["name"]="attr_normal_hurt_red"
}, },
[33]={ [33]={
["id"]=33,
["name"]="attr_normal_hurt_yellow"
}, },
[34]={ [34]={
["id"]=34,
["name"]="attr_normal_hurt_green"
}, },
[35]={ [35]={
["id"]=35,
["name"]="attr_normal_hurt_blue"
}, },
[36]={ [36]={
["id"]=36,
["name"]="attr_normal_hurt_purple"
}, },
[37]={ [37]={
["id"]=37,
["name"]="attr_skill_hurt_red"
}, },
[38]={ [38]={
["id"]=38,
["name"]="attr_skill_hurt_yellow"
}, },
[39]={ [39]={
["id"]=39,
["name"]="attr_skill_hurt_green"
}, },
[40]={ [40]={
["id"]=40,
["name"]="attr_skill_hurt_blue"
}, },
[41]={ [41]={
["id"]=41,
["name"]="attr_skill_hurt_purple"
}, },
[42]={ [42]={
["id"]=42,
["name"]="attr_normal_hurtp_red"
}, },
[43]={ [43]={
["id"]=43,
["name"]="attr_normal_hurtp_yellow"
}, },
[44]={ [44]={
["id"]=44,
["name"]="attr_normal_hurtp_green"
}, },
[45]={ [45]={
["id"]=45,
["name"]="attr_normal_hurtp_blue"
}, },
[46]={ [46]={
["id"]=46,
["name"]="attr_normal_hurtp_purple"
}, },
[47]={ [47]={
["id"]=47,
["name"]="attr_skill_hurtp_red"
}, },
[48]={ [48]={
["id"]=48,
["name"]="attr_skill_hurtp_yellow"
}, },
[49]={ [49]={
["id"]=49,
["name"]="attr_skill_hurtp_green"
}, },
[50]={ [50]={
["id"]=50,
["name"]="attr_skill_hurtp_blue"
}, },
[51]={ [51]={
["id"]=51,
["name"]="attr_skill_hurtp_purple"
}, },
[52]={ [52]={
["id"]=52,
["name"]="attr_hp_red"
}, },
[53]={ [53]={
["id"]=53,
["name"]="attr_hp_yellow"
}, },
[54]={ [54]={
["id"]=54,
["name"]="attr_hp_green"
}, },
[55]={ [55]={
["id"]=55,
["name"]="attr_hp_blue"
}, },
[56]={ [56]={
["id"]=56,
["name"]="attr_hp_purple"
}, },
[57]={ [57]={
["id"]=57,
["name"]="attr_all_hurtp_red"
}, },
[58]={ [58]={
["id"]=58,
["name"]="attr_all_hurtp_yellow"
}, },
[59]={ [59]={
["id"]=59,
["name"]="attr_all_hurtp_green"
}, },
[60]={ [60]={
["id"]=60,
["name"]="attr_all_hurtp_blue"
}, },
[61]={ [61]={
["id"]=61,
["name"]="attr_all_hurtp_purple"
}, },
[62]={ [62]={
["id"]=62,
["name"]="attr_atkp_red_all"
}, },
[63]={ [63]={
["id"]=63,
["name"]="attr_atkp_yellow_all"
}, },
[64]={ [64]={
["id"]=64,
["name"]="attr_atkp_green_all"
}, },
[65]={ [65]={
["id"]=65,
["name"]="attr_atkp_blue_all"
}, },
[66]={ [66]={
["id"]=66,
["name"]="attr_atkp_purple_all"
}, },
[67]={ [67]={
["id"]=67,
["name"]="atk_all"
}, },
[68]={ [68]={
["id"]=68,
["name"]="attr_hp_all"
}, },
[69]={ [69]={
["id"]=69,
["name"]="attr_dmgdec_all"
}, },
[70]={ [70]={
["id"]=70,
["name"]="attr_crit_all"
}, },
[71]={ [71]={
["id"]=71,
["name"]="attr_crit_time_all"
}, },
[72]={ [72]={
["id"]=72,
["name"]="attr_normal_hurtp_all"
}, },
[73]={ [73]={
["id"]=73,
["name"]="attr_skill_hurtp_all"
}, },
[74]={ [74]={
["id"]=74,
["name"]="attr_atkp_all"
}, },
[75]={ [75]={
["id"]=75,
["name"]="attr_atk"
}, },
[76]={ [76]={
["id"]=76,
["name"]="attr_hp"
}, },
[77]={ [77]={
["id"]=77,
["name"]="attr_normal_hurt"
}, },
[78]={ [78]={
["id"]=78,
["name"]="attr_skill_hurt"
}, },
[79]={ [79]={
["id"]=79,
["name"]="dmgdec"
}, },
[80]={ [80]={
["id"]=80,
["name"]="attr_hpp_all"
}, },
[81]={ [81]={
["id"]=81,
["name"]="attr_monster_dmg"
}, },
[82]={ [82]={
["id"]=82,
["name"]="attr_boss_dmg"
}, },
[83]={ [83]={
["id"]=83,
["name"]="attr_normal_hurtp"
}, },
[84]={ [84]={
["id"]=84,
["name"]="attr_skill_hurtp"
}, },
[85]={ [85]={
["id"]=85,
["name"]="attr_hpp_red_all"
}, },
[86]={ [86]={
["id"]=86,
["name"]="attr_hpp_yellow_all"
}, },
[87]={ [87]={
["id"]=87,
["name"]="attr_hpp_green_all"
}, },
[88]={ [88]={
["id"]=88,
["name"]="attr_hpp_blue_all"
}, },
[89]={ [89]={
["id"]=89,
["name"]="attr_hpp_purple_all"
}
}
local keys = {
name = {
["hp"]=attr[1],
["atk_red"]=attr[2],
["atk_yellow"]=attr[3],
["atk_green"]=attr[4],
["atk_blue"]=attr[5],
["atk_purple"]=attr[6],
["attr_crit_red"]=attr[7],
["attr_crit_yellow"]=attr[8],
["attr_crit_green"]=attr[9],
["attr_crit_blue"]=attr[10],
["attr_crit_purple"]=attr[11],
["attr_crit_time_red"]=attr[12],
["attr_crit_time_yellow"]=attr[13],
["attr_crit_time_green"]=attr[14],
["attr_crit_time_blue"]=attr[15],
["attr_crit_time_purple"]=attr[16],
["attr_cured_red"]=attr[17],
["attr_cured_yellow"]=attr[18],
["attr_cured_green"]=attr[19],
["attr_cured_blue"]=attr[20],
["attr_cured_purple"]=attr[21],
["attr_atkp_red"]=attr[22],
["attr_atkp_yellow"]=attr[23],
["attr_atkp_green"]=attr[24],
["attr_atkp_blue"]=attr[25],
["attr_atkp_purple"]=attr[26],
["attr_hpp_red"]=attr[27],
["attr_hpp_yellow"]=attr[28],
["attr_hpp_green"]=attr[29],
["attr_hpp_blue"]=attr[30],
["attr_hpp_purple"]=attr[31],
["attr_normal_hurt_red"]=attr[32],
["attr_normal_hurt_yellow"]=attr[33],
["attr_normal_hurt_green"]=attr[34],
["attr_normal_hurt_blue"]=attr[35],
["attr_normal_hurt_purple"]=attr[36],
["attr_skill_hurt_red"]=attr[37],
["attr_skill_hurt_yellow"]=attr[38],
["attr_skill_hurt_green"]=attr[39],
["attr_skill_hurt_blue"]=attr[40],
["attr_skill_hurt_purple"]=attr[41],
["attr_normal_hurtp_red"]=attr[42],
["attr_normal_hurtp_yellow"]=attr[43],
["attr_normal_hurtp_green"]=attr[44],
["attr_normal_hurtp_blue"]=attr[45],
["attr_normal_hurtp_purple"]=attr[46],
["attr_skill_hurtp_red"]=attr[47],
["attr_skill_hurtp_yellow"]=attr[48],
["attr_skill_hurtp_green"]=attr[49],
["attr_skill_hurtp_blue"]=attr[50],
["attr_skill_hurtp_purple"]=attr[51],
["attr_hp_red"]=attr[52],
["attr_hp_yellow"]=attr[53],
["attr_hp_green"]=attr[54],
["attr_hp_blue"]=attr[55],
["attr_hp_purple"]=attr[56],
["attr_all_hurtp_red"]=attr[57],
["attr_all_hurtp_yellow"]=attr[58],
["attr_all_hurtp_green"]=attr[59],
["attr_all_hurtp_blue"]=attr[60],
["attr_all_hurtp_purple"]=attr[61],
["attr_atkp_red_all"]=attr[62],
["attr_atkp_yellow_all"]=attr[63],
["attr_atkp_green_all"]=attr[64],
["attr_atkp_blue_all"]=attr[65],
["attr_atkp_purple_all"]=attr[66],
["atk_all"]=attr[67],
["attr_hp_all"]=attr[68],
["attr_dmgdec_all"]=attr[69],
["attr_crit_all"]=attr[70],
["attr_crit_time_all"]=attr[71],
["attr_normal_hurtp_all"]=attr[72],
["attr_skill_hurtp_all"]=attr[73],
["attr_atkp_all"]=attr[74],
["attr_atk"]=attr[75],
["attr_hp"]=attr[76],
["attr_normal_hurt"]=attr[77],
["attr_skill_hurt"]=attr[78],
["dmgdec"]=attr[79],
["attr_hpp_all"]=attr[80],
["attr_monster_dmg"]=attr[81],
["attr_boss_dmg"]=attr[82],
["attr_normal_hurtp"]=attr[83],
["attr_skill_hurtp"]=attr[84],
["attr_hpp_red_all"]=attr[85],
["attr_hpp_yellow_all"]=attr[86],
["attr_hpp_green_all"]=attr[87],
["attr_hpp_blue_all"]=attr[88],
["attr_hpp_purple_all"]=attr[89]
} }
} }
local config = { local config = {
data=attr, data=attr,count=89
keys=keys,
count=89
} }
return config return config

View File

@ -1,513 +1,273 @@
local attr = { local attr = {
[1]={ [1]={
["id"]=1, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="hp"
}, },
[2]={ [2]={
["id"]=2, ["desc"]="ATK +{0}"
["desc"]="ATK +{0}",
["name"]="atk_red"
}, },
[3]={ [3]={
["id"]=3, ["desc"]="ATK +{0}"
["desc"]="ATK +{0}",
["name"]="atk_yellow"
}, },
[4]={ [4]={
["id"]=4, ["desc"]="ATK +{0}"
["desc"]="ATK +{0}",
["name"]="atk_green"
}, },
[5]={ [5]={
["id"]=5, ["desc"]="ATK +{0}"
["desc"]="ATK +{0}",
["name"]="atk_blue"
}, },
[6]={ [6]={
["id"]=6, ["desc"]="ATK +{0}"
["desc"]="ATK +{0}",
["name"]="atk_purple"
}, },
[7]={ [7]={
["id"]=7, ["desc"]="Crit Rate +{0}"
["desc"]="Crit Rate +{0}",
["name"]="attr_crit_red"
}, },
[8]={ [8]={
["id"]=8, ["desc"]="Crit Rate +{0}"
["desc"]="Crit Rate +{0}",
["name"]="attr_crit_yellow"
}, },
[9]={ [9]={
["id"]=9, ["desc"]="Crit Rate +{0}"
["desc"]="Crit Rate +{0}",
["name"]="attr_crit_green"
}, },
[10]={ [10]={
["id"]=10, ["desc"]="Crit Rate +{0}"
["desc"]="Crit Rate +{0}",
["name"]="attr_crit_blue"
}, },
[11]={ [11]={
["id"]=11, ["desc"]="Crit Rate +{0}"
["desc"]="Crit Rate +{0}",
["name"]="attr_crit_purple"
}, },
[12]={ [12]={
["id"]=12, ["desc"]="Crit DMG +{0}"
["desc"]="Crit DMG +{0}",
["name"]="attr_crit_time_red"
}, },
[13]={ [13]={
["id"]=13, ["desc"]="Crit DMG +{0}"
["desc"]="Crit DMG +{0}",
["name"]="attr_crit_time_yellow"
}, },
[14]={ [14]={
["id"]=14, ["desc"]="Crit DMG +{0}"
["desc"]="Crit DMG +{0}",
["name"]="attr_crit_time_green"
}, },
[15]={ [15]={
["id"]=15, ["desc"]="Crit DMG +{0}"
["desc"]="Crit DMG +{0}",
["name"]="attr_crit_time_blue"
}, },
[16]={ [16]={
["id"]=16, ["desc"]="Crit DMG +{0}"
["desc"]="Crit DMG +{0}",
["name"]="attr_crit_time_purple"
}, },
[17]={ [17]={
["id"]=17, ["desc"]="Efek Heal +{0}"
["desc"]="Efek Heal +{0}",
["name"]="attr_cured_red"
}, },
[18]={ [18]={
["id"]=18, ["desc"]="Efek Heal +{0}"
["desc"]="Efek Heal +{0}",
["name"]="attr_cured_yellow"
}, },
[19]={ [19]={
["id"]=19, ["desc"]="Efek Heal +{0}"
["desc"]="Efek Heal +{0}",
["name"]="attr_cured_green"
}, },
[20]={ [20]={
["id"]=20, ["desc"]="Efek Heal +{0}"
["desc"]="Efek Heal +{0}",
["name"]="attr_cured_blue"
}, },
[21]={ [21]={
["id"]=21, ["desc"]="Efek Heal +{0}"
["desc"]="Efek Heal +{0}",
["name"]="attr_cured_purple"
}, },
[22]={ [22]={
["id"]=22,
["name"]="attr_atkp_red"
}, },
[23]={ [23]={
["id"]=23,
["name"]="attr_atkp_yellow"
}, },
[24]={ [24]={
["id"]=24,
["name"]="attr_atkp_green"
}, },
[25]={ [25]={
["id"]=25,
["name"]="attr_atkp_blue"
}, },
[26]={ [26]={
["id"]=26,
["name"]="attr_atkp_purple"
}, },
[27]={ [27]={
["id"]=27, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hpp_red"
}, },
[28]={ [28]={
["id"]=28, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hpp_yellow"
}, },
[29]={ [29]={
["id"]=29, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hpp_green"
}, },
[30]={ [30]={
["id"]=30, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hpp_blue"
}, },
[31]={ [31]={
["id"]=31, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hpp_purple"
}, },
[32]={ [32]={
["id"]=32, ["desc"]="DMG ATK Normal +{0}"
["desc"]="DMG ATK Normal +{0}",
["name"]="attr_normal_hurt_red"
}, },
[33]={ [33]={
["id"]=33, ["desc"]="DMG ATK Normal +{0}"
["desc"]="DMG ATK Normal +{0}",
["name"]="attr_normal_hurt_yellow"
}, },
[34]={ [34]={
["id"]=34, ["desc"]="DMG ATK Normal +{0}"
["desc"]="DMG ATK Normal +{0}",
["name"]="attr_normal_hurt_green"
}, },
[35]={ [35]={
["id"]=35, ["desc"]="DMG ATK Normal +{0}"
["desc"]="DMG ATK Normal +{0}",
["name"]="attr_normal_hurt_blue"
}, },
[36]={ [36]={
["id"]=36, ["desc"]="DMG ATK Normal +{0}"
["desc"]="DMG ATK Normal +{0}",
["name"]="attr_normal_hurt_purple"
}, },
[37]={ [37]={
["id"]=37, ["desc"]="Skill DMG +{0}"
["desc"]="Skill DMG +{0}",
["name"]="attr_skill_hurt_red"
}, },
[38]={ [38]={
["id"]=38, ["desc"]="Skill DMG +{0}"
["desc"]="Skill DMG +{0}",
["name"]="attr_skill_hurt_yellow"
}, },
[39]={ [39]={
["id"]=39, ["desc"]="Skill DMG +{0}"
["desc"]="Skill DMG +{0}",
["name"]="attr_skill_hurt_green"
}, },
[40]={ [40]={
["id"]=40, ["desc"]="Skill DMG +{0}"
["desc"]="Skill DMG +{0}",
["name"]="attr_skill_hurt_blue"
}, },
[41]={ [41]={
["id"]=41, ["desc"]="Skill DMG +{0}"
["desc"]="Skill DMG +{0}",
["name"]="attr_skill_hurt_purple"
}, },
[42]={ [42]={
["id"]=42, ["desc"]="DMG ATK Normal +{0}"
["desc"]="DMG ATK Normal +{0}",
["name"]="attr_normal_hurtp_red"
}, },
[43]={ [43]={
["id"]=43, ["desc"]="DMG ATK Normal +{0}"
["desc"]="DMG ATK Normal +{0}",
["name"]="attr_normal_hurtp_yellow"
}, },
[44]={ [44]={
["id"]=44, ["desc"]="DMG ATK Normal +{0}"
["desc"]="DMG ATK Normal +{0}",
["name"]="attr_normal_hurtp_green"
}, },
[45]={ [45]={
["id"]=45, ["desc"]="DMG ATK Normal +{0}"
["desc"]="DMG ATK Normal +{0}",
["name"]="attr_normal_hurtp_blue"
}, },
[46]={ [46]={
["id"]=46, ["desc"]="DMG ATK Normal +{0}"
["desc"]="DMG ATK Normal +{0}",
["name"]="attr_normal_hurtp_purple"
}, },
[47]={ [47]={
["id"]=47, ["desc"]="Skill DMG +{0}"
["desc"]="Skill DMG +{0}",
["name"]="attr_skill_hurtp_red"
}, },
[48]={ [48]={
["id"]=48, ["desc"]="Skill DMG +{0}"
["desc"]="Skill DMG +{0}",
["name"]="attr_skill_hurtp_yellow"
}, },
[49]={ [49]={
["id"]=49, ["desc"]="Skill DMG +{0}"
["desc"]="Skill DMG +{0}",
["name"]="attr_skill_hurtp_green"
}, },
[50]={ [50]={
["id"]=50, ["desc"]="Skill DMG +{0}"
["desc"]="Skill DMG +{0}",
["name"]="attr_skill_hurtp_blue"
}, },
[51]={ [51]={
["id"]=51, ["desc"]="Skill DMG +{0}"
["desc"]="Skill DMG +{0}",
["name"]="attr_skill_hurtp_purple"
}, },
[52]={ [52]={
["id"]=52, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hp_red"
}, },
[53]={ [53]={
["id"]=53, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hp_yellow"
}, },
[54]={ [54]={
["id"]=54, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hp_green"
}, },
[55]={ [55]={
["id"]=55, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hp_blue"
}, },
[56]={ [56]={
["id"]=56, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hp_purple"
}, },
[57]={ [57]={
["id"]=57, ["desc"]="Semua DMG meningkat {0}"
["desc"]="Semua DMG meningkat {0}",
["name"]="attr_all_hurtp_red"
}, },
[58]={ [58]={
["id"]=58, ["desc"]="Semua DMG meningkat {0}"
["desc"]="Semua DMG meningkat {0}",
["name"]="attr_all_hurtp_yellow"
}, },
[59]={ [59]={
["id"]=59, ["desc"]="Semua DMG meningkat {0}"
["desc"]="Semua DMG meningkat {0}",
["name"]="attr_all_hurtp_green"
}, },
[60]={ [60]={
["id"]=60, ["desc"]="Semua DMG meningkat {0}"
["desc"]="Semua DMG meningkat {0}",
["name"]="attr_all_hurtp_blue"
}, },
[61]={ [61]={
["id"]=61, ["desc"]="Semua DMG meningkat {0}"
["desc"]="Semua DMG meningkat {0}",
["name"]="attr_all_hurtp_purple"
}, },
[62]={ [62]={
["id"]=62,
["name"]="attr_atkp_red_all"
}, },
[63]={ [63]={
["id"]=63,
["name"]="attr_atkp_yellow_all"
}, },
[64]={ [64]={
["id"]=64,
["name"]="attr_atkp_green_all"
}, },
[65]={ [65]={
["id"]=65,
["name"]="attr_atkp_blue_all"
}, },
[66]={ [66]={
["id"]=66,
["name"]="attr_atkp_purple_all"
}, },
[67]={ [67]={
["id"]=67,
["name"]="atk_all"
}, },
[68]={ [68]={
["id"]=68,
["name"]="attr_hp_all"
}, },
[69]={ [69]={
["id"]=69,
["name"]="attr_dmgdec_all"
}, },
[70]={ [70]={
["id"]=70,
["name"]="attr_crit_all"
}, },
[71]={ [71]={
["id"]=71,
["name"]="attr_crit_time_all"
}, },
[72]={ [72]={
["id"]=72,
["name"]="attr_normal_hurtp_all"
}, },
[73]={ [73]={
["id"]=73,
["name"]="attr_skill_hurtp_all"
}, },
[74]={ [74]={
["id"]=74,
["name"]="attr_atkp_all"
}, },
[75]={ [75]={
["id"]=75,
["name"]="attr_atk"
}, },
[76]={ [76]={
["id"]=76,
["name"]="attr_hp"
}, },
[77]={ [77]={
["id"]=77,
["name"]="attr_normal_hurt"
}, },
[78]={ [78]={
["id"]=78,
["name"]="attr_skill_hurt"
}, },
[79]={ [79]={
["id"]=79,
["name"]="dmgdec"
}, },
[80]={ [80]={
["id"]=80,
["name"]="attr_hpp_all"
}, },
[81]={ [81]={
["id"]=81,
["name"]="attr_monster_dmg"
}, },
[82]={ [82]={
["id"]=82,
["name"]="attr_boss_dmg"
}, },
[83]={ [83]={
["id"]=83,
["name"]="attr_normal_hurtp"
}, },
[84]={ [84]={
["id"]=84,
["name"]="attr_skill_hurtp"
}, },
[85]={ [85]={
["id"]=85,
["name"]="attr_hpp_red_all"
}, },
[86]={ [86]={
["id"]=86,
["name"]="attr_hpp_yellow_all"
}, },
[87]={ [87]={
["id"]=87,
["name"]="attr_hpp_green_all"
}, },
[88]={ [88]={
["id"]=88,
["name"]="attr_hpp_blue_all"
}, },
[89]={ [89]={
["id"]=89,
["name"]="attr_hpp_purple_all"
}
}
local keys = {
name = {
["hp"]=attr[1],
["atk_red"]=attr[2],
["atk_yellow"]=attr[3],
["atk_green"]=attr[4],
["atk_blue"]=attr[5],
["atk_purple"]=attr[6],
["attr_crit_red"]=attr[7],
["attr_crit_yellow"]=attr[8],
["attr_crit_green"]=attr[9],
["attr_crit_blue"]=attr[10],
["attr_crit_purple"]=attr[11],
["attr_crit_time_red"]=attr[12],
["attr_crit_time_yellow"]=attr[13],
["attr_crit_time_green"]=attr[14],
["attr_crit_time_blue"]=attr[15],
["attr_crit_time_purple"]=attr[16],
["attr_cured_red"]=attr[17],
["attr_cured_yellow"]=attr[18],
["attr_cured_green"]=attr[19],
["attr_cured_blue"]=attr[20],
["attr_cured_purple"]=attr[21],
["attr_atkp_red"]=attr[22],
["attr_atkp_yellow"]=attr[23],
["attr_atkp_green"]=attr[24],
["attr_atkp_blue"]=attr[25],
["attr_atkp_purple"]=attr[26],
["attr_hpp_red"]=attr[27],
["attr_hpp_yellow"]=attr[28],
["attr_hpp_green"]=attr[29],
["attr_hpp_blue"]=attr[30],
["attr_hpp_purple"]=attr[31],
["attr_normal_hurt_red"]=attr[32],
["attr_normal_hurt_yellow"]=attr[33],
["attr_normal_hurt_green"]=attr[34],
["attr_normal_hurt_blue"]=attr[35],
["attr_normal_hurt_purple"]=attr[36],
["attr_skill_hurt_red"]=attr[37],
["attr_skill_hurt_yellow"]=attr[38],
["attr_skill_hurt_green"]=attr[39],
["attr_skill_hurt_blue"]=attr[40],
["attr_skill_hurt_purple"]=attr[41],
["attr_normal_hurtp_red"]=attr[42],
["attr_normal_hurtp_yellow"]=attr[43],
["attr_normal_hurtp_green"]=attr[44],
["attr_normal_hurtp_blue"]=attr[45],
["attr_normal_hurtp_purple"]=attr[46],
["attr_skill_hurtp_red"]=attr[47],
["attr_skill_hurtp_yellow"]=attr[48],
["attr_skill_hurtp_green"]=attr[49],
["attr_skill_hurtp_blue"]=attr[50],
["attr_skill_hurtp_purple"]=attr[51],
["attr_hp_red"]=attr[52],
["attr_hp_yellow"]=attr[53],
["attr_hp_green"]=attr[54],
["attr_hp_blue"]=attr[55],
["attr_hp_purple"]=attr[56],
["attr_all_hurtp_red"]=attr[57],
["attr_all_hurtp_yellow"]=attr[58],
["attr_all_hurtp_green"]=attr[59],
["attr_all_hurtp_blue"]=attr[60],
["attr_all_hurtp_purple"]=attr[61],
["attr_atkp_red_all"]=attr[62],
["attr_atkp_yellow_all"]=attr[63],
["attr_atkp_green_all"]=attr[64],
["attr_atkp_blue_all"]=attr[65],
["attr_atkp_purple_all"]=attr[66],
["atk_all"]=attr[67],
["attr_hp_all"]=attr[68],
["attr_dmgdec_all"]=attr[69],
["attr_crit_all"]=attr[70],
["attr_crit_time_all"]=attr[71],
["attr_normal_hurtp_all"]=attr[72],
["attr_skill_hurtp_all"]=attr[73],
["attr_atkp_all"]=attr[74],
["attr_atk"]=attr[75],
["attr_hp"]=attr[76],
["attr_normal_hurt"]=attr[77],
["attr_skill_hurt"]=attr[78],
["dmgdec"]=attr[79],
["attr_hpp_all"]=attr[80],
["attr_monster_dmg"]=attr[81],
["attr_boss_dmg"]=attr[82],
["attr_normal_hurtp"]=attr[83],
["attr_skill_hurtp"]=attr[84],
["attr_hpp_red_all"]=attr[85],
["attr_hpp_yellow_all"]=attr[86],
["attr_hpp_green_all"]=attr[87],
["attr_hpp_blue_all"]=attr[88],
["attr_hpp_purple_all"]=attr[89]
} }
} }
local config = { local config = {
data=attr, data=attr,count=89
keys=keys,
count=89
} }
return config return config

View File

@ -6,10 +6,10 @@ local tutorial = {
["value"]="Klaim peti untuk membuka hero baru" ["value"]="Klaim peti untuk membuka hero baru"
}, },
["tutorial_txt_3"]={ ["tutorial_txt_3"]={
["value"]="Klaim peti untuk mendapatkan Shard Hero"
}, },
["tutorial_txt_4"]={ ["tutorial_txt_4"]={
["value"]="Klaim peti untuk mendapatkan Hero kelima"
}, },
["tutorial_txt_5"]={ ["tutorial_txt_5"]={
["value"]="Dapatkan lebih banyak Hero di Mall!" ["value"]="Dapatkan lebih banyak Hero di Mall!"

View File

@ -1,513 +1,273 @@
local attr = { local attr = {
[1]={ [1]={
["id"]=1, ["desc"]="HPが{0}増加する"
["desc"]="HPが{0}増加する",
["name"]="hp"
}, },
[2]={ [2]={
["id"]=2, ["desc"]="攻撃力が{0}増加する"
["desc"]="攻撃力が{0}増加する",
["name"]="atk_red"
}, },
[3]={ [3]={
["id"]=3, ["desc"]="攻撃力が{0}増加する"
["desc"]="攻撃力が{0}増加する",
["name"]="atk_yellow"
}, },
[4]={ [4]={
["id"]=4, ["desc"]="攻撃力が{0}増加する"
["desc"]="攻撃力が{0}増加する",
["name"]="atk_green"
}, },
[5]={ [5]={
["id"]=5, ["desc"]="攻撃力が{0}増加する"
["desc"]="攻撃力が{0}増加する",
["name"]="atk_blue"
}, },
[6]={ [6]={
["id"]=6, ["desc"]="攻撃力が{0}増加する"
["desc"]="攻撃力が{0}増加する",
["name"]="atk_purple"
}, },
[7]={ [7]={
["id"]=7, ["desc"]="クリティカル率が{0}増加する"
["desc"]="クリティカル率が{0}増加する",
["name"]="attr_crit_red"
}, },
[8]={ [8]={
["id"]=8, ["desc"]="クリティカル率が{0}増加する"
["desc"]="クリティカル率が{0}増加する",
["name"]="attr_crit_yellow"
}, },
[9]={ [9]={
["id"]=9, ["desc"]="クリティカル率が{0}増加する"
["desc"]="クリティカル率が{0}増加する",
["name"]="attr_crit_green"
}, },
[10]={ [10]={
["id"]=10, ["desc"]="クリティカル率が{0}増加する"
["desc"]="クリティカル率が{0}増加する",
["name"]="attr_crit_blue"
}, },
[11]={ [11]={
["id"]=11, ["desc"]="クリティカル率が{0}増加する"
["desc"]="クリティカル率が{0}増加する",
["name"]="attr_crit_purple"
}, },
[12]={ [12]={
["id"]=12, ["desc"]="クリティカルダメージが{0}増加する"
["desc"]="クリティカルダメージが{0}増加する",
["name"]="attr_crit_time_red"
}, },
[13]={ [13]={
["id"]=13, ["desc"]="クリティカルダメージが{0}増加する"
["desc"]="クリティカルダメージが{0}増加する",
["name"]="attr_crit_time_yellow"
}, },
[14]={ [14]={
["id"]=14, ["desc"]="クリティカルダメージが{0}増加する"
["desc"]="クリティカルダメージが{0}増加する",
["name"]="attr_crit_time_green"
}, },
[15]={ [15]={
["id"]=15, ["desc"]="クリティカルダメージが{0}増加する"
["desc"]="クリティカルダメージが{0}増加する",
["name"]="attr_crit_time_blue"
}, },
[16]={ [16]={
["id"]=16, ["desc"]="クリティカルダメージが{0}増加する"
["desc"]="クリティカルダメージが{0}増加する",
["name"]="attr_crit_time_purple"
}, },
[17]={ [17]={
["id"]=17, ["desc"]="回復効果が{0}増加する"
["desc"]="回復効果が{0}増加する",
["name"]="attr_cured_red"
}, },
[18]={ [18]={
["id"]=18, ["desc"]="回復効果が{0}増加する"
["desc"]="回復効果が{0}増加する",
["name"]="attr_cured_yellow"
}, },
[19]={ [19]={
["id"]=19, ["desc"]="回復効果が{0}増加する"
["desc"]="回復効果が{0}増加する",
["name"]="attr_cured_green"
}, },
[20]={ [20]={
["id"]=20, ["desc"]="回復効果が{0}増加する"
["desc"]="回復効果が{0}増加する",
["name"]="attr_cured_blue"
}, },
[21]={ [21]={
["id"]=21, ["desc"]="回復効果が{0}増加する"
["desc"]="回復効果が{0}増加する",
["name"]="attr_cured_purple"
}, },
[22]={ [22]={
["id"]=22,
["name"]="attr_atkp_red"
}, },
[23]={ [23]={
["id"]=23,
["name"]="attr_atkp_yellow"
}, },
[24]={ [24]={
["id"]=24,
["name"]="attr_atkp_green"
}, },
[25]={ [25]={
["id"]=25,
["name"]="attr_atkp_blue"
}, },
[26]={ [26]={
["id"]=26,
["name"]="attr_atkp_purple"
}, },
[27]={ [27]={
["id"]=27, ["desc"]="HPが{0}増加する"
["desc"]="HPが{0}増加する",
["name"]="attr_hpp_red"
}, },
[28]={ [28]={
["id"]=28, ["desc"]="HPが{0}増加する"
["desc"]="HPが{0}増加する",
["name"]="attr_hpp_yellow"
}, },
[29]={ [29]={
["id"]=29, ["desc"]="HPが{0}増加する"
["desc"]="HPが{0}増加する",
["name"]="attr_hpp_green"
}, },
[30]={ [30]={
["id"]=30, ["desc"]="HPが{0}増加する"
["desc"]="HPが{0}増加する",
["name"]="attr_hpp_blue"
}, },
[31]={ [31]={
["id"]=31, ["desc"]="HPが{0}増加する"
["desc"]="HPが{0}増加する",
["name"]="attr_hpp_purple"
}, },
[32]={ [32]={
["id"]=32, ["desc"]="通常攻撃ダメージが{0}カウント増加する"
["desc"]="通常攻撃ダメージが{0}カウント増加する",
["name"]="attr_normal_hurt_red"
}, },
[33]={ [33]={
["id"]=33, ["desc"]="通常攻撃ダメージが{0}カウント増加する"
["desc"]="通常攻撃ダメージが{0}カウント増加する",
["name"]="attr_normal_hurt_yellow"
}, },
[34]={ [34]={
["id"]=34, ["desc"]="通常攻撃ダメージが{0}カウント増加する"
["desc"]="通常攻撃ダメージが{0}カウント増加する",
["name"]="attr_normal_hurt_green"
}, },
[35]={ [35]={
["id"]=35, ["desc"]="通常攻撃ダメージが{0}カウント増加する"
["desc"]="通常攻撃ダメージが{0}カウント増加する",
["name"]="attr_normal_hurt_blue"
}, },
[36]={ [36]={
["id"]=36, ["desc"]="通常攻撃ダメージが{0}カウント増加する"
["desc"]="通常攻撃ダメージが{0}カウント増加する",
["name"]="attr_normal_hurt_purple"
}, },
[37]={ [37]={
["id"]=37, ["desc"]="スキルダメージが{0}カウント増加する"
["desc"]="スキルダメージが{0}カウント増加する",
["name"]="attr_skill_hurt_red"
}, },
[38]={ [38]={
["id"]=38, ["desc"]="スキルダメージが{0}カウント増加する"
["desc"]="スキルダメージが{0}カウント増加する",
["name"]="attr_skill_hurt_yellow"
}, },
[39]={ [39]={
["id"]=39, ["desc"]="スキルダメージが{0}カウント増加する"
["desc"]="スキルダメージが{0}カウント増加する",
["name"]="attr_skill_hurt_green"
}, },
[40]={ [40]={
["id"]=40, ["desc"]="スキルダメージが{0}カウント増加する"
["desc"]="スキルダメージが{0}カウント増加する",
["name"]="attr_skill_hurt_blue"
}, },
[41]={ [41]={
["id"]=41, ["desc"]="スキルダメージが{0}カウント増加する"
["desc"]="スキルダメージが{0}カウント増加する",
["name"]="attr_skill_hurt_purple"
}, },
[42]={ [42]={
["id"]=42, ["desc"]="通常攻撃ダメージが{0}増加する"
["desc"]="通常攻撃ダメージが{0}増加する",
["name"]="attr_normal_hurtp_red"
}, },
[43]={ [43]={
["id"]=43, ["desc"]="通常攻撃ダメージが{0}増加する"
["desc"]="通常攻撃ダメージが{0}増加する",
["name"]="attr_normal_hurtp_yellow"
}, },
[44]={ [44]={
["id"]=44, ["desc"]="通常攻撃ダメージが{0}増加する"
["desc"]="通常攻撃ダメージが{0}増加する",
["name"]="attr_normal_hurtp_green"
}, },
[45]={ [45]={
["id"]=45, ["desc"]="通常攻撃ダメージが{0}増加する"
["desc"]="通常攻撃ダメージが{0}増加する",
["name"]="attr_normal_hurtp_blue"
}, },
[46]={ [46]={
["id"]=46, ["desc"]="通常攻撃ダメージが{0}増加する"
["desc"]="通常攻撃ダメージが{0}増加する",
["name"]="attr_normal_hurtp_purple"
}, },
[47]={ [47]={
["id"]=47, ["desc"]="スキルダメージが{0}増加する"
["desc"]="スキルダメージが{0}増加する",
["name"]="attr_skill_hurtp_red"
}, },
[48]={ [48]={
["id"]=48, ["desc"]="スキルダメージが{0}増加する"
["desc"]="スキルダメージが{0}増加する",
["name"]="attr_skill_hurtp_yellow"
}, },
[49]={ [49]={
["id"]=49, ["desc"]="スキルダメージが{0}増加する"
["desc"]="スキルダメージが{0}増加する",
["name"]="attr_skill_hurtp_green"
}, },
[50]={ [50]={
["id"]=50, ["desc"]="スキルダメージが{0}増加する"
["desc"]="スキルダメージが{0}増加する",
["name"]="attr_skill_hurtp_blue"
}, },
[51]={ [51]={
["id"]=51, ["desc"]="スキルダメージが{0}増加する"
["desc"]="スキルダメージが{0}増加する",
["name"]="attr_skill_hurtp_purple"
}, },
[52]={ [52]={
["id"]=52, ["desc"]="HPが{0}増加する"
["desc"]="HPが{0}増加する",
["name"]="attr_hp_red"
}, },
[53]={ [53]={
["id"]=53, ["desc"]="HPが{0}増加する"
["desc"]="HPが{0}増加する",
["name"]="attr_hp_yellow"
}, },
[54]={ [54]={
["id"]=54, ["desc"]="HPが{0}増加する"
["desc"]="HPが{0}増加する",
["name"]="attr_hp_green"
}, },
[55]={ [55]={
["id"]=55, ["desc"]="HPが{0}増加する"
["desc"]="HPが{0}増加する",
["name"]="attr_hp_blue"
}, },
[56]={ [56]={
["id"]=56, ["desc"]="HPが{0}増加する"
["desc"]="HPが{0}増加する",
["name"]="attr_hp_purple"
}, },
[57]={ [57]={
["id"]=57, ["desc"]="すべてのダメージが{0}増加する"
["desc"]="すべてのダメージが{0}増加する",
["name"]="attr_all_hurtp_red"
}, },
[58]={ [58]={
["id"]=58, ["desc"]="すべてのダメージが{0}増加する"
["desc"]="すべてのダメージが{0}増加する",
["name"]="attr_all_hurtp_yellow"
}, },
[59]={ [59]={
["id"]=59, ["desc"]="すべてのダメージが{0}増加する"
["desc"]="すべてのダメージが{0}増加する",
["name"]="attr_all_hurtp_green"
}, },
[60]={ [60]={
["id"]=60, ["desc"]="すべてのダメージが{0}増加する"
["desc"]="すべてのダメージが{0}増加する",
["name"]="attr_all_hurtp_blue"
}, },
[61]={ [61]={
["id"]=61, ["desc"]="すべてのダメージが{0}増加する"
["desc"]="すべてのダメージが{0}増加する",
["name"]="attr_all_hurtp_purple"
}, },
[62]={ [62]={
["id"]=62,
["name"]="attr_atkp_red_all"
}, },
[63]={ [63]={
["id"]=63,
["name"]="attr_atkp_yellow_all"
}, },
[64]={ [64]={
["id"]=64,
["name"]="attr_atkp_green_all"
}, },
[65]={ [65]={
["id"]=65,
["name"]="attr_atkp_blue_all"
}, },
[66]={ [66]={
["id"]=66,
["name"]="attr_atkp_purple_all"
}, },
[67]={ [67]={
["id"]=67,
["name"]="atk_all"
}, },
[68]={ [68]={
["id"]=68,
["name"]="attr_hp_all"
}, },
[69]={ [69]={
["id"]=69,
["name"]="attr_dmgdec_all"
}, },
[70]={ [70]={
["id"]=70,
["name"]="attr_crit_all"
}, },
[71]={ [71]={
["id"]=71,
["name"]="attr_crit_time_all"
}, },
[72]={ [72]={
["id"]=72,
["name"]="attr_normal_hurtp_all"
}, },
[73]={ [73]={
["id"]=73,
["name"]="attr_skill_hurtp_all"
}, },
[74]={ [74]={
["id"]=74,
["name"]="attr_atkp_all"
}, },
[75]={ [75]={
["id"]=75,
["name"]="attr_atk"
}, },
[76]={ [76]={
["id"]=76,
["name"]="attr_hp"
}, },
[77]={ [77]={
["id"]=77,
["name"]="attr_normal_hurt"
}, },
[78]={ [78]={
["id"]=78,
["name"]="attr_skill_hurt"
}, },
[79]={ [79]={
["id"]=79,
["name"]="dmgdec"
}, },
[80]={ [80]={
["id"]=80,
["name"]="attr_hpp_all"
}, },
[81]={ [81]={
["id"]=81,
["name"]="attr_monster_dmg"
}, },
[82]={ [82]={
["id"]=82,
["name"]="attr_boss_dmg"
}, },
[83]={ [83]={
["id"]=83,
["name"]="attr_normal_hurtp"
}, },
[84]={ [84]={
["id"]=84,
["name"]="attr_skill_hurtp"
}, },
[85]={ [85]={
["id"]=85,
["name"]="attr_hpp_red_all"
}, },
[86]={ [86]={
["id"]=86,
["name"]="attr_hpp_yellow_all"
}, },
[87]={ [87]={
["id"]=87,
["name"]="attr_hpp_green_all"
}, },
[88]={ [88]={
["id"]=88,
["name"]="attr_hpp_blue_all"
}, },
[89]={ [89]={
["id"]=89,
["name"]="attr_hpp_purple_all"
}
}
local keys = {
name = {
["hp"]=attr[1],
["atk_red"]=attr[2],
["atk_yellow"]=attr[3],
["atk_green"]=attr[4],
["atk_blue"]=attr[5],
["atk_purple"]=attr[6],
["attr_crit_red"]=attr[7],
["attr_crit_yellow"]=attr[8],
["attr_crit_green"]=attr[9],
["attr_crit_blue"]=attr[10],
["attr_crit_purple"]=attr[11],
["attr_crit_time_red"]=attr[12],
["attr_crit_time_yellow"]=attr[13],
["attr_crit_time_green"]=attr[14],
["attr_crit_time_blue"]=attr[15],
["attr_crit_time_purple"]=attr[16],
["attr_cured_red"]=attr[17],
["attr_cured_yellow"]=attr[18],
["attr_cured_green"]=attr[19],
["attr_cured_blue"]=attr[20],
["attr_cured_purple"]=attr[21],
["attr_atkp_red"]=attr[22],
["attr_atkp_yellow"]=attr[23],
["attr_atkp_green"]=attr[24],
["attr_atkp_blue"]=attr[25],
["attr_atkp_purple"]=attr[26],
["attr_hpp_red"]=attr[27],
["attr_hpp_yellow"]=attr[28],
["attr_hpp_green"]=attr[29],
["attr_hpp_blue"]=attr[30],
["attr_hpp_purple"]=attr[31],
["attr_normal_hurt_red"]=attr[32],
["attr_normal_hurt_yellow"]=attr[33],
["attr_normal_hurt_green"]=attr[34],
["attr_normal_hurt_blue"]=attr[35],
["attr_normal_hurt_purple"]=attr[36],
["attr_skill_hurt_red"]=attr[37],
["attr_skill_hurt_yellow"]=attr[38],
["attr_skill_hurt_green"]=attr[39],
["attr_skill_hurt_blue"]=attr[40],
["attr_skill_hurt_purple"]=attr[41],
["attr_normal_hurtp_red"]=attr[42],
["attr_normal_hurtp_yellow"]=attr[43],
["attr_normal_hurtp_green"]=attr[44],
["attr_normal_hurtp_blue"]=attr[45],
["attr_normal_hurtp_purple"]=attr[46],
["attr_skill_hurtp_red"]=attr[47],
["attr_skill_hurtp_yellow"]=attr[48],
["attr_skill_hurtp_green"]=attr[49],
["attr_skill_hurtp_blue"]=attr[50],
["attr_skill_hurtp_purple"]=attr[51],
["attr_hp_red"]=attr[52],
["attr_hp_yellow"]=attr[53],
["attr_hp_green"]=attr[54],
["attr_hp_blue"]=attr[55],
["attr_hp_purple"]=attr[56],
["attr_all_hurtp_red"]=attr[57],
["attr_all_hurtp_yellow"]=attr[58],
["attr_all_hurtp_green"]=attr[59],
["attr_all_hurtp_blue"]=attr[60],
["attr_all_hurtp_purple"]=attr[61],
["attr_atkp_red_all"]=attr[62],
["attr_atkp_yellow_all"]=attr[63],
["attr_atkp_green_all"]=attr[64],
["attr_atkp_blue_all"]=attr[65],
["attr_atkp_purple_all"]=attr[66],
["atk_all"]=attr[67],
["attr_hp_all"]=attr[68],
["attr_dmgdec_all"]=attr[69],
["attr_crit_all"]=attr[70],
["attr_crit_time_all"]=attr[71],
["attr_normal_hurtp_all"]=attr[72],
["attr_skill_hurtp_all"]=attr[73],
["attr_atkp_all"]=attr[74],
["attr_atk"]=attr[75],
["attr_hp"]=attr[76],
["attr_normal_hurt"]=attr[77],
["attr_skill_hurt"]=attr[78],
["dmgdec"]=attr[79],
["attr_hpp_all"]=attr[80],
["attr_monster_dmg"]=attr[81],
["attr_boss_dmg"]=attr[82],
["attr_normal_hurtp"]=attr[83],
["attr_skill_hurtp"]=attr[84],
["attr_hpp_red_all"]=attr[85],
["attr_hpp_yellow_all"]=attr[86],
["attr_hpp_green_all"]=attr[87],
["attr_hpp_blue_all"]=attr[88],
["attr_hpp_purple_all"]=attr[89]
} }
} }
local config = { local config = {
data=attr, data=attr,count=89
keys=keys,
count=89
} }
return config return config

View File

@ -6,10 +6,10 @@ local tutorial = {
["value"]="宝箱を受取って、新ヒーローを解放しよう" ["value"]="宝箱を受取って、新ヒーローを解放しよう"
}, },
["tutorial_txt_3"]={ ["tutorial_txt_3"]={
["value"]="宝箱を受取って、ヒーローピースを入手しよう"
}, },
["tutorial_txt_4"]={ ["tutorial_txt_4"]={
["value"]="宝箱を受取って、5人目のヒーローを入手しよう"
}, },
["tutorial_txt_5"]={ ["tutorial_txt_5"]={
["value"]="ショップへ移動し、多くのヒーローを入手しよう!" ["value"]="ショップへ移動し、多くのヒーローを入手しよう!"

View File

@ -1,513 +1,273 @@
local attr = { local attr = {
[1]={ [1]={
["id"]=1, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="hp"
}, },
[2]={ [2]={
["id"]=2, ["desc"]="공격력 +{0}"
["desc"]="공격력 +{0}",
["name"]="atk_red"
}, },
[3]={ [3]={
["id"]=3, ["desc"]="공격력 +{0}"
["desc"]="공격력 +{0}",
["name"]="atk_yellow"
}, },
[4]={ [4]={
["id"]=4, ["desc"]="공격력 +{0}"
["desc"]="공격력 +{0}",
["name"]="atk_green"
}, },
[5]={ [5]={
["id"]=5, ["desc"]="공격력 +{0}"
["desc"]="공격력 +{0}",
["name"]="atk_blue"
}, },
[6]={ [6]={
["id"]=6, ["desc"]="공격력 +{0}"
["desc"]="공격력 +{0}",
["name"]="atk_purple"
}, },
[7]={ [7]={
["id"]=7, ["desc"]="치명타율 +{0}"
["desc"]="치명타율 +{0}",
["name"]="attr_crit_red"
}, },
[8]={ [8]={
["id"]=8, ["desc"]="치명타율 +{0}"
["desc"]="치명타율 +{0}",
["name"]="attr_crit_yellow"
}, },
[9]={ [9]={
["id"]=9, ["desc"]="치명타율 +{0}"
["desc"]="치명타율 +{0}",
["name"]="attr_crit_green"
}, },
[10]={ [10]={
["id"]=10, ["desc"]="치명타율 +{0}"
["desc"]="치명타율 +{0}",
["name"]="attr_crit_blue"
}, },
[11]={ [11]={
["id"]=11, ["desc"]="치명타율 +{0}"
["desc"]="치명타율 +{0}",
["name"]="attr_crit_purple"
}, },
[12]={ [12]={
["id"]=12, ["desc"]="치명타 대미지 +{0}"
["desc"]="치명타 대미지 +{0}",
["name"]="attr_crit_time_red"
}, },
[13]={ [13]={
["id"]=13, ["desc"]="치명타 대미지 +{0}"
["desc"]="치명타 대미지 +{0}",
["name"]="attr_crit_time_yellow"
}, },
[14]={ [14]={
["id"]=14, ["desc"]="치명타 대미지 +{0}"
["desc"]="치명타 대미지 +{0}",
["name"]="attr_crit_time_green"
}, },
[15]={ [15]={
["id"]=15, ["desc"]="치명타 대미지 +{0}"
["desc"]="치명타 대미지 +{0}",
["name"]="attr_crit_time_blue"
}, },
[16]={ [16]={
["id"]=16, ["desc"]="치명타 대미지 +{0}"
["desc"]="치명타 대미지 +{0}",
["name"]="attr_crit_time_purple"
}, },
[17]={ [17]={
["id"]=17, ["desc"]="치유 효과 +{0}"
["desc"]="치유 효과 +{0}",
["name"]="attr_cured_red"
}, },
[18]={ [18]={
["id"]=18, ["desc"]="치유 효과 +{0}"
["desc"]="치유 효과 +{0}",
["name"]="attr_cured_yellow"
}, },
[19]={ [19]={
["id"]=19, ["desc"]="치유 효과 +{0}"
["desc"]="치유 효과 +{0}",
["name"]="attr_cured_green"
}, },
[20]={ [20]={
["id"]=20, ["desc"]="치유 효과 +{0}"
["desc"]="치유 효과 +{0}",
["name"]="attr_cured_blue"
}, },
[21]={ [21]={
["id"]=21, ["desc"]="치유 효과 +{0}"
["desc"]="치유 효과 +{0}",
["name"]="attr_cured_purple"
}, },
[22]={ [22]={
["id"]=22,
["name"]="attr_atkp_red"
}, },
[23]={ [23]={
["id"]=23,
["name"]="attr_atkp_yellow"
}, },
[24]={ [24]={
["id"]=24,
["name"]="attr_atkp_green"
}, },
[25]={ [25]={
["id"]=25,
["name"]="attr_atkp_blue"
}, },
[26]={ [26]={
["id"]=26,
["name"]="attr_atkp_purple"
}, },
[27]={ [27]={
["id"]=27, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hpp_red"
}, },
[28]={ [28]={
["id"]=28, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hpp_yellow"
}, },
[29]={ [29]={
["id"]=29, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hpp_green"
}, },
[30]={ [30]={
["id"]=30, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hpp_blue"
}, },
[31]={ [31]={
["id"]=31, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hpp_purple"
}, },
[32]={ [32]={
["id"]=32, ["desc"]="일반 공격 대미지 +{0} 포인트"
["desc"]="일반 공격 대미지 +{0} 포인트",
["name"]="attr_normal_hurt_red"
}, },
[33]={ [33]={
["id"]=33, ["desc"]="일반 공격 대미지 +{0} 포인트"
["desc"]="일반 공격 대미지 +{0} 포인트",
["name"]="attr_normal_hurt_yellow"
}, },
[34]={ [34]={
["id"]=34, ["desc"]="일반 공격 대미지 +{0} 포인트"
["desc"]="일반 공격 대미지 +{0} 포인트",
["name"]="attr_normal_hurt_green"
}, },
[35]={ [35]={
["id"]=35, ["desc"]="일반 공격 대미지 +{0} 포인트"
["desc"]="일반 공격 대미지 +{0} 포인트",
["name"]="attr_normal_hurt_blue"
}, },
[36]={ [36]={
["id"]=36, ["desc"]="일반 공격 대미지 +{0} 포인트"
["desc"]="일반 공격 대미지 +{0} 포인트",
["name"]="attr_normal_hurt_purple"
}, },
[37]={ [37]={
["id"]=37, ["desc"]="스킬 대미지 +{0} 포인트"
["desc"]="스킬 대미지 +{0} 포인트",
["name"]="attr_skill_hurt_red"
}, },
[38]={ [38]={
["id"]=38, ["desc"]="스킬 대미지 +{0} 포인트"
["desc"]="스킬 대미지 +{0} 포인트",
["name"]="attr_skill_hurt_yellow"
}, },
[39]={ [39]={
["id"]=39, ["desc"]="스킬 대미지 +{0} 포인트"
["desc"]="스킬 대미지 +{0} 포인트",
["name"]="attr_skill_hurt_green"
}, },
[40]={ [40]={
["id"]=40, ["desc"]="스킬 대미지 +{0} 포인트"
["desc"]="스킬 대미지 +{0} 포인트",
["name"]="attr_skill_hurt_blue"
}, },
[41]={ [41]={
["id"]=41, ["desc"]="스킬 대미지 +{0} 포인트"
["desc"]="스킬 대미지 +{0} 포인트",
["name"]="attr_skill_hurt_purple"
}, },
[42]={ [42]={
["id"]=42, ["desc"]="일반 공격 대미지 +{0}"
["desc"]="일반 공격 대미지 +{0}",
["name"]="attr_normal_hurtp_red"
}, },
[43]={ [43]={
["id"]=43, ["desc"]="일반 공격 대미지 +{0}"
["desc"]="일반 공격 대미지 +{0}",
["name"]="attr_normal_hurtp_yellow"
}, },
[44]={ [44]={
["id"]=44, ["desc"]="일반 공격 대미지 +{0}"
["desc"]="일반 공격 대미지 +{0}",
["name"]="attr_normal_hurtp_green"
}, },
[45]={ [45]={
["id"]=45, ["desc"]="일반 공격 대미지 +{0}"
["desc"]="일반 공격 대미지 +{0}",
["name"]="attr_normal_hurtp_blue"
}, },
[46]={ [46]={
["id"]=46, ["desc"]="일반 공격 대미지 +{0}"
["desc"]="일반 공격 대미지 +{0}",
["name"]="attr_normal_hurtp_purple"
}, },
[47]={ [47]={
["id"]=47, ["desc"]="스킬 대미지 +{0}"
["desc"]="스킬 대미지 +{0}",
["name"]="attr_skill_hurtp_red"
}, },
[48]={ [48]={
["id"]=48, ["desc"]="스킬 대미지 +{0}"
["desc"]="스킬 대미지 +{0}",
["name"]="attr_skill_hurtp_yellow"
}, },
[49]={ [49]={
["id"]=49, ["desc"]="스킬 대미지 +{0}"
["desc"]="스킬 대미지 +{0}",
["name"]="attr_skill_hurtp_green"
}, },
[50]={ [50]={
["id"]=50, ["desc"]="스킬 대미지 +{0}"
["desc"]="스킬 대미지 +{0}",
["name"]="attr_skill_hurtp_blue"
}, },
[51]={ [51]={
["id"]=51, ["desc"]="스킬 대미지 +{0}"
["desc"]="스킬 대미지 +{0}",
["name"]="attr_skill_hurtp_purple"
}, },
[52]={ [52]={
["id"]=52, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hp_red"
}, },
[53]={ [53]={
["id"]=53, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hp_yellow"
}, },
[54]={ [54]={
["id"]=54, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hp_green"
}, },
[55]={ [55]={
["id"]=55, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hp_blue"
}, },
[56]={ [56]={
["id"]=56, ["desc"]="HP +{0}"
["desc"]="HP +{0}",
["name"]="attr_hp_purple"
}, },
[57]={ [57]={
["id"]=57, ["desc"]="모든 대미지가 {0} 증가합니다."
["desc"]="모든 대미지가 {0} 증가합니다.",
["name"]="attr_all_hurtp_red"
}, },
[58]={ [58]={
["id"]=58, ["desc"]="모든 대미지가 {0} 증가합니다."
["desc"]="모든 대미지가 {0} 증가합니다.",
["name"]="attr_all_hurtp_yellow"
}, },
[59]={ [59]={
["id"]=59, ["desc"]="모든 대미지가 {0} 증가합니다."
["desc"]="모든 대미지가 {0} 증가합니다.",
["name"]="attr_all_hurtp_green"
}, },
[60]={ [60]={
["id"]=60, ["desc"]="모든 대미지가 {0} 증가합니다."
["desc"]="모든 대미지가 {0} 증가합니다.",
["name"]="attr_all_hurtp_blue"
}, },
[61]={ [61]={
["id"]=61, ["desc"]="모든 대미지가 {0} 증가합니다."
["desc"]="모든 대미지가 {0} 증가합니다.",
["name"]="attr_all_hurtp_purple"
}, },
[62]={ [62]={
["id"]=62,
["name"]="attr_atkp_red_all"
}, },
[63]={ [63]={
["id"]=63,
["name"]="attr_atkp_yellow_all"
}, },
[64]={ [64]={
["id"]=64,
["name"]="attr_atkp_green_all"
}, },
[65]={ [65]={
["id"]=65,
["name"]="attr_atkp_blue_all"
}, },
[66]={ [66]={
["id"]=66,
["name"]="attr_atkp_purple_all"
}, },
[67]={ [67]={
["id"]=67,
["name"]="atk_all"
}, },
[68]={ [68]={
["id"]=68,
["name"]="attr_hp_all"
}, },
[69]={ [69]={
["id"]=69,
["name"]="attr_dmgdec_all"
}, },
[70]={ [70]={
["id"]=70,
["name"]="attr_crit_all"
}, },
[71]={ [71]={
["id"]=71,
["name"]="attr_crit_time_all"
}, },
[72]={ [72]={
["id"]=72,
["name"]="attr_normal_hurtp_all"
}, },
[73]={ [73]={
["id"]=73,
["name"]="attr_skill_hurtp_all"
}, },
[74]={ [74]={
["id"]=74,
["name"]="attr_atkp_all"
}, },
[75]={ [75]={
["id"]=75,
["name"]="attr_atk"
}, },
[76]={ [76]={
["id"]=76,
["name"]="attr_hp"
}, },
[77]={ [77]={
["id"]=77,
["name"]="attr_normal_hurt"
}, },
[78]={ [78]={
["id"]=78,
["name"]="attr_skill_hurt"
}, },
[79]={ [79]={
["id"]=79,
["name"]="dmgdec"
}, },
[80]={ [80]={
["id"]=80,
["name"]="attr_hpp_all"
}, },
[81]={ [81]={
["id"]=81,
["name"]="attr_monster_dmg"
}, },
[82]={ [82]={
["id"]=82,
["name"]="attr_boss_dmg"
}, },
[83]={ [83]={
["id"]=83,
["name"]="attr_normal_hurtp"
}, },
[84]={ [84]={
["id"]=84,
["name"]="attr_skill_hurtp"
}, },
[85]={ [85]={
["id"]=85,
["name"]="attr_hpp_red_all"
}, },
[86]={ [86]={
["id"]=86,
["name"]="attr_hpp_yellow_all"
}, },
[87]={ [87]={
["id"]=87,
["name"]="attr_hpp_green_all"
}, },
[88]={ [88]={
["id"]=88,
["name"]="attr_hpp_blue_all"
}, },
[89]={ [89]={
["id"]=89,
["name"]="attr_hpp_purple_all"
}
}
local keys = {
name = {
["hp"]=attr[1],
["atk_red"]=attr[2],
["atk_yellow"]=attr[3],
["atk_green"]=attr[4],
["atk_blue"]=attr[5],
["atk_purple"]=attr[6],
["attr_crit_red"]=attr[7],
["attr_crit_yellow"]=attr[8],
["attr_crit_green"]=attr[9],
["attr_crit_blue"]=attr[10],
["attr_crit_purple"]=attr[11],
["attr_crit_time_red"]=attr[12],
["attr_crit_time_yellow"]=attr[13],
["attr_crit_time_green"]=attr[14],
["attr_crit_time_blue"]=attr[15],
["attr_crit_time_purple"]=attr[16],
["attr_cured_red"]=attr[17],
["attr_cured_yellow"]=attr[18],
["attr_cured_green"]=attr[19],
["attr_cured_blue"]=attr[20],
["attr_cured_purple"]=attr[21],
["attr_atkp_red"]=attr[22],
["attr_atkp_yellow"]=attr[23],
["attr_atkp_green"]=attr[24],
["attr_atkp_blue"]=attr[25],
["attr_atkp_purple"]=attr[26],
["attr_hpp_red"]=attr[27],
["attr_hpp_yellow"]=attr[28],
["attr_hpp_green"]=attr[29],
["attr_hpp_blue"]=attr[30],
["attr_hpp_purple"]=attr[31],
["attr_normal_hurt_red"]=attr[32],
["attr_normal_hurt_yellow"]=attr[33],
["attr_normal_hurt_green"]=attr[34],
["attr_normal_hurt_blue"]=attr[35],
["attr_normal_hurt_purple"]=attr[36],
["attr_skill_hurt_red"]=attr[37],
["attr_skill_hurt_yellow"]=attr[38],
["attr_skill_hurt_green"]=attr[39],
["attr_skill_hurt_blue"]=attr[40],
["attr_skill_hurt_purple"]=attr[41],
["attr_normal_hurtp_red"]=attr[42],
["attr_normal_hurtp_yellow"]=attr[43],
["attr_normal_hurtp_green"]=attr[44],
["attr_normal_hurtp_blue"]=attr[45],
["attr_normal_hurtp_purple"]=attr[46],
["attr_skill_hurtp_red"]=attr[47],
["attr_skill_hurtp_yellow"]=attr[48],
["attr_skill_hurtp_green"]=attr[49],
["attr_skill_hurtp_blue"]=attr[50],
["attr_skill_hurtp_purple"]=attr[51],
["attr_hp_red"]=attr[52],
["attr_hp_yellow"]=attr[53],
["attr_hp_green"]=attr[54],
["attr_hp_blue"]=attr[55],
["attr_hp_purple"]=attr[56],
["attr_all_hurtp_red"]=attr[57],
["attr_all_hurtp_yellow"]=attr[58],
["attr_all_hurtp_green"]=attr[59],
["attr_all_hurtp_blue"]=attr[60],
["attr_all_hurtp_purple"]=attr[61],
["attr_atkp_red_all"]=attr[62],
["attr_atkp_yellow_all"]=attr[63],
["attr_atkp_green_all"]=attr[64],
["attr_atkp_blue_all"]=attr[65],
["attr_atkp_purple_all"]=attr[66],
["atk_all"]=attr[67],
["attr_hp_all"]=attr[68],
["attr_dmgdec_all"]=attr[69],
["attr_crit_all"]=attr[70],
["attr_crit_time_all"]=attr[71],
["attr_normal_hurtp_all"]=attr[72],
["attr_skill_hurtp_all"]=attr[73],
["attr_atkp_all"]=attr[74],
["attr_atk"]=attr[75],
["attr_hp"]=attr[76],
["attr_normal_hurt"]=attr[77],
["attr_skill_hurt"]=attr[78],
["dmgdec"]=attr[79],
["attr_hpp_all"]=attr[80],
["attr_monster_dmg"]=attr[81],
["attr_boss_dmg"]=attr[82],
["attr_normal_hurtp"]=attr[83],
["attr_skill_hurtp"]=attr[84],
["attr_hpp_red_all"]=attr[85],
["attr_hpp_yellow_all"]=attr[86],
["attr_hpp_green_all"]=attr[87],
["attr_hpp_blue_all"]=attr[88],
["attr_hpp_purple_all"]=attr[89]
} }
} }
local config = { local config = {
data=attr, data=attr,count=89
keys=keys,
count=89
} }
return config return config

View File

@ -6,10 +6,10 @@ local tutorial = {
["value"]="보물 상자를 획득하고 새로운 영웅을 잠금 해제하세요." ["value"]="보물 상자를 획득하고 새로운 영웅을 잠금 해제하세요."
}, },
["tutorial_txt_3"]={ ["tutorial_txt_3"]={
["value"]="보물 상자를 획득하여 영웅 파편을 얻으세요."
}, },
["tutorial_txt_4"]={ ["tutorial_txt_4"]={
["value"]="보물 상자를 받고 다섯 번째 영웅을 획득하세요."
}, },
["tutorial_txt_5"]={ ["tutorial_txt_5"]={
["value"]="상점에서 더 많은 영웅을 획득할 수 있습니다!" ["value"]="상점에서 더 많은 영웅을 획득할 수 있습니다!"

View File

@ -1,513 +1,273 @@
local attr = { local attr = {
[1]={ [1]={
["id"]=1, ["desc"]="Aumento de Vida {0}"
["desc"]="Aumento de Vida {0}",
["name"]="hp"
}, },
[2]={ [2]={
["id"]=2, ["desc"]="Aumento de Ataque {0}"
["desc"]="Aumento de Ataque {0}",
["name"]="atk_red"
}, },
[3]={ [3]={
["id"]=3, ["desc"]="Aumento de Ataque {0}"
["desc"]="Aumento de Ataque {0}",
["name"]="atk_yellow"
}, },
[4]={ [4]={
["id"]=4, ["desc"]="Aumento de Ataque {0}"
["desc"]="Aumento de Ataque {0}",
["name"]="atk_green"
}, },
[5]={ [5]={
["id"]=5, ["desc"]="Aumento de Ataque {0}"
["desc"]="Aumento de Ataque {0}",
["name"]="atk_blue"
}, },
[6]={ [6]={
["id"]=6, ["desc"]="Aumento de Ataque {0}"
["desc"]="Aumento de Ataque {0}",
["name"]="atk_purple"
}, },
[7]={ [7]={
["id"]=7, ["desc"]="Aumento da chance de acrt. crít. {0}"
["desc"]="Aumento da chance de acrt. crít. {0}",
["name"]="attr_crit_red"
}, },
[8]={ [8]={
["id"]=8, ["desc"]="Aumento da chance de acrt. crít. {0}"
["desc"]="Aumento da chance de acrt. crít. {0}",
["name"]="attr_crit_yellow"
}, },
[9]={ [9]={
["id"]=9, ["desc"]="Aumento da chance de acrt. crít. {0}"
["desc"]="Aumento da chance de acrt. crít. {0}",
["name"]="attr_crit_green"
}, },
[10]={ [10]={
["id"]=10, ["desc"]="Aumento da chance de acrt. crít. {0}"
["desc"]="Aumento da chance de acrt. crít. {0}",
["name"]="attr_crit_blue"
}, },
[11]={ [11]={
["id"]=11, ["desc"]="Aumento da chance de acrt. crít. {0}"
["desc"]="Aumento da chance de acrt. crít. {0}",
["name"]="attr_crit_purple"
}, },
[12]={ [12]={
["id"]=12, ["desc"]="Aumento do dano de acrt. crít. {0}"
["desc"]="Aumento do dano de acrt. crít. {0}",
["name"]="attr_crit_time_red"
}, },
[13]={ [13]={
["id"]=13, ["desc"]="Aumento do dano de acrt. crít. {0}"
["desc"]="Aumento do dano de acrt. crít. {0}",
["name"]="attr_crit_time_yellow"
}, },
[14]={ [14]={
["id"]=14, ["desc"]="Aumento do dano de acrt. crít. {0}"
["desc"]="Aumento do dano de acrt. crít. {0}",
["name"]="attr_crit_time_green"
}, },
[15]={ [15]={
["id"]=15, ["desc"]="Aumento do dano de acrt. crít. {0}"
["desc"]="Aumento do dano de acrt. crít. {0}",
["name"]="attr_crit_time_blue"
}, },
[16]={ [16]={
["id"]=16, ["desc"]="Aumento do dano de acrt. crít. {0}"
["desc"]="Aumento do dano de acrt. crít. {0}",
["name"]="attr_crit_time_purple"
}, },
[17]={ [17]={
["id"]=17, ["desc"]="Aumento do efeito de cura {0}"
["desc"]="Aumento do efeito de cura {0}",
["name"]="attr_cured_red"
}, },
[18]={ [18]={
["id"]=18, ["desc"]="Aumento do efeito de cura {0}"
["desc"]="Aumento do efeito de cura {0}",
["name"]="attr_cured_yellow"
}, },
[19]={ [19]={
["id"]=19, ["desc"]="Aumento do efeito de cura {0}"
["desc"]="Aumento do efeito de cura {0}",
["name"]="attr_cured_green"
}, },
[20]={ [20]={
["id"]=20, ["desc"]="Aumento do efeito de cura {0}"
["desc"]="Aumento do efeito de cura {0}",
["name"]="attr_cured_blue"
}, },
[21]={ [21]={
["id"]=21, ["desc"]="Aumento do efeito de cura {0}"
["desc"]="Aumento do efeito de cura {0}",
["name"]="attr_cured_purple"
}, },
[22]={ [22]={
["id"]=22,
["name"]="attr_atkp_red"
}, },
[23]={ [23]={
["id"]=23,
["name"]="attr_atkp_yellow"
}, },
[24]={ [24]={
["id"]=24,
["name"]="attr_atkp_green"
}, },
[25]={ [25]={
["id"]=25,
["name"]="attr_atkp_blue"
}, },
[26]={ [26]={
["id"]=26,
["name"]="attr_atkp_purple"
}, },
[27]={ [27]={
["id"]=27, ["desc"]="Aumento de Vida {0}"
["desc"]="Aumento de Vida {0}",
["name"]="attr_hpp_red"
}, },
[28]={ [28]={
["id"]=28, ["desc"]="Aumento de Vida {0}"
["desc"]="Aumento de Vida {0}",
["name"]="attr_hpp_yellow"
}, },
[29]={ [29]={
["id"]=29, ["desc"]="Aumento de Vida {0}"
["desc"]="Aumento de Vida {0}",
["name"]="attr_hpp_green"
}, },
[30]={ [30]={
["id"]=30, ["desc"]="Aumento de Vida {0}"
["desc"]="Aumento de Vida {0}",
["name"]="attr_hpp_blue"
}, },
[31]={ [31]={
["id"]=31, ["desc"]="Aumento de Vida {0}"
["desc"]="Aumento de Vida {0}",
["name"]="attr_hpp_purple"
}, },
[32]={ [32]={
["id"]=32, ["desc"]="Aumenta o dano de ataque básico em {0} pontos"
["desc"]="Aumenta o dano de ataque básico em {0} pontos",
["name"]="attr_normal_hurt_red"
}, },
[33]={ [33]={
["id"]=33, ["desc"]="Aumenta o dano de ataque básico em {0} pontos"
["desc"]="Aumenta o dano de ataque básico em {0} pontos",
["name"]="attr_normal_hurt_yellow"
}, },
[34]={ [34]={
["id"]=34, ["desc"]="Aumenta o dano de ataque básico em {0} pontos"
["desc"]="Aumenta o dano de ataque básico em {0} pontos",
["name"]="attr_normal_hurt_green"
}, },
[35]={ [35]={
["id"]=35, ["desc"]="Aumenta o dano de ataque básico em {0} pontos"
["desc"]="Aumenta o dano de ataque básico em {0} pontos",
["name"]="attr_normal_hurt_blue"
}, },
[36]={ [36]={
["id"]=36, ["desc"]="Aumenta o dano de ataque básico em {0} pontos"
["desc"]="Aumenta o dano de ataque básico em {0} pontos",
["name"]="attr_normal_hurt_purple"
}, },
[37]={ [37]={
["id"]=37, ["desc"]="Aumenta o dano de habilidade em {0} pontos"
["desc"]="Aumenta o dano de habilidade em {0} pontos",
["name"]="attr_skill_hurt_red"
}, },
[38]={ [38]={
["id"]=38, ["desc"]="Aumenta o dano de habilidade em {0} pontos"
["desc"]="Aumenta o dano de habilidade em {0} pontos",
["name"]="attr_skill_hurt_yellow"
}, },
[39]={ [39]={
["id"]=39, ["desc"]="Aumenta o dano de habilidade em {0} pontos"
["desc"]="Aumenta o dano de habilidade em {0} pontos",
["name"]="attr_skill_hurt_green"
}, },
[40]={ [40]={
["id"]=40, ["desc"]="Aumenta o dano de habilidade em {0} pontos"
["desc"]="Aumenta o dano de habilidade em {0} pontos",
["name"]="attr_skill_hurt_blue"
}, },
[41]={ [41]={
["id"]=41, ["desc"]="Aumenta o dano de habilidade em {0} pontos"
["desc"]="Aumenta o dano de habilidade em {0} pontos",
["name"]="attr_skill_hurt_purple"
}, },
[42]={ [42]={
["id"]=42, ["desc"]="Aumenta o dano de ataque básico em {0}"
["desc"]="Aumenta o dano de ataque básico em {0}",
["name"]="attr_normal_hurtp_red"
}, },
[43]={ [43]={
["id"]=43, ["desc"]="Aumenta o dano de ataque básico em {0}"
["desc"]="Aumenta o dano de ataque básico em {0}",
["name"]="attr_normal_hurtp_yellow"
}, },
[44]={ [44]={
["id"]=44, ["desc"]="Aumenta o dano de ataque básico em {0}"
["desc"]="Aumenta o dano de ataque básico em {0}",
["name"]="attr_normal_hurtp_green"
}, },
[45]={ [45]={
["id"]=45, ["desc"]="Aumenta o dano de ataque básico em {0}"
["desc"]="Aumenta o dano de ataque básico em {0}",
["name"]="attr_normal_hurtp_blue"
}, },
[46]={ [46]={
["id"]=46, ["desc"]="Aumenta o dano de ataque básico em {0}"
["desc"]="Aumenta o dano de ataque básico em {0}",
["name"]="attr_normal_hurtp_purple"
}, },
[47]={ [47]={
["id"]=47, ["desc"]="Aumenta o dano de habilidade em {0}"
["desc"]="Aumenta o dano de habilidade em {0}",
["name"]="attr_skill_hurtp_red"
}, },
[48]={ [48]={
["id"]=48, ["desc"]="Aumenta o dano de habilidade em {0}"
["desc"]="Aumenta o dano de habilidade em {0}",
["name"]="attr_skill_hurtp_yellow"
}, },
[49]={ [49]={
["id"]=49, ["desc"]="Aumenta o dano de habilidade em {0}"
["desc"]="Aumenta o dano de habilidade em {0}",
["name"]="attr_skill_hurtp_green"
}, },
[50]={ [50]={
["id"]=50, ["desc"]="Aumenta o dano de habilidade em {0}"
["desc"]="Aumenta o dano de habilidade em {0}",
["name"]="attr_skill_hurtp_blue"
}, },
[51]={ [51]={
["id"]=51, ["desc"]="Aumenta o dano de habilidade em {0}"
["desc"]="Aumenta o dano de habilidade em {0}",
["name"]="attr_skill_hurtp_purple"
}, },
[52]={ [52]={
["id"]=52, ["desc"]="Aumento de Vida {0}"
["desc"]="Aumento de Vida {0}",
["name"]="attr_hp_red"
}, },
[53]={ [53]={
["id"]=53, ["desc"]="Aumento de Vida {0}"
["desc"]="Aumento de Vida {0}",
["name"]="attr_hp_yellow"
}, },
[54]={ [54]={
["id"]=54, ["desc"]="Aumento de Vida {0}"
["desc"]="Aumento de Vida {0}",
["name"]="attr_hp_green"
}, },
[55]={ [55]={
["id"]=55, ["desc"]="Aumento de Vida {0}"
["desc"]="Aumento de Vida {0}",
["name"]="attr_hp_blue"
}, },
[56]={ [56]={
["id"]=56, ["desc"]="Aumento de Vida {0}"
["desc"]="Aumento de Vida {0}",
["name"]="attr_hp_purple"
}, },
[57]={ [57]={
["id"]=57, ["desc"]="Aumenta o dano causado em {0}."
["desc"]="Aumenta o dano causado em {0}.",
["name"]="attr_all_hurtp_red"
}, },
[58]={ [58]={
["id"]=58, ["desc"]="Aumenta o dano causado em {0}."
["desc"]="Aumenta o dano causado em {0}.",
["name"]="attr_all_hurtp_yellow"
}, },
[59]={ [59]={
["id"]=59, ["desc"]="Aumenta o dano causado em {0}."
["desc"]="Aumenta o dano causado em {0}.",
["name"]="attr_all_hurtp_green"
}, },
[60]={ [60]={
["id"]=60, ["desc"]="Aumenta o dano causado em {0}."
["desc"]="Aumenta o dano causado em {0}.",
["name"]="attr_all_hurtp_blue"
}, },
[61]={ [61]={
["id"]=61, ["desc"]="Aumenta o dano causado em {0}."
["desc"]="Aumenta o dano causado em {0}.",
["name"]="attr_all_hurtp_purple"
}, },
[62]={ [62]={
["id"]=62,
["name"]="attr_atkp_red_all"
}, },
[63]={ [63]={
["id"]=63,
["name"]="attr_atkp_yellow_all"
}, },
[64]={ [64]={
["id"]=64,
["name"]="attr_atkp_green_all"
}, },
[65]={ [65]={
["id"]=65,
["name"]="attr_atkp_blue_all"
}, },
[66]={ [66]={
["id"]=66,
["name"]="attr_atkp_purple_all"
}, },
[67]={ [67]={
["id"]=67,
["name"]="atk_all"
}, },
[68]={ [68]={
["id"]=68,
["name"]="attr_hp_all"
}, },
[69]={ [69]={
["id"]=69,
["name"]="attr_dmgdec_all"
}, },
[70]={ [70]={
["id"]=70,
["name"]="attr_crit_all"
}, },
[71]={ [71]={
["id"]=71,
["name"]="attr_crit_time_all"
}, },
[72]={ [72]={
["id"]=72,
["name"]="attr_normal_hurtp_all"
}, },
[73]={ [73]={
["id"]=73,
["name"]="attr_skill_hurtp_all"
}, },
[74]={ [74]={
["id"]=74,
["name"]="attr_atkp_all"
}, },
[75]={ [75]={
["id"]=75,
["name"]="attr_atk"
}, },
[76]={ [76]={
["id"]=76,
["name"]="attr_hp"
}, },
[77]={ [77]={
["id"]=77,
["name"]="attr_normal_hurt"
}, },
[78]={ [78]={
["id"]=78,
["name"]="attr_skill_hurt"
}, },
[79]={ [79]={
["id"]=79,
["name"]="dmgdec"
}, },
[80]={ [80]={
["id"]=80,
["name"]="attr_hpp_all"
}, },
[81]={ [81]={
["id"]=81,
["name"]="attr_monster_dmg"
}, },
[82]={ [82]={
["id"]=82,
["name"]="attr_boss_dmg"
}, },
[83]={ [83]={
["id"]=83,
["name"]="attr_normal_hurtp"
}, },
[84]={ [84]={
["id"]=84,
["name"]="attr_skill_hurtp"
}, },
[85]={ [85]={
["id"]=85,
["name"]="attr_hpp_red_all"
}, },
[86]={ [86]={
["id"]=86,
["name"]="attr_hpp_yellow_all"
}, },
[87]={ [87]={
["id"]=87,
["name"]="attr_hpp_green_all"
}, },
[88]={ [88]={
["id"]=88,
["name"]="attr_hpp_blue_all"
}, },
[89]={ [89]={
["id"]=89,
["name"]="attr_hpp_purple_all"
}
}
local keys = {
name = {
["hp"]=attr[1],
["atk_red"]=attr[2],
["atk_yellow"]=attr[3],
["atk_green"]=attr[4],
["atk_blue"]=attr[5],
["atk_purple"]=attr[6],
["attr_crit_red"]=attr[7],
["attr_crit_yellow"]=attr[8],
["attr_crit_green"]=attr[9],
["attr_crit_blue"]=attr[10],
["attr_crit_purple"]=attr[11],
["attr_crit_time_red"]=attr[12],
["attr_crit_time_yellow"]=attr[13],
["attr_crit_time_green"]=attr[14],
["attr_crit_time_blue"]=attr[15],
["attr_crit_time_purple"]=attr[16],
["attr_cured_red"]=attr[17],
["attr_cured_yellow"]=attr[18],
["attr_cured_green"]=attr[19],
["attr_cured_blue"]=attr[20],
["attr_cured_purple"]=attr[21],
["attr_atkp_red"]=attr[22],
["attr_atkp_yellow"]=attr[23],
["attr_atkp_green"]=attr[24],
["attr_atkp_blue"]=attr[25],
["attr_atkp_purple"]=attr[26],
["attr_hpp_red"]=attr[27],
["attr_hpp_yellow"]=attr[28],
["attr_hpp_green"]=attr[29],
["attr_hpp_blue"]=attr[30],
["attr_hpp_purple"]=attr[31],
["attr_normal_hurt_red"]=attr[32],
["attr_normal_hurt_yellow"]=attr[33],
["attr_normal_hurt_green"]=attr[34],
["attr_normal_hurt_blue"]=attr[35],
["attr_normal_hurt_purple"]=attr[36],
["attr_skill_hurt_red"]=attr[37],
["attr_skill_hurt_yellow"]=attr[38],
["attr_skill_hurt_green"]=attr[39],
["attr_skill_hurt_blue"]=attr[40],
["attr_skill_hurt_purple"]=attr[41],
["attr_normal_hurtp_red"]=attr[42],
["attr_normal_hurtp_yellow"]=attr[43],
["attr_normal_hurtp_green"]=attr[44],
["attr_normal_hurtp_blue"]=attr[45],
["attr_normal_hurtp_purple"]=attr[46],
["attr_skill_hurtp_red"]=attr[47],
["attr_skill_hurtp_yellow"]=attr[48],
["attr_skill_hurtp_green"]=attr[49],
["attr_skill_hurtp_blue"]=attr[50],
["attr_skill_hurtp_purple"]=attr[51],
["attr_hp_red"]=attr[52],
["attr_hp_yellow"]=attr[53],
["attr_hp_green"]=attr[54],
["attr_hp_blue"]=attr[55],
["attr_hp_purple"]=attr[56],
["attr_all_hurtp_red"]=attr[57],
["attr_all_hurtp_yellow"]=attr[58],
["attr_all_hurtp_green"]=attr[59],
["attr_all_hurtp_blue"]=attr[60],
["attr_all_hurtp_purple"]=attr[61],
["attr_atkp_red_all"]=attr[62],
["attr_atkp_yellow_all"]=attr[63],
["attr_atkp_green_all"]=attr[64],
["attr_atkp_blue_all"]=attr[65],
["attr_atkp_purple_all"]=attr[66],
["atk_all"]=attr[67],
["attr_hp_all"]=attr[68],
["attr_dmgdec_all"]=attr[69],
["attr_crit_all"]=attr[70],
["attr_crit_time_all"]=attr[71],
["attr_normal_hurtp_all"]=attr[72],
["attr_skill_hurtp_all"]=attr[73],
["attr_atkp_all"]=attr[74],
["attr_atk"]=attr[75],
["attr_hp"]=attr[76],
["attr_normal_hurt"]=attr[77],
["attr_skill_hurt"]=attr[78],
["dmgdec"]=attr[79],
["attr_hpp_all"]=attr[80],
["attr_monster_dmg"]=attr[81],
["attr_boss_dmg"]=attr[82],
["attr_normal_hurtp"]=attr[83],
["attr_skill_hurtp"]=attr[84],
["attr_hpp_red_all"]=attr[85],
["attr_hpp_yellow_all"]=attr[86],
["attr_hpp_green_all"]=attr[87],
["attr_hpp_blue_all"]=attr[88],
["attr_hpp_purple_all"]=attr[89]
} }
} }
local config = { local config = {
data=attr, data=attr,count=89
keys=keys,
count=89
} }
return config return config

View File

@ -6,10 +6,10 @@ local tutorial = {
["value"]="Colete o baú para desbloquear novos heróis." ["value"]="Colete o baú para desbloquear novos heróis."
}, },
["tutorial_txt_3"]={ ["tutorial_txt_3"]={
["value"]="Colete o baú para obter fragmentos de heróis."
}, },
["tutorial_txt_4"]={ ["tutorial_txt_4"]={
["value"]="Colete o baú para obter o quinto herói."
}, },
["tutorial_txt_5"]={ ["tutorial_txt_5"]={
["value"]="Vá até a loja e obtenha mais heróis!" ["value"]="Vá até a loja e obtenha mais heróis!"

View File

@ -1,457 +1,273 @@
local attr = { local attr = {
[1]={ [1]={
["id"]=1,
["name"]="hp"
}, },
[2]={ [2]={
["id"]=2,
["name"]="atk_red"
}, },
[3]={ [3]={
["id"]=3,
["name"]="atk_yellow"
}, },
[4]={ [4]={
["id"]=4,
["name"]="atk_green"
}, },
[5]={ [5]={
["id"]=5,
["name"]="atk_blue"
}, },
[6]={ [6]={
["id"]=6,
["name"]="atk_purple"
}, },
[7]={ [7]={
["id"]=7,
["name"]="attr_crit_red"
}, },
[8]={ [8]={
["id"]=8,
["name"]="attr_crit_yellow"
}, },
[9]={ [9]={
["id"]=9,
["name"]="attr_crit_green"
}, },
[10]={ [10]={
["id"]=10,
["name"]="attr_crit_blue"
}, },
[11]={ [11]={
["id"]=11,
["name"]="attr_crit_purple"
}, },
[12]={ [12]={
["id"]=12,
["name"]="attr_crit_time_red"
}, },
[13]={ [13]={
["id"]=13,
["name"]="attr_crit_time_yellow"
}, },
[14]={ [14]={
["id"]=14,
["name"]="attr_crit_time_green"
}, },
[15]={ [15]={
["id"]=15,
["name"]="attr_crit_time_blue"
}, },
[16]={ [16]={
["id"]=16,
["name"]="attr_crit_time_purple"
}, },
[17]={ [17]={
["id"]=17,
["name"]="attr_cured_red"
}, },
[18]={ [18]={
["id"]=18,
["name"]="attr_cured_yellow"
}, },
[19]={ [19]={
["id"]=19,
["name"]="attr_cured_green"
}, },
[20]={ [20]={
["id"]=20,
["name"]="attr_cured_blue"
}, },
[21]={ [21]={
["id"]=21,
["name"]="attr_cured_purple"
}, },
[22]={ [22]={
["id"]=22,
["name"]="attr_atkp_red"
}, },
[23]={ [23]={
["id"]=23,
["name"]="attr_atkp_yellow"
}, },
[24]={ [24]={
["id"]=24,
["name"]="attr_atkp_green"
}, },
[25]={ [25]={
["id"]=25,
["name"]="attr_atkp_blue"
}, },
[26]={ [26]={
["id"]=26,
["name"]="attr_atkp_purple"
}, },
[27]={ [27]={
["id"]=27,
["name"]="attr_hpp_red"
}, },
[28]={ [28]={
["id"]=28,
["name"]="attr_hpp_yellow"
}, },
[29]={ [29]={
["id"]=29,
["name"]="attr_hpp_green"
}, },
[30]={ [30]={
["id"]=30,
["name"]="attr_hpp_blue"
}, },
[31]={ [31]={
["id"]=31,
["name"]="attr_hpp_purple"
}, },
[32]={ [32]={
["id"]=32,
["name"]="attr_normal_hurt_red"
}, },
[33]={ [33]={
["id"]=33,
["name"]="attr_normal_hurt_yellow"
}, },
[34]={ [34]={
["id"]=34,
["name"]="attr_normal_hurt_green"
}, },
[35]={ [35]={
["id"]=35,
["name"]="attr_normal_hurt_blue"
}, },
[36]={ [36]={
["id"]=36,
["name"]="attr_normal_hurt_purple"
}, },
[37]={ [37]={
["id"]=37,
["name"]="attr_skill_hurt_red"
}, },
[38]={ [38]={
["id"]=38,
["name"]="attr_skill_hurt_yellow"
}, },
[39]={ [39]={
["id"]=39,
["name"]="attr_skill_hurt_green"
}, },
[40]={ [40]={
["id"]=40,
["name"]="attr_skill_hurt_blue"
}, },
[41]={ [41]={
["id"]=41,
["name"]="attr_skill_hurt_purple"
}, },
[42]={ [42]={
["id"]=42,
["name"]="attr_normal_hurtp_red"
}, },
[43]={ [43]={
["id"]=43,
["name"]="attr_normal_hurtp_yellow"
}, },
[44]={ [44]={
["id"]=44,
["name"]="attr_normal_hurtp_green"
}, },
[45]={ [45]={
["id"]=45,
["name"]="attr_normal_hurtp_blue"
}, },
[46]={ [46]={
["id"]=46,
["name"]="attr_normal_hurtp_purple"
}, },
[47]={ [47]={
["id"]=47,
["name"]="attr_skill_hurtp_red"
}, },
[48]={ [48]={
["id"]=48,
["name"]="attr_skill_hurtp_yellow"
}, },
[49]={ [49]={
["id"]=49,
["name"]="attr_skill_hurtp_green"
}, },
[50]={ [50]={
["id"]=50,
["name"]="attr_skill_hurtp_blue"
}, },
[51]={ [51]={
["id"]=51,
["name"]="attr_skill_hurtp_purple"
}, },
[52]={ [52]={
["id"]=52,
["name"]="attr_hp_red"
}, },
[53]={ [53]={
["id"]=53,
["name"]="attr_hp_yellow"
}, },
[54]={ [54]={
["id"]=54,
["name"]="attr_hp_green"
}, },
[55]={ [55]={
["id"]=55,
["name"]="attr_hp_blue"
}, },
[56]={ [56]={
["id"]=56,
["name"]="attr_hp_purple"
}, },
[57]={ [57]={
["id"]=57,
["name"]="attr_all_hurtp_red"
}, },
[58]={ [58]={
["id"]=58,
["name"]="attr_all_hurtp_yellow"
}, },
[59]={ [59]={
["id"]=59,
["name"]="attr_all_hurtp_green"
}, },
[60]={ [60]={
["id"]=60,
["name"]="attr_all_hurtp_blue"
}, },
[61]={ [61]={
["id"]=61,
["name"]="attr_all_hurtp_purple"
}, },
[62]={ [62]={
["id"]=62,
["name"]="attr_atkp_red_all"
}, },
[63]={ [63]={
["id"]=63,
["name"]="attr_atkp_yellow_all"
}, },
[64]={ [64]={
["id"]=64,
["name"]="attr_atkp_green_all"
}, },
[65]={ [65]={
["id"]=65,
["name"]="attr_atkp_blue_all"
}, },
[66]={ [66]={
["id"]=66,
["name"]="attr_atkp_purple_all"
}, },
[67]={ [67]={
["id"]=67,
["name"]="atk_all"
}, },
[68]={ [68]={
["id"]=68,
["name"]="attr_hp_all"
}, },
[69]={ [69]={
["id"]=69,
["name"]="attr_dmgdec_all"
}, },
[70]={ [70]={
["id"]=70,
["name"]="attr_crit_all"
}, },
[71]={ [71]={
["id"]=71,
["name"]="attr_crit_time_all"
}, },
[72]={ [72]={
["id"]=72,
["name"]="attr_normal_hurtp_all"
}, },
[73]={ [73]={
["id"]=73,
["name"]="attr_skill_hurtp_all"
}, },
[74]={ [74]={
["id"]=74,
["name"]="attr_atkp_all"
}, },
[75]={ [75]={
["id"]=75,
["name"]="attr_atk"
}, },
[76]={ [76]={
["id"]=76,
["name"]="attr_hp"
}, },
[77]={ [77]={
["id"]=77,
["name"]="attr_normal_hurt"
}, },
[78]={ [78]={
["id"]=78,
["name"]="attr_skill_hurt"
}, },
[79]={ [79]={
["id"]=79,
["name"]="dmgdec"
}, },
[80]={ [80]={
["id"]=80,
["name"]="attr_hpp_all"
}, },
[81]={ [81]={
["id"]=81,
["name"]="attr_monster_dmg"
}, },
[82]={ [82]={
["id"]=82,
["name"]="attr_boss_dmg"
}, },
[83]={ [83]={
["id"]=83,
["name"]="attr_normal_hurtp"
}, },
[84]={ [84]={
["id"]=84,
["name"]="attr_skill_hurtp"
}, },
[85]={ [85]={
["id"]=85,
["name"]="attr_hpp_red_all"
}, },
[86]={ [86]={
["id"]=86,
["name"]="attr_hpp_yellow_all"
}, },
[87]={ [87]={
["id"]=87,
["name"]="attr_hpp_green_all"
}, },
[88]={ [88]={
["id"]=88,
["name"]="attr_hpp_blue_all"
}, },
[89]={ [89]={
["id"]=89,
["name"]="attr_hpp_purple_all"
}
}
local keys = {
name = {
["hp"]=attr[1],
["atk_red"]=attr[2],
["atk_yellow"]=attr[3],
["atk_green"]=attr[4],
["atk_blue"]=attr[5],
["atk_purple"]=attr[6],
["attr_crit_red"]=attr[7],
["attr_crit_yellow"]=attr[8],
["attr_crit_green"]=attr[9],
["attr_crit_blue"]=attr[10],
["attr_crit_purple"]=attr[11],
["attr_crit_time_red"]=attr[12],
["attr_crit_time_yellow"]=attr[13],
["attr_crit_time_green"]=attr[14],
["attr_crit_time_blue"]=attr[15],
["attr_crit_time_purple"]=attr[16],
["attr_cured_red"]=attr[17],
["attr_cured_yellow"]=attr[18],
["attr_cured_green"]=attr[19],
["attr_cured_blue"]=attr[20],
["attr_cured_purple"]=attr[21],
["attr_atkp_red"]=attr[22],
["attr_atkp_yellow"]=attr[23],
["attr_atkp_green"]=attr[24],
["attr_atkp_blue"]=attr[25],
["attr_atkp_purple"]=attr[26],
["attr_hpp_red"]=attr[27],
["attr_hpp_yellow"]=attr[28],
["attr_hpp_green"]=attr[29],
["attr_hpp_blue"]=attr[30],
["attr_hpp_purple"]=attr[31],
["attr_normal_hurt_red"]=attr[32],
["attr_normal_hurt_yellow"]=attr[33],
["attr_normal_hurt_green"]=attr[34],
["attr_normal_hurt_blue"]=attr[35],
["attr_normal_hurt_purple"]=attr[36],
["attr_skill_hurt_red"]=attr[37],
["attr_skill_hurt_yellow"]=attr[38],
["attr_skill_hurt_green"]=attr[39],
["attr_skill_hurt_blue"]=attr[40],
["attr_skill_hurt_purple"]=attr[41],
["attr_normal_hurtp_red"]=attr[42],
["attr_normal_hurtp_yellow"]=attr[43],
["attr_normal_hurtp_green"]=attr[44],
["attr_normal_hurtp_blue"]=attr[45],
["attr_normal_hurtp_purple"]=attr[46],
["attr_skill_hurtp_red"]=attr[47],
["attr_skill_hurtp_yellow"]=attr[48],
["attr_skill_hurtp_green"]=attr[49],
["attr_skill_hurtp_blue"]=attr[50],
["attr_skill_hurtp_purple"]=attr[51],
["attr_hp_red"]=attr[52],
["attr_hp_yellow"]=attr[53],
["attr_hp_green"]=attr[54],
["attr_hp_blue"]=attr[55],
["attr_hp_purple"]=attr[56],
["attr_all_hurtp_red"]=attr[57],
["attr_all_hurtp_yellow"]=attr[58],
["attr_all_hurtp_green"]=attr[59],
["attr_all_hurtp_blue"]=attr[60],
["attr_all_hurtp_purple"]=attr[61],
["attr_atkp_red_all"]=attr[62],
["attr_atkp_yellow_all"]=attr[63],
["attr_atkp_green_all"]=attr[64],
["attr_atkp_blue_all"]=attr[65],
["attr_atkp_purple_all"]=attr[66],
["atk_all"]=attr[67],
["attr_hp_all"]=attr[68],
["attr_dmgdec_all"]=attr[69],
["attr_crit_all"]=attr[70],
["attr_crit_time_all"]=attr[71],
["attr_normal_hurtp_all"]=attr[72],
["attr_skill_hurtp_all"]=attr[73],
["attr_atkp_all"]=attr[74],
["attr_atk"]=attr[75],
["attr_hp"]=attr[76],
["attr_normal_hurt"]=attr[77],
["attr_skill_hurt"]=attr[78],
["dmgdec"]=attr[79],
["attr_hpp_all"]=attr[80],
["attr_monster_dmg"]=attr[81],
["attr_boss_dmg"]=attr[82],
["attr_normal_hurtp"]=attr[83],
["attr_skill_hurtp"]=attr[84],
["attr_hpp_red_all"]=attr[85],
["attr_hpp_yellow_all"]=attr[86],
["attr_hpp_green_all"]=attr[87],
["attr_hpp_blue_all"]=attr[88],
["attr_hpp_purple_all"]=attr[89]
} }
} }
local config = { local config = {
data=attr, data=attr,count=89
keys=keys,
count=89
} }
return config return config

View File

@ -1,513 +1,273 @@
local attr = { local attr = {
[1]={ [1]={
["id"]=1, ["desc"]="HP เพิ่มขึ้น {0}"
["desc"]="HP เพิ่มขึ้น {0}",
["name"]="hp"
}, },
[2]={ [2]={
["id"]=2, ["desc"]="พลังโจมตีเพิ่มขึ้น {0}"
["desc"]="พลังโจมตีเพิ่มขึ้น {0}",
["name"]="atk_red"
}, },
[3]={ [3]={
["id"]=3, ["desc"]="พลังโจมตีเพิ่มขึ้น {0}"
["desc"]="พลังโจมตีเพิ่มขึ้น {0}",
["name"]="atk_yellow"
}, },
[4]={ [4]={
["id"]=4, ["desc"]="พลังโจมตีเพิ่มขึ้น {0}"
["desc"]="พลังโจมตีเพิ่มขึ้น {0}",
["name"]="atk_green"
}, },
[5]={ [5]={
["id"]=5, ["desc"]="พลังโจมตีเพิ่มขึ้น {0}"
["desc"]="พลังโจมตีเพิ่มขึ้น {0}",
["name"]="atk_blue"
}, },
[6]={ [6]={
["id"]=6, ["desc"]="พลังโจมตีเพิ่มขึ้น {0}"
["desc"]="พลังโจมตีเพิ่มขึ้น {0}",
["name"]="atk_purple"
}, },
[7]={ [7]={
["id"]=7, ["desc"]="อัตรา Crit เพิ่มขึ้น {0}"
["desc"]="อัตรา Crit เพิ่มขึ้น {0}",
["name"]="attr_crit_red"
}, },
[8]={ [8]={
["id"]=8, ["desc"]="อัตรา Crit เพิ่มขึ้น {0}"
["desc"]="อัตรา Crit เพิ่มขึ้น {0}",
["name"]="attr_crit_yellow"
}, },
[9]={ [9]={
["id"]=9, ["desc"]="อัตรา Crit เพิ่มขึ้น {0}"
["desc"]="อัตรา Crit เพิ่มขึ้น {0}",
["name"]="attr_crit_green"
}, },
[10]={ [10]={
["id"]=10, ["desc"]="อัตรา Crit เพิ่มขึ้น {0}"
["desc"]="อัตรา Crit เพิ่มขึ้น {0}",
["name"]="attr_crit_blue"
}, },
[11]={ [11]={
["id"]=11, ["desc"]="อัตรา Crit เพิ่มขึ้น {0}"
["desc"]="อัตรา Crit เพิ่มขึ้น {0}",
["name"]="attr_crit_purple"
}, },
[12]={ [12]={
["id"]=12, ["desc"]="DmgCrit เพิ่มขึ้น {0}"
["desc"]="DmgCrit เพิ่มขึ้น {0}",
["name"]="attr_crit_time_red"
}, },
[13]={ [13]={
["id"]=13, ["desc"]="DmgCrit เพิ่มขึ้น {0}"
["desc"]="DmgCrit เพิ่มขึ้น {0}",
["name"]="attr_crit_time_yellow"
}, },
[14]={ [14]={
["id"]=14, ["desc"]="DmgCrit เพิ่มขึ้น {0}"
["desc"]="DmgCrit เพิ่มขึ้น {0}",
["name"]="attr_crit_time_green"
}, },
[15]={ [15]={
["id"]=15, ["desc"]="DmgCrit เพิ่มขึ้น {0}"
["desc"]="DmgCrit เพิ่มขึ้น {0}",
["name"]="attr_crit_time_blue"
}, },
[16]={ [16]={
["id"]=16, ["desc"]="DmgCrit เพิ่มขึ้น {0}"
["desc"]="DmgCrit เพิ่มขึ้น {0}",
["name"]="attr_crit_time_purple"
}, },
[17]={ [17]={
["id"]=17, ["desc"]="เอฟเฟกต์รักษาเพิ่มขึ้น {0}"
["desc"]="เอฟเฟกต์รักษาเพิ่มขึ้น {0}",
["name"]="attr_cured_red"
}, },
[18]={ [18]={
["id"]=18, ["desc"]="เอฟเฟกต์รักษาเพิ่มขึ้น {0}"
["desc"]="เอฟเฟกต์รักษาเพิ่มขึ้น {0}",
["name"]="attr_cured_yellow"
}, },
[19]={ [19]={
["id"]=19, ["desc"]="เอฟเฟกต์รักษาเพิ่มขึ้น {0}"
["desc"]="เอฟเฟกต์รักษาเพิ่มขึ้น {0}",
["name"]="attr_cured_green"
}, },
[20]={ [20]={
["id"]=20, ["desc"]="เอฟเฟกต์รักษาเพิ่มขึ้น {0}"
["desc"]="เอฟเฟกต์รักษาเพิ่มขึ้น {0}",
["name"]="attr_cured_blue"
}, },
[21]={ [21]={
["id"]=21, ["desc"]="เอฟเฟกต์รักษาเพิ่มขึ้น {0}"
["desc"]="เอฟเฟกต์รักษาเพิ่มขึ้น {0}",
["name"]="attr_cured_purple"
}, },
[22]={ [22]={
["id"]=22,
["name"]="attr_atkp_red"
}, },
[23]={ [23]={
["id"]=23,
["name"]="attr_atkp_yellow"
}, },
[24]={ [24]={
["id"]=24,
["name"]="attr_atkp_green"
}, },
[25]={ [25]={
["id"]=25,
["name"]="attr_atkp_blue"
}, },
[26]={ [26]={
["id"]=26,
["name"]="attr_atkp_purple"
}, },
[27]={ [27]={
["id"]=27, ["desc"]="HP เพิ่มขึ้น {0}"
["desc"]="HP เพิ่มขึ้น {0}",
["name"]="attr_hpp_red"
}, },
[28]={ [28]={
["id"]=28, ["desc"]="HP เพิ่มขึ้น {0}"
["desc"]="HP เพิ่มขึ้น {0}",
["name"]="attr_hpp_yellow"
}, },
[29]={ [29]={
["id"]=29, ["desc"]="HP เพิ่มขึ้น {0}"
["desc"]="HP เพิ่มขึ้น {0}",
["name"]="attr_hpp_green"
}, },
[30]={ [30]={
["id"]=30, ["desc"]="HP เพิ่มขึ้น {0}"
["desc"]="HP เพิ่มขึ้น {0}",
["name"]="attr_hpp_blue"
}, },
[31]={ [31]={
["id"]=31, ["desc"]="HP เพิ่มขึ้น {0}"
["desc"]="HP เพิ่มขึ้น {0}",
["name"]="attr_hpp_purple"
}, },
[32]={ [32]={
["id"]=32, ["desc"]="ดาเมจโจมตีทั่วไปเพิ่มขึ้น {0} แต้ม"
["desc"]="ดาเมจโจมตีทั่วไปเพิ่มขึ้น {0} แต้ม",
["name"]="attr_normal_hurt_red"
}, },
[33]={ [33]={
["id"]=33, ["desc"]="ดาเมจโจมตีทั่วไปเพิ่มขึ้น {0} แต้ม"
["desc"]="ดาเมจโจมตีทั่วไปเพิ่มขึ้น {0} แต้ม",
["name"]="attr_normal_hurt_yellow"
}, },
[34]={ [34]={
["id"]=34, ["desc"]="ดาเมจโจมตีทั่วไปเพิ่มขึ้น {0} แต้ม"
["desc"]="ดาเมจโจมตีทั่วไปเพิ่มขึ้น {0} แต้ม",
["name"]="attr_normal_hurt_green"
}, },
[35]={ [35]={
["id"]=35, ["desc"]="ดาเมจโจมตีทั่วไปเพิ่มขึ้น {0} แต้ม"
["desc"]="ดาเมจโจมตีทั่วไปเพิ่มขึ้น {0} แต้ม",
["name"]="attr_normal_hurt_blue"
}, },
[36]={ [36]={
["id"]=36, ["desc"]="ดาเมจโจมตีทั่วไปเพิ่มขึ้น {0} แต้ม"
["desc"]="ดาเมจโจมตีทั่วไปเพิ่มขึ้น {0} แต้ม",
["name"]="attr_normal_hurt_purple"
}, },
[37]={ [37]={
["id"]=37, ["desc"]="ดาเมจสกิลเพิ่มขึ้น {0} แต้ม"
["desc"]="ดาเมจสกิลเพิ่มขึ้น {0} แต้ม",
["name"]="attr_skill_hurt_red"
}, },
[38]={ [38]={
["id"]=38, ["desc"]="ดาเมจสกิลเพิ่มขึ้น {0} แต้ม"
["desc"]="ดาเมจสกิลเพิ่มขึ้น {0} แต้ม",
["name"]="attr_skill_hurt_yellow"
}, },
[39]={ [39]={
["id"]=39, ["desc"]="ดาเมจสกิลเพิ่มขึ้น {0} แต้ม"
["desc"]="ดาเมจสกิลเพิ่มขึ้น {0} แต้ม",
["name"]="attr_skill_hurt_green"
}, },
[40]={ [40]={
["id"]=40, ["desc"]="ดาเมจสกิลเพิ่มขึ้น {0} แต้ม"
["desc"]="ดาเมจสกิลเพิ่มขึ้น {0} แต้ม",
["name"]="attr_skill_hurt_blue"
}, },
[41]={ [41]={
["id"]=41, ["desc"]="ดาเมจสกิลเพิ่มขึ้น {0} แต้ม"
["desc"]="ดาเมจสกิลเพิ่มขึ้น {0} แต้ม",
["name"]="attr_skill_hurt_purple"
}, },
[42]={ [42]={
["id"]=42, ["desc"]="ดาเมจโจมตีทั่วไปเพิ่มขึ้น {0}"
["desc"]="ดาเมจโจมตีทั่วไปเพิ่มขึ้น {0}",
["name"]="attr_normal_hurtp_red"
}, },
[43]={ [43]={
["id"]=43, ["desc"]="ดาเมจโจมตีทั่วไปเพิ่มขึ้น {0}"
["desc"]="ดาเมจโจมตีทั่วไปเพิ่มขึ้น {0}",
["name"]="attr_normal_hurtp_yellow"
}, },
[44]={ [44]={
["id"]=44, ["desc"]="ดาเมจโจมตีทั่วไปเพิ่มขึ้น {0}"
["desc"]="ดาเมจโจมตีทั่วไปเพิ่มขึ้น {0}",
["name"]="attr_normal_hurtp_green"
}, },
[45]={ [45]={
["id"]=45, ["desc"]="ดาเมจโจมตีทั่วไปเพิ่มขึ้น {0}"
["desc"]="ดาเมจโจมตีทั่วไปเพิ่มขึ้น {0}",
["name"]="attr_normal_hurtp_blue"
}, },
[46]={ [46]={
["id"]=46, ["desc"]="ดาเมจโจมตีทั่วไปเพิ่มขึ้น {0}"
["desc"]="ดาเมจโจมตีทั่วไปเพิ่มขึ้น {0}",
["name"]="attr_normal_hurtp_purple"
}, },
[47]={ [47]={
["id"]=47, ["desc"]="ดาเมจสกิลเพิ่มขึ้น {0}"
["desc"]="ดาเมจสกิลเพิ่มขึ้น {0}",
["name"]="attr_skill_hurtp_red"
}, },
[48]={ [48]={
["id"]=48, ["desc"]="ดาเมจสกิลเพิ่มขึ้น {0}"
["desc"]="ดาเมจสกิลเพิ่มขึ้น {0}",
["name"]="attr_skill_hurtp_yellow"
}, },
[49]={ [49]={
["id"]=49, ["desc"]="ดาเมจสกิลเพิ่มขึ้น {0}"
["desc"]="ดาเมจสกิลเพิ่มขึ้น {0}",
["name"]="attr_skill_hurtp_green"
}, },
[50]={ [50]={
["id"]=50, ["desc"]="ดาเมจสกิลเพิ่มขึ้น {0}"
["desc"]="ดาเมจสกิลเพิ่มขึ้น {0}",
["name"]="attr_skill_hurtp_blue"
}, },
[51]={ [51]={
["id"]=51, ["desc"]="ดาเมจสกิลเพิ่มขึ้น {0}"
["desc"]="ดาเมจสกิลเพิ่มขึ้น {0}",
["name"]="attr_skill_hurtp_purple"
}, },
[52]={ [52]={
["id"]=52, ["desc"]="HP เพิ่มขึ้น {0}"
["desc"]="HP เพิ่มขึ้น {0}",
["name"]="attr_hp_red"
}, },
[53]={ [53]={
["id"]=53, ["desc"]="HP เพิ่มขึ้น {0}"
["desc"]="HP เพิ่มขึ้น {0}",
["name"]="attr_hp_yellow"
}, },
[54]={ [54]={
["id"]=54, ["desc"]="HP เพิ่มขึ้น {0}"
["desc"]="HP เพิ่มขึ้น {0}",
["name"]="attr_hp_green"
}, },
[55]={ [55]={
["id"]=55, ["desc"]="HP เพิ่มขึ้น {0}"
["desc"]="HP เพิ่มขึ้น {0}",
["name"]="attr_hp_blue"
}, },
[56]={ [56]={
["id"]=56, ["desc"]="HP เพิ่มขึ้น {0}"
["desc"]="HP เพิ่มขึ้น {0}",
["name"]="attr_hp_purple"
}, },
[57]={ [57]={
["id"]=57, ["desc"]="ดาเมจทั้งหมดเพิ่มขึ้น{0}"
["desc"]="ดาเมจทั้งหมดเพิ่มขึ้น{0}",
["name"]="attr_all_hurtp_red"
}, },
[58]={ [58]={
["id"]=58, ["desc"]="ดาเมจทั้งหมดเพิ่มขึ้น{0}"
["desc"]="ดาเมจทั้งหมดเพิ่มขึ้น{0}",
["name"]="attr_all_hurtp_yellow"
}, },
[59]={ [59]={
["id"]=59, ["desc"]="ดาเมจทั้งหมดเพิ่มขึ้น{0}"
["desc"]="ดาเมจทั้งหมดเพิ่มขึ้น{0}",
["name"]="attr_all_hurtp_green"
}, },
[60]={ [60]={
["id"]=60, ["desc"]="ดาเมจทั้งหมดเพิ่มขึ้น{0}"
["desc"]="ดาเมจทั้งหมดเพิ่มขึ้น{0}",
["name"]="attr_all_hurtp_blue"
}, },
[61]={ [61]={
["id"]=61, ["desc"]="ดาเมจทั้งหมดเพิ่มขึ้น{0}"
["desc"]="ดาเมจทั้งหมดเพิ่มขึ้น{0}",
["name"]="attr_all_hurtp_purple"
}, },
[62]={ [62]={
["id"]=62,
["name"]="attr_atkp_red_all"
}, },
[63]={ [63]={
["id"]=63,
["name"]="attr_atkp_yellow_all"
}, },
[64]={ [64]={
["id"]=64,
["name"]="attr_atkp_green_all"
}, },
[65]={ [65]={
["id"]=65,
["name"]="attr_atkp_blue_all"
}, },
[66]={ [66]={
["id"]=66,
["name"]="attr_atkp_purple_all"
}, },
[67]={ [67]={
["id"]=67,
["name"]="atk_all"
}, },
[68]={ [68]={
["id"]=68,
["name"]="attr_hp_all"
}, },
[69]={ [69]={
["id"]=69,
["name"]="attr_dmgdec_all"
}, },
[70]={ [70]={
["id"]=70,
["name"]="attr_crit_all"
}, },
[71]={ [71]={
["id"]=71,
["name"]="attr_crit_time_all"
}, },
[72]={ [72]={
["id"]=72,
["name"]="attr_normal_hurtp_all"
}, },
[73]={ [73]={
["id"]=73,
["name"]="attr_skill_hurtp_all"
}, },
[74]={ [74]={
["id"]=74,
["name"]="attr_atkp_all"
}, },
[75]={ [75]={
["id"]=75,
["name"]="attr_atk"
}, },
[76]={ [76]={
["id"]=76,
["name"]="attr_hp"
}, },
[77]={ [77]={
["id"]=77,
["name"]="attr_normal_hurt"
}, },
[78]={ [78]={
["id"]=78,
["name"]="attr_skill_hurt"
}, },
[79]={ [79]={
["id"]=79,
["name"]="dmgdec"
}, },
[80]={ [80]={
["id"]=80,
["name"]="attr_hpp_all"
}, },
[81]={ [81]={
["id"]=81,
["name"]="attr_monster_dmg"
}, },
[82]={ [82]={
["id"]=82,
["name"]="attr_boss_dmg"
}, },
[83]={ [83]={
["id"]=83,
["name"]="attr_normal_hurtp"
}, },
[84]={ [84]={
["id"]=84,
["name"]="attr_skill_hurtp"
}, },
[85]={ [85]={
["id"]=85,
["name"]="attr_hpp_red_all"
}, },
[86]={ [86]={
["id"]=86,
["name"]="attr_hpp_yellow_all"
}, },
[87]={ [87]={
["id"]=87,
["name"]="attr_hpp_green_all"
}, },
[88]={ [88]={
["id"]=88,
["name"]="attr_hpp_blue_all"
}, },
[89]={ [89]={
["id"]=89,
["name"]="attr_hpp_purple_all"
}
}
local keys = {
name = {
["hp"]=attr[1],
["atk_red"]=attr[2],
["atk_yellow"]=attr[3],
["atk_green"]=attr[4],
["atk_blue"]=attr[5],
["atk_purple"]=attr[6],
["attr_crit_red"]=attr[7],
["attr_crit_yellow"]=attr[8],
["attr_crit_green"]=attr[9],
["attr_crit_blue"]=attr[10],
["attr_crit_purple"]=attr[11],
["attr_crit_time_red"]=attr[12],
["attr_crit_time_yellow"]=attr[13],
["attr_crit_time_green"]=attr[14],
["attr_crit_time_blue"]=attr[15],
["attr_crit_time_purple"]=attr[16],
["attr_cured_red"]=attr[17],
["attr_cured_yellow"]=attr[18],
["attr_cured_green"]=attr[19],
["attr_cured_blue"]=attr[20],
["attr_cured_purple"]=attr[21],
["attr_atkp_red"]=attr[22],
["attr_atkp_yellow"]=attr[23],
["attr_atkp_green"]=attr[24],
["attr_atkp_blue"]=attr[25],
["attr_atkp_purple"]=attr[26],
["attr_hpp_red"]=attr[27],
["attr_hpp_yellow"]=attr[28],
["attr_hpp_green"]=attr[29],
["attr_hpp_blue"]=attr[30],
["attr_hpp_purple"]=attr[31],
["attr_normal_hurt_red"]=attr[32],
["attr_normal_hurt_yellow"]=attr[33],
["attr_normal_hurt_green"]=attr[34],
["attr_normal_hurt_blue"]=attr[35],
["attr_normal_hurt_purple"]=attr[36],
["attr_skill_hurt_red"]=attr[37],
["attr_skill_hurt_yellow"]=attr[38],
["attr_skill_hurt_green"]=attr[39],
["attr_skill_hurt_blue"]=attr[40],
["attr_skill_hurt_purple"]=attr[41],
["attr_normal_hurtp_red"]=attr[42],
["attr_normal_hurtp_yellow"]=attr[43],
["attr_normal_hurtp_green"]=attr[44],
["attr_normal_hurtp_blue"]=attr[45],
["attr_normal_hurtp_purple"]=attr[46],
["attr_skill_hurtp_red"]=attr[47],
["attr_skill_hurtp_yellow"]=attr[48],
["attr_skill_hurtp_green"]=attr[49],
["attr_skill_hurtp_blue"]=attr[50],
["attr_skill_hurtp_purple"]=attr[51],
["attr_hp_red"]=attr[52],
["attr_hp_yellow"]=attr[53],
["attr_hp_green"]=attr[54],
["attr_hp_blue"]=attr[55],
["attr_hp_purple"]=attr[56],
["attr_all_hurtp_red"]=attr[57],
["attr_all_hurtp_yellow"]=attr[58],
["attr_all_hurtp_green"]=attr[59],
["attr_all_hurtp_blue"]=attr[60],
["attr_all_hurtp_purple"]=attr[61],
["attr_atkp_red_all"]=attr[62],
["attr_atkp_yellow_all"]=attr[63],
["attr_atkp_green_all"]=attr[64],
["attr_atkp_blue_all"]=attr[65],
["attr_atkp_purple_all"]=attr[66],
["atk_all"]=attr[67],
["attr_hp_all"]=attr[68],
["attr_dmgdec_all"]=attr[69],
["attr_crit_all"]=attr[70],
["attr_crit_time_all"]=attr[71],
["attr_normal_hurtp_all"]=attr[72],
["attr_skill_hurtp_all"]=attr[73],
["attr_atkp_all"]=attr[74],
["attr_atk"]=attr[75],
["attr_hp"]=attr[76],
["attr_normal_hurt"]=attr[77],
["attr_skill_hurt"]=attr[78],
["dmgdec"]=attr[79],
["attr_hpp_all"]=attr[80],
["attr_monster_dmg"]=attr[81],
["attr_boss_dmg"]=attr[82],
["attr_normal_hurtp"]=attr[83],
["attr_skill_hurtp"]=attr[84],
["attr_hpp_red_all"]=attr[85],
["attr_hpp_yellow_all"]=attr[86],
["attr_hpp_green_all"]=attr[87],
["attr_hpp_blue_all"]=attr[88],
["attr_hpp_purple_all"]=attr[89]
} }
} }
local config = { local config = {
data=attr, data=attr,count=89
keys=keys,
count=89
} }
return config return config

View File

@ -6,10 +6,10 @@ local tutorial = {
["value"]="รับหีบและปลดล็อกฮีโร่ใหม่" ["value"]="รับหีบและปลดล็อกฮีโร่ใหม่"
}, },
["tutorial_txt_3"]={ ["tutorial_txt_3"]={
["value"]="รับหีบและรับเศษฮีโร่"
}, },
["tutorial_txt_4"]={ ["tutorial_txt_4"]={
["value"]="รับหีบและรับฮีโร่คนที่ 5"
}, },
["tutorial_txt_5"]={ ["tutorial_txt_5"]={
["value"]="ไปที่ห้างเพื่อรับฮีโร่เพิ่มเติม!" ["value"]="ไปที่ห้างเพื่อรับฮีโร่เพิ่มเติม!"

View File

@ -1,513 +1,273 @@
local attr = { local attr = {
[1]={ [1]={
["id"]=1, ["desc"]="Tăng {0} HP"
["desc"]="Tăng {0} HP",
["name"]="hp"
}, },
[2]={ [2]={
["id"]=2, ["desc"]="Tăng {0} Công"
["desc"]="Tăng {0} Công",
["name"]="atk_red"
}, },
[3]={ [3]={
["id"]=3, ["desc"]="Tăng {0} Công"
["desc"]="Tăng {0} Công",
["name"]="atk_yellow"
}, },
[4]={ [4]={
["id"]=4, ["desc"]="Tăng {0} Công"
["desc"]="Tăng {0} Công",
["name"]="atk_green"
}, },
[5]={ [5]={
["id"]=5, ["desc"]="Tăng {0} Công"
["desc"]="Tăng {0} Công",
["name"]="atk_blue"
}, },
[6]={ [6]={
["id"]=6, ["desc"]="Tăng {0} Công"
["desc"]="Tăng {0} Công",
["name"]="atk_purple"
}, },
[7]={ [7]={
["id"]=7, ["desc"]="Tăng {0} TL Chí Mạng"
["desc"]="Tăng {0} TL Chí Mạng",
["name"]="attr_crit_red"
}, },
[8]={ [8]={
["id"]=8, ["desc"]="Tăng {0} TL Chí Mạng"
["desc"]="Tăng {0} TL Chí Mạng",
["name"]="attr_crit_yellow"
}, },
[9]={ [9]={
["id"]=9, ["desc"]="Tăng {0} TL Chí Mạng"
["desc"]="Tăng {0} TL Chí Mạng",
["name"]="attr_crit_green"
}, },
[10]={ [10]={
["id"]=10, ["desc"]="Tăng {0} TL Chí Mạng"
["desc"]="Tăng {0} TL Chí Mạng",
["name"]="attr_crit_blue"
}, },
[11]={ [11]={
["id"]=11, ["desc"]="Tăng {0} TL Chí Mạng"
["desc"]="Tăng {0} TL Chí Mạng",
["name"]="attr_crit_purple"
}, },
[12]={ [12]={
["id"]=12, ["desc"]="Tăng {0} sát thương Chí Mạng"
["desc"]="Tăng {0} sát thương Chí Mạng",
["name"]="attr_crit_time_red"
}, },
[13]={ [13]={
["id"]=13, ["desc"]="Tăng {0} sát thương Chí Mạng"
["desc"]="Tăng {0} sát thương Chí Mạng",
["name"]="attr_crit_time_yellow"
}, },
[14]={ [14]={
["id"]=14, ["desc"]="Tăng {0} sát thương Chí Mạng"
["desc"]="Tăng {0} sát thương Chí Mạng",
["name"]="attr_crit_time_green"
}, },
[15]={ [15]={
["id"]=15, ["desc"]="Tăng {0} sát thương Chí Mạng"
["desc"]="Tăng {0} sát thương Chí Mạng",
["name"]="attr_crit_time_blue"
}, },
[16]={ [16]={
["id"]=16, ["desc"]="Tăng {0} sát thương Chí Mạng"
["desc"]="Tăng {0} sát thương Chí Mạng",
["name"]="attr_crit_time_purple"
}, },
[17]={ [17]={
["id"]=17, ["desc"]="Tăng {0} hiệu quả Trị Liệu"
["desc"]="Tăng {0} hiệu quả Trị Liệu",
["name"]="attr_cured_red"
}, },
[18]={ [18]={
["id"]=18, ["desc"]="Tăng {0} hiệu quả Trị Liệu"
["desc"]="Tăng {0} hiệu quả Trị Liệu",
["name"]="attr_cured_yellow"
}, },
[19]={ [19]={
["id"]=19, ["desc"]="Tăng {0} hiệu quả Trị Liệu"
["desc"]="Tăng {0} hiệu quả Trị Liệu",
["name"]="attr_cured_green"
}, },
[20]={ [20]={
["id"]=20, ["desc"]="Tăng {0} hiệu quả Trị Liệu"
["desc"]="Tăng {0} hiệu quả Trị Liệu",
["name"]="attr_cured_blue"
}, },
[21]={ [21]={
["id"]=21, ["desc"]="Tăng {0} hiệu quả Trị Liệu"
["desc"]="Tăng {0} hiệu quả Trị Liệu",
["name"]="attr_cured_purple"
}, },
[22]={ [22]={
["id"]=22,
["name"]="attr_atkp_red"
}, },
[23]={ [23]={
["id"]=23,
["name"]="attr_atkp_yellow"
}, },
[24]={ [24]={
["id"]=24,
["name"]="attr_atkp_green"
}, },
[25]={ [25]={
["id"]=25,
["name"]="attr_atkp_blue"
}, },
[26]={ [26]={
["id"]=26,
["name"]="attr_atkp_purple"
}, },
[27]={ [27]={
["id"]=27, ["desc"]="Tăng {0} HP"
["desc"]="Tăng {0} HP",
["name"]="attr_hpp_red"
}, },
[28]={ [28]={
["id"]=28, ["desc"]="Tăng {0} HP"
["desc"]="Tăng {0} HP",
["name"]="attr_hpp_yellow"
}, },
[29]={ [29]={
["id"]=29, ["desc"]="Tăng {0} HP"
["desc"]="Tăng {0} HP",
["name"]="attr_hpp_green"
}, },
[30]={ [30]={
["id"]=30, ["desc"]="Tăng {0} HP"
["desc"]="Tăng {0} HP",
["name"]="attr_hpp_blue"
}, },
[31]={ [31]={
["id"]=31, ["desc"]="Tăng {0} HP"
["desc"]="Tăng {0} HP",
["name"]="attr_hpp_purple"
}, },
[32]={ [32]={
["id"]=32, ["desc"]="Tăng {0} sát thương đánh thường"
["desc"]="Tăng {0} sát thương đánh thường",
["name"]="attr_normal_hurt_red"
}, },
[33]={ [33]={
["id"]=33, ["desc"]="Tăng {0} sát thương đánh thường"
["desc"]="Tăng {0} sát thương đánh thường",
["name"]="attr_normal_hurt_yellow"
}, },
[34]={ [34]={
["id"]=34, ["desc"]="Tăng {0} sát thương đánh thường"
["desc"]="Tăng {0} sát thương đánh thường",
["name"]="attr_normal_hurt_green"
}, },
[35]={ [35]={
["id"]=35, ["desc"]="Tăng {0} sát thương đánh thường"
["desc"]="Tăng {0} sát thương đánh thường",
["name"]="attr_normal_hurt_blue"
}, },
[36]={ [36]={
["id"]=36, ["desc"]="Tăng {0} sát thương đánh thường"
["desc"]="Tăng {0} sát thương đánh thường",
["name"]="attr_normal_hurt_purple"
}, },
[37]={ [37]={
["id"]=37, ["desc"]="Tăng {0} sát thương kỹ năng"
["desc"]="Tăng {0} sát thương kỹ năng",
["name"]="attr_skill_hurt_red"
}, },
[38]={ [38]={
["id"]=38, ["desc"]="Tăng {0} sát thương kỹ năng"
["desc"]="Tăng {0} sát thương kỹ năng",
["name"]="attr_skill_hurt_yellow"
}, },
[39]={ [39]={
["id"]=39, ["desc"]="Tăng {0} sát thương kỹ năng"
["desc"]="Tăng {0} sát thương kỹ năng",
["name"]="attr_skill_hurt_green"
}, },
[40]={ [40]={
["id"]=40, ["desc"]="Tăng {0} sát thương kỹ năng"
["desc"]="Tăng {0} sát thương kỹ năng",
["name"]="attr_skill_hurt_blue"
}, },
[41]={ [41]={
["id"]=41, ["desc"]="Tăng {0} sát thương kỹ năng"
["desc"]="Tăng {0} sát thương kỹ năng",
["name"]="attr_skill_hurt_purple"
}, },
[42]={ [42]={
["id"]=42, ["desc"]="Tăng {0} sát thương đánh thường"
["desc"]="Tăng {0} sát thương đánh thường",
["name"]="attr_normal_hurtp_red"
}, },
[43]={ [43]={
["id"]=43, ["desc"]="Tăng {0} sát thương đánh thường"
["desc"]="Tăng {0} sát thương đánh thường",
["name"]="attr_normal_hurtp_yellow"
}, },
[44]={ [44]={
["id"]=44, ["desc"]="Tăng {0} sát thương đánh thường"
["desc"]="Tăng {0} sát thương đánh thường",
["name"]="attr_normal_hurtp_green"
}, },
[45]={ [45]={
["id"]=45, ["desc"]="Tăng {0} sát thương đánh thường"
["desc"]="Tăng {0} sát thương đánh thường",
["name"]="attr_normal_hurtp_blue"
}, },
[46]={ [46]={
["id"]=46, ["desc"]="Tăng {0} sát thương đánh thường"
["desc"]="Tăng {0} sát thương đánh thường",
["name"]="attr_normal_hurtp_purple"
}, },
[47]={ [47]={
["id"]=47, ["desc"]="Tăng {0} sát thương kỹ năng"
["desc"]="Tăng {0} sát thương kỹ năng",
["name"]="attr_skill_hurtp_red"
}, },
[48]={ [48]={
["id"]=48, ["desc"]="Tăng {0} sát thương kỹ năng"
["desc"]="Tăng {0} sát thương kỹ năng",
["name"]="attr_skill_hurtp_yellow"
}, },
[49]={ [49]={
["id"]=49, ["desc"]="Tăng {0} sát thương kỹ năng"
["desc"]="Tăng {0} sát thương kỹ năng",
["name"]="attr_skill_hurtp_green"
}, },
[50]={ [50]={
["id"]=50, ["desc"]="Tăng {0} sát thương kỹ năng"
["desc"]="Tăng {0} sát thương kỹ năng",
["name"]="attr_skill_hurtp_blue"
}, },
[51]={ [51]={
["id"]=51, ["desc"]="Tăng {0} sát thương kỹ năng"
["desc"]="Tăng {0} sát thương kỹ năng",
["name"]="attr_skill_hurtp_purple"
}, },
[52]={ [52]={
["id"]=52, ["desc"]="Tăng {0} HP"
["desc"]="Tăng {0} HP",
["name"]="attr_hp_red"
}, },
[53]={ [53]={
["id"]=53, ["desc"]="Tăng {0} HP"
["desc"]="Tăng {0} HP",
["name"]="attr_hp_yellow"
}, },
[54]={ [54]={
["id"]=54, ["desc"]="Tăng {0} HP"
["desc"]="Tăng {0} HP",
["name"]="attr_hp_green"
}, },
[55]={ [55]={
["id"]=55, ["desc"]="Tăng {0} HP"
["desc"]="Tăng {0} HP",
["name"]="attr_hp_blue"
}, },
[56]={ [56]={
["id"]=56, ["desc"]="Tăng {0} HP"
["desc"]="Tăng {0} HP",
["name"]="attr_hp_purple"
}, },
[57]={ [57]={
["id"]=57, ["desc"]="Tất cả ST tăng {0}"
["desc"]="Tất cả ST tăng {0}",
["name"]="attr_all_hurtp_red"
}, },
[58]={ [58]={
["id"]=58, ["desc"]="Tất cả ST tăng {0}"
["desc"]="Tất cả ST tăng {0}",
["name"]="attr_all_hurtp_yellow"
}, },
[59]={ [59]={
["id"]=59, ["desc"]="Tất cả ST tăng {0}"
["desc"]="Tất cả ST tăng {0}",
["name"]="attr_all_hurtp_green"
}, },
[60]={ [60]={
["id"]=60, ["desc"]="Tất cả ST tăng {0}"
["desc"]="Tất cả ST tăng {0}",
["name"]="attr_all_hurtp_blue"
}, },
[61]={ [61]={
["id"]=61, ["desc"]="Tất cả ST tăng {0}"
["desc"]="Tất cả ST tăng {0}",
["name"]="attr_all_hurtp_purple"
}, },
[62]={ [62]={
["id"]=62,
["name"]="attr_atkp_red_all"
}, },
[63]={ [63]={
["id"]=63,
["name"]="attr_atkp_yellow_all"
}, },
[64]={ [64]={
["id"]=64,
["name"]="attr_atkp_green_all"
}, },
[65]={ [65]={
["id"]=65,
["name"]="attr_atkp_blue_all"
}, },
[66]={ [66]={
["id"]=66,
["name"]="attr_atkp_purple_all"
}, },
[67]={ [67]={
["id"]=67,
["name"]="atk_all"
}, },
[68]={ [68]={
["id"]=68,
["name"]="attr_hp_all"
}, },
[69]={ [69]={
["id"]=69,
["name"]="attr_dmgdec_all"
}, },
[70]={ [70]={
["id"]=70,
["name"]="attr_crit_all"
}, },
[71]={ [71]={
["id"]=71,
["name"]="attr_crit_time_all"
}, },
[72]={ [72]={
["id"]=72,
["name"]="attr_normal_hurtp_all"
}, },
[73]={ [73]={
["id"]=73,
["name"]="attr_skill_hurtp_all"
}, },
[74]={ [74]={
["id"]=74,
["name"]="attr_atkp_all"
}, },
[75]={ [75]={
["id"]=75,
["name"]="attr_atk"
}, },
[76]={ [76]={
["id"]=76,
["name"]="attr_hp"
}, },
[77]={ [77]={
["id"]=77,
["name"]="attr_normal_hurt"
}, },
[78]={ [78]={
["id"]=78,
["name"]="attr_skill_hurt"
}, },
[79]={ [79]={
["id"]=79,
["name"]="dmgdec"
}, },
[80]={ [80]={
["id"]=80,
["name"]="attr_hpp_all"
}, },
[81]={ [81]={
["id"]=81,
["name"]="attr_monster_dmg"
}, },
[82]={ [82]={
["id"]=82,
["name"]="attr_boss_dmg"
}, },
[83]={ [83]={
["id"]=83,
["name"]="attr_normal_hurtp"
}, },
[84]={ [84]={
["id"]=84,
["name"]="attr_skill_hurtp"
}, },
[85]={ [85]={
["id"]=85,
["name"]="attr_hpp_red_all"
}, },
[86]={ [86]={
["id"]=86,
["name"]="attr_hpp_yellow_all"
}, },
[87]={ [87]={
["id"]=87,
["name"]="attr_hpp_green_all"
}, },
[88]={ [88]={
["id"]=88,
["name"]="attr_hpp_blue_all"
}, },
[89]={ [89]={
["id"]=89,
["name"]="attr_hpp_purple_all"
}
}
local keys = {
name = {
["hp"]=attr[1],
["atk_red"]=attr[2],
["atk_yellow"]=attr[3],
["atk_green"]=attr[4],
["atk_blue"]=attr[5],
["atk_purple"]=attr[6],
["attr_crit_red"]=attr[7],
["attr_crit_yellow"]=attr[8],
["attr_crit_green"]=attr[9],
["attr_crit_blue"]=attr[10],
["attr_crit_purple"]=attr[11],
["attr_crit_time_red"]=attr[12],
["attr_crit_time_yellow"]=attr[13],
["attr_crit_time_green"]=attr[14],
["attr_crit_time_blue"]=attr[15],
["attr_crit_time_purple"]=attr[16],
["attr_cured_red"]=attr[17],
["attr_cured_yellow"]=attr[18],
["attr_cured_green"]=attr[19],
["attr_cured_blue"]=attr[20],
["attr_cured_purple"]=attr[21],
["attr_atkp_red"]=attr[22],
["attr_atkp_yellow"]=attr[23],
["attr_atkp_green"]=attr[24],
["attr_atkp_blue"]=attr[25],
["attr_atkp_purple"]=attr[26],
["attr_hpp_red"]=attr[27],
["attr_hpp_yellow"]=attr[28],
["attr_hpp_green"]=attr[29],
["attr_hpp_blue"]=attr[30],
["attr_hpp_purple"]=attr[31],
["attr_normal_hurt_red"]=attr[32],
["attr_normal_hurt_yellow"]=attr[33],
["attr_normal_hurt_green"]=attr[34],
["attr_normal_hurt_blue"]=attr[35],
["attr_normal_hurt_purple"]=attr[36],
["attr_skill_hurt_red"]=attr[37],
["attr_skill_hurt_yellow"]=attr[38],
["attr_skill_hurt_green"]=attr[39],
["attr_skill_hurt_blue"]=attr[40],
["attr_skill_hurt_purple"]=attr[41],
["attr_normal_hurtp_red"]=attr[42],
["attr_normal_hurtp_yellow"]=attr[43],
["attr_normal_hurtp_green"]=attr[44],
["attr_normal_hurtp_blue"]=attr[45],
["attr_normal_hurtp_purple"]=attr[46],
["attr_skill_hurtp_red"]=attr[47],
["attr_skill_hurtp_yellow"]=attr[48],
["attr_skill_hurtp_green"]=attr[49],
["attr_skill_hurtp_blue"]=attr[50],
["attr_skill_hurtp_purple"]=attr[51],
["attr_hp_red"]=attr[52],
["attr_hp_yellow"]=attr[53],
["attr_hp_green"]=attr[54],
["attr_hp_blue"]=attr[55],
["attr_hp_purple"]=attr[56],
["attr_all_hurtp_red"]=attr[57],
["attr_all_hurtp_yellow"]=attr[58],
["attr_all_hurtp_green"]=attr[59],
["attr_all_hurtp_blue"]=attr[60],
["attr_all_hurtp_purple"]=attr[61],
["attr_atkp_red_all"]=attr[62],
["attr_atkp_yellow_all"]=attr[63],
["attr_atkp_green_all"]=attr[64],
["attr_atkp_blue_all"]=attr[65],
["attr_atkp_purple_all"]=attr[66],
["atk_all"]=attr[67],
["attr_hp_all"]=attr[68],
["attr_dmgdec_all"]=attr[69],
["attr_crit_all"]=attr[70],
["attr_crit_time_all"]=attr[71],
["attr_normal_hurtp_all"]=attr[72],
["attr_skill_hurtp_all"]=attr[73],
["attr_atkp_all"]=attr[74],
["attr_atk"]=attr[75],
["attr_hp"]=attr[76],
["attr_normal_hurt"]=attr[77],
["attr_skill_hurt"]=attr[78],
["dmgdec"]=attr[79],
["attr_hpp_all"]=attr[80],
["attr_monster_dmg"]=attr[81],
["attr_boss_dmg"]=attr[82],
["attr_normal_hurtp"]=attr[83],
["attr_skill_hurtp"]=attr[84],
["attr_hpp_red_all"]=attr[85],
["attr_hpp_yellow_all"]=attr[86],
["attr_hpp_green_all"]=attr[87],
["attr_hpp_blue_all"]=attr[88],
["attr_hpp_purple_all"]=attr[89]
} }
} }
local config = { local config = {
data=attr, data=attr,count=89
keys=keys,
count=89
} }
return config return config

View File

@ -6,10 +6,10 @@ local tutorial = {
["value"]="Nhận rương, mở khóa Anh Hùng mới" ["value"]="Nhận rương, mở khóa Anh Hùng mới"
}, },
["tutorial_txt_3"]={ ["tutorial_txt_3"]={
["value"]="Nhận rương, nhận Mảnh Anh Hùng"
}, },
["tutorial_txt_4"]={ ["tutorial_txt_4"]={
["value"]="Nhận rương, nhận Anh Hùng thứ 5"
}, },
["tutorial_txt_5"]={ ["tutorial_txt_5"]={
["value"]="Đến SHOP, nhận thêm nhiều Anh Hùng!" ["value"]="Đến SHOP, nhận thêm nhiều Anh Hùng!"

View File

@ -1,513 +1,273 @@
local attr = { local attr = {
[1]={ [1]={
["id"]=1, ["desc"]="生命提高{0}"
["desc"]="生命提高{0}",
["name"]="hp"
}, },
[2]={ [2]={
["id"]=2, ["desc"]="攻擊力提高{0}"
["desc"]="攻擊力提高{0}",
["name"]="atk_red"
}, },
[3]={ [3]={
["id"]=3, ["desc"]="攻擊力提高{0}"
["desc"]="攻擊力提高{0}",
["name"]="atk_yellow"
}, },
[4]={ [4]={
["id"]=4, ["desc"]="攻擊力提高{0}"
["desc"]="攻擊力提高{0}",
["name"]="atk_green"
}, },
[5]={ [5]={
["id"]=5, ["desc"]="攻擊力提高{0}"
["desc"]="攻擊力提高{0}",
["name"]="atk_blue"
}, },
[6]={ [6]={
["id"]=6, ["desc"]="攻擊力提高{0}"
["desc"]="攻擊力提高{0}",
["name"]="atk_purple"
}, },
[7]={ [7]={
["id"]=7, ["desc"]="暴擊率提高{0}"
["desc"]="暴擊率提高{0}",
["name"]="attr_crit_red"
}, },
[8]={ [8]={
["id"]=8, ["desc"]="暴擊率提高{0}"
["desc"]="暴擊率提高{0}",
["name"]="attr_crit_yellow"
}, },
[9]={ [9]={
["id"]=9, ["desc"]="暴擊率提高{0}"
["desc"]="暴擊率提高{0}",
["name"]="attr_crit_green"
}, },
[10]={ [10]={
["id"]=10, ["desc"]="暴擊率提高{0}"
["desc"]="暴擊率提高{0}",
["name"]="attr_crit_blue"
}, },
[11]={ [11]={
["id"]=11, ["desc"]="暴擊率提高{0}"
["desc"]="暴擊率提高{0}",
["name"]="attr_crit_purple"
}, },
[12]={ [12]={
["id"]=12, ["desc"]="暴擊傷害提高{0}"
["desc"]="暴擊傷害提高{0}",
["name"]="attr_crit_time_red"
}, },
[13]={ [13]={
["id"]=13, ["desc"]="暴擊傷害提高{0}"
["desc"]="暴擊傷害提高{0}",
["name"]="attr_crit_time_yellow"
}, },
[14]={ [14]={
["id"]=14, ["desc"]="暴擊傷害提高{0}"
["desc"]="暴擊傷害提高{0}",
["name"]="attr_crit_time_green"
}, },
[15]={ [15]={
["id"]=15, ["desc"]="暴擊傷害提高{0}"
["desc"]="暴擊傷害提高{0}",
["name"]="attr_crit_time_blue"
}, },
[16]={ [16]={
["id"]=16, ["desc"]="暴擊傷害提高{0}"
["desc"]="暴擊傷害提高{0}",
["name"]="attr_crit_time_purple"
}, },
[17]={ [17]={
["id"]=17, ["desc"]="治療效果提高{0}"
["desc"]="治療效果提高{0}",
["name"]="attr_cured_red"
}, },
[18]={ [18]={
["id"]=18, ["desc"]="治療效果提高{0}"
["desc"]="治療效果提高{0}",
["name"]="attr_cured_yellow"
}, },
[19]={ [19]={
["id"]=19, ["desc"]="治療效果提高{0}"
["desc"]="治療效果提高{0}",
["name"]="attr_cured_green"
}, },
[20]={ [20]={
["id"]=20, ["desc"]="治療效果提高{0}"
["desc"]="治療效果提高{0}",
["name"]="attr_cured_blue"
}, },
[21]={ [21]={
["id"]=21, ["desc"]="治療效果提高{0}"
["desc"]="治療效果提高{0}",
["name"]="attr_cured_purple"
}, },
[22]={ [22]={
["id"]=22,
["name"]="attr_atkp_red"
}, },
[23]={ [23]={
["id"]=23,
["name"]="attr_atkp_yellow"
}, },
[24]={ [24]={
["id"]=24,
["name"]="attr_atkp_green"
}, },
[25]={ [25]={
["id"]=25,
["name"]="attr_atkp_blue"
}, },
[26]={ [26]={
["id"]=26,
["name"]="attr_atkp_purple"
}, },
[27]={ [27]={
["id"]=27, ["desc"]="生命提高{0}"
["desc"]="生命提高{0}",
["name"]="attr_hpp_red"
}, },
[28]={ [28]={
["id"]=28, ["desc"]="生命提高{0}"
["desc"]="生命提高{0}",
["name"]="attr_hpp_yellow"
}, },
[29]={ [29]={
["id"]=29, ["desc"]="生命提高{0}"
["desc"]="生命提高{0}",
["name"]="attr_hpp_green"
}, },
[30]={ [30]={
["id"]=30, ["desc"]="生命提高{0}"
["desc"]="生命提高{0}",
["name"]="attr_hpp_blue"
}, },
[31]={ [31]={
["id"]=31, ["desc"]="生命提高{0}"
["desc"]="生命提高{0}",
["name"]="attr_hpp_purple"
}, },
[32]={ [32]={
["id"]=32, ["desc"]="普攻傷害增加{0}點"
["desc"]="普攻傷害增加{0}點",
["name"]="attr_normal_hurt_red"
}, },
[33]={ [33]={
["id"]=33, ["desc"]="普攻傷害增加{0}點"
["desc"]="普攻傷害增加{0}點",
["name"]="attr_normal_hurt_yellow"
}, },
[34]={ [34]={
["id"]=34, ["desc"]="普攻傷害增加{0}點"
["desc"]="普攻傷害增加{0}點",
["name"]="attr_normal_hurt_green"
}, },
[35]={ [35]={
["id"]=35, ["desc"]="普攻傷害增加{0}點"
["desc"]="普攻傷害增加{0}點",
["name"]="attr_normal_hurt_blue"
}, },
[36]={ [36]={
["id"]=36, ["desc"]="普攻傷害增加{0}點"
["desc"]="普攻傷害增加{0}點",
["name"]="attr_normal_hurt_purple"
}, },
[37]={ [37]={
["id"]=37, ["desc"]="技能傷害增加{0}點"
["desc"]="技能傷害增加{0}點",
["name"]="attr_skill_hurt_red"
}, },
[38]={ [38]={
["id"]=38, ["desc"]="技能傷害增加{0}點"
["desc"]="技能傷害增加{0}點",
["name"]="attr_skill_hurt_yellow"
}, },
[39]={ [39]={
["id"]=39, ["desc"]="技能傷害增加{0}點"
["desc"]="技能傷害增加{0}點",
["name"]="attr_skill_hurt_green"
}, },
[40]={ [40]={
["id"]=40, ["desc"]="技能傷害增加{0}點"
["desc"]="技能傷害增加{0}點",
["name"]="attr_skill_hurt_blue"
}, },
[41]={ [41]={
["id"]=41, ["desc"]="技能傷害增加{0}點"
["desc"]="技能傷害增加{0}點",
["name"]="attr_skill_hurt_purple"
}, },
[42]={ [42]={
["id"]=42, ["desc"]="普攻傷害增加{0}"
["desc"]="普攻傷害增加{0}",
["name"]="attr_normal_hurtp_red"
}, },
[43]={ [43]={
["id"]=43, ["desc"]="普攻傷害增加{0}"
["desc"]="普攻傷害增加{0}",
["name"]="attr_normal_hurtp_yellow"
}, },
[44]={ [44]={
["id"]=44, ["desc"]="普攻傷害增加{0}"
["desc"]="普攻傷害增加{0}",
["name"]="attr_normal_hurtp_green"
}, },
[45]={ [45]={
["id"]=45, ["desc"]="普攻傷害增加{0}"
["desc"]="普攻傷害增加{0}",
["name"]="attr_normal_hurtp_blue"
}, },
[46]={ [46]={
["id"]=46, ["desc"]="普攻傷害增加{0}"
["desc"]="普攻傷害增加{0}",
["name"]="attr_normal_hurtp_purple"
}, },
[47]={ [47]={
["id"]=47, ["desc"]="技能傷害增加{0}"
["desc"]="技能傷害增加{0}",
["name"]="attr_skill_hurtp_red"
}, },
[48]={ [48]={
["id"]=48, ["desc"]="技能傷害增加{0}"
["desc"]="技能傷害增加{0}",
["name"]="attr_skill_hurtp_yellow"
}, },
[49]={ [49]={
["id"]=49, ["desc"]="技能傷害增加{0}"
["desc"]="技能傷害增加{0}",
["name"]="attr_skill_hurtp_green"
}, },
[50]={ [50]={
["id"]=50, ["desc"]="技能傷害增加{0}"
["desc"]="技能傷害增加{0}",
["name"]="attr_skill_hurtp_blue"
}, },
[51]={ [51]={
["id"]=51, ["desc"]="技能傷害增加{0}"
["desc"]="技能傷害增加{0}",
["name"]="attr_skill_hurtp_purple"
}, },
[52]={ [52]={
["id"]=52, ["desc"]="生命提高{0}"
["desc"]="生命提高{0}",
["name"]="attr_hp_red"
}, },
[53]={ [53]={
["id"]=53, ["desc"]="生命提高{0}"
["desc"]="生命提高{0}",
["name"]="attr_hp_yellow"
}, },
[54]={ [54]={
["id"]=54, ["desc"]="生命提高{0}"
["desc"]="生命提高{0}",
["name"]="attr_hp_green"
}, },
[55]={ [55]={
["id"]=55, ["desc"]="生命提高{0}"
["desc"]="生命提高{0}",
["name"]="attr_hp_blue"
}, },
[56]={ [56]={
["id"]=56, ["desc"]="生命提高{0}"
["desc"]="生命提高{0}",
["name"]="attr_hp_purple"
}, },
[57]={ [57]={
["id"]=57, ["desc"]="所有傷害提高{0}"
["desc"]="所有傷害提高{0}",
["name"]="attr_all_hurtp_red"
}, },
[58]={ [58]={
["id"]=58, ["desc"]="所有傷害提高{0}"
["desc"]="所有傷害提高{0}",
["name"]="attr_all_hurtp_yellow"
}, },
[59]={ [59]={
["id"]=59, ["desc"]="所有傷害提高{0}"
["desc"]="所有傷害提高{0}",
["name"]="attr_all_hurtp_green"
}, },
[60]={ [60]={
["id"]=60, ["desc"]="所有傷害提高{0}"
["desc"]="所有傷害提高{0}",
["name"]="attr_all_hurtp_blue"
}, },
[61]={ [61]={
["id"]=61, ["desc"]="所有傷害提高{0}"
["desc"]="所有傷害提高{0}",
["name"]="attr_all_hurtp_purple"
}, },
[62]={ [62]={
["id"]=62,
["name"]="attr_atkp_red_all"
}, },
[63]={ [63]={
["id"]=63,
["name"]="attr_atkp_yellow_all"
}, },
[64]={ [64]={
["id"]=64,
["name"]="attr_atkp_green_all"
}, },
[65]={ [65]={
["id"]=65,
["name"]="attr_atkp_blue_all"
}, },
[66]={ [66]={
["id"]=66,
["name"]="attr_atkp_purple_all"
}, },
[67]={ [67]={
["id"]=67,
["name"]="atk_all"
}, },
[68]={ [68]={
["id"]=68,
["name"]="attr_hp_all"
}, },
[69]={ [69]={
["id"]=69,
["name"]="attr_dmgdec_all"
}, },
[70]={ [70]={
["id"]=70,
["name"]="attr_crit_all"
}, },
[71]={ [71]={
["id"]=71,
["name"]="attr_crit_time_all"
}, },
[72]={ [72]={
["id"]=72,
["name"]="attr_normal_hurtp_all"
}, },
[73]={ [73]={
["id"]=73,
["name"]="attr_skill_hurtp_all"
}, },
[74]={ [74]={
["id"]=74,
["name"]="attr_atkp_all"
}, },
[75]={ [75]={
["id"]=75,
["name"]="attr_atk"
}, },
[76]={ [76]={
["id"]=76,
["name"]="attr_hp"
}, },
[77]={ [77]={
["id"]=77,
["name"]="attr_normal_hurt"
}, },
[78]={ [78]={
["id"]=78,
["name"]="attr_skill_hurt"
}, },
[79]={ [79]={
["id"]=79,
["name"]="dmgdec"
}, },
[80]={ [80]={
["id"]=80,
["name"]="attr_hpp_all"
}, },
[81]={ [81]={
["id"]=81,
["name"]="attr_monster_dmg"
}, },
[82]={ [82]={
["id"]=82,
["name"]="attr_boss_dmg"
}, },
[83]={ [83]={
["id"]=83,
["name"]="attr_normal_hurtp"
}, },
[84]={ [84]={
["id"]=84,
["name"]="attr_skill_hurtp"
}, },
[85]={ [85]={
["id"]=85,
["name"]="attr_hpp_red_all"
}, },
[86]={ [86]={
["id"]=86,
["name"]="attr_hpp_yellow_all"
}, },
[87]={ [87]={
["id"]=87,
["name"]="attr_hpp_green_all"
}, },
[88]={ [88]={
["id"]=88,
["name"]="attr_hpp_blue_all"
}, },
[89]={ [89]={
["id"]=89,
["name"]="attr_hpp_purple_all"
}
}
local keys = {
name = {
["hp"]=attr[1],
["atk_red"]=attr[2],
["atk_yellow"]=attr[3],
["atk_green"]=attr[4],
["atk_blue"]=attr[5],
["atk_purple"]=attr[6],
["attr_crit_red"]=attr[7],
["attr_crit_yellow"]=attr[8],
["attr_crit_green"]=attr[9],
["attr_crit_blue"]=attr[10],
["attr_crit_purple"]=attr[11],
["attr_crit_time_red"]=attr[12],
["attr_crit_time_yellow"]=attr[13],
["attr_crit_time_green"]=attr[14],
["attr_crit_time_blue"]=attr[15],
["attr_crit_time_purple"]=attr[16],
["attr_cured_red"]=attr[17],
["attr_cured_yellow"]=attr[18],
["attr_cured_green"]=attr[19],
["attr_cured_blue"]=attr[20],
["attr_cured_purple"]=attr[21],
["attr_atkp_red"]=attr[22],
["attr_atkp_yellow"]=attr[23],
["attr_atkp_green"]=attr[24],
["attr_atkp_blue"]=attr[25],
["attr_atkp_purple"]=attr[26],
["attr_hpp_red"]=attr[27],
["attr_hpp_yellow"]=attr[28],
["attr_hpp_green"]=attr[29],
["attr_hpp_blue"]=attr[30],
["attr_hpp_purple"]=attr[31],
["attr_normal_hurt_red"]=attr[32],
["attr_normal_hurt_yellow"]=attr[33],
["attr_normal_hurt_green"]=attr[34],
["attr_normal_hurt_blue"]=attr[35],
["attr_normal_hurt_purple"]=attr[36],
["attr_skill_hurt_red"]=attr[37],
["attr_skill_hurt_yellow"]=attr[38],
["attr_skill_hurt_green"]=attr[39],
["attr_skill_hurt_blue"]=attr[40],
["attr_skill_hurt_purple"]=attr[41],
["attr_normal_hurtp_red"]=attr[42],
["attr_normal_hurtp_yellow"]=attr[43],
["attr_normal_hurtp_green"]=attr[44],
["attr_normal_hurtp_blue"]=attr[45],
["attr_normal_hurtp_purple"]=attr[46],
["attr_skill_hurtp_red"]=attr[47],
["attr_skill_hurtp_yellow"]=attr[48],
["attr_skill_hurtp_green"]=attr[49],
["attr_skill_hurtp_blue"]=attr[50],
["attr_skill_hurtp_purple"]=attr[51],
["attr_hp_red"]=attr[52],
["attr_hp_yellow"]=attr[53],
["attr_hp_green"]=attr[54],
["attr_hp_blue"]=attr[55],
["attr_hp_purple"]=attr[56],
["attr_all_hurtp_red"]=attr[57],
["attr_all_hurtp_yellow"]=attr[58],
["attr_all_hurtp_green"]=attr[59],
["attr_all_hurtp_blue"]=attr[60],
["attr_all_hurtp_purple"]=attr[61],
["attr_atkp_red_all"]=attr[62],
["attr_atkp_yellow_all"]=attr[63],
["attr_atkp_green_all"]=attr[64],
["attr_atkp_blue_all"]=attr[65],
["attr_atkp_purple_all"]=attr[66],
["atk_all"]=attr[67],
["attr_hp_all"]=attr[68],
["attr_dmgdec_all"]=attr[69],
["attr_crit_all"]=attr[70],
["attr_crit_time_all"]=attr[71],
["attr_normal_hurtp_all"]=attr[72],
["attr_skill_hurtp_all"]=attr[73],
["attr_atkp_all"]=attr[74],
["attr_atk"]=attr[75],
["attr_hp"]=attr[76],
["attr_normal_hurt"]=attr[77],
["attr_skill_hurt"]=attr[78],
["dmgdec"]=attr[79],
["attr_hpp_all"]=attr[80],
["attr_monster_dmg"]=attr[81],
["attr_boss_dmg"]=attr[82],
["attr_normal_hurtp"]=attr[83],
["attr_skill_hurtp"]=attr[84],
["attr_hpp_red_all"]=attr[85],
["attr_hpp_yellow_all"]=attr[86],
["attr_hpp_green_all"]=attr[87],
["attr_hpp_blue_all"]=attr[88],
["attr_hpp_purple_all"]=attr[89]
} }
} }
local config = { local config = {
data=attr, data=attr,count=89
keys=keys,
count=89
} }
return config return config

View File

@ -6,10 +6,10 @@ local tutorial = {
["value"]="領取寶箱,解鎖新英雄" ["value"]="領取寶箱,解鎖新英雄"
}, },
["tutorial_txt_3"]={ ["tutorial_txt_3"]={
["value"]="領取寶箱,獲取英雄碎片"
}, },
["tutorial_txt_4"]={ ["tutorial_txt_4"]={
["value"]="領取寶箱,獲取第五位英雄"
}, },
["tutorial_txt_5"]={ ["tutorial_txt_5"]={
["value"]="前往商城,獲得更多英雄!" ["value"]="前往商城,獲得更多英雄!"

View File

@ -80,9 +80,158 @@ local tutorial = {
24, 24,
34 34
} }
},
[20000]={
["next_id"]=20010,
["type"]=3,
["txt"]="tutorial_txt_2",
["txt_offset"]={
0,
180
},
["target_name"]="main_ui(Clone)/sub_ui_node/main_comp/middle_bg/box_btn",
["arrow_direction"]=1,
["arrow_offset"]={
0,
-50
},
["show_mask"]=2,
["circle_r"]=100,
["circle_offset"]={
0,
0
}
},
[20010]={
["next_id"]=20020,
["type"]=4,
["finish"]=1,
["finish_parameter"]=2
},
[20020]={
["next_id"]=20030,
["type"]=5,
["finish"]=2,
["finish_parameter"]=2
},
[20030]={
["next_id"]=20040,
["type"]=2,
["target_name"]="main_ui(Clone)/bottom_node/bottom_btn_cell_2",
["arrow_direction"]=2,
["arrow_offset"]={
0,
50
},
["show_mask"]=1,
["square_size"]={
50,
50
},
["square_offset"]={
0,
0
}
},
[20040]={
["next_id"]=20050,
["type"]=2,
["heroid"]=13001,
["arrow_direction"]=1,
["arrow_offset"]={
0,
-100
},
["show_mask"]=1,
["square_size"]={
25,
50
},
["square_offset"]={
0,
0
}
},
[20050]={
["next_id"]=20040,
["type"]=2,
["target_name"]="main_ui(Clone)/sub_ui_node/hero_ui/bottom_bg/scrollrect/viewport/content/large_hero_cell/hero_bg/use_btn",
["arrow_direction"]=1,
["arrow_offset"]={
0,
0
}
},
[20040]={
["next_id"]=20050,
["type"]=2,
["heroid"]=13001,
["arrow_direction"]=1,
["arrow_offset"]={
0,
-100
},
["show_mask"]=1,
["square_size"]={
25,
50
},
["square_offset"]={
0,
0
}
},
[20050]={
["next_id"]=20060,
["type"]=3,
["txt"]="tutorial_txt_3",
["txt_offset"]={
0,
180
},
["target_name"]="hero_detail_ui(Clone)/middle/hero_info/up/up_5_btn",
["arrow_direction"]=1,
["arrow_offset"]={
0,
0
}
},
[20060]={
["next_id"]=20070,
["delay"]=1.0,
["type"]=2,
["target_name"]="hero_detail_ui(Clone)/bottom/close_btn",
["arrow_direction"]=1,
["arrow_offset"]={
0,
0
}
},
[20070]={
["type"]=3,
["txt"]="tutorial_txt_4",
["txt_offset"]={
0,
40
},
["target_name"]="main_ui(Clone)/bottom_node/bottom_btn_cell_3",
["arrow_direction"]=1,
["arrow_offset"]={
0,
0
},
["show_mask"]=1,
["square_size"]={
50,
50
},
["square_offset"]={
0,
0
}
} }
} }
local config = { local config = {
data=tutorial,count=8 data=tutorial,count=18
} }
return config return config

View File

@ -2,9 +2,13 @@ local tutorial_start = {
[1]={ [1]={
["start_id"]=10000, ["start_id"]=10000,
["uires_path"]="assets/prefabs/ui/battle/battle_ui.prefab" ["uires_path"]="assets/prefabs/ui/battle/battle_ui.prefab"
},
[2]={
["start_id"]=20000,
["uires_path"]="assets/prefabs/ui/main_city/main_ui.prefab"
} }
} }
local config = { local config = {
data=tutorial_start,count=1 data=tutorial_start,count=2
} }
return config return config

View File

@ -693,7 +693,16 @@ GConst.MATCH_ALL_HPP_NAME = {
[5] = "attr_hpp_purple_all", [5] = "attr_hpp_purple_all",
} }
GConst.ALL_ATTR = { GConst.ATTR_PERSIONAL = {
ATTR_ATK = "attr_atk", -- 通用个人攻击(固定值)
ATTR_HP = "attr_hp", -- 通用个人生命(固定值) 生命
ATTR_NORMAL_HURT = "attr_normal_hurt", -- 通用个人普攻伤害增加(固定值) 普攻增伤
ATTR_SKILL_HURT = "attr_skill_hurt", -- 通用个人普攻伤害增加(固定值) 普攻增伤
ATTR_NORMAL_HURTP = "attr_normal_hurtp", -- 通用个人普攻伤害增加(百分比)
ATTR_SKILL_HURTP = "attr_skill_hurtp", -- 通用个人技能伤害增加(百分比)
}
GConst.ATTR_ALL = {
ATTR_ATK_ALL = "atk_all", -- 全体英雄攻击(固定值) ATTR_ATK_ALL = "atk_all", -- 全体英雄攻击(固定值)
ATTR_HP_ALL = "attr_hp_all", -- 全体英雄生命(固定值) ATTR_HP_ALL = "attr_hp_all", -- 全体英雄生命(固定值)
ATTR_DMGDEC_ALL = "attr_dmgdec_all", -- 全体减伤(固定值) ATTR_DMGDEC_ALL = "attr_dmgdec_all", -- 全体减伤(固定值)

View File

@ -1828,14 +1828,14 @@ function GFunc.formatPlayerFormationInfo(info)
-- 处理全局属性 -- 处理全局属性
local attr = {} local attr = {}
attr[GConst.ALL_ATTR.ATTR_ATK_ALL] = allAttr[GConst.ALL_ATTR.ATTR_ATK_ALL] attr[GConst.ATTR_ALL.ATTR_ATK_ALL] = allAttr[GConst.ATTR_ALL.ATTR_ATK_ALL]
attr[GConst.ALL_ATTR.ATTR_HP_ALL] = allAttr[GConst.ALL_ATTR.ATTR_HP_ALL] attr[GConst.ATTR_ALL.ATTR_HP_ALL] = allAttr[GConst.ATTR_ALL.ATTR_HP_ALL]
attr[GConst.ALL_ATTR.ATTR_DMGDEC_ALL] = allAttr[GConst.ALL_ATTR.ATTR_DMGDEC_ALL] attr[GConst.ATTR_ALL.ATTR_DMGDEC_ALL] = allAttr[GConst.ATTR_ALL.ATTR_DMGDEC_ALL]
attr[GConst.ALL_ATTR.ATTR_CRIT_ALL] = allAttr[GConst.ALL_ATTR.ATTR_CRIT_ALL] attr[GConst.ATTR_ALL.ATTR_CRIT_ALL] = allAttr[GConst.ATTR_ALL.ATTR_CRIT_ALL]
attr[GConst.ALL_ATTR.ATTR_CRIT_TIME_ALL] = allAttr[GConst.ALL_ATTR.ATTR_CRIT_TIME_ALL] attr[GConst.ATTR_ALL.ATTR_CRIT_TIME_ALL] = allAttr[GConst.ATTR_ALL.ATTR_CRIT_TIME_ALL]
attr[GConst.ALL_ATTR.ATTR_NORMAL_HURTP_ALL] = allAttr[GConst.ALL_ATTR.ATTR_NORMAL_HURTP_ALL] attr[GConst.ATTR_ALL.ATTR_NORMAL_HURTP_ALL] = allAttr[GConst.ATTR_ALL.ATTR_NORMAL_HURTP_ALL]
attr[GConst.ALL_ATTR.ATTR_SKILL_HURTP_ALL] = allAttr[GConst.ALL_ATTR.ATTR_SKILL_HURTP_ALL] attr[GConst.ATTR_ALL.ATTR_SKILL_HURTP_ALL] = allAttr[GConst.ATTR_ALL.ATTR_SKILL_HURTP_ALL]
attr[GConst.ALL_ATTR.ATTR_ATKP_ALL] = allAttr[GConst.ALL_ATTR.ATTR_ATKP_ALL] attr[GConst.ATTR_ALL.ATTR_ATKP_ALL] = allAttr[GConst.ATTR_ALL.ATTR_ATKP_ALL]
DataManager.HeroDataOther:setTalentAttr(attr) DataManager.HeroDataOther:setTalentAttr(attr)
end end

View File

@ -29,12 +29,12 @@ function EquipManager:showEquipResolveUI()
end end
-- 套装效果弹窗 -- 套装效果弹窗
function EquipManager:showEquipGetResonateUI(type, lvNew, attrNum, attrNextNum) function EquipManager:showEquipGetResonateUI(type, lvNew, attrs, attrNexts)
local params = { local params = {
type = type, type = type,
lvNew = lvNew, lvNew = lvNew,
attrNum = attrNum, attrs = attrs,
attrNextNum = attrNextNum, attrNexts = attrNexts,
} }
UIManager:showUI("app/ui/equip/equip_get_resonate_ui", params) UIManager:showUI("app/ui/equip/equip_get_resonate_ui", params)
end end
@ -53,13 +53,14 @@ end
function EquipManager:onEquipWearRsp(result) function EquipManager:onEquipWearRsp(result)
if result.err_code == GConst.ERROR_STR.SUCCESS then if result.err_code == GConst.ERROR_STR.SUCCESS then
local lvOld, nextLv, attrNum, attrNextNum = DataManager.EquipData:getResonateLevel(GConst.EquipConst.RESONATE_PAGE.QLT, result.reqData.slot) local lvOld, nextLv, attrs, attrNexts = DataManager.EquipData:getResonateLevel(GConst.EquipConst.RESONATE_PAGE.QLT, result.reqData.slot)
DataManager.EquipData:onWearSuccess(result.reqData.slot, result.reqData.ids) DataManager.EquipData:onWearSuccess(result.reqData.slot, result.reqData.ids)
DataManager.HeroData:setAllHeroesDitry()
DataManager.HeroData:setDirty() DataManager.HeroData:setDirty()
DataManager.HeroData:calcPower() DataManager.HeroData:calcPower()
local lvNew = DataManager.EquipData:getResonateLevel(GConst.EquipConst.RESONATE_PAGE.QLT, result.reqData.slot) local lvNew = DataManager.EquipData:getResonateLevel(GConst.EquipConst.RESONATE_PAGE.QLT, result.reqData.slot)
if lvOld < lvNew then if lvOld < lvNew then
self:showEquipGetResonateUI(GConst.EquipConst.RESONATE_PAGE.QLT, lvNew, attrNum, attrNextNum) self:showEquipGetResonateUI(GConst.EquipConst.RESONATE_PAGE.QLT, lvNew, attrs, attrNexts)
-- DataManager.GiftPopData:activeEquipResonancePopGift(GConst.EquipConst.RESONATE_PAGE.QLT, lvNew) -- DataManager.GiftPopData:activeEquipResonancePopGift(GConst.EquipConst.RESONATE_PAGE.QLT, lvNew)
end end
end end
@ -80,13 +81,14 @@ end
function EquipManager:onEquipUpgradeRsp(result) function EquipManager:onEquipUpgradeRsp(result)
if result.err_code == GConst.ERROR_STR.SUCCESS then if result.err_code == GConst.ERROR_STR.SUCCESS then
local lvOld, nextLv, attrNum, attrNextNum = DataManager.EquipData:getResonateLevel(GConst.EquipConst.RESONATE_PAGE.LV_UP, result.reqData.slot) local lvOld, nextLv, attrs, attrNexts = DataManager.EquipData:getResonateLevel(GConst.EquipConst.RESONATE_PAGE.LV_UP, result.reqData.slot)
DataManager.EquipData:onUpgradeSuccess(result.reqData.slot, result.upgraded) DataManager.EquipData:onUpgradeSuccess(result.reqData.slot, result.upgraded)
DataManager.HeroData:setAllHeroesDitry()
DataManager.HeroData:setDirty() DataManager.HeroData:setDirty()
DataManager.HeroData:calcPower() DataManager.HeroData:calcPower()
local lvNew = DataManager.EquipData:getResonateLevel(GConst.EquipConst.RESONATE_PAGE.LV_UP, result.reqData.slot) local lvNew = DataManager.EquipData:getResonateLevel(GConst.EquipConst.RESONATE_PAGE.LV_UP, result.reqData.slot)
if lvOld < lvNew then if lvOld < lvNew then
self:showEquipGetResonateUI(GConst.EquipConst.RESONATE_PAGE.LV_UP, lvNew, attrNum, attrNextNum) self:showEquipGetResonateUI(GConst.EquipConst.RESONATE_PAGE.LV_UP, lvNew, attrs, attrNexts)
-- DataManager.GiftPopData:activeEquipResonancePopGift(GConst.EquipConst.RESONATE_PAGE.LV_UP, lvNew) -- DataManager.GiftPopData:activeEquipResonancePopGift(GConst.EquipConst.RESONATE_PAGE.LV_UP, lvNew)
end end
end end
@ -107,13 +109,14 @@ end
function EquipManager:onEquipRefineRsp(result) function EquipManager:onEquipRefineRsp(result)
if result.err_code == GConst.ERROR_STR.SUCCESS then if result.err_code == GConst.ERROR_STR.SUCCESS then
local lvOld, nextLv, attrNum, attrNextNum = DataManager.EquipData:getResonateLevel(GConst.EquipConst.RESONATE_PAGE.REFINE, result.reqData.slot) local lvOld, nextLv, attrs, attrNexts = DataManager.EquipData:getResonateLevel(GConst.EquipConst.RESONATE_PAGE.REFINE, result.reqData.slot)
DataManager.EquipData:onRefineSuccess(result.reqData.slot, result.reqData.part, result.part) DataManager.EquipData:onRefineSuccess(result.reqData.slot, result.reqData.part, result.part)
DataManager.HeroData:setAllHeroesDitry()
DataManager.HeroData:setDirty() DataManager.HeroData:setDirty()
DataManager.HeroData:calcPower() DataManager.HeroData:calcPower()
local lvNew = DataManager.EquipData:getResonateLevel(GConst.EquipConst.RESONATE_PAGE.REFINE, result.reqData.slot) local lvNew = DataManager.EquipData:getResonateLevel(GConst.EquipConst.RESONATE_PAGE.REFINE, result.reqData.slot)
if lvOld < lvNew then if lvOld < lvNew then
self:showEquipGetResonateUI(GConst.EquipConst.RESONATE_PAGE.REFINE, lvNew, attrNum, attrNextNum) self:showEquipGetResonateUI(GConst.EquipConst.RESONATE_PAGE.REFINE, lvNew, attrs, attrNexts)
-- DataManager.GiftPopData:activeEquipResonancePopGift(GConst.EquipConst.RESONATE_PAGE.REFINE, lvNew) -- DataManager.GiftPopData:activeEquipResonancePopGift(GConst.EquipConst.RESONATE_PAGE.REFINE, lvNew)
end end
end end

View File

@ -75,6 +75,7 @@ function EquipCell:_refresh(entity, showMask, showCheck, showLock)
self.qltImg:setSprite(GConst.ATLAS_PATH.ICON_EQUIP, "frame_" .. qlt) self.qltImg:setSprite(GConst.ATLAS_PATH.ICON_EQUIP, "frame_" .. qlt)
self.iconImg:setSprite(GConst.ATLAS_PATH.ICON_EQUIP, icon) self.iconImg:setSprite(GConst.ATLAS_PATH.ICON_EQUIP, icon)
self.iconImg:setActive(true)
for i, v in ipairs(self.starImgs) do for i, v in ipairs(self.starImgs) do
if i <= star then if i <= star then
v:setActive(true) v:setActive(true)

View File

@ -4,8 +4,8 @@ local EquipGetEesonateUI = class("EquipGetEesonateUI", BaseTips)
function EquipGetEesonateUI:ctor(params) function EquipGetEesonateUI:ctor(params)
self.type = params.type self.type = params.type
self.lvNew = params.lvNew self.lvNew = params.lvNew
self.attrNum = params.attrNum self.attrs = params.attrs
self.attrNextNum = params.attrNextNum self.attrNexts = params.attrNexts
end end
function EquipGetEesonateUI:getPrefabPath() function EquipGetEesonateUI:getPrefabPath()
@ -22,20 +22,76 @@ function EquipGetEesonateUI:onLoadRootComplete()
self:closeUI() self:closeUI()
end) end)
self.layout = uiMap["equip_get_resonate_ui.bg.attr_bg.layout"]:getComponent(GConst.TYPEOF_UNITY_CLASS.BF_HORIZONTAL_OR_VERTICAL_LAYOUT) self.bg = uiMap["equip_get_resonate_ui.bg"]
self.attrNextValueTx = uiMap["equip_get_resonate_ui.bg.attr_bg.layout.attr_next_value_tx"]
-- self.effect = uiMap["equip_get_resonate_ui.bg.vfx_b13_ui_equip_gongmin_b01"]
uiMap["equip_get_resonate_ui.bg.title_tx"]:setText(I18N:getGlobalText(I18N.GlobalConst.EQUIP_HERO_DESC_33)) uiMap["equip_get_resonate_ui.bg.title_tx"]:setText(I18N:getGlobalText(I18N.GlobalConst.EQUIP_HERO_DESC_33))
-- self.spineTitle:playAnimComplete("born", false, true, function()
-- self.spineTitle:playAnim("idle", true, true)
-- end)
uiMap["equip_get_resonate_ui.bg.name_tx"]:setText(I18N:getGlobalText("EQUIP_HERO_LV_" .. self.type, self.lvNew)) uiMap["equip_get_resonate_ui.bg.name_tx"]:setText(I18N:getGlobalText("EQUIP_HERO_LV_" .. self.type, self.lvNew))
-- self.effect:play()
uiMap["equip_get_resonate_ui.bg.attr_bg.attr_name_tx"]:setText(I18N:getGlobalText(I18N.GlobalConst.ATTR_ATK)) self.attrBgs = {}
uiMap["equip_get_resonate_ui.bg.attr_bg.layout.attr_curr_value_tx"]:setText(self.attrNum) self.attrNameTxs = {}
self.attrNextValueTx:setText(self.attrNextNum) self.attrLayouts = {}
GFunc.setTextLength(self.attrNextValueTx) self.attrCurrValueTxs = {}
self.layout:RefreshLayout() self.attrArrowImgs = {}
self.attrNextValueTxs = {}
for i = 1, 2 do
self.attrBgs[i] = uiMap["equip_get_resonate_ui.bg.attr_bg_" .. i]
self.attrNameTxs[i] = uiMap["equip_get_resonate_ui.bg.attr_bg_" .. i .. ".attr_name_tx"]
self.attrLayouts[i] = uiMap["equip_get_resonate_ui.bg.attr_bg_" .. i .. ".layout"]:getComponent(GConst.TYPEOF_UNITY_CLASS.BF_HORIZONTAL_OR_VERTICAL_LAYOUT)
self.attrCurrValueTxs[i] = uiMap["equip_get_resonate_ui.bg.attr_bg_" .. i .. ".layout.attr_curr_value_tx"]
self.attrArrowImgs[i] = uiMap["equip_get_resonate_ui.bg.attr_bg_" .. i .. ".layout.arrow_img"]
self.attrNextValueTxs[i] = uiMap["equip_get_resonate_ui.bg.attr_bg_" .. i .. ".layout.attr_next_value_tx"]
end
end
function EquipGetEesonateUI:onRefresh()
local typeList = {}
for k, v in pairs(self.attrNexts or {}) do
table.insert(typeList, {typeName = k, id = GFunc.getAttrIdByName(k)})
end
if #typeList <= 0 then
for k, v in pairs(self.attrs or {}) do
table.insert(typeList, {typeName = k, id = GFunc.getAttrIdByName(k)})
end
end
table.sort(typeList, function (a, b)
return a.id < b.id
end)
for i = 1, 2 do
if typeList[i] and typeList[i].typeName then
local typeName = typeList[i].typeName
self.attrBgs[i]:setActive(true)
self.attrNameTxs[i]:setText(GFunc.getAttrNameByType(typeName))
self.attrCurrValueTxs[i]:setText(GFunc.getFinalAttrValue(typeName, self.attrs[typeName] or 0))
local meshProCompNow = self.attrCurrValueTxs[i]:getComponent(GConst.TYPEOF_UNITY_CLASS.UI_TEXT_MESH_PRO)
local nowTipsNowX = meshProCompNow.preferredWidth
self.attrCurrValueTxs[i]:setSizeDeltaX(nowTipsNowX)
self.attrNextValueTxs[i]:setText(GFunc.getFinalAttrValue(typeName, self.attrNexts[typeName] or 0))
self.attrArrowImgs[i]:setActive(true)
self.attrNextValueTxs[i]:setActive(true)
local meshProCompNext = self.attrNextValueTxs[i]:getComponent(GConst.TYPEOF_UNITY_CLASS.UI_TEXT_MESH_PRO)
local nowTipsNextX = meshProCompNext.preferredWidth
self.attrNextValueTxs[i]:setSizeDeltaX(nowTipsNextX)
self.attrLayouts[i]:RefreshLayout()
else
self.attrBgs[i]:setActive(false)
end
end
if #typeList < 2 then
self.bg:setSizeDeltaY(200)
else
self.bg:setSizeDeltaY(260)
end
-- self.layout = uiMap["equip_get_resonate_ui.bg.attr_bg.layout"]:getComponent(GConst.TYPEOF_UNITY_CLASS.BF_HORIZONTAL_OR_VERTICAL_LAYOUT)
-- self.attrNextValueTx = uiMap["equip_get_resonate_ui.bg.attr_bg.layout.attr_next_value_tx"]
-- -- self.effect = uiMap["equip_get_resonate_ui.bg.vfx_b13_ui_equip_gongmin_b01"]
-- -- self.effect:play()
-- uiMap["equip_get_resonate_ui.bg.attr_bg.attr_name_tx"]:setText(I18N:getGlobalText(I18N.GlobalConst.ATTR_ATK))
-- uiMap["equip_get_resonate_ui.bg.attr_bg.layout.attr_curr_value_tx"]:setText(self.attrNum)
-- self.attrNextValueTx:setText(self.attrNextNum)
-- GFunc.setTextLength(self.attrNextValueTx)
-- self.layout:RefreshLayout()
end end
return EquipGetEesonateUI return EquipGetEesonateUI

View File

@ -213,19 +213,18 @@ function EquipGrowthUI:refreshPageUp()
self.upCurrLvTx:setText(lv) self.upCurrLvTx:setText(lv)
self.upDescTx:setText(I18N:getGlobalText(I18N.GlobalConst.EQUIP_DESC_14)) self.upDescTx:setText(I18N:getGlobalText(I18N.GlobalConst.EQUIP_DESC_14))
local lv1 = DataManager.EquipData:getResonateLevel(GConst.EquipConst.RESONATE_PAGE.LV_UP, self.equipPart) local lv1 = DataManager.EquipData:getResonateLevel(GConst.EquipConst.RESONATE_PAGE.LV_UP, self.slotId)
self.upDescTx1:setText(I18N:getGlobalText(I18N.GlobalConst.EQUIP_HERO_ACTIVATION_1, lv1)) self.upDescTx1:setText(I18N:getGlobalText(I18N.GlobalConst.EQUIP_HERO_ACTIVATION_1, lv1))
self.upMaxDescTx:setActive(isLvMax) self.upMaxDescTx:setActive(isLvMax)
local _, _, resonateAttrNum = DataManager.EquipData:getResonateLevel(GConst.EquipConst.RESONATE_PAGE.LV_UP, self.equipPart)
local currAttr = equipEntity:getBaseAttrWithLv(lv) local currAttr = equipEntity:getBaseAttrWithLv(lv)
self.upAttrNameTx:setText(GFunc.getAttrNameByType(currAttr.type)) self.upAttrNameTx:setText(GFunc.getAttrNameByType(currAttr.type))
local currAttrNum = GFunc.getFinalAttrValue(currAttr.type, currAttr.num + resonateAttrNum, 2) local currAttrNum = GFunc.getFinalAttrValue(currAttr.type, currAttr.num, 2)
self.upAttrCurrTx:setText(currAttrNum) self.upAttrCurrTx:setText(currAttrNum)
if not isLvMax then if not isLvMax then
self.upNextLvTx:setText(lv + 1) self.upNextLvTx:setText(lv + 1)
local nextAttr = equipEntity:getBaseAttrWithLv(lv + 1) local nextAttr = equipEntity:getBaseAttrWithLv(lv + 1)
local nextAttrNum = GFunc.getFinalAttrValue(nextAttr.type, nextAttr.num + resonateAttrNum, 2) local nextAttrNum = GFunc.getFinalAttrValue(nextAttr.type, nextAttr.num, 2)
self.upAttrNextTx:setText(nextAttrNum) self.upAttrNextTx:setText(nextAttrNum)
local itemCost = DataManager.EquipData:getLevelCost(lv + 1) local itemCost = DataManager.EquipData:getLevelCost(lv + 1)
local costId = GFunc.getRewardId(itemCost) local costId = GFunc.getRewardId(itemCost)
@ -233,7 +232,7 @@ function EquipGrowthUI:refreshPageUp()
local count = DataManager.BagData.ItemData:getItemNumById(costId) local count = DataManager.BagData.ItemData:getItemNumById(costId)
self.upCostIcon:setSprite(ModuleManager.ItemManager:getItemIcon(costId)) self.upCostIcon:setSprite(ModuleManager.ItemManager:getItemIcon(costId))
if costNum > count then if costNum > count then
self.upCostTx:setText("<color=#FF0000>" .. count .. "</color>/"..costNum) self.upCostTx:setText("<color=#049500>" .. count .. "</color>/"..costNum)
else else
self.upCostTx:setText(count .. "/" .. costNum) self.upCostTx:setText(count .. "/" .. costNum)
end end
@ -269,7 +268,7 @@ function EquipGrowthUI:refreshPageRefine()
self.refineCurrLvTx:setText(refine) self.refineCurrLvTx:setText(refine)
self.refineNextLvTx:setText(refine + 1) self.refineNextLvTx:setText(refine + 1)
self.refineDescTx:setText(I18N:getGlobalText(I18N.GlobalConst.EQUIP_HERO_DESC_12)) self.refineDescTx:setText(I18N:getGlobalText(I18N.GlobalConst.EQUIP_HERO_DESC_12))
local lv1 = DataManager.EquipData:getResonateLevel(GConst.EquipConst.RESONATE_PAGE.REFINE, self.equipPart) local lv1 = DataManager.EquipData:getResonateLevel(GConst.EquipConst.RESONATE_PAGE.REFINE, self.slotId)
self.refineDescTx1:setText(I18N:getGlobalText(I18N.GlobalConst.EQUIP_HERO_ACTIVATION_2, lv1)) self.refineDescTx1:setText(I18N:getGlobalText(I18N.GlobalConst.EQUIP_HERO_ACTIVATION_2, lv1))
if isMaxRefine then if isMaxRefine then
self.refineRateTx:setActive(false) self.refineRateTx:setActive(false)
@ -296,7 +295,7 @@ function EquipGrowthUI:refreshPageRefine()
local count = DataManager.BagData.ItemData:getItemNumById(costId) local count = DataManager.BagData.ItemData:getItemNumById(costId)
self.refineCostIcon:setSprite(ModuleManager.ItemManager:getItemIcon(costId)) self.refineCostIcon:setSprite(ModuleManager.ItemManager:getItemIcon(costId))
if costNum > count then if costNum > count then
self.refineCostTx:setText("<color=#FF0000>" .. count .. "</color>/".. costNum) self.refineCostTx:setText("<color=#049500>" .. count .. "</color>/".. costNum)
else else
self.refineCostTx:setText(count .. "/" .. costNum) self.refineCostTx:setText(count .. "/" .. costNum)
end end

View File

@ -94,12 +94,12 @@ function EquipInfoUI:refreshInfo()
self.powerTx:setText(self.entity:getPower()) self.powerTx:setText(self.entity:getPower())
local attr = self.entity:getBaseAttr() local attr = self.entity:getBaseAttr()
self.attrNameTx:setText(GFunc.getAttrNameByType(attr.type)) self.attrNameTx:setText(GFunc.getAttrNameByType(attr.type))
self.attrValueTx:setText(attr.num // GConst.DEFAULT_FACTOR) self.attrValueTx:setText(GFunc.getAttrDesc(attr.type, attr.num))
local meshProCompNext = self.attrValueAddTx:getComponent(GConst.TYPEOF_UNITY_CLASS.UI_TEXT_MESH_PRO) local meshProCompNext = self.attrValueAddTx:getComponent(GConst.TYPEOF_UNITY_CLASS.UI_TEXT_MESH_PRO)
local nowTipsNextX = meshProCompNext.preferredWidth local nowTipsNextX = meshProCompNext.preferredWidth
self.attrValueAddTx:setSizeDeltaX(nowTipsNextX) self.attrValueAddTx:setSizeDeltaX(nowTipsNextX)
local anchorX = nowTipsNextX - 40 local anchorX = - nowTipsNextX - 40
self.attrValueTx:setAnchoredPositionX(anchorX) self.attrValueTx:setAnchoredPositionX(anchorX)
end end
@ -158,12 +158,13 @@ function EquipInfoUI:refreshAllAttr()
self.equipCell:refresh(self.entity, self.slotId) self.equipCell:refresh(self.entity, self.slotId)
self.level = DataManager.EquipData:getPartLv(self.slotId, self.part) self.level = DataManager.EquipData:getPartLv(self.slotId, self.part)
self.refine = DataManager.EquipData:getPartRefine(self.slotId, self.part) self.refine = DataManager.EquipData:getPartRefine(self.slotId, self.part)
local resonateLv, resonateNextLv, resonateAttrNum, resonateAttrNextNum = DataManager.EquipData:getResonateLevel(GConst.EquipConst.RESONATE_PAGE.LV_UP, self.slotId) local typeName = self.entity:getBaseAttr().type
local baseValueAdd = DataManager.EquipData:getBaseAttrLvAdd(self.entity:getBaseAttr().type, self.level) + resonateAttrNum local resonateLv, resonateNextLv, resonateAttrs, resonateAttrNexts = DataManager.EquipData:getResonateLevel(GConst.EquipConst.RESONATE_PAGE.LV_UP, self.slotId)
local baseValueAdd = DataManager.EquipData:getBaseAttrLvAdd(typeName, self.level)-- + (resonateAttrs[typeName] or 0)
if baseValueAdd <= 0 then if baseValueAdd <= 0 then
self.attrValueAddTx:setText(GConst.EMPTY_STRING) self.attrValueAddTx:setText(GConst.EMPTY_STRING)
else else
self.attrValueAddTx:setText("<color=#049500>(+".. math.floor(baseValueAdd) ..")</color>") self.attrValueAddTx:setText("<color=#049500>(+".. GFunc.getFinalAttrValue(typeName, baseValueAdd) ..")</color>")
end end
local attrs = self.entity:getExtraList() local attrs = self.entity:getExtraList()
@ -172,16 +173,16 @@ function EquipInfoUI:refreshAllAttr()
if count >= i then if count >= i then
cell.attrExtraCell:setActive(true) cell.attrExtraCell:setActive(true)
local extraAttr = attrs[i] local extraAttr = attrs[i]
local extraAttrId = GFunc.getAttrIdByName(extraAttr.type) -- local extraAttrId = GFunc.getAttrIdByName(extraAttr.type)
cell.attrNameTx:setText(GFunc.getAttrNameByType(extraAttr.type)) cell.attrNameTx:setText(GFunc.getAttrNameByType(extraAttr.type))
cell.attrValueTx:setText(GFunc.getFinalAttrValue(extraAttr.type, extraAttr.num, 2)) cell.attrValueTx:setText(GFunc.getFinalAttrValue(extraAttr.type, extraAttr.num, 2))
local attrAdd = DataManager.EquipData:getRefineAttrAdd(self.refine, extraAttrId) local attrAdd = DataManager.EquipData:getRefineAttrAdd(self.refine, extraAttr.type)
local anchorX = -40 local anchorX = -40
if attrAdd.num <= 0 then if attrAdd.num <= 0 then
cell.attrValueAddTx:setActive(false) cell.attrValueAddTx:setActive(false)
else else
cell.attrValueAddTx:setActive(true) cell.attrValueAddTx:setActive(true)
cell.attrValueAddTx:setText("<color=#09FF00>(+".. GFunc.getFinalAttrValue(attrAdd.type, attrAdd.num, 2) ..")</color>") cell.attrValueAddTx:setText("<color=#049500>(+".. GFunc.getFinalAttrValue(attrAdd.type, attrAdd.num, 2) ..")</color>")
local meshProCompNext = cell.attrValueAddTx:getComponent(GConst.TYPEOF_UNITY_CLASS.UI_TEXT_MESH_PRO) local meshProCompNext = cell.attrValueAddTx:getComponent(GConst.TYPEOF_UNITY_CLASS.UI_TEXT_MESH_PRO)
local nowTipsNextX = meshProCompNext.preferredWidth local nowTipsNextX = meshProCompNext.preferredWidth
cell.attrValueAddTx:setSizeDeltaX(nowTipsNextX) cell.attrValueAddTx:setSizeDeltaX(nowTipsNextX)

View File

@ -42,11 +42,11 @@ function EquipResonateUI:onLoadRootComplete()
self.lvTx = uiMap["equip_resonate_ui.bg.page_info.lv_tx"] self.lvTx = uiMap["equip_resonate_ui.bg.page_info.lv_tx"]
self.tipsTx = uiMap["equip_resonate_ui.bg.page_info.tips_tx"] self.tipsTx = uiMap["equip_resonate_ui.bg.page_info.tips_tx"]
self.attrNameTxe = uiMap["equip_resonate_ui.bg.page_info.attr_bg.attr_name_tx"] -- self.attrNameTx = uiMap["equip_resonate_ui.bg.page_info.attr_bg.attr_name_tx"]
self.attrCurrValueTx = uiMap["equip_resonate_ui.bg.page_info.attr_bg.layout.attr_curr_value_tx"] -- self.attrCurrValueTx = uiMap["equip_resonate_ui.bg.page_info.attr_bg.layout.attr_curr_value_tx"]
self.arrowImg = uiMap["equip_resonate_ui.bg.page_info.attr_bg.layout.arrow_img"] -- self.arrowImg = uiMap["equip_resonate_ui.bg.page_info.attr_bg.layout.arrow_img"]
self.attrNextValueTx = uiMap["equip_resonate_ui.bg.page_info.attr_bg.layout.attr_next_value_tx"] -- self.attrNextValueTx = uiMap["equip_resonate_ui.bg.page_info.attr_bg.layout.attr_next_value_tx"]
self.layout = uiMap["equip_resonate_ui.bg.page_info.attr_bg.layout"]:getComponent(GConst.TYPEOF_UNITY_CLASS.BF_HORIZONTAL_OR_VERTICAL_LAYOUT) -- self.layout = uiMap["equip_resonate_ui.bg.page_info.attr_bg.layout"]:getComponent(GConst.TYPEOF_UNITY_CLASS.BF_HORIZONTAL_OR_VERTICAL_LAYOUT)
uiMap["equip_resonate_ui.bg.title_tx"]:setText(I18N:getGlobalText(I18N.GlobalConst.EQUIP_HERO_DESC_4)) uiMap["equip_resonate_ui.bg.title_tx"]:setText(I18N:getGlobalText(I18N.GlobalConst.EQUIP_HERO_DESC_4))
uiMap["equip_resonate_ui.bg.desc_tx"]:setText(I18N:getGlobalText(I18N.GlobalConst.EQUIP_HERO_DESC_6)) uiMap["equip_resonate_ui.bg.desc_tx"]:setText(I18N:getGlobalText(I18N.GlobalConst.EQUIP_HERO_DESC_6))
@ -66,6 +66,21 @@ function EquipResonateUI:onLoadRootComplete()
end) end)
end end
self.attrBgs = {}
self.attrNameTxs = {}
self.attrLayouts = {}
self.attrCurrValueTxs = {}
self.attrArrowImgs = {}
self.attrNextValueTxs = {}
for i = 1, 2 do
self.attrBgs[i] = uiMap["equip_resonate_ui.bg.page_info.attr_bg_" .. i]
self.attrNameTxs[i] = uiMap["equip_resonate_ui.bg.page_info.attr_bg_" .. i .. ".attr_name_tx"]
self.attrLayouts[i] = uiMap["equip_resonate_ui.bg.page_info.attr_bg_" .. i .. ".layout"]:getComponent(GConst.TYPEOF_UNITY_CLASS.BF_HORIZONTAL_OR_VERTICAL_LAYOUT)
self.attrCurrValueTxs[i] = uiMap["equip_resonate_ui.bg.page_info.attr_bg_" .. i .. ".layout.attr_curr_value_tx"]
self.attrArrowImgs[i] = uiMap["equip_resonate_ui.bg.page_info.attr_bg_" .. i .. ".layout.arrow_img"]
self.attrNextValueTxs[i] = uiMap["equip_resonate_ui.bg.page_info.attr_bg_" .. i .. ".layout.attr_next_value_tx"]
end
self:bind(DataManager.EquipData, "isDirty", function() self:bind(DataManager.EquipData, "isDirty", function()
self:onRefresh() self:onRefresh()
end) end)
@ -112,35 +127,51 @@ function EquipResonateUI:refreshPage()
end end
function EquipResonateUI:refreshPageLv() function EquipResonateUI:refreshPageLv()
local lv, nextLv, attrNum, attrNextNum = DataManager.EquipData:getResonateLevel(self.page, self.slotId) local lv, nextLv, attrs, attrNexts = DataManager.EquipData:getResonateLevel(self.page, self.slotId)
self:refreshUI(lv, nextLv, attrNum, attrNextNum, DataManager.EquipData:getResonateMaxLevel(1)) self:refreshUI(lv, nextLv, attrs, attrNexts, DataManager.EquipData:getResonateMaxLevel(1))
end end
function EquipResonateUI:refreshPageQlt() function EquipResonateUI:refreshPageQlt()
local lv, nextLv, attrNum, attrNextNum = DataManager.EquipData:getResonateLevel(self.page, self.slotId, self.part) local lv, nextLv, attrs, attrNexts = DataManager.EquipData:getResonateLevel(self.page, self.slotId, self.part)
self:refreshUI(lv, nextLv, attrNum, attrNextNum, DataManager.EquipData:getResonateMaxLevel(2)) self:refreshUI(lv, nextLv, attrs, attrNexts, DataManager.EquipData:getResonateMaxLevel(2))
end end
function EquipResonateUI:refreshPageRefine() function EquipResonateUI:refreshPageRefine()
local lv, nextLv, attrNum, attrNextNum = DataManager.EquipData:getResonateLevel(self.page, self.slotId) local lv, nextLv, attrs, attrNexts = DataManager.EquipData:getResonateLevel(self.page, self.slotId)
self:refreshUI(lv, nextLv, attrNum, attrNextNum, DataManager.EquipData:getResonateMaxLevel(3)) self:refreshUI(lv, nextLv, attrs, attrNexts, DataManager.EquipData:getResonateMaxLevel(3))
end end
function EquipResonateUI:refreshUI(lv, nextLv, attrNum, attrNextNum, maxLevel) function EquipResonateUI:refreshUI(lv, nextLv, attrs, attrNexts, maxLevel)
self.lvTx:setText(I18N:getGlobalText(I18N.GlobalConst.LV_POINT) .. lv) self.lvTx:setText(I18N:getGlobalText(I18N.GlobalConst.LV_POINT) .. lv)
self.attrNameTxe:setText(GFunc.getAttrNameByType("attr_atk")) local typeList = {}
self.attrCurrValueTx:setText(attrNum) for k, v in pairs(attrNexts or {}) do
local meshProCompNow = self.attrCurrValueTx:getComponent(GConst.TYPEOF_UNITY_CLASS.UI_TEXT_MESH_PRO) table.insert(typeList, {typeName = k, id = GFunc.getAttrIdByName(k)})
end
if #typeList <= 0 then
for k, v in pairs(attrs or {}) do
table.insert(typeList, {typeName = k, id = GFunc.getAttrIdByName(k)})
end
end
table.sort(typeList, function (a, b)
return a.id < b.id
end)
for i = 1, 2 do
if typeList[i] and typeList[i].typeName then
local typeName = typeList[i].typeName
self.attrBgs[i]:setActive(true)
self.attrNameTxs[i]:setText(GFunc.getAttrNameByType(typeName))
self.attrCurrValueTxs[i]:setText(GFunc.getFinalAttrValue(typeName, attrs[typeName] or 0))
local meshProCompNow = self.attrCurrValueTxs[i]:getComponent(GConst.TYPEOF_UNITY_CLASS.UI_TEXT_MESH_PRO)
local nowTipsNowX = meshProCompNow.preferredWidth local nowTipsNowX = meshProCompNow.preferredWidth
self.attrCurrValueTx:setSizeDeltaX(nowTipsNowX) self.attrCurrValueTxs[i]:setSizeDeltaX(nowTipsNowX)
if maxLevel ~= nil and lv >= maxLevel then if maxLevel ~= nil and lv >= maxLevel then
self.arrowImg:setActive(false) self.attrArrowImgs[i]:setActive(false)
self.attrNextValueTx:setActive(false) self.attrNextValueTxs[i]:setActive(false)
self.tipsTx:setText(I18N:getGlobalText(I18N.GlobalConst.PET_DESC_15)) self.tipsTx:setText(I18N:getGlobalText(I18N.GlobalConst.COLLECTION_DESC_2))
else else
if nextLv == nil then if nextLv == nil then
self.tipsTx:setText(I18N:getGlobalText(I18N.GlobalConst.PET_DESC_15)) self.tipsTx:setText(I18N:getGlobalText(I18N.GlobalConst.COLLECTION_DESC_2))
else else
if self.page == GConst.EquipConst.RESONATE_PAGE.QLT then if self.page == GConst.EquipConst.RESONATE_PAGE.QLT then
self.tipsTx:setText(I18N:getGlobalText("EQUIP_HERO_M_" .. self.page, I18N:getGlobalText("EQUIP_QLT_DESC_" .. nextLv[1], nextLv[2]))) self.tipsTx:setText(I18N:getGlobalText("EQUIP_HERO_M_" .. self.page, I18N:getGlobalText("EQUIP_QLT_DESC_" .. nextLv[1], nextLv[2])))
@ -149,15 +180,24 @@ function EquipResonateUI:refreshUI(lv, nextLv, attrNum, attrNextNum, maxLevel)
end end
end end
self.attrNextValueTx:setText(attrNextNum) self.attrNextValueTxs[i]:setText(GFunc.getFinalAttrValue(typeName, attrNexts[typeName] or 0))
self.arrowImg:setActive(true) self.attrArrowImgs[i]:setActive(true)
self.attrNextValueTx:setActive(true) self.attrNextValueTxs[i]:setActive(true)
local meshProCompNext = self.attrNextValueTx:getComponent(GConst.TYPEOF_UNITY_CLASS.UI_TEXT_MESH_PRO) local meshProCompNext = self.attrNextValueTxs[i]:getComponent(GConst.TYPEOF_UNITY_CLASS.UI_TEXT_MESH_PRO)
local nowTipsNextX = meshProCompNext.preferredWidth local nowTipsNextX = meshProCompNext.preferredWidth
self.attrNextValueTx:setSizeDeltaX(nowTipsNextX) self.attrNextValueTxs[i]:setSizeDeltaX(nowTipsNextX)
end
self.attrLayouts[i]:RefreshLayout()
else
self.attrBgs[i]:setActive(false)
end
end
if #typeList < 2 then
self.attrBgs[1]:setAnchoredPositionY(-4)
else
self.attrBgs[1]:setAnchoredPositionY(26)
end end
self.layout:RefreshLayout()
end end

View File

@ -47,31 +47,31 @@ function EquipInfoComp:init()
self.descTx1:setText(I18N:getGlobalText(I18N.GlobalConst.EQUIP_HERO_DESC_5)) self.descTx1:setText(I18N:getGlobalText(I18N.GlobalConst.EQUIP_HERO_DESC_5))
self.autoWearBtn:addClickListener(function() self.autoWearBtn:addClickListener(function()
local soltId = self.heroEntity:getMatchType() local slotId = self.heroEntity:getMatchType()
local listUids = {} local listUids = {}
for i = 1, 6 do for i = 1, 6 do
local equip = DataManager.EquipData:getEquipMaxScore(soltId, i) local equip = DataManager.EquipData:getEquipMaxScore(slotId, i)
if equip ~= nil then if equip ~= nil then
table.insert(listUids, equip:getUid()) table.insert(listUids, equip:getUid())
end end
end end
ModuleManager.EquipManager:onEquipWearReq(soltId, listUids) ModuleManager.EquipManager:onEquipWearReq(slotId, listUids)
end) end)
self.upBtn:addClickListener(function() self.upBtn:addClickListener(function()
local soltId = self.heroEntity:getMatchType() local slotId = self.heroEntity:getMatchType()
local part local part
for i = 1, 6 do for i = 1, 6 do
local eid = DataManager.EquipData:getPartEquipUid(soltId, i) local eid = DataManager.EquipData:getPartEquipUid(slotId, i)
if eid and eid > 0 then if eid and eid > 0 then
part = part or i part = part or i
if DataManager.EquipData:hasEquipGrowthRedPointBySlotIdAndPartId(soltId, part) then if DataManager.EquipData:hasEquipGrowthRedPointBySlotIdAndPartId(slotId, part) then
ModuleManager.EquipManager:showEquipGrowthUI(soltId, i) ModuleManager.EquipManager:showEquipGrowthUI(slotId, i)
return return
end end
end end
end end
if part then if part then
ModuleManager.EquipManager:showEquipGrowthUI(soltId, part) ModuleManager.EquipManager:showEquipGrowthUI(slotId, part)
end end
end) end)
self.infoBtn:addClickListener(function() self.infoBtn:addClickListener(function()

View File

@ -38,8 +38,8 @@ end
function HeroAttrUI:onRefresh() function HeroAttrUI:onRefresh()
local attr = DataManager.HeroData:getAllStarAttr() local attr = DataManager.HeroData:getAllStarAttr()
self.hpAttrTx:setText(GFunc.getFinalAttrValue(GConst.ALL_ATTR.ATTR_HPP_ALL, attr.attr_hpp_all or 0, 2)) self.hpAttrTx:setText(GFunc.getFinalAttrValue(GConst.ATTR_ALL.ATTR_HPP_ALL, attr.attr_hpp_all or 0, 2))
self.atkAttrTx:setText(GFunc.getFinalAttrValue(GConst.ALL_ATTR.ATTR_ATKP_ALL, attr.attr_atkp_all or 0, 2)) self.atkAttrTx:setText(GFunc.getFinalAttrValue(GConst.ATTR_ALL.ATTR_ATKP_ALL, attr.attr_atkp_all or 0, 2))
end end
return HeroAttrUI return HeroAttrUI

View File

@ -109,7 +109,7 @@ end
function StarInfoComp:refreshAttrInfo() function StarInfoComp:refreshAttrInfo()
-- self.attrTx:setText(I18N:getGlobalText(I18N.GlobalConst.HERO_DESC_26)) -- self.attrTx:setText(I18N:getGlobalText(I18N.GlobalConst.HERO_DESC_26))
local attr = self.heroEntity:getStarAttr() local attr = self.heroEntity:getStarAttr()
self.attrTx:setText(GFunc.getFinalAttrValue(GConst.ALL_ATTR.ATTR_HPP_ALL, attr.attr_hpp_all or 0)) self.attrTx:setText(GFunc.getFinalAttrValue(GConst.ATTR_ALL.ATTR_HPP_ALL, attr.attr_hpp_all or 0))
local meshProComp = self.attrTx:getComponent(GConst.TYPEOF_UNITY_CLASS.UI_TEXT_MESH_PRO) local meshProComp = self.attrTx:getComponent(GConst.TYPEOF_UNITY_CLASS.UI_TEXT_MESH_PRO)
local contentWidth = meshProComp.preferredWidth local contentWidth = meshProComp.preferredWidth
self.attrTx:setSizeDeltaX(contentWidth) self.attrTx:setSizeDeltaX(contentWidth)

View File

@ -42,7 +42,7 @@ function EquipData:init(data)
return return
end end
self.soltIdRedPoint = {} self.slotIdRedPoint = {}
self.allEquips = {} self.allEquips = {}
self.allEquipsCount = 0 self.allEquipsCount = 0
if data.equips then if data.equips then
@ -156,9 +156,9 @@ function EquipData:getRefineAttr(refine, attrName)
return cfg.extra_attr_add_1 return cfg.extra_attr_add_1
elseif attrName == "attr_hp" then elseif attrName == "attr_hp" then
return cfg.extra_attr_add_2 return cfg.extra_attr_add_2
elseif attrName == "attr_normal_hurt" then elseif attrName == "attr_normal_hurtp" then
return cfg.extra_attr_add_3 return cfg.extra_attr_add_3
elseif attrName == "attr_skill_hurt" then elseif attrName == "attr_skill_hurtp" then
return cfg.extra_attr_add_4 return cfg.extra_attr_add_4
end end
end end
@ -259,29 +259,29 @@ end
--@region 穿戴 --@region 穿戴
--装备穿戴 --装备穿戴
function EquipData:onWearSuccess(soltId, uids) function EquipData:onWearSuccess(slotId, uids)
for _, uid in ipairs(uids) do for _, uid in ipairs(uids) do
local equip = self:getEquipByUid(uid) local equip = self:getEquipByUid(uid)
local part = equip:getPart() local part = equip:getPart()
if part then if part then
local oldUid = self.slots[soltId].parts[part].equip_uid local oldUid = self.slots[slotId].parts[part].equip_uid
for i,info in ipairs(self.slots) do for i,info in ipairs(self.slots) do
if i ~= soltId then if i ~= slotId then
if info.parts[part].equip_uid == uid then if info.parts[part].equip_uid == uid then
info.parts[part].equip_uid = oldUid info.parts[part].equip_uid = oldUid
end end
end end
end end
self.slots[soltId].parts[part].equip_uid = uid self.slots[slotId].parts[part].equip_uid = uid
end end
end end
self:setDirty() self:setDirty()
end end
function EquipData:getEquipMaxScore(soltId, part) function EquipData:getEquipMaxScore(slotId, part)
local equip = nil local equip = nil
local maxScore = 0 local maxScore = 0
local useUid = self:getPartEquipUid(soltId, part) local useUid = self:getPartEquipUid(slotId, part)
if useUid ~= 0 then if useUid ~= 0 then
local useEquip = self:getEquipByUid(useUid) local useEquip = self:getEquipByUid(useUid)
maxScore = useEquip:getPower() maxScore = useEquip:getPower()
@ -362,11 +362,11 @@ function EquipData:getBaseAttrLvAdd(attrType, lv)
return baseAttrAdd return baseAttrAdd
end end
function EquipData:onUpgradeSuccess(soltId, upgraded) function EquipData:onUpgradeSuccess(slotId, upgraded)
upgraded = upgraded or {} upgraded = upgraded or {}
for part, lv in pairs(upgraded) do for part, lv in pairs(upgraded) do
if self.slots[soltId].parts[part] then if self.slots[slotId].parts[part] then
self.slots[soltId].parts[part].level = lv self.slots[slotId].parts[part].level = lv
end end
end end
self:setDirty() self:setDirty()
@ -420,19 +420,19 @@ function EquipData:getPartRefineFailPro(slotId, part)
return 0 return 0
end end
function EquipData:onRefineSuccess(soltId, part, info) function EquipData:onRefineSuccess(slotId, part, info)
local offset = 0 local offset = 0
local refine = self:getPartRefine(soltId, part) local refine = self:getPartRefine(slotId, part)
if refine < info.refine then if refine < info.refine then
local refine = self.slots[soltId].parts[part].refine local refine = self.slots[slotId].parts[part].refine
self.slots[soltId].parts[part].refine = refine + 1 self.slots[slotId].parts[part].refine = refine + 1
self.slots[soltId].parts[part].refine_fail = 0 self.slots[slotId].parts[part].refine_fail = 0
offset = offset + 1 offset = offset + 1
-- self:addPlayEffectParts(part) -- self:addPlayEffectParts(part)
self:setDirtyRefineSuccess() self:setDirtyRefineSuccess()
else else
local fail = self.slots[soltId].parts[part].refine_fail local fail = self.slots[slotId].parts[part].refine_fail
self.slots[soltId].parts[part].refine_fail = fail + 1 self.slots[slotId].parts[part].refine_fail = fail + 1
self:setDirtyRefineFail() self:setDirtyRefineFail()
end end
end end
@ -566,16 +566,20 @@ function EquipData:getResonateLevelValue(type, value, value2)
local list = self:getResonateList(type) local list = self:getResonateList(type)
local lv = 0 local lv = 0
local nextLv = 0 local nextLv = 0
local attrNum = 0 local attrs = {}
local attrNextNum = 0 local attrNexts = {}
for i,v in ipairs(list) do for i,v in ipairs(list) do
if type == 1 or type == 3 then if type == 1 or type == 3 then
if v.parameter[1] <= value then if v.parameter[1] <= value then
lv = i lv = i
attrNum = attrNum + v.attr[1].num for _, vv in ipairs(v.attr) do
attrs[vv.type] = (attrs[vv.type] or 0) + vv.num
end
else else
nextLv = v.parameter nextLv = v.parameter
attrNextNum = attrNum + v.attr[1].num for _, vv in ipairs(v.attr) do
attrNexts[vv.type] = (attrNexts[vv.type] or 0) + vv.num
end
break break
end end
elseif type == 2 then elseif type == 2 then
@ -587,15 +591,19 @@ function EquipData:getResonateLevelValue(type, value, value2)
end end
if isTrue then if isTrue then
lv = i lv = i
attrNum = attrNum + v.attr[1].num for _, vv in ipairs(v.attr) do
attrs[vv.type] = (attrs[vv.type] or 0) + vv.num
end
else else
nextLv = v.parameter nextLv = v.parameter
attrNextNum = attrNum + v.attr[1].num for _, vv in ipairs(v.attr) do
attrNexts[vv.type] = (attrNexts[vv.type] or 0) + vv.num
end
break break
end end
end end
end end
return lv, nextLv, attrNum / GConst.DEFAULT_FACTOR, attrNextNum / GConst.DEFAULT_FACTOR, table.nums(list) return lv, nextLv, attrs, attrNexts, table.nums(list)
end end
function EquipData:getResonateLevel(type, slotId) function EquipData:getResonateLevel(type, slotId)
@ -763,7 +771,7 @@ function EquipData:hasEquipRedPointBySlotId(slotId)
if slotId == nil then if slotId == nil then
return false return false
end end
local redPoint = self.soltIdRedPoint[slotId] local redPoint = self.slotIdRedPoint[slotId]
if redPoint ~= nil then if redPoint ~= nil then
return redPoint return redPoint
end end
@ -774,8 +782,8 @@ function EquipData:hasEquipRedPointBySlotId(slotId)
else else
redPoint = false redPoint = false
end end
self.soltIdRedPoint[slotId] = redPoint self.slotIdRedPoint[slotId] = redPoint
self.soltIdRedPointDirty = true self.slotIdRedPointDirty = true
return redPoint return redPoint
end end
@ -832,27 +840,27 @@ function EquipData:hasEquipGrowthRedPoint(slotId)
return self:hasEquipGrowthRedPointBySlotId(slotId) return self:hasEquipGrowthRedPointBySlotId(slotId)
end end
function EquipData:hasEquipGrowthRedPointBySlotId(soltId) function EquipData:hasEquipGrowthRedPointBySlotId(slotId)
if soltId == nil then if slotId == nil then
return false return false
end end
for part = 1, 6 do for part = 1, 6 do
if self:hasEquipEnhanceRedPoint(soltId, part) then if self:hasEquipEnhanceRedPoint(slotId, part) then
return true return true
elseif self:hasEquipRefineRedPoint(soltId, part) then elseif self:hasEquipRefineRedPoint(slotId, part) then
return true return true
end end
end end
return false return false
end end
function EquipData:hasEquipGrowthRedPointBySlotIdAndPartId(soltId, part) function EquipData:hasEquipGrowthRedPointBySlotIdAndPartId(slotId, part)
if soltId == nil then if slotId == nil then
return false return false
end end
if self:hasEquipEnhanceRedPoint(soltId, part) then if self:hasEquipEnhanceRedPoint(slotId, part) then
return true return true
elseif self:hasEquipRefineRedPoint(soltId, part) then elseif self:hasEquipRefineRedPoint(slotId, part) then
return true return true
end end
return false return false
@ -861,10 +869,10 @@ end
-- --强化红点 -- --强化红点
-- function EquipData:hasEquipGrowthEnhanceRedPoint(heroId) -- function EquipData:hasEquipGrowthEnhanceRedPoint(heroId)
-- local heroEntity = DataManager.HeroData:getHeroById(heroId) -- local heroEntity = DataManager.HeroData:getHeroById(heroId)
-- local soltId = heroEntity:getMatchType() -- local slotId = heroEntity:getMatchType()
-- if soltId then -- if slotId then
-- for part = 1, 6 do -- for part = 1, 6 do
-- if self:hasEquipEnhanceRedPoint(soltId, part) then -- if self:hasEquipEnhanceRedPoint(slotId, part) then
-- return true -- return true
-- end -- end
-- end -- end
@ -875,10 +883,10 @@ end
-- --精炼红点 -- --精炼红点
-- function EquipData:hasEquipGrowthRefineRedPoint(heroId) -- function EquipData:hasEquipGrowthRefineRedPoint(heroId)
-- local heroEntity = DataManager.HeroData:getHeroById(heroId) -- local heroEntity = DataManager.HeroData:getHeroById(heroId)
-- local soltId = heroEntity:getMatchType() -- local slotId = heroEntity:getMatchType()
-- if soltId then -- if slotId then
-- for part = 1, 6 do -- for part = 1, 6 do
-- if self:hasEquipRefineRedPoint(soltId, part) then -- if self:hasEquipRefineRedPoint(slotId, part) then
-- return true -- return true
-- end -- end
-- end -- end
@ -887,11 +895,11 @@ end
-- end -- end
--装备升级红点 --装备升级红点
function EquipData:hasEquipEnhanceRedPoint(soltId, part) function EquipData:hasEquipEnhanceRedPoint(slotId, part)
if self.allEquipsCount <= 0 then if self.allEquipsCount <= 0 then
return false return false
end end
local level = self:getPartLv(soltId, part) local level = self:getPartLv(slotId, part)
local itemCost = self:getLevelCost(level + 1) local itemCost = self:getLevelCost(level + 1)
if itemCost ~= nil then if itemCost ~= nil then
local costId = GFunc.getRewardId(itemCost) local costId = GFunc.getRewardId(itemCost)
@ -904,13 +912,13 @@ function EquipData:hasEquipEnhanceRedPoint(soltId, part)
return false return false
end end
function EquipData:hasEquipRefineRedPoint(soltId, part) function EquipData:hasEquipRefineRedPoint(slotId, part)
if self.allEquipsCount <= 0 then if self.allEquipsCount <= 0 then
return false return false
end end
local refine = self:getPartRefine(soltId, part) local refine = self:getPartRefine(slotId, part)
local needLevel = self:getRefineNeedLevel(refine + 1) local needLevel = self:getRefineNeedLevel(refine + 1)
if needLevel == nil or needLevel > self:getPartLevel(soltId, part) then if needLevel == nil or needLevel > self:getPartLevel(slotId, part) then
return false return false
end end
local itemCost = self:getRefineCost(refine + 1) local itemCost = self:getRefineCost(refine + 1)
@ -928,9 +936,9 @@ end
-- --未穿戴装备有五十件以上的红点 -- --未穿戴装备有五十件以上的红点
-- function EquipData:hasEquipUnWearRedPoint() -- function EquipData:hasEquipUnWearRedPoint()
-- local wearList = {} -- local wearList = {}
-- for soltId = 1, 6 do -- for slotId = 1, 6 do
-- for part = 1, 6 do -- for part = 1, 6 do
-- local uid = self:getPartEquipUid(soltId, part) -- local uid = self:getPartEquipUid(slotId, part)
-- if uid ~= 0 then -- if uid ~= 0 then
-- wearList[uid] = true -- wearList[uid] = true
-- end -- end
@ -948,4 +956,68 @@ end
-- return false -- return false
-- end -- end
--endregion --endregion
--@region 属性
function EquipData:getEquipAttrBySlotId(heroId, slotId)
if not self.slots[slotId] or not self.slots[slotId].parts then
return {}
end
local curFormation = DataManager.FormationData:getStageFormation()
if curFormation[slotId] ~= heroId then
return {}
end
local allAttr = {}
for part, info in ipairs(self.slots[slotId].parts) do
if info.equip_uid > 0 then
local equip = self:getEquipByUid(info.equip_uid)
if equip then
local attr = equip:getAllAttr()
for k, v in pairs(attr) do
allAttr[k] = (allAttr[k] or 0) + v
end
-- 升级属性
local level = self:getPartLv(slotId, part)
local baseType = equip:getBaseAttr().type
allAttr[baseType] = (attr[baseType] or 0) + self:getBaseAttrLvAdd(baseType, level)
-- for i = 1, level do
-- local cfg = self:getLevelConfig(i)
-- allAttr[cfg.base_attr_add.type] = (attr[cfg.base_attr_add.type] or 0) + self:getBaseAttrLvAdd(cfg.base_attr_add.type, level)
-- self:getBaseAttrLvAdd(attrType, lv)
-- end
-- 精炼属性
local equipAttrs = equip:getExtraMap()
local refine = self:getPartRefine(slotId, part)
if refine > 0 then
for _, extraAttr in pairs(equipAttrs) do
local attrName = GFunc.getAttrNameById(extraAttr.id)
-- allAttr[attrName] = (allAttr[attrName] or 0) + extraAttr.value
local nowAttr = self:getRefineAttrAdd(refine, attrName)
allAttr[attrName] = (allAttr[attrName] or 0) + nowAttr.num
end
end
end
end
end
-- 共鸣
for i = 1, 3 do
local lv = self:getResonateLevel(i, slotId)
local list = self:getResonateList(i)
for ii, vv in ipairs(list) do
if ii <= lv then
for _, vvv in ipairs(vv.attr or {}) do
allAttr[vvv.type] = (allAttr[vvv.type] or 0) + vvv.num
end
else
break
end
end
end
return allAttr
end
--@endregion
return EquipData return EquipData

View File

@ -8,6 +8,7 @@ function EquipEntity:setDirty()
end end
function EquipEntity:ctor(equip) function EquipEntity:ctor(equip)
self.baseAttrs = {}
self:init(equip) self:init(equip)
end end
@ -72,7 +73,9 @@ end
--@region 属性 --@region 属性
function EquipEntity:initBaseAttr() function EquipEntity:initBaseAttr()
self.baseAttrs = self.config.base_attr for k,v in pairs(self.config.base_attr) do
self.baseAttrs[k] = v
end
end end
function EquipEntity:setExtraAttr(attr) function EquipEntity:setExtraAttr(attr)
@ -107,8 +110,11 @@ end
function EquipEntity:getExtraList() function EquipEntity:getExtraList()
local list = {} local list = {}
for k,v in pairs(self.extraAttrs) do for k,v in pairs(self.extraAttrs) do
table.insert(list, {type = k, num = v}) table.insert(list, {type = k, num = v, id = GFunc.getAttrIdByName(k)})
end end
table.sort(list, function (a, b)
return a.id < b.id
end)
return list return list
end end

View File

@ -10,7 +10,6 @@ function HeroEntity:ctor(cfgId, lv, skin, star)
self.config = ConfigManager:getConfig("hero")[self.cfgId] self.config = ConfigManager:getConfig("hero")[self.cfgId]
self.beginLv = 1 -- 激活等级 self.beginLv = 1 -- 激活等级
self.isNew = false self.isNew = false
-- self.data.star = 2
self.baseAttrOriginal = {} self.baseAttrOriginal = {}
self.starAttr = {} self.starAttr = {}
@ -81,6 +80,11 @@ function HeroEntity:_updateAllAttr()
self.allAttr[k] = v self.allAttr[k] = v
end end
-- 装备
local equipAttr = DataManager.EquipData:getEquipAttrBySlotId(self.cfgId, self:getMatchType())
for k, v in pairs(equipAttr) do
self.allAttr[k] = (self.allAttr[k] or 0) + v
end
-- GConst.ALL_ATTR = { -- GConst.ALL_ATTR = {
-- ATTR_ATK_ALL = "atk_all", -- 全体英雄攻击(固定值) -- ATTR_ATK_ALL = "atk_all", -- 全体英雄攻击(固定值)
-- ATTR_HP_ALL = "attr_hp_all", -- 全体英雄生命(固定值) -- ATTR_HP_ALL = "attr_hp_all", -- 全体英雄生命(固定值)
@ -94,52 +98,54 @@ function HeroEntity:_updateAllAttr()
-- 同属性通用加成 -- 同属性通用加成
self.allAttr[GConst.MATCH_ALL_ATKP_NAME[self:getMatchType()]] = nil self.allAttr[GConst.MATCH_ALL_ATKP_NAME[self:getMatchType()]] = nil
-- self.allAttr[GConst.ALL_ATTR.ATTR_ATK_ALL] = nil -- self.allAttr[GConst.ATTR_ALL.ATTR_ATK_ALL] = nil
-- self.allAttr[GConst.ALL_ATTR.ATTR_HP_ALL] = nil -- self.allAttr[GConst.ATTR_ALL.ATTR_HP_ALL] = nil
-- self.allAttr[GConst.ALL_ATTR.ATTR_DMGDEC_ALL] = nil -- self.allAttr[GConst.ATTR_ALL.ATTR_DMGDEC_ALL] = nil
-- self.allAttr[GConst.ALL_ATTR.ATTR_CRIT_ALL] = nil -- self.allAttr[GConst.ATTR_ALL.ATTR_CRIT_ALL] = nil
-- self.allAttr[GConst.ALL_ATTR.ATTR_CRIT_TIME_ALL] = nil -- self.allAttr[GConst.ATTR_ALL.ATTR_CRIT_TIME_ALL] = nil
-- self.allAttr[GConst.ALL_ATTR.ATTR_NORMAL_HURTP_ALL] = nil -- self.allAttr[GConst.ATTR_ALL.ATTR_NORMAL_HURTP_ALL] = nil
-- self.allAttr[GConst.ALL_ATTR.ATTR_SKILL_HURTP_ALL] = nil -- self.allAttr[GConst.ATTR_ALL.ATTR_SKILL_HURTP_ALL] = nil
-- self.allAttr[GConst.ALL_ATTR.ATTR_ATKP_ALL] = nil -- self.allAttr[GConst.ATTR_ALL.ATTR_ATKP_ALL] = nil
-- self.allAttr[GConst.ALL_ATTR.ATTR_HPP_ALL] = nil -- self.allAttr[GConst.ATTR_ALL.ATTR_HPP_ALL] = nil
for _, v in pairs(GConst.ALL_ATTR) do for _, v in pairs(GConst.ATTR_ALL) do
self.allAttr[v] = nil self.allAttr[v] = nil
end end
-- 攻击力(百分比) -- 攻击力(百分比)
local atkType = GConst.MATCH_ATTACK_NAME[self:getMatchType()] local atkType = GConst.MATCH_ATTACK_NAME[self:getMatchType()]
-- 全局增加攻击力 -- 全局增加攻击力
local allAtk = self:getGlobalAttrByType(GConst.ALL_ATTR.ATTR_ATK_ALL) local allAtk = self:getGlobalAttrByType(GConst.ATTR_ALL.ATTR_ATK_ALL)
local atk = self.allAttr[atkType] + allAtk local persionalAtk = self.allAttr[GConst.ATTR_PERSIONAL.ATTR_ATK] or 0
local atk = self.allAttr[atkType] + allAtk + persionalAtk
-- 全局元素攻击力百分比加成 -- 全局元素攻击力百分比加成
local allFactorValue = self:getGlobalAttrByType(GConst.MATCH_ALL_ATKP_NAME[self:getMatchType()]) local allFactorValue = self:getGlobalAttrByType(GConst.MATCH_ALL_ATKP_NAME[self:getMatchType()])
-- 个人攻击力百分比加成 -- 个人攻击力百分比加成
local factorValue = self.allAttr[GConst.MATCH_ATTACK_ADD_NAME[self:getMatchType()]] or 0 local factorValue = self.allAttr[GConst.MATCH_ATTACK_ADD_NAME[self:getMatchType()]] or 0
-- 全局攻击力百分比加成 -- 全局攻击力百分比加成
local allAtkP = self:getGlobalAttrByType(GConst.ALL_ATTR.ATTR_ATKP_ALL) local allAtkP = self:getGlobalAttrByType(GConst.ATTR_ALL.ATTR_ATKP_ALL)
self.allAttr[atkType] = math.floor(atk * (1 + (factorValue + allFactorValue + allAtkP) / GConst.DEFAULT_FACTOR) + 0.0000001) self.allAttr[atkType] = math.floor(atk * (1 + (factorValue + allFactorValue + allAtkP) / GConst.DEFAULT_FACTOR) + 0.0000001)
self.allAttr[GConst.MATCH_ATTACK_ADD_NAME[self:getMatchType()]] = nil self.allAttr[GConst.MATCH_ATTACK_ADD_NAME[self:getMatchType()]] = nil
-- 生命(百分比) -- 生命(百分比)
local hpType = GConst.MATCH_HP_NAME[self:getMatchType()] local hpType = GConst.MATCH_HP_NAME[self:getMatchType()]
-- 全局增加生命 -- 全局增加生命
local allHp = self:getGlobalAttrByType(GConst.ALL_ATTR.ATTR_HP_ALL) local allHp = self:getGlobalAttrByType(GConst.ATTR_ALL.ATTR_HP_ALL)
local hp = self.allAttr[hpType] + allHp local persionalHp = self.allAttr[GConst.ATTR_PERSIONAL.ATTR_HP] or 0
local hp = self.allAttr[hpType] + allHp + persionalHp
-- 全局元素生命百分比加成 -- 全局元素生命百分比加成
local allFactorValue = self:getGlobalAttrByType(GConst.MATCH_ALL_HPP_NAME[self:getMatchType()]) local allFactorValue = self:getGlobalAttrByType(GConst.MATCH_ALL_HPP_NAME[self:getMatchType()])
-- 个人生命百分比加成 -- 个人生命百分比加成
local factorValue = self.allAttr[GConst.MATCH_HP_ADD_NAME[self:getMatchType()]] or 0 local factorValue = self.allAttr[GConst.MATCH_HP_ADD_NAME[self:getMatchType()]] or 0
-- 全局生命百分比加成 -- 全局生命百分比加成
local allHpP = self:getGlobalAttrByType(GConst.ALL_ATTR.ATTR_HPP_ALL) local allHpP = self:getGlobalAttrByType(GConst.ATTR_ALL.ATTR_HPP_ALL)
self.allAttr[hpType] = math.floor(hp * (1 + (factorValue + allFactorValue + allHpP) / GConst.DEFAULT_FACTOR) + 0.0000001) self.allAttr[hpType] = math.floor(hp * (1 + (factorValue + allFactorValue + allHpP) / GConst.DEFAULT_FACTOR) + 0.0000001)
self.allAttr[GConst.MATCH_HP_ADD_NAME[self:getMatchType()]] = nil self.allAttr[GConst.MATCH_HP_ADD_NAME[self:getMatchType()]] = nil
self.allAttr[ATTR_NAME.DMGDEC] = (self.allAttr[ATTR_NAME.DMGDEC] or 0) + self:getGlobalAttrByType(GConst.ALL_ATTR.ATTR_DMGDEC_ALL) self.allAttr[ATTR_NAME.DMGDEC] = (self.allAttr[ATTR_NAME.DMGDEC] or 0) + self:getGlobalAttrByType(GConst.ATTR_ALL.ATTR_DMGDEC_ALL)
self.allAttr[GConst.MATCH_CRIT_NAME[self:getMatchType()]] = (self.allAttr[GConst.MATCH_CRIT_NAME[self:getMatchType()]] or 0) + self:getGlobalAttrByType(GConst.ALL_ATTR.ATTR_CRIT_ALL) self.allAttr[GConst.MATCH_CRIT_NAME[self:getMatchType()]] = (self.allAttr[GConst.MATCH_CRIT_NAME[self:getMatchType()]] or 0) + self:getGlobalAttrByType(GConst.ATTR_ALL.ATTR_CRIT_ALL)
self.allAttr[GConst.MATCH_CRIT_TIME_NAME[self:getMatchType()]] = (self.allAttr[GConst.MATCH_CRIT_TIME_NAME[self:getMatchType()]] or 0) + self:getGlobalAttrByType(GConst.ALL_ATTR.ATTR_CRIT_TIME_ALL) self.allAttr[GConst.MATCH_CRIT_TIME_NAME[self:getMatchType()]] = (self.allAttr[GConst.MATCH_CRIT_TIME_NAME[self:getMatchType()]] or 0) + self:getGlobalAttrByType(GConst.ATTR_ALL.ATTR_CRIT_TIME_ALL)
self.allAttr[GConst.MATCH_NORMAL_HURTP_NAME[self:getMatchType()]] = (self.allAttr[GConst.MATCH_NORMAL_HURTP_NAME[self:getMatchType()]] or 0) + self:getGlobalAttrByType(GConst.ALL_ATTR.ATTR_NORMAL_HURTP_ALL) self.allAttr[GConst.MATCH_NORMAL_HURTP_NAME[self:getMatchType()]] = (self.allAttr[GConst.MATCH_NORMAL_HURTP_NAME[self:getMatchType()]] or 0) + self:getGlobalAttrByType(GConst.ATTR_ALL.ATTR_NORMAL_HURTP_ALL)
self.allAttr[GConst.MATCH_SKILL_HURTP_NAME[self:getMatchType()]] = (self.allAttr[GConst.MATCH_SKILL_HURTP_NAME[self:getMatchType()]] or 0) + self:getGlobalAttrByType(GConst.ALL_ATTR.ATTR_SKILL_HURTP_ALL) self.allAttr[GConst.MATCH_SKILL_HURTP_NAME[self:getMatchType()]] = (self.allAttr[GConst.MATCH_SKILL_HURTP_NAME[self:getMatchType()]] or 0) + self:getGlobalAttrByType(GConst.ATTR_ALL.ATTR_SKILL_HURTP_ALL)
self:calcPower() self:calcPower()
end end
@ -170,16 +176,16 @@ function HeroEntity:_updateAllBaseAttr()
attr[GConst.MATCH_ALL_ATKP_NAME[self:getMatchType()]] = self.allBaseAttr[GConst.MATCH_ALL_ATKP_NAME[self:getMatchType()]] attr[GConst.MATCH_ALL_ATKP_NAME[self:getMatchType()]] = self.allBaseAttr[GConst.MATCH_ALL_ATKP_NAME[self:getMatchType()]]
end end
-- attr[GConst.ALL_ATTR.ATTR_ATK_ALL] = self.allBaseAttr[GConst.ALL_ATTR.ATTR_ATK_ALL] -- attr[GConst.ATTR_ALL.ATTR_ATK_ALL] = self.allBaseAttr[GConst.ATTR_ALL.ATTR_ATK_ALL]
-- attr[GConst.ALL_ATTR.ATTR_HP_ALL] = self.allBaseAttr[GConst.ALL_ATTR.ATTR_HP_ALL] -- attr[GConst.ATTR_ALL.ATTR_HP_ALL] = self.allBaseAttr[GConst.ATTR_ALL.ATTR_HP_ALL]
-- attr[GConst.ALL_ATTR.ATTR_DMGDEC_ALL] = self.allBaseAttr[GConst.ALL_ATTR.ATTR_DMGDEC_ALL] -- attr[GConst.ATTR_ALL.ATTR_DMGDEC_ALL] = self.allBaseAttr[GConst.ATTR_ALL.ATTR_DMGDEC_ALL]
-- attr[GConst.ALL_ATTR.ATTR_CRIT_ALL] = self.allBaseAttr[GConst.ALL_ATTR.ATTR_CRIT_ALL] -- attr[GConst.ATTR_ALL.ATTR_CRIT_ALL] = self.allBaseAttr[GConst.ATTR_ALL.ATTR_CRIT_ALL]
-- attr[GConst.ALL_ATTR.ATTR_CRIT_TIME_ALL] = self.allBaseAttr[GConst.ALL_ATTR.ATTR_CRIT_TIME_ALL] -- attr[GConst.ATTR_ALL.ATTR_CRIT_TIME_ALL] = self.allBaseAttr[GConst.ATTR_ALL.ATTR_CRIT_TIME_ALL]
-- attr[GConst.ALL_ATTR.ATTR_NORMAL_HURTP_ALL] = self.allBaseAttr[GConst.ALL_ATTR.ATTR_NORMAL_HURTP_ALL] -- attr[GConst.ATTR_ALL.ATTR_NORMAL_HURTP_ALL] = self.allBaseAttr[GConst.ATTR_ALL.ATTR_NORMAL_HURTP_ALL]
-- attr[GConst.ALL_ATTR.ATTR_SKILL_HURTP_ALL] = self.allBaseAttr[GConst.ALL_ATTR.ATTR_SKILL_HURTP_ALL] -- attr[GConst.ATTR_ALL.ATTR_SKILL_HURTP_ALL] = self.allBaseAttr[GConst.ATTR_ALL.ATTR_SKILL_HURTP_ALL]
-- attr[GConst.ALL_ATTR.ATTR_ATKP_ALL] = self.allBaseAttr[GConst.ALL_ATTR.ATTR_ATKP_ALL] -- attr[GConst.ATTR_ALL.ATTR_ATKP_ALL] = self.allBaseAttr[GConst.ATTR_ALL.ATTR_ATKP_ALL]
-- attr[GConst.ALL_ATTR.ATTR_HPP_ALL] = self.allBaseAttr[GConst.ALL_ATTR.ATTR_HPP_ALL] -- attr[GConst.ATTR_ALL.ATTR_HPP_ALL] = self.allBaseAttr[GConst.ATTR_ALL.ATTR_HPP_ALL]
for _, v in pairs(GConst.ALL_ATTR) do for _, v in pairs(GConst.ATTR_ALL) do
attr[v] = self.allBaseAttr[v] attr[v] = self.allBaseAttr[v]
end end

View File

@ -93,45 +93,58 @@ function HeroEntity:_updateAllAttr()
-- 同属性通用加成 -- 同属性通用加成
self.allAttr[GConst.MATCH_ALL_ATKP_NAME[self:getMatchType()]] = nil self.allAttr[GConst.MATCH_ALL_ATKP_NAME[self:getMatchType()]] = nil
self.allAttr[GConst.ALL_ATTR.ATTR_ATK_ALL] = nil -- self.allAttr[GConst.ATTR_ALL.ATTR_ATK_ALL] = nil
self.allAttr[GConst.ALL_ATTR.ATTR_HP_ALL] = nil -- self.allAttr[GConst.ATTR_ALL.ATTR_HP_ALL] = nil
self.allAttr[GConst.ALL_ATTR.ATTR_DMGDEC_ALL] = nil -- self.allAttr[GConst.ATTR_ALL.ATTR_DMGDEC_ALL] = nil
self.allAttr[GConst.ALL_ATTR.ATTR_CRIT_ALL] = nil -- self.allAttr[GConst.ATTR_ALL.ATTR_CRIT_ALL] = nil
self.allAttr[GConst.ALL_ATTR.ATTR_CRIT_TIME_ALL] = nil -- self.allAttr[GConst.ATTR_ALL.ATTR_CRIT_TIME_ALL] = nil
self.allAttr[GConst.ALL_ATTR.ATTR_NORMAL_HURTP_ALL] = nil -- self.allAttr[GConst.ATTR_ALL.ATTR_NORMAL_HURTP_ALL] = nil
self.allAttr[GConst.ALL_ATTR.ATTR_SKILL_HURTP_ALL] = nil -- self.allAttr[GConst.ATTR_ALL.ATTR_SKILL_HURTP_ALL] = nil
self.allAttr[GConst.ALL_ATTR.ATTR_ATKP_ALL] = nil -- self.allAttr[GConst.ATTR_ALL.ATTR_ATKP_ALL] = nil
-- self.allAttr[GConst.ATTR_ALL.ATTR_HPP_ALL] = nil
for _, v in pairs(GConst.ATTR_ALL) do
self.allAttr[v] = nil
end
-- 攻击力(百分比) -- 攻击力(百分比)
local atkType = GConst.MATCH_ATTACK_NAME[self:getMatchType()] local atkType = GConst.MATCH_ATTACK_NAME[self:getMatchType()]
local allAtk = DataManager.HeroDataOther:getAttrByMatchType(self:getMatchType(), GConst.ALL_ATTR.ATTR_ATK_ALL) -- 全局增加攻击力
local atkpType = GConst.MATCH_ALL_ATKP_NAME[self:getMatchType()] local allAtk = self:getGlobalAttrByType(GConst.ATTR_ALL.ATTR_ATK_ALL)
local allFactorValue = DataManager.HeroDataOther:getAttrByMatchType(self:getMatchType(), atkpType)
local factorValue = self.allAttr[GConst.MATCH_ATTACK_ADD_NAME[self:getMatchType()]] or 0
local allAtkP = self:getGlobalAttrByType(GConst.ALL_ATTR.ATTR_ATKP_ALL)
local atk = self.allAttr[atkType] + allAtk local atk = self.allAttr[atkType] + allAtk
-- 全局元素攻击力百分比加成
local allFactorValue = self:getGlobalAttrByType(GConst.MATCH_ALL_ATKP_NAME[self:getMatchType()])
-- 个人攻击力百分比加成
local factorValue = self.allAttr[GConst.MATCH_ATTACK_ADD_NAME[self:getMatchType()]] or 0
-- 全局攻击力百分比加成
local allAtkP = self:getGlobalAttrByType(GConst.ATTR_ALL.ATTR_ATKP_ALL)
self.allAttr[atkType] = math.floor(atk * (1 + (factorValue + allFactorValue + allAtkP) / GConst.DEFAULT_FACTOR) + 0.0000001) self.allAttr[atkType] = math.floor(atk * (1 + (factorValue + allFactorValue + allAtkP) / GConst.DEFAULT_FACTOR) + 0.0000001)
self.allAttr[GConst.MATCH_ATTACK_ADD_NAME[self:getMatchType()]] = nil self.allAttr[GConst.MATCH_ATTACK_ADD_NAME[self:getMatchType()]] = nil
-- 生命(百分比) -- 生命(百分比)
local hpType = GConst.MATCH_HP_NAME[self:getMatchType()] local hpType = GConst.MATCH_HP_NAME[self:getMatchType()]
local allHp = DataManager.HeroDataOther:getAttrByMatchType(self:getMatchType(), GConst.ALL_ATTR.ATTR_HP_ALL) -- 全局增加生命
local factorValue = self.allAttr[GConst.MATCH_HP_ADD_NAME[self:getMatchType()]] or 0 local allHp = self:getGlobalAttrByType(GConst.ATTR_ALL.ATTR_HP_ALL)
local hp = self.allAttr[hpType] + allHp local hp = self.allAttr[hpType] + allHp
self.allAttr[hpType] = math.floor(hp * (1 + factorValue / GConst.DEFAULT_FACTOR) + 0.0000001) -- 全局元素生命百分比加成
local allFactorValue = self:getGlobalAttrByType(GConst.MATCH_ALL_HPP_NAME[self:getMatchType()])
-- 个人生命百分比加成
local factorValue = self.allAttr[GConst.MATCH_HP_ADD_NAME[self:getMatchType()]] or 0
-- 全局生命百分比加成
local allHpP = self:getGlobalAttrByType(GConst.ATTR_ALL.ATTR_HPP_ALL)
self.allAttr[hpType] = math.floor(hp * (1 + (factorValue + allFactorValue + allHpP) / GConst.DEFAULT_FACTOR) + 0.0000001)
self.allAttr[GConst.MATCH_HP_ADD_NAME[self:getMatchType()]] = nil self.allAttr[GConst.MATCH_HP_ADD_NAME[self:getMatchType()]] = nil
self.allAttr[ATTR_NAME.DMGDEC] = (self.allAttr[ATTR_NAME.DMGDEC] or 0) + self:getGlobalAttrByType(GConst.ALL_ATTR.ATTR_DMGDEC_ALL) self.allAttr[ATTR_NAME.DMGDEC] = (self.allAttr[ATTR_NAME.DMGDEC] or 0) + self:getGlobalAttrByType(GConst.ATTR_ALL.ATTR_DMGDEC_ALL)
self.allAttr[GConst.MATCH_CRIT_NAME[self:getMatchType()]] = (self.allAttr[GConst.MATCH_CRIT_NAME[self:getMatchType()]] or 0) + self:getGlobalAttrByType(GConst.ALL_ATTR.ATTR_CRIT_ALL) self.allAttr[GConst.MATCH_CRIT_NAME[self:getMatchType()]] = (self.allAttr[GConst.MATCH_CRIT_NAME[self:getMatchType()]] or 0) + self:getGlobalAttrByType(GConst.ATTR_ALL.ATTR_CRIT_ALL)
self.allAttr[GConst.MATCH_CRIT_TIME_NAME[self:getMatchType()]] = (self.allAttr[GConst.MATCH_CRIT_TIME_NAME[self:getMatchType()]] or 0) + self:getGlobalAttrByType(GConst.ALL_ATTR.ATTR_CRIT_TIME_ALL) self.allAttr[GConst.MATCH_CRIT_TIME_NAME[self:getMatchType()]] = (self.allAttr[GConst.MATCH_CRIT_TIME_NAME[self:getMatchType()]] or 0) + self:getGlobalAttrByType(GConst.ATTR_ALL.ATTR_CRIT_TIME_ALL)
self.allAttr[GConst.MATCH_NORMAL_HURTP_NAME[self:getMatchType()]] = (self.allAttr[GConst.MATCH_NORMAL_HURTP_NAME[self:getMatchType()]] or 0) + self:getGlobalAttrByType(GConst.ALL_ATTR.ATTR_NORMAL_HURTP_ALL) self.allAttr[GConst.MATCH_NORMAL_HURTP_NAME[self:getMatchType()]] = (self.allAttr[GConst.MATCH_NORMAL_HURTP_NAME[self:getMatchType()]] or 0) + self:getGlobalAttrByType(GConst.ATTR_ALL.ATTR_NORMAL_HURTP_ALL)
self.allAttr[GConst.MATCH_SKILL_HURTP_NAME[self:getMatchType()]] = (self.allAttr[GConst.MATCH_SKILL_HURTP_NAME[self:getMatchType()]] or 0) + self:getGlobalAttrByType(GConst.ALL_ATTR.ATTR_SKILL_HURTP_ALL) self.allAttr[GConst.MATCH_SKILL_HURTP_NAME[self:getMatchType()]] = (self.allAttr[GConst.MATCH_SKILL_HURTP_NAME[self:getMatchType()]] or 0) + self:getGlobalAttrByType(GConst.ATTR_ALL.ATTR_SKILL_HURTP_ALL)
self:calcPower() self:calcPower()
end end
function HeroEntity:getGlobalAttrByType(attrType) function HeroEntity:getGlobalAttrByType(attrType)
return DataManager.HeroDataOther:getAttrByMatchType(self:getMatchType(), attrType) or 0 return DataManager.HeroData:getAttrByMatchType(self:getMatchType(), attrType) or 0
end end
function HeroEntity:_getAllBaseAttr() function HeroEntity:_getAllBaseAttr()
@ -145,8 +158,9 @@ end
-- 更新所有属性(自己) -- 更新所有属性(自己)
function HeroEntity:_updateAllBaseAttr() function HeroEntity:_updateAllBaseAttr()
self:_updateBaseAttr() self:_updateBaseAttr()
self:_updateLvAttr()
self:_updateStarAttr() self:_updateStarAttr()
self:_updateSkinAttr() -- self:_updateSkinAttr()
self:_updateTotalAttr() self:_updateTotalAttr()
-- 处理全局属性 -- 处理全局属性
@ -155,16 +169,20 @@ function HeroEntity:_updateAllBaseAttr()
attr[GConst.MATCH_ALL_ATKP_NAME[self:getMatchType()]] = self.allBaseAttr[GConst.MATCH_ALL_ATKP_NAME[self:getMatchType()]] attr[GConst.MATCH_ALL_ATKP_NAME[self:getMatchType()]] = self.allBaseAttr[GConst.MATCH_ALL_ATKP_NAME[self:getMatchType()]]
end end
attr[GConst.ALL_ATTR.ATTR_ATK_ALL] = self.allBaseAttr[GConst.ALL_ATTR.ATTR_ATK_ALL] -- attr[GConst.ATTR_ALL.ATTR_ATK_ALL] = self.allBaseAttr[GConst.ATTR_ALL.ATTR_ATK_ALL]
attr[GConst.ALL_ATTR.ATTR_HP_ALL] = self.allBaseAttr[GConst.ALL_ATTR.ATTR_HP_ALL] -- attr[GConst.ATTR_ALL.ATTR_HP_ALL] = self.allBaseAttr[GConst.ATTR_ALL.ATTR_HP_ALL]
attr[GConst.ALL_ATTR.ATTR_DMGDEC_ALL] = self.allBaseAttr[GConst.ALL_ATTR.ATTR_DMGDEC_ALL] -- attr[GConst.ATTR_ALL.ATTR_DMGDEC_ALL] = self.allBaseAttr[GConst.ATTR_ALL.ATTR_DMGDEC_ALL]
attr[GConst.ALL_ATTR.ATTR_CRIT_ALL] = self.allBaseAttr[GConst.ALL_ATTR.ATTR_CRIT_ALL] -- attr[GConst.ATTR_ALL.ATTR_CRIT_ALL] = self.allBaseAttr[GConst.ATTR_ALL.ATTR_CRIT_ALL]
attr[GConst.ALL_ATTR.ATTR_CRIT_TIME_ALL] = self.allBaseAttr[GConst.ALL_ATTR.ATTR_CRIT_TIME_ALL] -- attr[GConst.ATTR_ALL.ATTR_CRIT_TIME_ALL] = self.allBaseAttr[GConst.ATTR_ALL.ATTR_CRIT_TIME_ALL]
attr[GConst.ALL_ATTR.ATTR_NORMAL_HURTP_ALL] = self.allBaseAttr[GConst.ALL_ATTR.ATTR_NORMAL_HURTP_ALL] -- attr[GConst.ATTR_ALL.ATTR_NORMAL_HURTP_ALL] = self.allBaseAttr[GConst.ATTR_ALL.ATTR_NORMAL_HURTP_ALL]
attr[GConst.ALL_ATTR.ATTR_SKILL_HURTP_ALL] = self.allBaseAttr[GConst.ALL_ATTR.ATTR_SKILL_HURTP_ALL] -- attr[GConst.ATTR_ALL.ATTR_SKILL_HURTP_ALL] = self.allBaseAttr[GConst.ATTR_ALL.ATTR_SKILL_HURTP_ALL]
attr[GConst.ALL_ATTR.ATTR_ATKP_ALL] = self.allBaseAttr[GConst.ALL_ATTR.ATTR_ATKP_ALL] -- attr[GConst.ATTR_ALL.ATTR_ATKP_ALL] = self.allBaseAttr[GConst.ATTR_ALL.ATTR_ATKP_ALL]
-- attr[GConst.ATTR_ALL.ATTR_HPP_ALL] = self.allBaseAttr[GConst.ATTR_ALL.ATTR_HPP_ALL]
for _, v in pairs(GConst.ATTR_ALL) do
attr[v] = self.allBaseAttr[v]
end
DataManager.HeroDataOther:setHeroAttr(self:getCfgId(), attr) DataManager.HeroData:setHeroAttr(self:getCfgId(), attr)
end end
-- 更新英雄基础属性 -- 更新英雄基础属性
@ -178,16 +196,31 @@ function HeroEntity:_updateBaseAttr()
self.baseAttrOriginal[GConst.MATCH_ATTACK_NAME[self.config.position]] = self:getCfgAtk() self.baseAttrOriginal[GConst.MATCH_ATTACK_NAME[self.config.position]] = self:getCfgAtk()
end end
-- 更新皮肤属性 -- 更新升级属性
function HeroEntity:_updateLvAttr()
self.lvAttr = {}
local lvPoint = self:getLvAttrPointList()
for i = 1, #lvPoint do
if self.data.lv >= lvPoint[i] then
local attr = self:getLvAttrCfg(i)
self.lvAttr[attr.type] = (self.lvAttr[attr.type] or 0) + attr.num
end
end
end
-- 更新升星属性
function HeroEntity:_updateStarAttr() function HeroEntity:_updateStarAttr()
self.starAttr = {} self.starAttr = {}
for i = 1, self.data.star do for i = 1, self.data.star do
local attr = self:getStarAttrCfg()[i] local attrs = self:getStarAttrCfg(i)
self.starAttr[attr.type] = attr.num for _, attr in ipairs(attrs) do
self.starAttr[attr.type] = (self.starAttr[attr.type] or 0) + attr.num
end
end end
end end
function HeroEntity:getStarAttr() function HeroEntity:getStarAttr()
self:getAllAttr()
return self.starAttr return self.starAttr
end end
@ -237,12 +270,15 @@ function HeroEntity:_updateTotalAttr()
for k, v in pairs(self.baseAttrOriginal) do for k, v in pairs(self.baseAttrOriginal) do
self.allBaseAttr[k] = (self.allBaseAttr[k] or 0) + v self.allBaseAttr[k] = (self.allBaseAttr[k] or 0) + v
end end
for k, v in pairs(self.lvAttr) do
self.allBaseAttr[k] = (self.allBaseAttr[k] or 0) + v
end
for k, v in pairs(self.starAttr) do for k, v in pairs(self.starAttr) do
self.allBaseAttr[k] = (self.allBaseAttr[k] or 0) + v self.allBaseAttr[k] = (self.allBaseAttr[k] or 0) + v
end end
for k, v in pairs(self.skinAttr) do -- for k, v in pairs(self.skinAttr) do
self.allBaseAttr[k] = (self.allBaseAttr[k] or 0) + v -- self.allBaseAttr[k] = (self.allBaseAttr[k] or 0) + v
end -- end
end end
function HeroEntity:getTotalAttrValue(name) function HeroEntity:getTotalAttrValue(name)
@ -393,19 +429,14 @@ function HeroEntity:canLvUp(showToast)
-- return false, GConst.HeroConst.CHECK_LV_UP_STATE.NEED_STAR -- return false, GConst.HeroConst.CHECK_LV_UP_STATE.NEED_STAR
-- end -- end
local cost = self:getLvUpMaterialNum() local costNum = self:getLvUpMaterialNum()
if not cost then if not costNum then
return false, GConst.HeroConst.CHECK_LV_UP_STATE.NO_COST return false, GConst.HeroConst.CHECK_LV_UP_STATE.NO_COST
end end
local fragmentCost = cost[1] or 0 if not GFunc.checkCost(self:getLvUpCostId(), costNum, showToast) then
if not GFunc.checkCost(self:getFragmentId(), fragmentCost, showToast) then
return false, GConst.HeroConst.CHECK_LV_UP_STATE.FRAGMENT_NOT_ENOUGH return false, GConst.HeroConst.CHECK_LV_UP_STATE.FRAGMENT_NOT_ENOUGH
end end
local goldCost = cost[2] or 0
if not GFunc.checkCost(self:getLvUpCostId(), goldCost, showToast) then
return false, GConst.HeroConst.CHECK_LV_UP_STATE.COIN_NOT_ENOUGH
end
return true, GConst.HeroConst.CHECK_LV_UP_STATE.SUCCESS return true, GConst.HeroConst.CHECK_LV_UP_STATE.SUCCESS
end end
@ -425,21 +456,9 @@ function HeroEntity:isActived()
return self.data.lv >= self:getBeginLv() return self.data.lv >= self:getBeginLv()
end end
function HeroEntity:getLvUpMaterialNum()
local lv = self.data.lv + 1
if lv < self:getBeginLv() then
lv = self:getBeginLv()
end
local nextLvInfo = ConfigManager:getConfig("hero_level")[lv]
if not nextLvInfo then
return
end
-- local fieldName = "cost_" .. self:getQlt()
return nextLvInfo.cost
end
function HeroEntity:getLvUpLv() function HeroEntity:getLvUpLv()
local count = 0 local count = 0
local costId1 = self.config.level_id[1]
local totalCost1 = 0 local totalCost1 = 0
local totalCost2 = 0 local totalCost2 = 0
-- local nextLv = self:getNextLv() -- local nextLv = self:getNextLv()
@ -452,16 +471,18 @@ function HeroEntity:getLvUpLv()
if not nextLvInfo then if not nextLvInfo then
break break
end end
local fragmentCost = nextLvInfo.cost[1] or 0 local needCostId = self:getLvUpCostId()
local itemCost = nextLvInfo.cost[2] or 0 if needCostId == costId1 then
totalCost1 = totalCost1 + fragmentCost totalCost1 = totalCost1 + self:getLvUpMaterialNum()
totalCost2 = totalCost2 + itemCost if not GFunc.checkCost(needCostId, totalCost1, false) then
if not GFunc.checkCost(self:getFragmentId(), totalCost1, false) then
break break
end end
if not GFunc.checkCost(self:getLvUpCostId(), totalCost2, false) then else
totalCost2 = totalCost2 + self:getLvUpMaterialNum()
if not GFunc.checkCost(needCostId, totalCost2, false) then
break break
end end
end
count = count + 1 count = count + 1
end end
return count + self.data.lv, count ~= 0 return count + self.data.lv, count ~= 0
@ -500,9 +521,31 @@ function HeroEntity:getHurtNum()
end end
function HeroEntity:getLvUpCostId() function HeroEntity:getLvUpCostId()
return self.config.level_id local list = self:getLvAttrPointList()
if table.containValue(list, self.data.lv + 1) then
return self.config.level_id[2]
else
return self.config.level_id[1]
end
end end
function HeroEntity:getLvUpMaterialNum()
if self.data.lv <= 0 then
return
end
local lv = self.data.lv + 1
if lv < self:getBeginLv() then
lv = self:getBeginLv()
end
local nextLvInfo = ConfigManager:getConfig("hero_level")[lv]
if not nextLvInfo then
return
end
local fieldName = "cost_" .. self:getQlt()
return nextLvInfo[fieldName][2]
end
function HeroEntity:getCfgId() function HeroEntity:getCfgId()
return self.cfgId return self.cfgId
end end
@ -528,15 +571,24 @@ function HeroEntity:getStarUpCostId()
end end
function HeroEntity:getStarAttrCfg(star) function HeroEntity:getStarAttrCfg(star)
if star then local cfg = ConfigManager:getConfig("hero_star")
return self.config.star_attr[star] return cfg[star]["attr_" .. self:getQlt()]
end
return self.config.star_attr
end end
function HeroEntity:getStarAttrTxt() function HeroEntity:getStarAttrTxt()
return self.config.star_txt return self.config.star_txt
end end
function HeroEntity:getLvAttrCfg(lvPoint)
if lvPoint then
return self.config.level_attr[lvPoint]
end
return self.config.level_attr
end
function HeroEntity:getLvAttrPointList()
return self.config.level_point
end
-- endregion -- endregion
-- function HeroEntity:getActiveRogueCount() -- function HeroEntity:getActiveRogueCount()
@ -591,7 +643,7 @@ function HeroEntity:getRogueSkillList()
local ids = self.config["rouge_skill_" .. count] local ids = self.config["rouge_skill_" .. count]
if ids then if ids then
for i = #ids, 1, -1 do for i = #ids, 1, -1 do
if self.data.lv >= ids[i][1] or i == 1 then if self.data.star >= ids[i][1] or i == 1 then
table.insert(self.rogueSkillList, ids[i]) table.insert(self.rogueSkillList, ids[i])
break break
end end
@ -606,12 +658,35 @@ function HeroEntity:getRogueSkillList()
return self.rogueSkillList return self.rogueSkillList
end end
function HeroEntity:getRogueSkillListBattle()
if not self.rogueSkillListBattle then
self.rogueSkillListBattle = {}
local count = 1
while true do
local ids = self.config["rouge_skill_" .. count]
if ids then
for i = #ids, 1, -1 do
if self.data.star >= ids[i][1] then
table.insert(self.rogueSkillListBattle, ids[i][2])
break
end
end
else
break
end
count = count + 1
end
end
return self.rogueSkillListBattle
end
function HeroEntity:getRogueSkillListByIdx(idx) function HeroEntity:getRogueSkillListByIdx(idx)
local ids = self.config["rouge_skill_" .. idx] local ids = self.config["rouge_skill_" .. idx]
local lv = 0 local lv = 0
if ids then if ids then
for i = #ids, 1, -1 do for i = #ids, 1, -1 do
if self.data.lv >= ids[i][1]then if self.data.star >= ids[i][1]then
lv = i lv = i
break break
end end
@ -624,7 +699,7 @@ function HeroEntity:getNextRougeLvUp(idx)
local ids = self.config["rouge_skill_" .. idx] local ids = self.config["rouge_skill_" .. idx]
if ids then if ids then
for i,v in ipairs(ids) do for i,v in ipairs(ids) do
if self.data.lv < ids[i][1] then if self.data.star < ids[i][1] then
return ids[i][1] return ids[i][1]
end end
end end
@ -638,7 +713,7 @@ function HeroEntity:getActiveRogueSkills()
local ids = self.config["rouge_skill_" .. count] local ids = self.config["rouge_skill_" .. count]
if ids then if ids then
for i = #ids, 1, -1 do for i = #ids, 1, -1 do
if self.data.lv >= ids[i][1] then if self.data.star >= ids[i][1] then
table.insert(list, ids[i][2]) table.insert(list, ids[i][2])
break break
end end
@ -707,7 +782,28 @@ function HeroEntity:onHeroStarUp()
end end
function HeroEntity:getMaxStar() function HeroEntity:getMaxStar()
return #self:getStarAttrCfg() return #self:getStarCfg()
end
function HeroEntity:getStarCfg()
return ConfigManager:getConfig("hero_star")
end
function HeroEntity:getStarUnlockSkillId(star)
local count = 1
while true do
local ids = self.config["rouge_skill_" .. count]
if ids then
for i = #ids, 1, -1 do
if star == ids[i][1] then
return ids[i][2]
end
end
else
break
end
count = count + 1
end
end end
-- endregion -- endregion
@ -794,6 +890,8 @@ function HeroEntity:showRedPoint(page)
return self:canLvUp() return self:canLvUp()
elseif page == GConst.HeroConst.PANEL_TYPE.STAR then elseif page == GConst.HeroConst.PANEL_TYPE.STAR then
return self:canStarUp() return self:canStarUp()
elseif page == GConst.HeroConst.PANEL_TYPE.EQUIP then
return DataManager.EquipData:hasEquipRedPoint(self:getMatchType())
end end
end end
--@endregion --@endregion

View File

@ -140,14 +140,14 @@ function TalentData:_updateAllAttr()
-- 处理全局属性 -- 处理全局属性
local attr = {} local attr = {}
attr[GConst.ALL_ATTR.ATTR_ATK_ALL] = self.allAttr[GConst.ALL_ATTR.ATTR_ATK_ALL] attr[GConst.ATTR_ALL.ATTR_ATK_ALL] = self.allAttr[GConst.ATTR_ALL.ATTR_ATK_ALL]
attr[GConst.ALL_ATTR.ATTR_HP_ALL] = self.allAttr[GConst.ALL_ATTR.ATTR_HP_ALL] attr[GConst.ATTR_ALL.ATTR_HP_ALL] = self.allAttr[GConst.ATTR_ALL.ATTR_HP_ALL]
attr[GConst.ALL_ATTR.ATTR_DMGDEC_ALL] = self.allAttr[GConst.ALL_ATTR.ATTR_DMGDEC_ALL] attr[GConst.ATTR_ALL.ATTR_DMGDEC_ALL] = self.allAttr[GConst.ATTR_ALL.ATTR_DMGDEC_ALL]
attr[GConst.ALL_ATTR.ATTR_CRIT_ALL] = self.allAttr[GConst.ALL_ATTR.ATTR_CRIT_ALL] attr[GConst.ATTR_ALL.ATTR_CRIT_ALL] = self.allAttr[GConst.ATTR_ALL.ATTR_CRIT_ALL]
attr[GConst.ALL_ATTR.ATTR_CRIT_TIME_ALL] = self.allAttr[GConst.ALL_ATTR.ATTR_CRIT_TIME_ALL] attr[GConst.ATTR_ALL.ATTR_CRIT_TIME_ALL] = self.allAttr[GConst.ATTR_ALL.ATTR_CRIT_TIME_ALL]
attr[GConst.ALL_ATTR.ATTR_NORMAL_HURTP_ALL] = self.allAttr[GConst.ALL_ATTR.ATTR_NORMAL_HURTP_ALL] attr[GConst.ATTR_ALL.ATTR_NORMAL_HURTP_ALL] = self.allAttr[GConst.ATTR_ALL.ATTR_NORMAL_HURTP_ALL]
attr[GConst.ALL_ATTR.ATTR_SKILL_HURTP_ALL] = self.allAttr[GConst.ALL_ATTR.ATTR_SKILL_HURTP_ALL] attr[GConst.ATTR_ALL.ATTR_SKILL_HURTP_ALL] = self.allAttr[GConst.ATTR_ALL.ATTR_SKILL_HURTP_ALL]
attr[GConst.ALL_ATTR.ATTR_ATKP_ALL] = self.allAttr[GConst.ALL_ATTR.ATTR_ATKP_ALL] attr[GConst.ATTR_ALL.ATTR_ATKP_ALL] = self.allAttr[GConst.ATTR_ALL.ATTR_ATKP_ALL]
DataManager.HeroData:setTalentAttr(attr) DataManager.HeroData:setTalentAttr(attr)