diff --git a/lua/app/common/bi_report.lua b/lua/app/common/bi_report.lua index 18b1b58c..67d15092 100644 --- a/lua/app/common/bi_report.lua +++ b/lua/app/common/bi_report.lua @@ -73,6 +73,7 @@ BIReport.ITEM_GET_TYPE = { MALL = "Mall", MALL_DAILY = "MallDaily", -- 每日特惠 MALL_DAILY_RESET = "MallDailyReset", + PLAYER_LV_UP = "PlayerLvUp", } BIReport.ADS_CLICK_TYPE = { diff --git a/lua/app/common/event_manager.lua b/lua/app/common/event_manager.lua index 8ea90c2a..41fa75c8 100644 --- a/lua/app/common/event_manager.lua +++ b/lua/app/common/event_manager.lua @@ -24,6 +24,7 @@ EventManager.CUSTOM_EVENT = { BOARD_FILL_OVER = "BOARD_FILL_OVER", LOGIN_REQ_SUCCESS = "LOGIN_REQ_SUCCESS", DAILY_TASK_ADD_PROGRESS = "DAILY_TASK_ADD_PROGRESS", + BOSS_ENTER_ANI_OVER = "BOSS_ENTER_ANI_OVER", -- BORAD_TOUCH_BEGIN = "BORAD_TOUCH_BEGIN", -- BORAD_TOUCH_OVER = "BORAD_TOUCH_OVER" } diff --git a/lua/app/common/module_manager.lua b/lua/app/common/module_manager.lua index 65af1f92..c9dad1db 100644 --- a/lua/app/common/module_manager.lua +++ b/lua/app/common/module_manager.lua @@ -39,6 +39,8 @@ local MODULE_PATHS = { ShopManager = "app/module/shop/shop_manager", -- 邮件 MailManager = "app/module/mail/mail_manager", + -- 玩家 + PlayerManager = "app/module/player/player_manager", } -- 这里的key对应func_open里的id diff --git a/lua/app/config/act_gold_pig.lua b/lua/app/config/act_gold_pig.lua index 72be28eb..75fc5021 100644 --- a/lua/app/config/act_gold_pig.lua +++ b/lua/app/config/act_gold_pig.lua @@ -2,29 +2,29 @@ local act_gold_pig = { [101]={ ["before_id"]=101, ["next_id"]=201, - ["battle_diamond"]=120, - ["min_diamond"]=360, - ["max_diamond"]=720, - ["recharge_id"]=3, - ["value"]=300 + ["battle_diamond"]=100, + ["min_diamond"]=300, + ["max_diamond"]=600, + ["recharge_id"]=5, + ["value"]=400 }, [201]={ ["before_id"]=101, ["next_id"]=301, - ["battle_diamond"]=200, - ["min_diamond"]=600, - ["max_diamond"]=1200, - ["recharge_id"]=4, - ["value"]=300 + ["battle_diamond"]=250, + ["min_diamond"]=1000, + ["max_diamond"]=2000, + ["recharge_id"]=10, + ["value"]=700 }, [301]={ ["before_id"]=201, ["next_id"]=401, - ["battle_diamond"]=350, - ["min_diamond"]=1400, - ["max_diamond"]=2800, - ["recharge_id"]=5, - ["value"]=300 + ["battle_diamond"]=300, + ["min_diamond"]=1500, + ["max_diamond"]=3000, + ["recharge_id"]=12, + ["value"]=700 }, [401]={ ["before_id"]=301, @@ -32,35 +32,35 @@ local act_gold_pig = { ["battle_diamond"]=400, ["min_diamond"]=2000, ["max_diamond"]=4000, - ["recharge_id"]=6, - ["value"]=300 + ["recharge_id"]=13, + ["value"]=700 }, [501]={ ["before_id"]=401, ["next_id"]=601, - ["battle_diamond"]=520, - ["min_diamond"]=2600, - ["max_diamond"]=5200, - ["recharge_id"]=7, - ["value"]=300 + ["battle_diamond"]=500, + ["min_diamond"]=2500, + ["max_diamond"]=5000, + ["recharge_id"]=14, + ["value"]=700 }, [601]={ ["before_id"]=501, ["next_id"]=701, - ["battle_diamond"]=680, - ["min_diamond"]=3400, - ["max_diamond"]=6800, - ["recharge_id"]=8, - ["value"]=300 + ["battle_diamond"]=600, + ["min_diamond"]=3000, + ["max_diamond"]=6000, + ["recharge_id"]=15, + ["value"]=700 }, [701]={ ["before_id"]=601, ["next_id"]=701, - ["battle_diamond"]=800, - ["min_diamond"]=4000, - ["max_diamond"]=8000, - ["recharge_id"]=9, - ["value"]=300 + ["battle_diamond"]=1000, + ["min_diamond"]=5000, + ["max_diamond"]=10000, + ["recharge_id"]=16, + ["value"]=700 } } local config = { diff --git a/lua/app/config/chapter.lua b/lua/app/config/chapter.lua index 7e5a8633..4e2da1b8 100644 --- a/lua/app/config/chapter.lua +++ b/lua/app/config/chapter.lua @@ -85,20 +85,20 @@ local chapter = { }, ["finish_exp"]=1000, ["challenge_exp"]=500, - ["idle_exp"]=11, - ["idle_gold"]=16, + ["idle_exp"]=10, + ["idle_gold"]=10, ["idle_drop"]={ { ["type"]=1, ["id"]=4, - ["num"]=3, - ["weight"]=100 + ["num"]=1, + ["weight"]=55 }, { ["type"]=1, ["id"]=5, ["num"]=1, - ["weight"]=100 + ["weight"]=5 } } }, @@ -239,20 +239,20 @@ local chapter = { }, ["finish_exp"]=1100, ["challenge_exp"]=550, - ["idle_exp"]=12, - ["idle_gold"]=17, + ["idle_exp"]=11, + ["idle_gold"]=11, ["idle_drop"]={ { ["type"]=1, ["id"]=4, - ["num"]=3, - ["weight"]=100 + ["num"]=1, + ["weight"]=55 }, { ["type"]=1, ["id"]=5, ["num"]=1, - ["weight"]=100 + ["weight"]=5 } } }, @@ -415,20 +415,20 @@ local chapter = { }, ["finish_exp"]=1200, ["challenge_exp"]=600, - ["idle_exp"]=13, - ["idle_gold"]=18, + ["idle_exp"]=12, + ["idle_gold"]=12, ["idle_drop"]={ { ["type"]=1, ["id"]=4, - ["num"]=3, - ["weight"]=100 + ["num"]=1, + ["weight"]=55 }, { ["type"]=1, ["id"]=5, ["num"]=1, - ["weight"]=100 + ["weight"]=5 } } }, @@ -598,20 +598,20 @@ local chapter = { }, ["finish_exp"]=1300, ["challenge_exp"]=650, - ["idle_exp"]=14, - ["idle_gold"]=19, + ["idle_exp"]=13, + ["idle_gold"]=13, ["idle_drop"]={ { ["type"]=1, ["id"]=4, - ["num"]=3, - ["weight"]=100 + ["num"]=1, + ["weight"]=55 }, { ["type"]=1, ["id"]=5, ["num"]=1, - ["weight"]=100 + ["weight"]=5 } } }, @@ -781,20 +781,20 @@ local chapter = { }, ["finish_exp"]=1400, ["challenge_exp"]=700, - ["idle_exp"]=15, - ["idle_gold"]=20, + ["idle_exp"]=14, + ["idle_gold"]=14, ["idle_drop"]={ { ["type"]=1, ["id"]=4, - ["num"]=3, - ["weight"]=100 + ["num"]=1, + ["weight"]=55 }, { ["type"]=1, ["id"]=5, ["num"]=1, - ["weight"]=100 + ["weight"]=5 } } }, @@ -964,20 +964,20 @@ local chapter = { }, ["finish_exp"]=1500, ["challenge_exp"]=750, - ["idle_exp"]=16, - ["idle_gold"]=21, + ["idle_exp"]=15, + ["idle_gold"]=15, ["idle_drop"]={ { ["type"]=1, ["id"]=4, - ["num"]=3, - ["weight"]=100 + ["num"]=1, + ["weight"]=50 }, { ["type"]=1, ["id"]=5, ["num"]=1, - ["weight"]=100 + ["weight"]=10 } } }, @@ -1163,20 +1163,20 @@ local chapter = { }, ["finish_exp"]=1600, ["challenge_exp"]=800, - ["idle_exp"]=17, - ["idle_gold"]=22, + ["idle_exp"]=16, + ["idle_gold"]=16, ["idle_drop"]={ { ["type"]=1, ["id"]=4, - ["num"]=3, - ["weight"]=100 + ["num"]=1, + ["weight"]=50 }, { ["type"]=1, ["id"]=5, ["num"]=1, - ["weight"]=100 + ["weight"]=10 } } }, @@ -1362,20 +1362,20 @@ local chapter = { }, ["finish_exp"]=1700, ["challenge_exp"]=850, - ["idle_exp"]=18, - ["idle_gold"]=23, + ["idle_exp"]=17, + ["idle_gold"]=17, ["idle_drop"]={ { ["type"]=1, ["id"]=4, - ["num"]=3, - ["weight"]=100 + ["num"]=1, + ["weight"]=50 }, { ["type"]=1, ["id"]=5, ["num"]=1, - ["weight"]=100 + ["weight"]=10 } } }, @@ -1561,20 +1561,20 @@ local chapter = { }, ["finish_exp"]=1800, ["challenge_exp"]=900, - ["idle_exp"]=19, - ["idle_gold"]=24, + ["idle_exp"]=18, + ["idle_gold"]=18, ["idle_drop"]={ { ["type"]=1, ["id"]=4, - ["num"]=3, - ["weight"]=100 + ["num"]=1, + ["weight"]=50 }, { ["type"]=1, ["id"]=5, ["num"]=1, - ["weight"]=100 + ["weight"]=10 } } }, @@ -1760,20 +1760,20 @@ local chapter = { }, ["finish_exp"]=1900, ["challenge_exp"]=950, - ["idle_exp"]=20, - ["idle_gold"]=25, + ["idle_exp"]=19, + ["idle_gold"]=19, ["idle_drop"]={ { ["type"]=1, ["id"]=4, - ["num"]=3, - ["weight"]=100 + ["num"]=1, + ["weight"]=50 }, { ["type"]=1, ["id"]=5, ["num"]=1, - ["weight"]=100 + ["weight"]=10 } } }, @@ -1986,24 +1986,25 @@ local chapter = { ["finish_exp"]=1900, ["challenge_exp"]=950, ["idle_exp"]=20, - ["idle_gold"]=25, + ["idle_gold"]=20, ["idle_drop"]={ { ["type"]=1, ["id"]=4, - ["num"]=3, - ["weight"]=100 + ["num"]=1, + ["weight"]=45 }, { ["type"]=1, ["id"]=5, ["num"]=1, - ["weight"]=100 + ["weight"]=15 } } }, [12]={ ["before_chapter"]=11, + ["next_chapter"]=13, ["icon"]="chapter_10", ["scene"]="bg_7", ["block_icon"]="battle_hinder_7", @@ -2209,25 +2210,4074 @@ local chapter = { }, ["finish_exp"]=1900, ["challenge_exp"]=950, - ["idle_exp"]=20, - ["idle_gold"]=25, + ["idle_exp"]=21, + ["idle_gold"]=21, ["idle_drop"]={ { ["type"]=1, ["id"]=4, - ["num"]=3, - ["weight"]=100 + ["num"]=1, + ["weight"]=45 }, { ["type"]=1, ["id"]=5, ["num"]=1, - ["weight"]=100 + ["weight"]=15 + } + } + }, + [13]={ + ["before_chapter"]=12, + ["next_chapter"]=14, + ["icon"]="chapter_9", + ["scene"]="bg_7", + ["block_icon"]="battle_hinder_7", + ["chess_board"]="chessboard_2", + ["board"]={ + 35, + 36, + 37, + 38 + }, + ["monster"]={ + 15101, + 15201, + 15301, + 15401, + 15501, + 15601, + 15701, + 15801, + 15901, + 16001, + 16101, + 16201, + 16301, + 16401, + 16501, + 16601, + 16701, + 16801, + 16901, + 17001 + }, + ["mystery_box"]={ + 1, + 3 + }, + ["mystery_box_reward"]={ + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + }, + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=2, + ["id_for_nothing"]="VA==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + } + }, + ["wave_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["boss_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["finish_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=5000, + ["num_for_nothing"]="UwhcAw==" + } + }, + ["box_num"]={ + 10, + 15, + 20 + }, + ["box_reward_1"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=200, + ["num_for_nothing"]="VAhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=20000, + ["num_for_nothing"]="VAhcA2U=" + } + }, + ["box_reward_2"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=15, + ["num_for_nothing"]="Vw0=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=30000, + ["num_for_nothing"]="VQhcA2U=" + } + }, + ["box_reward_3"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=20, + ["num_for_nothing"]="VAg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=60000, + ["num_for_nothing"]="UAhcA2U=" + } + }, + ["finish_exp"]=1900, + ["challenge_exp"]=950, + ["idle_exp"]=22, + ["idle_gold"]=22, + ["idle_drop"]={ + { + ["type"]=1, + ["id"]=4, + ["num"]=1, + ["weight"]=45 + }, + { + ["type"]=1, + ["id"]=5, + ["num"]=1, + ["weight"]=15 + } + } + }, + [14]={ + ["before_chapter"]=13, + ["next_chapter"]=15, + ["icon"]="chapter_10", + ["scene"]="bg_7", + ["block_icon"]="battle_hinder_7", + ["chess_board"]="chessboard_2", + ["board"]={ + 39, + 40, + 41, + 42 + }, + ["monster"]={ + 15101, + 15201, + 15301, + 15401, + 15501, + 15601, + 15701, + 15801, + 15901, + 16001, + 16101, + 16201, + 16301, + 16401, + 16501, + 16601, + 16701, + 16801, + 16901, + 17001 + }, + ["mystery_box"]={ + 2, + 3 + }, + ["mystery_box_reward"]={ + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + }, + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=2, + ["id_for_nothing"]="VA==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + } + }, + ["wave_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["boss_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["finish_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=5000, + ["num_for_nothing"]="UwhcAw==" + } + }, + ["box_num"]={ + 10, + 15, + 20 + }, + ["box_reward_1"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=200, + ["num_for_nothing"]="VAhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=20000, + ["num_for_nothing"]="VAhcA2U=" + } + }, + ["box_reward_2"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=15, + ["num_for_nothing"]="Vw0=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=30000, + ["num_for_nothing"]="VQhcA2U=" + } + }, + ["box_reward_3"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=20, + ["num_for_nothing"]="VAg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=60000, + ["num_for_nothing"]="UAhcA2U=" + } + }, + ["finish_exp"]=1900, + ["challenge_exp"]=950, + ["idle_exp"]=23, + ["idle_gold"]=23, + ["idle_drop"]={ + { + ["type"]=1, + ["id"]=4, + ["num"]=1, + ["weight"]=45 + }, + { + ["type"]=1, + ["id"]=5, + ["num"]=1, + ["weight"]=15 + } + } + }, + [15]={ + ["before_chapter"]=14, + ["next_chapter"]=16, + ["icon"]="chapter_9", + ["scene"]="bg_7", + ["block_icon"]="battle_hinder_7", + ["chess_board"]="chessboard_2", + ["board"]={ + 35, + 36, + 37, + 38 + }, + ["monster"]={ + 15101, + 15201, + 15301, + 15401, + 15501, + 15601, + 15701, + 15801, + 15901, + 16001, + 16101, + 16201, + 16301, + 16401, + 16501, + 16601, + 16701, + 16801, + 16901, + 17001 + }, + ["mystery_box"]={ + 1, + 3 + }, + ["mystery_box_reward"]={ + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + }, + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=2, + ["id_for_nothing"]="VA==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + } + }, + ["wave_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["boss_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["finish_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=5000, + ["num_for_nothing"]="UwhcAw==" + } + }, + ["box_num"]={ + 10, + 15, + 20 + }, + ["box_reward_1"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=200, + ["num_for_nothing"]="VAhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=20000, + ["num_for_nothing"]="VAhcA2U=" + } + }, + ["box_reward_2"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=15, + ["num_for_nothing"]="Vw0=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=30000, + ["num_for_nothing"]="VQhcA2U=" + } + }, + ["box_reward_3"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=20, + ["num_for_nothing"]="VAg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=60000, + ["num_for_nothing"]="UAhcA2U=" + } + }, + ["finish_exp"]=1900, + ["challenge_exp"]=950, + ["idle_exp"]=24, + ["idle_gold"]=24, + ["idle_drop"]={ + { + ["type"]=1, + ["id"]=4, + ["num"]=1, + ["weight"]=45 + }, + { + ["type"]=1, + ["id"]=5, + ["num"]=1, + ["weight"]=15 + } + } + }, + [16]={ + ["before_chapter"]=15, + ["next_chapter"]=17, + ["icon"]="chapter_10", + ["scene"]="bg_7", + ["block_icon"]="battle_hinder_7", + ["chess_board"]="chessboard_2", + ["board"]={ + 39, + 40, + 41, + 42 + }, + ["monster"]={ + 15101, + 15201, + 15301, + 15401, + 15501, + 15601, + 15701, + 15801, + 15901, + 16001, + 16101, + 16201, + 16301, + 16401, + 16501, + 16601, + 16701, + 16801, + 16901, + 17001 + }, + ["mystery_box"]={ + 2, + 3 + }, + ["mystery_box_reward"]={ + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + }, + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=2, + ["id_for_nothing"]="VA==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + } + }, + ["wave_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["boss_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["finish_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=5000, + ["num_for_nothing"]="UwhcAw==" + } + }, + ["box_num"]={ + 10, + 15, + 20 + }, + ["box_reward_1"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=200, + ["num_for_nothing"]="VAhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=20000, + ["num_for_nothing"]="VAhcA2U=" + } + }, + ["box_reward_2"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=15, + ["num_for_nothing"]="Vw0=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=30000, + ["num_for_nothing"]="VQhcA2U=" + } + }, + ["box_reward_3"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=20, + ["num_for_nothing"]="VAg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=60000, + ["num_for_nothing"]="UAhcA2U=" + } + }, + ["finish_exp"]=1900, + ["challenge_exp"]=950, + ["idle_exp"]=27, + ["idle_gold"]=26, + ["idle_drop"]={ + { + ["type"]=1, + ["id"]=4, + ["num"]=1, + ["weight"]=40 + }, + { + ["type"]=1, + ["id"]=5, + ["num"]=1, + ["weight"]=20 + } + } + }, + [17]={ + ["before_chapter"]=16, + ["next_chapter"]=18, + ["icon"]="chapter_9", + ["scene"]="bg_7", + ["block_icon"]="battle_hinder_7", + ["chess_board"]="chessboard_2", + ["board"]={ + 35, + 36, + 37, + 38 + }, + ["monster"]={ + 15101, + 15201, + 15301, + 15401, + 15501, + 15601, + 15701, + 15801, + 15901, + 16001, + 16101, + 16201, + 16301, + 16401, + 16501, + 16601, + 16701, + 16801, + 16901, + 17001 + }, + ["mystery_box"]={ + 1, + 3 + }, + ["mystery_box_reward"]={ + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + }, + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=2, + ["id_for_nothing"]="VA==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + } + }, + ["wave_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["boss_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["finish_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=5000, + ["num_for_nothing"]="UwhcAw==" + } + }, + ["box_num"]={ + 10, + 15, + 20 + }, + ["box_reward_1"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=200, + ["num_for_nothing"]="VAhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=20000, + ["num_for_nothing"]="VAhcA2U=" + } + }, + ["box_reward_2"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=15, + ["num_for_nothing"]="Vw0=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=30000, + ["num_for_nothing"]="VQhcA2U=" + } + }, + ["box_reward_3"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=20, + ["num_for_nothing"]="VAg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=60000, + ["num_for_nothing"]="UAhcA2U=" + } + }, + ["finish_exp"]=1900, + ["challenge_exp"]=950, + ["idle_exp"]=30, + ["idle_gold"]=28, + ["idle_drop"]={ + { + ["type"]=1, + ["id"]=4, + ["num"]=1, + ["weight"]=40 + }, + { + ["type"]=1, + ["id"]=5, + ["num"]=1, + ["weight"]=20 + } + } + }, + [18]={ + ["before_chapter"]=17, + ["next_chapter"]=19, + ["icon"]="chapter_10", + ["scene"]="bg_7", + ["block_icon"]="battle_hinder_7", + ["chess_board"]="chessboard_2", + ["board"]={ + 39, + 40, + 41, + 42 + }, + ["monster"]={ + 15101, + 15201, + 15301, + 15401, + 15501, + 15601, + 15701, + 15801, + 15901, + 16001, + 16101, + 16201, + 16301, + 16401, + 16501, + 16601, + 16701, + 16801, + 16901, + 17001 + }, + ["mystery_box"]={ + 2, + 3 + }, + ["mystery_box_reward"]={ + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + }, + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=2, + ["id_for_nothing"]="VA==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + } + }, + ["wave_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["boss_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["finish_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=5000, + ["num_for_nothing"]="UwhcAw==" + } + }, + ["box_num"]={ + 10, + 15, + 20 + }, + ["box_reward_1"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=200, + ["num_for_nothing"]="VAhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=20000, + ["num_for_nothing"]="VAhcA2U=" + } + }, + ["box_reward_2"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=15, + ["num_for_nothing"]="Vw0=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=30000, + ["num_for_nothing"]="VQhcA2U=" + } + }, + ["box_reward_3"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=20, + ["num_for_nothing"]="VAg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=60000, + ["num_for_nothing"]="UAhcA2U=" + } + }, + ["finish_exp"]=1900, + ["challenge_exp"]=950, + ["idle_exp"]=33, + ["idle_gold"]=30, + ["idle_drop"]={ + { + ["type"]=1, + ["id"]=4, + ["num"]=1, + ["weight"]=40 + }, + { + ["type"]=1, + ["id"]=5, + ["num"]=1, + ["weight"]=20 + } + } + }, + [19]={ + ["before_chapter"]=18, + ["next_chapter"]=20, + ["icon"]="chapter_9", + ["scene"]="bg_7", + ["block_icon"]="battle_hinder_7", + ["chess_board"]="chessboard_2", + ["board"]={ + 35, + 36, + 37, + 38 + }, + ["monster"]={ + 15101, + 15201, + 15301, + 15401, + 15501, + 15601, + 15701, + 15801, + 15901, + 16001, + 16101, + 16201, + 16301, + 16401, + 16501, + 16601, + 16701, + 16801, + 16901, + 17001 + }, + ["mystery_box"]={ + 1, + 3 + }, + ["mystery_box_reward"]={ + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + }, + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=2, + ["id_for_nothing"]="VA==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + } + }, + ["wave_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["boss_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["finish_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=5000, + ["num_for_nothing"]="UwhcAw==" + } + }, + ["box_num"]={ + 10, + 15, + 20 + }, + ["box_reward_1"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=200, + ["num_for_nothing"]="VAhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=20000, + ["num_for_nothing"]="VAhcA2U=" + } + }, + ["box_reward_2"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=15, + ["num_for_nothing"]="Vw0=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=30000, + ["num_for_nothing"]="VQhcA2U=" + } + }, + ["box_reward_3"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=20, + ["num_for_nothing"]="VAg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=60000, + ["num_for_nothing"]="UAhcA2U=" + } + }, + ["finish_exp"]=1900, + ["challenge_exp"]=950, + ["idle_exp"]=36, + ["idle_gold"]=32, + ["idle_drop"]={ + { + ["type"]=1, + ["id"]=4, + ["num"]=1, + ["weight"]=40 + }, + { + ["type"]=1, + ["id"]=5, + ["num"]=1, + ["weight"]=20 + } + } + }, + [20]={ + ["before_chapter"]=19, + ["next_chapter"]=21, + ["icon"]="chapter_10", + ["scene"]="bg_7", + ["block_icon"]="battle_hinder_7", + ["chess_board"]="chessboard_2", + ["board"]={ + 39, + 40, + 41, + 42 + }, + ["monster"]={ + 15101, + 15201, + 15301, + 15401, + 15501, + 15601, + 15701, + 15801, + 15901, + 16001, + 16101, + 16201, + 16301, + 16401, + 16501, + 16601, + 16701, + 16801, + 16901, + 17001 + }, + ["mystery_box"]={ + 2, + 3 + }, + ["mystery_box_reward"]={ + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + }, + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=2, + ["id_for_nothing"]="VA==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + } + }, + ["wave_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["boss_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["finish_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=5000, + ["num_for_nothing"]="UwhcAw==" + } + }, + ["box_num"]={ + 10, + 15, + 20 + }, + ["box_reward_1"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=200, + ["num_for_nothing"]="VAhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=20000, + ["num_for_nothing"]="VAhcA2U=" + } + }, + ["box_reward_2"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=15, + ["num_for_nothing"]="Vw0=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=30000, + ["num_for_nothing"]="VQhcA2U=" + } + }, + ["box_reward_3"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=20, + ["num_for_nothing"]="VAg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=60000, + ["num_for_nothing"]="UAhcA2U=" + } + }, + ["finish_exp"]=1900, + ["challenge_exp"]=950, + ["idle_exp"]=39, + ["idle_gold"]=34, + ["idle_drop"]={ + { + ["type"]=1, + ["id"]=4, + ["num"]=1, + ["weight"]=40 + }, + { + ["type"]=1, + ["id"]=5, + ["num"]=1, + ["weight"]=20 + } + } + }, + [21]={ + ["before_chapter"]=20, + ["next_chapter"]=22, + ["icon"]="chapter_9", + ["scene"]="bg_7", + ["block_icon"]="battle_hinder_7", + ["chess_board"]="chessboard_2", + ["board"]={ + 35, + 36, + 37, + 38 + }, + ["monster"]={ + 15101, + 15201, + 15301, + 15401, + 15501, + 15601, + 15701, + 15801, + 15901, + 16001, + 16101, + 16201, + 16301, + 16401, + 16501, + 16601, + 16701, + 16801, + 16901, + 17001 + }, + ["mystery_box"]={ + 1, + 3 + }, + ["mystery_box_reward"]={ + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + }, + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=2, + ["id_for_nothing"]="VA==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + } + }, + ["wave_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["boss_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["finish_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=5000, + ["num_for_nothing"]="UwhcAw==" + } + }, + ["box_num"]={ + 10, + 15, + 20 + }, + ["box_reward_1"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=200, + ["num_for_nothing"]="VAhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=20000, + ["num_for_nothing"]="VAhcA2U=" + } + }, + ["box_reward_2"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=15, + ["num_for_nothing"]="Vw0=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=30000, + ["num_for_nothing"]="VQhcA2U=" + } + }, + ["box_reward_3"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=20, + ["num_for_nothing"]="VAg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=60000, + ["num_for_nothing"]="UAhcA2U=" + } + }, + ["finish_exp"]=1900, + ["challenge_exp"]=950, + ["idle_exp"]=42, + ["idle_gold"]=36, + ["idle_drop"]={ + { + ["type"]=1, + ["id"]=4, + ["num"]=1, + ["weight"]=35 + }, + { + ["type"]=1, + ["id"]=5, + ["num"]=1, + ["weight"]=25 + } + } + }, + [22]={ + ["before_chapter"]=21, + ["next_chapter"]=23, + ["icon"]="chapter_10", + ["scene"]="bg_7", + ["block_icon"]="battle_hinder_7", + ["chess_board"]="chessboard_2", + ["board"]={ + 39, + 40, + 41, + 42 + }, + ["monster"]={ + 15101, + 15201, + 15301, + 15401, + 15501, + 15601, + 15701, + 15801, + 15901, + 16001, + 16101, + 16201, + 16301, + 16401, + 16501, + 16601, + 16701, + 16801, + 16901, + 17001 + }, + ["mystery_box"]={ + 2, + 3 + }, + ["mystery_box_reward"]={ + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + }, + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=2, + ["id_for_nothing"]="VA==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + } + }, + ["wave_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["boss_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["finish_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=5000, + ["num_for_nothing"]="UwhcAw==" + } + }, + ["box_num"]={ + 10, + 15, + 20 + }, + ["box_reward_1"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=200, + ["num_for_nothing"]="VAhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=20000, + ["num_for_nothing"]="VAhcA2U=" + } + }, + ["box_reward_2"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=15, + ["num_for_nothing"]="Vw0=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=30000, + ["num_for_nothing"]="VQhcA2U=" + } + }, + ["box_reward_3"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=20, + ["num_for_nothing"]="VAg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=60000, + ["num_for_nothing"]="UAhcA2U=" + } + }, + ["finish_exp"]=1900, + ["challenge_exp"]=950, + ["idle_exp"]=45, + ["idle_gold"]=38, + ["idle_drop"]={ + { + ["type"]=1, + ["id"]=4, + ["num"]=1, + ["weight"]=35 + }, + { + ["type"]=1, + ["id"]=5, + ["num"]=1, + ["weight"]=25 + } + } + }, + [23]={ + ["before_chapter"]=22, + ["next_chapter"]=24, + ["icon"]="chapter_9", + ["scene"]="bg_7", + ["block_icon"]="battle_hinder_7", + ["chess_board"]="chessboard_2", + ["board"]={ + 35, + 36, + 37, + 38 + }, + ["monster"]={ + 15101, + 15201, + 15301, + 15401, + 15501, + 15601, + 15701, + 15801, + 15901, + 16001, + 16101, + 16201, + 16301, + 16401, + 16501, + 16601, + 16701, + 16801, + 16901, + 17001 + }, + ["mystery_box"]={ + 1, + 3 + }, + ["mystery_box_reward"]={ + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + }, + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=2, + ["id_for_nothing"]="VA==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + } + }, + ["wave_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["boss_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["finish_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=5000, + ["num_for_nothing"]="UwhcAw==" + } + }, + ["box_num"]={ + 10, + 15, + 20 + }, + ["box_reward_1"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=200, + ["num_for_nothing"]="VAhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=20000, + ["num_for_nothing"]="VAhcA2U=" + } + }, + ["box_reward_2"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=15, + ["num_for_nothing"]="Vw0=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=30000, + ["num_for_nothing"]="VQhcA2U=" + } + }, + ["box_reward_3"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=20, + ["num_for_nothing"]="VAg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=60000, + ["num_for_nothing"]="UAhcA2U=" + } + }, + ["finish_exp"]=1900, + ["challenge_exp"]=950, + ["idle_exp"]=48, + ["idle_gold"]=40, + ["idle_drop"]={ + { + ["type"]=1, + ["id"]=4, + ["num"]=1, + ["weight"]=35 + }, + { + ["type"]=1, + ["id"]=5, + ["num"]=1, + ["weight"]=25 + } + } + }, + [24]={ + ["before_chapter"]=23, + ["next_chapter"]=25, + ["icon"]="chapter_10", + ["scene"]="bg_7", + ["block_icon"]="battle_hinder_7", + ["chess_board"]="chessboard_2", + ["board"]={ + 39, + 40, + 41, + 42 + }, + ["monster"]={ + 15101, + 15201, + 15301, + 15401, + 15501, + 15601, + 15701, + 15801, + 15901, + 16001, + 16101, + 16201, + 16301, + 16401, + 16501, + 16601, + 16701, + 16801, + 16901, + 17001 + }, + ["mystery_box"]={ + 2, + 3 + }, + ["mystery_box_reward"]={ + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + }, + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=2, + ["id_for_nothing"]="VA==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + } + }, + ["wave_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["boss_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["finish_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=5000, + ["num_for_nothing"]="UwhcAw==" + } + }, + ["box_num"]={ + 10, + 15, + 20 + }, + ["box_reward_1"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=200, + ["num_for_nothing"]="VAhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=20000, + ["num_for_nothing"]="VAhcA2U=" + } + }, + ["box_reward_2"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=15, + ["num_for_nothing"]="Vw0=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=30000, + ["num_for_nothing"]="VQhcA2U=" + } + }, + ["box_reward_3"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=20, + ["num_for_nothing"]="VAg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=60000, + ["num_for_nothing"]="UAhcA2U=" + } + }, + ["finish_exp"]=1900, + ["challenge_exp"]=950, + ["idle_exp"]=51, + ["idle_gold"]=42, + ["idle_drop"]={ + { + ["type"]=1, + ["id"]=4, + ["num"]=1, + ["weight"]=35 + }, + { + ["type"]=1, + ["id"]=5, + ["num"]=1, + ["weight"]=25 + } + } + }, + [25]={ + ["before_chapter"]=24, + ["next_chapter"]=26, + ["icon"]="chapter_9", + ["scene"]="bg_7", + ["block_icon"]="battle_hinder_7", + ["chess_board"]="chessboard_2", + ["board"]={ + 35, + 36, + 37, + 38 + }, + ["monster"]={ + 15101, + 15201, + 15301, + 15401, + 15501, + 15601, + 15701, + 15801, + 15901, + 16001, + 16101, + 16201, + 16301, + 16401, + 16501, + 16601, + 16701, + 16801, + 16901, + 17001 + }, + ["mystery_box"]={ + 1, + 3 + }, + ["mystery_box_reward"]={ + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + }, + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=2, + ["id_for_nothing"]="VA==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + } + }, + ["wave_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["boss_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["finish_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=5000, + ["num_for_nothing"]="UwhcAw==" + } + }, + ["box_num"]={ + 10, + 15, + 20 + }, + ["box_reward_1"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=200, + ["num_for_nothing"]="VAhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=20000, + ["num_for_nothing"]="VAhcA2U=" + } + }, + ["box_reward_2"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=15, + ["num_for_nothing"]="Vw0=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=30000, + ["num_for_nothing"]="VQhcA2U=" + } + }, + ["box_reward_3"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=20, + ["num_for_nothing"]="VAg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=60000, + ["num_for_nothing"]="UAhcA2U=" + } + }, + ["finish_exp"]=1900, + ["challenge_exp"]=950, + ["idle_exp"]=54, + ["idle_gold"]=44, + ["idle_drop"]={ + { + ["type"]=1, + ["id"]=4, + ["num"]=1, + ["weight"]=35 + }, + { + ["type"]=1, + ["id"]=5, + ["num"]=1, + ["weight"]=25 + } + } + }, + [26]={ + ["before_chapter"]=25, + ["next_chapter"]=27, + ["icon"]="chapter_10", + ["scene"]="bg_7", + ["block_icon"]="battle_hinder_7", + ["chess_board"]="chessboard_2", + ["board"]={ + 39, + 40, + 41, + 42 + }, + ["monster"]={ + 15101, + 15201, + 15301, + 15401, + 15501, + 15601, + 15701, + 15801, + 15901, + 16001, + 16101, + 16201, + 16301, + 16401, + 16501, + 16601, + 16701, + 16801, + 16901, + 17001 + }, + ["mystery_box"]={ + 2, + 3 + }, + ["mystery_box_reward"]={ + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + }, + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=2, + ["id_for_nothing"]="VA==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + } + }, + ["wave_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["boss_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["finish_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=5000, + ["num_for_nothing"]="UwhcAw==" + } + }, + ["box_num"]={ + 10, + 15, + 20 + }, + ["box_reward_1"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=200, + ["num_for_nothing"]="VAhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=20000, + ["num_for_nothing"]="VAhcA2U=" + } + }, + ["box_reward_2"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=15, + ["num_for_nothing"]="Vw0=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=30000, + ["num_for_nothing"]="VQhcA2U=" + } + }, + ["box_reward_3"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=20, + ["num_for_nothing"]="VAg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=60000, + ["num_for_nothing"]="UAhcA2U=" + } + }, + ["finish_exp"]=1900, + ["challenge_exp"]=950, + ["idle_exp"]=57, + ["idle_gold"]=46, + ["idle_drop"]={ + { + ["type"]=1, + ["id"]=4, + ["num"]=1, + ["weight"]=30 + }, + { + ["type"]=1, + ["id"]=5, + ["num"]=1, + ["weight"]=30 + } + } + }, + [27]={ + ["before_chapter"]=26, + ["next_chapter"]=28, + ["icon"]="chapter_9", + ["scene"]="bg_7", + ["block_icon"]="battle_hinder_7", + ["chess_board"]="chessboard_2", + ["board"]={ + 35, + 36, + 37, + 38 + }, + ["monster"]={ + 15101, + 15201, + 15301, + 15401, + 15501, + 15601, + 15701, + 15801, + 15901, + 16001, + 16101, + 16201, + 16301, + 16401, + 16501, + 16601, + 16701, + 16801, + 16901, + 17001 + }, + ["mystery_box"]={ + 1, + 3 + }, + ["mystery_box_reward"]={ + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + }, + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=2, + ["id_for_nothing"]="VA==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + } + }, + ["wave_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["boss_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["finish_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=5000, + ["num_for_nothing"]="UwhcAw==" + } + }, + ["box_num"]={ + 10, + 15, + 20 + }, + ["box_reward_1"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=200, + ["num_for_nothing"]="VAhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=20000, + ["num_for_nothing"]="VAhcA2U=" + } + }, + ["box_reward_2"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=15, + ["num_for_nothing"]="Vw0=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=30000, + ["num_for_nothing"]="VQhcA2U=" + } + }, + ["box_reward_3"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=20, + ["num_for_nothing"]="VAg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=60000, + ["num_for_nothing"]="UAhcA2U=" + } + }, + ["finish_exp"]=1900, + ["challenge_exp"]=950, + ["idle_exp"]=60, + ["idle_gold"]=48, + ["idle_drop"]={ + { + ["type"]=1, + ["id"]=4, + ["num"]=1, + ["weight"]=30 + }, + { + ["type"]=1, + ["id"]=5, + ["num"]=1, + ["weight"]=30 + } + } + }, + [28]={ + ["before_chapter"]=27, + ["next_chapter"]=29, + ["icon"]="chapter_10", + ["scene"]="bg_7", + ["block_icon"]="battle_hinder_7", + ["chess_board"]="chessboard_2", + ["board"]={ + 39, + 40, + 41, + 42 + }, + ["monster"]={ + 15101, + 15201, + 15301, + 15401, + 15501, + 15601, + 15701, + 15801, + 15901, + 16001, + 16101, + 16201, + 16301, + 16401, + 16501, + 16601, + 16701, + 16801, + 16901, + 17001 + }, + ["mystery_box"]={ + 2, + 3 + }, + ["mystery_box_reward"]={ + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + }, + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=2, + ["id_for_nothing"]="VA==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + } + }, + ["wave_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["boss_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["finish_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=5000, + ["num_for_nothing"]="UwhcAw==" + } + }, + ["box_num"]={ + 10, + 15, + 20 + }, + ["box_reward_1"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=200, + ["num_for_nothing"]="VAhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=20000, + ["num_for_nothing"]="VAhcA2U=" + } + }, + ["box_reward_2"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=15, + ["num_for_nothing"]="Vw0=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=30000, + ["num_for_nothing"]="VQhcA2U=" + } + }, + ["box_reward_3"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=20, + ["num_for_nothing"]="VAg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=60000, + ["num_for_nothing"]="UAhcA2U=" + } + }, + ["finish_exp"]=1900, + ["challenge_exp"]=950, + ["idle_exp"]=63, + ["idle_gold"]=50, + ["idle_drop"]={ + { + ["type"]=1, + ["id"]=4, + ["num"]=1, + ["weight"]=30 + }, + { + ["type"]=1, + ["id"]=5, + ["num"]=1, + ["weight"]=30 + } + } + }, + [29]={ + ["before_chapter"]=28, + ["next_chapter"]=30, + ["icon"]="chapter_9", + ["scene"]="bg_7", + ["block_icon"]="battle_hinder_7", + ["chess_board"]="chessboard_2", + ["board"]={ + 35, + 36, + 37, + 38 + }, + ["monster"]={ + 15101, + 15201, + 15301, + 15401, + 15501, + 15601, + 15701, + 15801, + 15901, + 16001, + 16101, + 16201, + 16301, + 16401, + 16501, + 16601, + 16701, + 16801, + 16901, + 17001 + }, + ["mystery_box"]={ + 1, + 3 + }, + ["mystery_box_reward"]={ + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + }, + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=2, + ["id_for_nothing"]="VA==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + } + }, + ["wave_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["boss_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["finish_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=5000, + ["num_for_nothing"]="UwhcAw==" + } + }, + ["box_num"]={ + 10, + 15, + 20 + }, + ["box_reward_1"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=200, + ["num_for_nothing"]="VAhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=20000, + ["num_for_nothing"]="VAhcA2U=" + } + }, + ["box_reward_2"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=15, + ["num_for_nothing"]="Vw0=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=30000, + ["num_for_nothing"]="VQhcA2U=" + } + }, + ["box_reward_3"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=20, + ["num_for_nothing"]="VAg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=60000, + ["num_for_nothing"]="UAhcA2U=" + } + }, + ["finish_exp"]=1900, + ["challenge_exp"]=950, + ["idle_exp"]=66, + ["idle_gold"]=52, + ["idle_drop"]={ + { + ["type"]=1, + ["id"]=4, + ["num"]=1, + ["weight"]=30 + }, + { + ["type"]=1, + ["id"]=5, + ["num"]=1, + ["weight"]=30 + } + } + }, + [30]={ + ["before_chapter"]=29, + ["icon"]="chapter_10", + ["scene"]="bg_7", + ["block_icon"]="battle_hinder_7", + ["chess_board"]="chessboard_2", + ["board"]={ + 39, + 40, + 41, + 42 + }, + ["monster"]={ + 15101, + 15201, + 15301, + 15401, + 15501, + 15601, + 15701, + 15801, + 15901, + 16001, + 16101, + 16201, + 16301, + 16401, + 16501, + 16601, + 16701, + 16801, + 16901, + 17001 + }, + ["mystery_box"]={ + 2, + 3 + }, + ["mystery_box_reward"]={ + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + }, + { + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=2, + ["id_for_nothing"]="VA==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + } + } + }, + ["wave_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["boss_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + } + }, + ["finish_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=100, + ["num_for_nothing"]="Vwhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=5000, + ["num_for_nothing"]="UwhcAw==" + } + }, + ["box_num"]={ + 10, + 15, + 20 + }, + ["box_reward_1"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=200, + ["num_for_nothing"]="VAhc" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=20000, + ["num_for_nothing"]="VAhcA2U=" + } + }, + ["box_reward_2"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=15, + ["num_for_nothing"]="Vw0=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=30000, + ["num_for_nothing"]="VQhcA2U=" + } + }, + ["box_reward_3"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5, + ["id_for_nothing"]="Uw==", + ["num"]=20, + ["num_for_nothing"]="VAg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=10, + ["num_for_nothing"]="Vwg=" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=60000, + ["num_for_nothing"]="UAhcA2U=" + } + }, + ["finish_exp"]=1900, + ["challenge_exp"]=950, + ["idle_exp"]=69, + ["idle_gold"]=54, + ["idle_drop"]={ + { + ["type"]=1, + ["id"]=4, + ["num"]=1, + ["weight"]=30 + }, + { + ["type"]=1, + ["id"]=5, + ["num"]=1, + ["weight"]=30 } } } } local config = { -data=chapter,count=12 +data=chapter,count=30 } return config \ No newline at end of file diff --git a/lua/app/config/const.lua b/lua/app/config/const.lua index 740e76a3..bc2df6cb 100644 --- a/lua/app/config/const.lua +++ b/lua/app/config/const.lua @@ -105,13 +105,13 @@ local const = { ["value"]=57600 }, ["idle_exp_drop_time"]={ - ["value"]=30 + ["value"]=1200 }, ["idle_gold_drop_time"]={ - ["value"]=30 + ["value"]=1200 }, ["idle_item_drop_time"]={ - ["value"]=4320 + ["value"]=1200 }, ["idle_drop_fast_times_1"]={ ["value"]=2 @@ -128,8 +128,8 @@ local const = { ["type_for_nothing"]="Vw==", ["id"]=3, ["id_for_nothing"]="VQ==", - ["num"]=20, - ["num_for_nothing"]="VAg=" + ["num"]=30, + ["num_for_nothing"]="VQg=" } }, ["refresh_skill_cost"]={ diff --git a/lua/app/config/localization/localization_global_const.lua b/lua/app/config/localization/localization_global_const.lua index 6e61f4fd..ffe9d83a 100644 --- a/lua/app/config/localization/localization_global_const.lua +++ b/lua/app/config/localization/localization_global_const.lua @@ -1,7 +1,5 @@ local LocalizationGlobalConst = { - BATTLE_DESC_9 = "BATTLE_DESC_9", - BATTLE_DESC_10 = "BATTLE_DESC_10", MAIN_BTN_1 = "MAIN_BTN_1", QLT_DESC_1 = "QLT_DESC_1", QLT_DESC_2 = "QLT_DESC_2", @@ -118,7 +116,8 @@ local LocalizationGlobalConst = BTN_DELETE_ALL_READ_MAIL = "BTN_DELETE_ALL_READ_MAIL", BTN_CLAIM_ALL = "BTN_CLAIM_ALL", BTN_READ = "BTN_READ", - MAIL_COUNTDOWN = "MAIL_COUNTDOWN", + BATTLE_DESC_9 = "BATTLE_DESC_9", + BATTLE_DESC_10 = "BATTLE_DESC_10", } return LocalizationGlobalConst \ No newline at end of file diff --git a/lua/app/config/skill_rogue.lua b/lua/app/config/skill_rogue.lua index cf59becb..84e97720 100644 --- a/lua/app/config/skill_rogue.lua +++ b/lua/app/config/skill_rogue.lua @@ -1,6 +1,7 @@ local skill_rogue = { [1]={ ["universal"]=1, + ["toast_mark"]=1, ["limit_times"]=3, ["weight"]=3000, ["qlt"]=2, @@ -15,6 +16,7 @@ local skill_rogue = { }, [2]={ ["universal"]=1, + ["toast_mark"]=1, ["limit_times"]=2, ["weight"]=2000, ["qlt"]=3, @@ -29,6 +31,7 @@ local skill_rogue = { }, [3]={ ["universal"]=1, + ["toast_mark"]=1, ["limit_times"]=1, ["weight"]=1000, ["qlt"]=4, @@ -43,6 +46,7 @@ local skill_rogue = { }, [4]={ ["universal"]=1, + ["toast_mark"]=2, ["limit_times"]=4, ["weight"]=3000, ["qlt"]=2, @@ -57,6 +61,7 @@ local skill_rogue = { }, [5]={ ["universal"]=1, + ["toast_mark"]=2, ["limit_times"]=3, ["weight"]=3000, ["qlt"]=3, @@ -71,6 +76,7 @@ local skill_rogue = { }, [6]={ ["universal"]=1, + ["toast_mark"]=2, ["limit_times"]=2, ["weight"]=2000, ["qlt"]=3, @@ -85,6 +91,7 @@ local skill_rogue = { }, [7]={ ["universal"]=1, + ["toast_mark"]=3, ["limit_times"]=4, ["weight"]=3000, ["qlt"]=2, @@ -99,6 +106,7 @@ local skill_rogue = { }, [8]={ ["universal"]=1, + ["toast_mark"]=3, ["limit_times"]=3, ["weight"]=3000, ["qlt"]=3, @@ -113,6 +121,7 @@ local skill_rogue = { }, [9]={ ["universal"]=1, + ["toast_mark"]=3, ["limit_times"]=2, ["weight"]=2000, ["qlt"]=3, @@ -127,6 +136,7 @@ local skill_rogue = { }, [10]={ ["universal"]=1, + ["toast_mark"]=4, ["limit_times"]=4, ["weight"]=3000, ["qlt"]=2, @@ -141,6 +151,7 @@ local skill_rogue = { }, [11]={ ["universal"]=1, + ["toast_mark"]=4, ["limit_times"]=3, ["weight"]=3000, ["qlt"]=3, @@ -155,6 +166,7 @@ local skill_rogue = { }, [12]={ ["universal"]=1, + ["toast_mark"]=4, ["limit_times"]=2, ["weight"]=2000, ["qlt"]=3, @@ -169,6 +181,7 @@ local skill_rogue = { }, [13]={ ["universal"]=1, + ["toast_mark"]=5, ["limit_times"]=4, ["weight"]=3000, ["qlt"]=2, @@ -183,6 +196,7 @@ local skill_rogue = { }, [14]={ ["universal"]=1, + ["toast_mark"]=5, ["limit_times"]=3, ["weight"]=3000, ["qlt"]=3, @@ -197,6 +211,7 @@ local skill_rogue = { }, [15]={ ["universal"]=1, + ["toast_mark"]=5, ["limit_times"]=2, ["weight"]=2000, ["qlt"]=3, @@ -211,6 +226,7 @@ local skill_rogue = { }, [16]={ ["universal"]=1, + ["toast_mark"]=6, ["limit_times"]=4, ["weight"]=3000, ["qlt"]=2, @@ -225,6 +241,7 @@ local skill_rogue = { }, [17]={ ["universal"]=1, + ["toast_mark"]=6, ["limit_times"]=3, ["weight"]=3000, ["qlt"]=3, @@ -239,6 +256,7 @@ local skill_rogue = { }, [18]={ ["universal"]=1, + ["toast_mark"]=6, ["limit_times"]=2, ["weight"]=2000, ["qlt"]=3, @@ -270,6 +288,7 @@ local skill_rogue = { }, [20]={ ["universal"]=1, + ["toast_mark"]=7, ["limit_times"]=4, ["weight"]=3000, ["qlt"]=2, @@ -284,6 +303,7 @@ local skill_rogue = { }, [21]={ ["universal"]=1, + ["toast_mark"]=8, ["limit_times"]=3, ["weight"]=3000, ["qlt"]=2, @@ -298,6 +318,7 @@ local skill_rogue = { }, [22]={ ["universal"]=1, + ["toast_mark"]=8, ["limit_times"]=2, ["weight"]=2000, ["qlt"]=3, @@ -312,6 +333,7 @@ local skill_rogue = { }, [23]={ ["universal"]=1, + ["toast_mark"]=8, ["limit_times"]=1, ["weight"]=1000, ["qlt"]=4, @@ -326,6 +348,7 @@ local skill_rogue = { }, [24]={ ["universal"]=1, + ["toast_mark"]=9, ["limit_times"]=2, ["weight"]=2000, ["qlt"]=3, @@ -343,6 +366,7 @@ local skill_rogue = { }, [25]={ ["universal"]=1, + ["toast_mark"]=10, ["limit_times"]=3, ["weight"]=3000, ["qlt"]=3, @@ -357,6 +381,7 @@ local skill_rogue = { }, [26]={ ["universal"]=1, + ["toast_mark"]=11, ["limit_times"]=3, ["weight"]=2000, ["qlt"]=3, @@ -371,6 +396,7 @@ local skill_rogue = { }, [27]={ ["universal"]=1, + ["toast_mark"]=12, ["limit_times"]=3, ["weight"]=2000, ["qlt"]=3, @@ -385,6 +411,7 @@ local skill_rogue = { }, [28]={ ["universal"]=1, + ["toast_mark"]=13, ["limit_times"]=3, ["weight"]=2000, ["qlt"]=3, diff --git a/lua/app/config/strings/cn/global.lua b/lua/app/config/strings/cn/global.lua index c5f4a640..cdbd33d0 100644 --- a/lua/app/config/strings/cn/global.lua +++ b/lua/app/config/strings/cn/global.lua @@ -116,7 +116,8 @@ local localization_global = ["BTN_DELETE_ALL_READ_MAIL"] = "删除已读邮件", ["BTN_CLAIM_ALL"] = "领取所有", ["BTN_READ"] = "读取", - ["MAIL_COUNTDOWN"] = "{0}小时到期", + ["BATTLE_DESC_9"] = "{0}攻击力:{1}", + ["BATTLE_DESC_10"] = "已激活效果", } return localization_global \ No newline at end of file diff --git a/lua/app/module/battle/controller/battle_controller.lua b/lua/app/module/battle/controller/battle_controller.lua index da935111..0ff46638 100644 --- a/lua/app/module/battle/controller/battle_controller.lua +++ b/lua/app/module/battle/controller/battle_controller.lua @@ -258,19 +258,19 @@ function BattleController:clearBuff(side) self.battleUI:clearBuff(side) end -function BattleController:showBuffTips(side) +function BattleController:showBuffTips(side, autoClose) if side == BattleConst.SIDE_ATK then local buffList = self.atkTeam:getBuffList() if #buffList <= 0 then return end - self.battleUI:showLeftBuffTips(buffList) + self.battleUI:showLeftBuffTips(buffList, autoClose) else local buffList = self.defTeam:getBuffList() if #buffList <= 0 then return end - self.battleUI:showRightBuffTips(buffList) + self.battleUI:showRightBuffTips(buffList, autoClose) end end @@ -450,6 +450,9 @@ function BattleController:enterNextWave() self.eliminateCount = 0 self.isBossWave = self.defTeam:getMainUnit().unitEntity:getIsBoss() + if self.isBossWave then + self:showBuffTips(BattleConst.SIDE_DEF, true) + end self:postFightStart() self:enterRoundBegin() end @@ -1737,6 +1740,8 @@ function BattleController:onSelectSkill(skillId, value, pos) end self:selectSKillNextToStep() + + self.battleUI:showCommonSkillTips(skillId) end function BattleController:selectSKillNextToStep() diff --git a/lua/app/module/hero/hero_manager.lua b/lua/app/module/hero/hero_manager.lua index 9ffcfcad..93c32a14 100644 --- a/lua/app/module/hero/hero_manager.lua +++ b/lua/app/module/hero/hero_manager.lua @@ -78,7 +78,8 @@ function HeroManager:getSkillRogueDesc(skillId, value) end function HeroManager:showValueRogue(skillId) - if (skillId >= 1 and skillId <= 18) or (skillId >= 21 and skillId <= 23) then + local cfg = ConfigManager:getConfig("skill_rogue")[skillId] + if cfg and cfg.toast_mark then return true end diff --git a/lua/app/module/player.meta b/lua/app/module/player.meta new file mode 100644 index 00000000..f59370a9 --- /dev/null +++ b/lua/app/module/player.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 98178fc3bab492b46975a763c42497c9 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/lua/app/module/player/player_manager.lua b/lua/app/module/player/player_manager.lua new file mode 100644 index 00000000..e5915907 --- /dev/null +++ b/lua/app/module/player/player_manager.lua @@ -0,0 +1,23 @@ +local PlayerManager = class("PlayerManager", BaseModule) + +function PlayerManager:showPlayerUpUI(currLv, rewards) + local params = { + fromLevel = currLv, + rewards = rewards, + } + UIManager:showUI("app/ui/player/player_level_up_ui", params) +end + +function PlayerManager:levelUp() + self:sendMessage(ProtoMsgType.FromMsgEnum.LevelUpReq, {}, {}, self.onLevelUpFinish, BIReport.ITEM_GET_TYPE.PLAYER_LV_UP) +end + +function PlayerManager:onLevelUpFinish(result) + if result.err_code == GConst.ERROR_STR.SUCCESS then + local currLv = DataManager.PlayerData:getLv() + DataManager.PlayerData:setLv(result.level, result.exp) + self:showPlayerUpUI(currLv, result.rewards) + end +end + +return PlayerManager \ No newline at end of file diff --git a/lua/app/module/player/player_manager.lua.meta b/lua/app/module/player/player_manager.lua.meta new file mode 100644 index 00000000..844653fe --- /dev/null +++ b/lua/app/module/player/player_manager.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 2f013f123922ef74294a3dc5ea3784a4 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/ui/base_ui.lua b/lua/app/ui/base_ui.lua index e95d5f4c..3766c284 100644 --- a/lua/app/ui/base_ui.lua +++ b/lua/app/ui/base_ui.lua @@ -21,7 +21,7 @@ function BaseUI:getPreLoadList() end function BaseUI:showCommonBG() - return true + return false end -- 界面prefab路径 diff --git a/lua/app/ui/battle/battle_ui.lua b/lua/app/ui/battle/battle_ui.lua index f2580feb..b2f91998 100644 --- a/lua/app/ui/battle/battle_ui.lua +++ b/lua/app/ui/battle/battle_ui.lua @@ -64,6 +64,7 @@ function BattleUI:_display() self:initSkillLineSfx() self:initGenerateSkillEffect() self:initSelectSkillNode() + self:initCommonSkillDescTips() end function BattleUI:_addListeners() @@ -192,6 +193,10 @@ function BattleUI:initBuff() self.battleBuffTipsRoot:setLocalScale(0, 0, 0) local battleBuffTipsMask = self.uiMap["battle_ui.battle_buff_tips.mask"] battleBuffTipsMask:addClickListener(function() + if self.autoCloseBuffSid then + self:unscheduleGlobal(self.autoCloseBuffSid) + self.autoCloseBuffSid = nil + end self.battleBuffTipsRoot:setLocalScale(0, 0, 0) end) self.battleBuffTipsBg = self.uiMap["battle_ui.battle_buff_tips.bg"] @@ -283,23 +288,23 @@ function BattleUI:clearBuff(side) end end -function BattleUI:showLeftBuffTips(buffList) +function BattleUI:showLeftBuffTips(buffList, autoClose) local x = self.battleBuffTipsBg:fastGetAnchoredPosition() if x > 0 then self.battleBuffTipsBg:setAnchoredPositionX(-x) end - self:showBuffTips(buffList) + self:showBuffTips(buffList, autoClose) end -function BattleUI:showRightBuffTips(buffList) +function BattleUI:showRightBuffTips(buffList, autoClose) local x = self.battleBuffTipsBg:fastGetAnchoredPosition() if x < 0 then self.battleBuffTipsBg:setAnchoredPositionX(-x) end - self:showBuffTips(buffList) + self:showBuffTips(buffList, autoClose) end -function BattleUI:showBuffTips(buffList) +function BattleUI:showBuffTips(buffList, autoClose) if #buffList <= 0 then return end @@ -338,6 +343,17 @@ function BattleUI:showBuffTips(buffList) self.battleBuffTipsBuffList[i]:setLocalScale(0, 0, 0) end self.battleBuffTipsBg:setSizeDeltaY(addY + 10) + + if self.autoCloseBuffSid then + self:unscheduleGlobal(self.autoCloseBuffSid) + self.autoCloseBuffSid = nil + end + + if autoClose then + self.autoCloseBuffSid = self:performWithDelayGlobal(function() + self.battleBuffTipsRoot:setLocalScale(0, 0, 0) + end, 1.5) + end end function BattleUI:getBattleBuffTipsObj(index) @@ -1924,6 +1940,47 @@ function BattleUI:hideAllBoardSfxs() end end +function BattleUI:initCommonSkillDescTips() + local uiMap = self.root:genAllChildren() + self.skillDescTipsNode = uiMap["battle_ui.bg_2.lv_node.skill_desc_tips"] + self.skillDescTips = uiMap["battle_ui.bg_2.lv_node.skill_desc_tips.desc"] + self.skillDescTipsNode:setVisible(false) +end + +function BattleUI:showCommonSkillTips(skillId) + -- 需要合并显示 + local rogueCfg = ConfigManager:getConfig("skill_rogue") + local curCfg = rogueCfg[skillId] + if not curCfg or curCfg.universal ~= 1 then + return + end + + local value = 0 + local selectSkillMap = DataManager.BattleData:getSelectSkillMap() + if selectSkillMap[skillId] then + value = selectSkillMap[skillId].value + end + + if curCfg.toast_mark then + for id, info in pairs(rogueCfg) do + if selectSkillMap[id] and id ~= skillId and info.toast_mark == curCfg.toast_mark then + value = value + selectSkillMap[id].value + end + end + end + + + if self.showCommonSkillTipsSid then + self:unscheduleGlobal(self.showCommonSkillTipsSid) + self.showCommonSkillTipsSid = nil + end + self.skillDescTipsNode:setVisible(true) + self.skillDescTips:setText(ModuleManager.HeroManager:getSkillRogueDesc(skillId, value)) + self.showCommonSkillTipsSid = self:performWithDelayGlobal(function() + self.skillDescTipsNode:setVisible(false) + end, 1.5) +end + function BattleUI:clear() if self.alreadyClear then return @@ -2019,6 +2076,16 @@ function BattleUI:clear() self.monsterSkillAniSeq:Kill() self.monsterSkillAniSeq = nil end + + if self.showCommonSkillTipsSid then + self:unscheduleGlobal(self.showCommonSkillTipsSid) + self.showCommonSkillTipsSid = nil + end + + if self.autoCloseBuffSid then + self:unscheduleGlobal(self.autoCloseBuffSid) + self.autoCloseBuffSid = nil + end end return BattleUI \ No newline at end of file diff --git a/lua/app/ui/idle/idle_drop_ui.lua b/lua/app/ui/idle/idle_drop_ui.lua index 855c62d1..58a95094 100644 --- a/lua/app/ui/idle/idle_drop_ui.lua +++ b/lua/app/ui/idle/idle_drop_ui.lua @@ -31,6 +31,10 @@ function IdleDropUI:onReshow() if self.cdSid then self:resumeScheduleGlobal(self.cdSid) end + -- 检查是否升级 + if DataManager.PlayerData:getIfCanLevelUp() then + ModuleManager.PlayerManager:levelUp() + end end function IdleDropUI:onClose() diff --git a/lua/app/ui/idle/idle_quick_drop_ui.lua b/lua/app/ui/idle/idle_quick_drop_ui.lua index 27ad9119..a19e9f57 100644 --- a/lua/app/ui/idle/idle_quick_drop_ui.lua +++ b/lua/app/ui/idle/idle_quick_drop_ui.lua @@ -36,6 +36,13 @@ function IdleQuickDropUI:ctor() end end +function IdleQuickDropUI:onReshow() + -- 检查是否升级 + if DataManager.PlayerData:getIfCanLevelUp() then + ModuleManager.PlayerManager:levelUp() + end +end + function IdleQuickDropUI:onLoadRootComplete() local uiMap = self.root:genAllChildren() self.uiMap = uiMap diff --git a/lua/app/ui/main_city/component/main_comp.lua b/lua/app/ui/main_city/component/main_comp.lua index 16a12329..db1172a7 100644 --- a/lua/app/ui/main_city/component/main_comp.lua +++ b/lua/app/ui/main_city/component/main_comp.lua @@ -99,8 +99,8 @@ function MainComp:refreshChapter(force) local mysteryBoxIcon = self.uiMap["main_comp.chapter.img.mystery_box_icon"] mysteryBoxIcon:setVisible(mysteryBoxCount > 0) if mysteryBoxCount > 0 then - local remainCount = math.max(mysteryBoxCount - DataManager.ChapterData:getChapterMysteryBoxGotCount(chapterId), 0) - self.uiMap["main_comp.chapter.img.mystery_box_icon.desc"]:setText(remainCount .. "/" .. mysteryBoxCount) + local gotCount = DataManager.ChapterData:getChapterMysteryBoxGotCount(chapterId) + self.uiMap["main_comp.chapter.img.mystery_box_icon.desc"]:setText(gotCount .. "/" .. mysteryBoxCount) end local rewardChapterId = DataManager.ChapterData:getIsHaveRewardsMinId() diff --git a/lua/app/ui/main_city/main_city_ui.lua b/lua/app/ui/main_city/main_city_ui.lua index d73f1762..e56aa142 100644 --- a/lua/app/ui/main_city/main_city_ui.lua +++ b/lua/app/ui/main_city/main_city_ui.lua @@ -110,9 +110,6 @@ function MainCityUI:_display() end function MainCityUI:_addListeners() - self:addEventListener(EventManager.CUSTOM_EVENT.MAIN_UI_CHECK_POP, function() - self:checkMainPop() - end) end function MainCityUI:_bind() @@ -126,9 +123,6 @@ function MainCityUI:_bind() self:bind(DataManager.PlayerData, "dirty", function(binder, value) self:refreshPlayerInfo() end, true) - self:bind(DataManager.PlayerData, "lvUpDirty", function(binder, value) - self:checkMainPop() - end) self:bind(DataManager.FormationData, "dirty", function(binder, value) if self.selectedIndex == GConst.MainCityConst.BOTTOM_PAGE.HERO then self.subComps[self.selectedIndex]:refresh() @@ -687,6 +681,12 @@ function MainCityUI:refreshSettingBtn() end function MainCityUI:checkMainPop() + -- 检查是否升级 + if DataManager.PlayerData:getIfCanLevelUp() then + ModuleManager.PlayerManager:levelUp() + return + end + -- 引导 if self:checkTutorial() then return diff --git a/lua/app/ui/player.meta b/lua/app/ui/player.meta new file mode 100644 index 00000000..ed209924 --- /dev/null +++ b/lua/app/ui/player.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 60f05ec49fd1e1544b596ad1fb4cd483 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/lua/app/ui/player/player_level_up_ui.lua b/lua/app/ui/player/player_level_up_ui.lua new file mode 100644 index 00000000..35bbf0ab --- /dev/null +++ b/lua/app/ui/player/player_level_up_ui.lua @@ -0,0 +1,86 @@ +local PlayerLevelUpUI = class("PlayerLevelUpUI", BaseUI) + +local CELL_WIDTH = 114.8 + +function PlayerLevelUpUI:isFullScreen() + return false +end + +function PlayerLevelUpUI:getPrefabPath() + return "assets/prefabs/ui/player/player_level_up_ui.prefab" +end + +function PlayerLevelUpUI:ctor(params) + params = params or GConst.EMPTY_TABLE + + self.fromLevel = params.fromLevel + self.rewards = params.rewards or GConst.EMPTY_TABLE +end + +function PlayerLevelUpUI:onLoadRootComplete() + self:_display() +end + +function PlayerLevelUpUI:_display() + local uiMap = self.root:genAllChildren() + self.uiMap = uiMap + + uiMap["player_level_up_ui.bg"]:addClickListener(function() + self:closeUI() + end) + + local toLevel = DataManager.PlayerData:getLv() + uiMap["player_level_up_ui.title_tx"]:setText(I18N:getGlobalText(I18N.GlobalConst.PLAYER_LEVEL_UP_DESC, toLevel)) + uiMap["player_level_up_ui.reward_title"]:setText(I18N:getGlobalText(I18N.GlobalConst.LEVEL_UP_REWARD)) + uiMap["player_level_up_ui.continue"]:setText(I18N:getGlobalText(I18N.GlobalConst.CLICK_TO_CONTINUE)) + + uiMap["player_level_up_ui.lv_img_l.text"]:setText(tostring(self.fromLevel)) + uiMap["player_level_up_ui.lv_img_r.text"]:setText(tostring(toLevel)) + local width = uiMap["player_level_up_ui.reward_title"]:getComponent(GConst.TYPEOF_UNITY_CLASS.UI_TEXT_MESH_PRO).preferredWidth + uiMap["player_level_up_ui.r"]:setAnchoredPositionX(width/2 + 40) + uiMap["player_level_up_ui.l"]:setAnchoredPositionX(-width/2 - 40) + + self:refreshRewards() +end + +function PlayerLevelUpUI:refreshRewards() + if self.scrollRectComp then + self.scrollRectComp:updateAllCell() + return + end + + local uiMap = self.root:genAllChildren() + local scrollRect = uiMap["player_level_up_ui.scroll_rect"] + self.scrollRectComp = scrollRect:addLuaComponent(GConst.TYPEOF_LUA_CLASS.SCROLL_RECT_BASE) + self.scrollRectComp:addInitCallback(function() + return GConst.TYPEOF_LUA_CLASS.REWARD_CELL + end) + self.scrollRectComp:addRefreshCallback(function(index, cell) + cell:refresh(self.rewards[index]) + end) + self.scrollRectComp:setFadeArgs(0.05, 0.3) + self.scrollRectComp:clearCells() + local rewardCount = #self.rewards + if rewardCount > 10 then + local comp = scrollRect:getComponent(GConst.TYPEOF_UNITY_CLASS.UI_SCROLL_RECT) + comp.movementType = CS.UnityEngine.UI.ScrollRect.MovementType.Elastic + self.scrollRectComp:setPerLineNum(5) + scrollRect:setSizeDeltaX(560) + else + local comp = scrollRect:getComponent(GConst.TYPEOF_UNITY_CLASS.UI_SCROLL_RECT) + comp.movementType = CS.UnityEngine.UI.ScrollRect.MovementType.Clamped + if rewardCount >= 5 then + self.scrollRectComp:setPerLineNum(5) + scrollRect:setSizeDeltaX(560) + elseif rewardCount <= 0 then + self.scrollRectComp:setPerLineNum(1) + scrollRect:setSizeDeltaX(560) + else + self.scrollRectComp:setPerLineNum(rewardCount) + scrollRect:setSizeDeltaX(112*rewardCount) + end + end + self.scrollRectComp:refillCells(rewardCount, true) +end + +return PlayerLevelUpUI \ No newline at end of file diff --git a/lua/app/ui/player/player_level_up_ui.lua.meta b/lua/app/ui/player/player_level_up_ui.lua.meta new file mode 100644 index 00000000..1bcf909c --- /dev/null +++ b/lua/app/ui/player/player_level_up_ui.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: b83a832315fd3374695b7da2524db2c4 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/userdata/player/player_data.lua b/lua/app/userdata/player/player_data.lua index 878fa1b3..ee8749b4 100644 --- a/lua/app/userdata/player/player_data.lua +++ b/lua/app/userdata/player/player_data.lua @@ -49,6 +49,13 @@ function PlayerData:addExp(exp) self:markDirty() end +function PlayerData:setLv(level, exp) + self.data.level = level + self.data.exp = exp + self.lvUpNeedExp = self:getNextExp(self.data.level) + self:markDirty() +end + function PlayerData:getLv() return self.data.level end @@ -66,6 +73,13 @@ function PlayerData:getExpPercent() return self.data.exp / self.lvUpNeedExp end +function PlayerData:getIfCanLevelUp() + if self.data.level >= self:getMaxLv() then + return false + end + return self.data.exp >= self.lvUpNeedExp +end + function PlayerData:getAccountInfo() if not self.accountInfo then self.accountInfo = LocalData:getAccountInfo()