活动副本

This commit is contained in:
Fang 2023-06-08 18:36:35 +08:00
parent 39dacd3cdc
commit e4dad61f52
96 changed files with 8072 additions and 993 deletions

View File

@ -96,6 +96,12 @@ BIReport.ITEM_GET_TYPE = {
DAILY_CHALLENGE_END = "DailyChallengeEnd", -- 每日挑战结算
DAILY_CHALLENGE_RESET = "DailyChallengeReset", -- 每日挑战重置
DAILY_CHALLENGE_TASK_REWARD = "DailyChallengeTaskReward", -- 每日挑战任务奖励
DUNGEON_GOLD_CHALLENGE = "DungeonGoldChallenge", -- 金币副本挑战
DUNGEON_GOLD_END = "DungeonGoldEnd", -- 金币副本结算
DUNGEON_GOLD_SWEEP = "DungeonGoldSweep", -- 金币副本扫荡
DUNGEON_SHARDS_CHALLENGE = "DungeonShardsChallenge", -- 碎片副本挑战
DUNGEON_SHARDS_END = "DungeonShardsEnd", -- 碎片副本结算
DUNGEON_SHARDS_SWEEP = "DungeonShardsSweep", -- 碎片副本扫荡
}
BIReport.ADS_CLICK_TYPE = {

View File

@ -9,6 +9,7 @@ function DataManager:init()
self:initManager("PlayerData", "app/userdata/player/player_data")
self:initManager("ChapterData", "app/userdata/chapter/chapter_data")
self:initManager("DailyChallengeData", "app/userdata/daily_challenge/daily_challenge_data")
self:initManager("DungeonData", "app/userdata/dungeon/dungeon_data")
self:initManager("HeroData", "app/userdata/hero/hero_data")
self:initManager("BagData", "app/userdata/bag/bag_data")
self:initManager("BattleData", "app/userdata/battle/battle_data")
@ -85,6 +86,7 @@ function DataManager:clear()
self.PlayerData:clear()
self.ChapterData:clear()
self.DailyChallengeData:clear()
self.DungeonData:clear()
self.HeroData:clear()
self.BagData:clear()
self.FormationData:clear()
@ -119,6 +121,8 @@ function DataManager:initWithServerData(data)
self.PlayerData:init(data)
self.ChapterData:init(data.chapter)
self.DailyChallengeData:init(data.chapter_daily_challenge)
self.DungeonData:initDungeonGold(data.chapter_gold_challenge)
self.DungeonData:initDungeonShards(data.chapter_shards_challenge)
self.HeroData:init(data.bag.heroes)
self.BagData:init(data.bag)
self.FormationData:init(data.fight_info)

View File

@ -29,8 +29,7 @@ EventManager.CUSTOM_EVENT = {
SKILL_REFRESH_SUCC = "SKILL_REFRESH_SUCC",
GO_SHOP = "GO_SHOP", -- 跳转商店
UPDATE_MAIN_MALL_HEIGHT = "UPDATE_MAIN_MALL_HEIGHT", -- 更新主要商品的高度
GO_DAILY_CHALLENGE = "GO_DAILY_CHALLENGE", -- 跳转每日挑战
GO_CHAPTER = "GO_CHAPTER", -- 跳转主线章节
CHANGE_MAIN_COMP_MODULE = "CHANGE_MAIN_COMP_MODULE", -- 切换主界面模块
CLOSE_BOX_HERO_UI = "CLOSE_BOX_HERO_UI",
CLOSE_BOX_OPEN_UI = "CLOSE_BOX_OPEN_UI",
BIND_ACCOUNT_SUCCESS = "BIND_ACCOUNT_SUCCESS",

View File

@ -51,6 +51,8 @@ local MODULE_PATHS = {
PlayerManager = "app/module/player/player_manager",
-- 账号
AccountManager= "app/module/account/account_manager",
-- 活动副本
DungeonManager = "app/module/dungeon/dungeon_manager",
}
-- 这里的key对应func_open里的id
@ -70,6 +72,8 @@ ModuleManager.MODULE_KEY = {
FIRST_RECHARGE = "first_charge", -- 首充礼包
BEGINNER_GIFT = "new_player_gift", -- 新手礼包
MAIL = "mail_open", -- 邮件
DUNGEON_SHARDS = "dungeon_shards_open", -- 碎片副本
DUNGEON_GOLD = "dungeon_gold_open", -- 金币副本
}
local _moduleMgrs = {}

View File

@ -137,6 +137,15 @@ function Time:getOverOfServerToday(time)
return self:getBeginningOfServerToday() + SECONDS_PRE_DAY
end
-- 获取今日剩余时间
function Time:getTodaySurplusTime()
local result = self:getOverOfServerToday() - self:getServerTime()
if result < 0 then
result = 0
end
return result
end
function Time:getBeginningOfToday()
local now = os.date('*t', self:getServerTime() + self:getTimeZoneOffset()*SECONDS_PRE_HOUR)
local beginDay = os.time{year = now.year, month = now.month, day = now.day, hour = 0}
@ -271,6 +280,15 @@ function Time:getDayByTimeStamp(time)
return now.day
end
-- 获取当前处于星期几
function Time:getWeekByTimeStamp(time)
time = time or self:getServerTime()
local now = os.date('!*t', time)
local weekTab = {7, 1, 2, 3, 4, 5, 6}
return weekTab[now.wday]
end
-- 转换服务器时间字符串(ISO 8601)的对应的时间戳,例如2022-09-10T18:10:00.000Z
function Time:convertServerTimeStringToTimestamp(str)
local dateTime = CS.System.DateTime.Parse(str)

View File

@ -1,6 +1,6 @@
local chapter_board_dungeon_gold = {
[1]={
["board_daily_challenge"]={
["board"]={
{
1,
0
@ -200,7 +200,7 @@ local chapter_board_dungeon_gold = {
}
},
[2]={
["board_daily_challenge"]={
["board"]={
{
1,
0
@ -400,7 +400,7 @@ local chapter_board_dungeon_gold = {
}
},
[3]={
["board_daily_challenge"]={
["board"]={
{
1,
0
@ -600,7 +600,7 @@ local chapter_board_dungeon_gold = {
}
},
[4]={
["board_daily_challenge"]={
["board"]={
{
0,
3
@ -800,7 +800,7 @@ local chapter_board_dungeon_gold = {
}
},
[5]={
["board_daily_challenge"]={
["board"]={
{
1,
0
@ -1000,7 +1000,7 @@ local chapter_board_dungeon_gold = {
}
},
[6]={
["board_daily_challenge"]={
["board"]={
{
1,
0
@ -1200,7 +1200,7 @@ local chapter_board_dungeon_gold = {
}
},
[7]={
["board_daily_challenge"]={
["board"]={
{
21,
1
@ -1400,7 +1400,7 @@ local chapter_board_dungeon_gold = {
}
},
[8]={
["board_daily_challenge"]={
["board"]={
{
3,
0
@ -1600,7 +1600,7 @@ local chapter_board_dungeon_gold = {
}
},
[9]={
["board_daily_challenge"]={
["board"]={
{
1,
0
@ -1800,7 +1800,7 @@ local chapter_board_dungeon_gold = {
}
},
[10]={
["board_daily_challenge"]={
["board"]={
{
20,
0
@ -2000,7 +2000,7 @@ local chapter_board_dungeon_gold = {
}
},
[11]={
["board_daily_challenge"]={
["board"]={
{
1,
0
@ -2200,7 +2200,7 @@ local chapter_board_dungeon_gold = {
}
},
[12]={
["board_daily_challenge"]={
["board"]={
{
20,
0
@ -2400,7 +2400,7 @@ local chapter_board_dungeon_gold = {
}
},
[13]={
["board_daily_challenge"]={
["board"]={
{
1,
0
@ -2600,7 +2600,7 @@ local chapter_board_dungeon_gold = {
}
},
[14]={
["board_daily_challenge"]={
["board"]={
{
1,
0
@ -2800,7 +2800,7 @@ local chapter_board_dungeon_gold = {
}
},
[15]={
["board_daily_challenge"]={
["board"]={
{
1,
0
@ -3000,7 +3000,7 @@ local chapter_board_dungeon_gold = {
}
},
[16]={
["board_daily_challenge"]={
["board"]={
{
1,
0
@ -3200,7 +3200,7 @@ local chapter_board_dungeon_gold = {
}
},
[17]={
["board_daily_challenge"]={
["board"]={
{
1,
0
@ -3400,7 +3400,7 @@ local chapter_board_dungeon_gold = {
}
},
[18]={
["board_daily_challenge"]={
["board"]={
{
1,
0
@ -3600,7 +3600,7 @@ local chapter_board_dungeon_gold = {
}
},
[19]={
["board_daily_challenge"]={
["board"]={
{
1,
0
@ -3800,7 +3800,7 @@ local chapter_board_dungeon_gold = {
}
},
[20]={
["board_daily_challenge"]={
["board"]={
{
1,
0
@ -4000,7 +4000,7 @@ local chapter_board_dungeon_gold = {
}
},
[21]={
["board_daily_challenge"]={
["board"]={
{
1,
0
@ -4200,7 +4200,7 @@ local chapter_board_dungeon_gold = {
}
},
[22]={
["board_daily_challenge"]={
["board"]={
{
1,
0
@ -4400,7 +4400,7 @@ local chapter_board_dungeon_gold = {
}
},
[23]={
["board_daily_challenge"]={
["board"]={
{
32,
0
@ -4600,7 +4600,7 @@ local chapter_board_dungeon_gold = {
}
},
[24]={
["board_daily_challenge"]={
["board"]={
{
31,
0
@ -4800,7 +4800,7 @@ local chapter_board_dungeon_gold = {
}
},
[25]={
["board_daily_challenge"]={
["board"]={
{
1,
0
@ -5000,7 +5000,7 @@ local chapter_board_dungeon_gold = {
}
},
[26]={
["board_daily_challenge"]={
["board"]={
{
1,
0
@ -5200,7 +5200,7 @@ local chapter_board_dungeon_gold = {
}
},
[27]={
["board_daily_challenge"]={
["board"]={
{
1,
0
@ -5400,7 +5400,7 @@ local chapter_board_dungeon_gold = {
}
},
[28]={
["board_daily_challenge"]={
["board"]={
{
1,
0
@ -5600,7 +5600,7 @@ local chapter_board_dungeon_gold = {
}
},
[29]={
["board_daily_challenge"]={
["board"]={
{
1,
0
@ -5800,7 +5800,7 @@ local chapter_board_dungeon_gold = {
}
},
[30]={
["board_daily_challenge"]={
["board"]={
{
1,
0

File diff suppressed because it is too large Load Diff

View File

@ -3,9 +3,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=1,
["monster_base"]=20003,
["hp"]=8000000,
["board"]={
1
},
["monster"]={
105
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
@ -27,9 +30,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=2,
["monster_base"]=20003,
["hp"]=11000000,
["board"]={
2
},
["monster"]={
205
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
@ -51,9 +57,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=3,
["monster_base"]=20003,
["hp"]=12000000,
["board"]={
3
},
["monster"]={
305
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
@ -75,9 +84,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=4,
["monster_base"]=20003,
["hp"]=15000000,
["board"]={
4
},
["monster"]={
405
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
@ -99,9 +111,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=5,
["monster_base"]=20003,
["hp"]=23000000,
["board"]={
5
},
["monster"]={
505
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
@ -123,9 +138,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=6,
["monster_base"]=20003,
["hp"]=15000000,
["board"]={
6
},
["monster"]={
605
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
@ -147,9 +165,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=7,
["monster_base"]=20003,
["hp"]=17000000,
["board"]={
7
},
["monster"]={
705
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
@ -171,9 +192,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=8,
["monster_base"]=20003,
["hp"]=20000000,
["board"]={
8
},
["monster"]={
805
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
@ -195,9 +219,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=9,
["monster_base"]=20003,
["hp"]=22000000,
["board"]={
9
},
["monster"]={
905
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
@ -219,9 +246,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=10,
["monster_base"]=20003,
["hp"]=42000000,
["board"]={
10
},
["monster"]={
1005
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
@ -243,9 +273,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=11,
["monster_base"]=20003,
["hp"]=23000000,
["board"]={
11
},
["monster"]={
1105
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
@ -267,9 +300,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=12,
["monster_base"]=20003,
["hp"]=28000000,
["board"]={
12
},
["monster"]={
1205
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
@ -291,9 +327,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=13,
["monster_base"]=20003,
["hp"]=31000000,
["board"]={
13
},
["monster"]={
1305
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
@ -315,9 +354,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=14,
["monster_base"]=20003,
["hp"]=35000000,
["board"]={
14
},
["monster"]={
1405
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
@ -339,9 +381,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=15,
["monster_base"]=20003,
["hp"]=52000000,
["board"]={
15
},
["monster"]={
1505
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
@ -363,9 +408,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=16,
["monster_base"]=20003,
["hp"]=40000000,
["board"]={
16
},
["monster"]={
1605
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
@ -387,9 +435,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=17,
["monster_base"]=20003,
["hp"]=44000000,
["board"]={
17
},
["monster"]={
1705
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
@ -411,9 +462,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=18,
["monster_base"]=20003,
["hp"]=50000000,
["board"]={
18
},
["monster"]={
1805
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
@ -435,9 +489,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=19,
["monster_base"]=20003,
["hp"]=54000000,
["board"]={
19
},
["monster"]={
1905
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
@ -459,9 +516,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=20,
["monster_base"]=20003,
["hp"]=90000000,
["board"]={
20
},
["monster"]={
2005
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
@ -483,9 +543,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=21,
["monster_base"]=20003,
["hp"]=8000000,
["board"]={
21
},
["monster"]={
2105
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
@ -507,9 +570,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=22,
["monster_base"]=20003,
["hp"]=11000000,
["board"]={
22
},
["monster"]={
2205
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
@ -531,9 +597,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=23,
["monster_base"]=20003,
["hp"]=12000000,
["board"]={
23
},
["monster"]={
2305
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
@ -555,9 +624,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=24,
["monster_base"]=20003,
["hp"]=15000000,
["board"]={
24
},
["monster"]={
2405
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
@ -579,9 +651,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=25,
["monster_base"]=20003,
["hp"]=23000000,
["board"]={
25
},
["monster"]={
2505
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
@ -603,9 +678,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=26,
["monster_base"]=20003,
["hp"]=15000000,
["board"]={
26
},
["monster"]={
2605
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
@ -627,9 +705,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=27,
["monster_base"]=20003,
["hp"]=17000000,
["board"]={
27
},
["monster"]={
2705
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
@ -651,9 +732,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=28,
["monster_base"]=20003,
["hp"]=20000000,
["board"]={
28
},
["monster"]={
2805
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
@ -675,9 +759,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=29,
["monster_base"]=20003,
["hp"]=22000000,
["board"]={
29
},
["monster"]={
2905
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",
@ -699,9 +786,12 @@ local chapter_dungeon_gold = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_gold"]=30,
["monster_base"]=20003,
["hp"]=42000000,
["board"]={
30
},
["monster"]={
3005
},
["percent_reward"]={
["type"]=1,
["type_for_nothing"]="Vw==",

View File

@ -3,7 +3,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
1,
2,
3,
@ -101,7 +101,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
6,
7,
8,
@ -199,7 +199,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
11,
12,
13,
@ -297,7 +297,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
16,
17,
18,
@ -395,7 +395,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
21,
22,
23,
@ -493,7 +493,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
26,
27,
28,
@ -591,7 +591,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
31,
32,
33,
@ -689,7 +689,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
36,
37,
38,
@ -787,7 +787,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
41,
42,
43,
@ -885,7 +885,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
46,
47,
48,
@ -983,7 +983,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
51,
52,
53,
@ -1081,7 +1081,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
56,
57,
58,
@ -1179,7 +1179,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
61,
62,
63,
@ -1277,7 +1277,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
66,
67,
68,
@ -1375,7 +1375,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
71,
72,
73,
@ -1473,7 +1473,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
76,
77,
78,
@ -1571,7 +1571,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
81,
82,
83,
@ -1669,7 +1669,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
86,
87,
88,
@ -1767,7 +1767,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
91,
92,
93,
@ -1865,7 +1865,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
96,
97,
98,
@ -1963,7 +1963,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
101,
102,
103,
@ -2061,7 +2061,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
106,
107,
108,
@ -2159,7 +2159,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
111,
112,
113,
@ -2257,7 +2257,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
116,
117,
118,
@ -2355,7 +2355,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
121,
122,
123,
@ -2453,7 +2453,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
126,
127,
128,
@ -2551,7 +2551,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
131,
132,
133,
@ -2649,7 +2649,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
136,
137,
138,
@ -2747,7 +2747,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
141,
142,
143,
@ -2845,7 +2845,7 @@ local chapter_dungeon_shards = {
["scene"]="bg_11",
["block_icon"]="battle_hinder_7",
["chess_board"]="chessboard_2",
["chapter_board_dungeon_shards"]={
["board"]={
146,
147,
148,

View File

@ -233,6 +233,63 @@ local hero = {
["item_id"]=14001,
["is_show"]=1
},
[14002]={
["position"]=1,
["qlt"]=4,
["hurt_skill"]={
1400210,
1400211,
1400212,
1400213
},
["base_skill"]=1400220,
["rouge_skill"]=1400200,
["rouge_skill_1"]=1400201,
["rouge_skill_2"]=1400202,
["rouge_skill_3"]=1400203,
["rouge_skill_4"]=1400204,
["rouge_skill_5"]=1400205,
["rouge_skill_6"]=1400206,
["rouge_skill_7"]=1400207,
["begin_lv"]=5,
["hp"]={
6000000,
6800000,
7600000,
8440000,
9320000,
10240000,
11240000,
12320000,
13520000,
14840000,
16280000,
17880000,
19680000,
21680000,
23960000
},
["atk"]={
3000000,
3400000,
3800000,
4220000,
4660000,
5120000,
5620000,
6160000,
6760000,
7420000,
8140000,
8940000,
9840000,
10840000,
11980000
},
["model_id"]="p0018",
["icon"]="1",
["item_id"]=14002
},
[22001]={
["position"]=2,
["qlt"]=2,
@ -468,6 +525,63 @@ local hero = {
["unlock_chapter"]=21,
["is_show"]=1
},
[24002]={
["position"]=2,
["qlt"]=4,
["hurt_skill"]={
2400210,
2400211,
2400212,
2400213
},
["base_skill"]=2400220,
["rouge_skill"]=2400200,
["rouge_skill_1"]=2400201,
["rouge_skill_2"]=2400202,
["rouge_skill_3"]=2400203,
["rouge_skill_4"]=2400204,
["rouge_skill_5"]=2400205,
["rouge_skill_6"]=2400206,
["rouge_skill_7"]=2400207,
["begin_lv"]=5,
["hp"]={
6000000,
6800000,
7600000,
8440000,
9320000,
10240000,
11240000,
12320000,
13520000,
14840000,
16280000,
17880000,
19680000,
21680000,
23960000
},
["atk"]={
3000000,
3400000,
3800000,
4220000,
4660000,
5120000,
5620000,
6160000,
6760000,
7420000,
8140000,
8940000,
9840000,
10840000,
11980000
},
["model_id"]="p0017",
["icon"]="2",
["item_id"]=24002
},
[32001]={
["position"]=3,
["qlt"]=2,
@ -703,6 +817,63 @@ local hero = {
["unlock_chapter"]=2,
["is_show"]=1
},
[34002]={
["position"]=3,
["qlt"]=4,
["hurt_skill"]={
3400210,
3400211,
3400212,
3400213
},
["base_skill"]=3400220,
["rouge_skill"]=3400200,
["rouge_skill_1"]=3400201,
["rouge_skill_2"]=3400202,
["rouge_skill_3"]=3400203,
["rouge_skill_4"]=3400204,
["rouge_skill_5"]=3400205,
["rouge_skill_6"]=3400206,
["rouge_skill_7"]=3400207,
["begin_lv"]=5,
["hp"]={
6000000,
6800000,
7600000,
8440000,
9320000,
10240000,
11240000,
12320000,
13520000,
14840000,
16280000,
17880000,
19680000,
21680000,
23960000
},
["atk"]={
3000000,
3400000,
3800000,
4220000,
4660000,
5120000,
5620000,
6160000,
6760000,
7420000,
8140000,
8940000,
9840000,
10840000,
11980000
},
["model_id"]="p0001",
["icon"]="3",
["item_id"]=34002
},
[42001]={
["position"]=4,
["qlt"]=2,
@ -938,6 +1109,63 @@ local hero = {
["unlock_chapter"]=10,
["is_show"]=1
},
[44002]={
["position"]=4,
["qlt"]=4,
["hurt_skill"]={
4400210,
4400211,
4400212,
4400213
},
["base_skill"]=4400220,
["rouge_skill"]=4400200,
["rouge_skill_1"]=4400201,
["rouge_skill_2"]=4400202,
["rouge_skill_3"]=4400203,
["rouge_skill_4"]=4400204,
["rouge_skill_5"]=4400205,
["rouge_skill_6"]=4400206,
["rouge_skill_7"]=4400207,
["begin_lv"]=5,
["hp"]={
6000000,
6800000,
7600000,
8440000,
9320000,
10240000,
11240000,
12320000,
13520000,
14840000,
16280000,
17880000,
19680000,
21680000,
23960000
},
["atk"]={
3000000,
3400000,
3800000,
4220000,
4660000,
5120000,
5620000,
6160000,
6760000,
7420000,
8140000,
8940000,
9840000,
10840000,
11980000
},
["model_id"]="p0003",
["icon"]="4",
["item_id"]=44002
},
[52001]={
["position"]=5,
["qlt"]=2,
@ -1172,9 +1400,66 @@ local hero = {
["icon"]="20",
["item_id"]=54001,
["is_show"]=1
},
[54002]={
["position"]=5,
["qlt"]=4,
["hurt_skill"]={
5400210,
5400211,
5400212,
5400213
},
["base_skill"]=5400220,
["rouge_skill"]=5400200,
["rouge_skill_1"]=5400201,
["rouge_skill_2"]=5400202,
["rouge_skill_3"]=5400203,
["rouge_skill_4"]=5400204,
["rouge_skill_5"]=5400205,
["rouge_skill_6"]=5400206,
["rouge_skill_7"]=5400207,
["begin_lv"]=5,
["hp"]={
6000000,
6800000,
7600000,
8440000,
9320000,
10240000,
11240000,
12320000,
13520000,
14840000,
16280000,
17880000,
19680000,
21680000,
23960000
},
["atk"]={
3000000,
3400000,
3800000,
4220000,
4660000,
5120000,
5620000,
6160000,
6760000,
7420000,
8140000,
8940000,
9840000,
10840000,
11980000
},
["model_id"]="p0006",
["icon"]="5",
["item_id"]=54002
}
}
local config = {
data=hero,count=20
data=hero,count=25
}
return config

View File

@ -369,6 +369,9 @@ local item = {
["parameter"]=14001,
["qlt"]=4,
["icon"]="14001"
},
[14002]={
},
[22001]={
["type"]=5,
@ -394,6 +397,12 @@ local item = {
["qlt"]=4,
["icon"]="24001"
},
[24002]={
["type"]=5,
["parameter"]=24001,
["qlt"]=4,
["icon"]="24001"
},
[32001]={
["type"]=5,
["parameter"]=32001,
@ -418,6 +427,12 @@ local item = {
["qlt"]=4,
["icon"]="34001"
},
[34002]={
["type"]=5,
["parameter"]=34001,
["qlt"]=4,
["icon"]="34001"
},
[42001]={
["type"]=5,
["parameter"]=42001,
@ -442,6 +457,12 @@ local item = {
["qlt"]=4,
["icon"]="44001"
},
[44002]={
["type"]=5,
["parameter"]=44001,
["qlt"]=4,
["icon"]="44001"
},
[52001]={
["type"]=5,
["parameter"]=52001,
@ -465,9 +486,15 @@ local item = {
["parameter"]=54001,
["qlt"]=4,
["icon"]="54001"
},
[54002]={
["type"]=5,
["parameter"]=54001,
["qlt"]=4,
["icon"]="54001"
}
}
local config = {
data=item,count=39
data=item,count=44
}
return config

View File

@ -228,6 +228,7 @@ local LocalizationGlobalConst =
DUNGEON_SHARDS_HELP = "DUNGEON_SHARDS_HELP",
DUNGEON_SHARDS_OPEN = "DUNGEON_SHARDS_OPEN",
MAIN_CHAPTER = "MAIN_CHAPTER",
SMASH = "SMASH",
}
return LocalizationGlobalConst

View File

@ -0,0 +1,186 @@
local monster_dungeon_gold = {
[105]={
["monster_base"]=20003,
["hp"]=90000000,
["atk_times"]=0,
["monster_exp"]=440000
},
[205]={
["monster_base"]=20003,
["hp"]=90200000,
["atk_times"]=0,
["monster_exp"]=440000
},
[305]={
["monster_base"]=20003,
["hp"]=90400000,
["atk_times"]=0,
["monster_exp"]=440000
},
[405]={
["monster_base"]=20003,
["hp"]=90600000,
["atk_times"]=0,
["monster_exp"]=440000
},
[505]={
["monster_base"]=20003,
["hp"]=90800000,
["atk_times"]=0,
["monster_exp"]=440000
},
[605]={
["monster_base"]=20003,
["hp"]=91000000,
["atk_times"]=0,
["monster_exp"]=440000
},
[705]={
["monster_base"]=20003,
["hp"]=91200000,
["atk_times"]=0,
["monster_exp"]=440000
},
[805]={
["monster_base"]=20003,
["hp"]=91400000,
["atk_times"]=0,
["monster_exp"]=440000
},
[905]={
["monster_base"]=20003,
["hp"]=91600000,
["atk_times"]=0,
["monster_exp"]=440000
},
[1005]={
["monster_base"]=20003,
["hp"]=91800000,
["atk_times"]=0,
["monster_exp"]=440000
},
[1105]={
["monster_base"]=20003,
["hp"]=92000000,
["atk_times"]=0,
["monster_exp"]=440000
},
[1205]={
["monster_base"]=20003,
["hp"]=92200000,
["atk_times"]=0,
["monster_exp"]=440000
},
[1305]={
["monster_base"]=20003,
["hp"]=92400000,
["atk_times"]=0,
["monster_exp"]=440000
},
[1405]={
["monster_base"]=20003,
["hp"]=92600000,
["atk_times"]=0,
["monster_exp"]=440000
},
[1505]={
["monster_base"]=20003,
["hp"]=92800000,
["atk_times"]=0,
["monster_exp"]=440000
},
[1605]={
["monster_base"]=20003,
["hp"]=93000000,
["atk_times"]=0,
["monster_exp"]=440000
},
[1705]={
["monster_base"]=20003,
["hp"]=93200000,
["atk_times"]=0,
["monster_exp"]=440000
},
[1805]={
["monster_base"]=20003,
["hp"]=93400000,
["atk_times"]=0,
["monster_exp"]=440000
},
[1905]={
["monster_base"]=20003,
["hp"]=93600000,
["atk_times"]=0,
["monster_exp"]=440000
},
[2005]={
["monster_base"]=20003,
["hp"]=93800000,
["atk_times"]=0,
["monster_exp"]=440000
},
[2105]={
["monster_base"]=20003,
["hp"]=94000000,
["atk_times"]=0,
["monster_exp"]=440000
},
[2205]={
["monster_base"]=20003,
["hp"]=94200000,
["atk_times"]=0,
["monster_exp"]=440000
},
[2305]={
["monster_base"]=20003,
["hp"]=94400000,
["atk_times"]=0,
["monster_exp"]=440000
},
[2405]={
["monster_base"]=20003,
["hp"]=94600000,
["atk_times"]=0,
["monster_exp"]=440000
},
[2505]={
["monster_base"]=20003,
["hp"]=94800000,
["atk_times"]=0,
["monster_exp"]=440000
},
[2605]={
["monster_base"]=20003,
["hp"]=95000000,
["atk_times"]=0,
["monster_exp"]=440000
},
[2705]={
["monster_base"]=20003,
["hp"]=95200000,
["atk_times"]=0,
["monster_exp"]=440000
},
[2805]={
["monster_base"]=20003,
["hp"]=95400000,
["atk_times"]=0,
["monster_exp"]=440000
},
[2905]={
["monster_base"]=20003,
["hp"]=95600000,
["atk_times"]=0,
["monster_exp"]=440000
},
[3005]={
["monster_base"]=20003,
["hp"]=95800000,
["atk_times"]=0,
["monster_exp"]=440000
}
}
local config = {
data=monster_dungeon_gold,count=30
}
return config

View File

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: bd10dd527d521404d991152e6a9cbf96
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3}

File diff suppressed because it is too large Load Diff

View File

@ -1131,22 +1131,15 @@ local skill_rogue = {
["icon"]="138"
},
[1400104]={
["unlock"]=1400102,
["cover_unlock"]=1400102,
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=12,
["skill_position"]=1,
["effect"]={
{
["type"]="add_skill",
["num"]=1400124,
["ratio"]=10000,
["round"]=1
}
["type"]=7,
["parameter"]={
1,
6000
},
["obj"]=3,
["skill_position"]=1,
["icon"]="139"
},
[1400105]={
@ -1205,6 +1198,136 @@ local skill_rogue = {
["obj"]=3,
["icon"]="142"
},
[1400200]={
["limit_times"]=1,
["weight"]=100000,
["qlt"]=4,
["type"]=6,
["skill_position"]=1,
["icon"]="186"
},
[1400201]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=12,
["skill_position"]=1,
["effect"]={
{
["type"]="add_skill",
["num"]=1400221,
["ratio"]=10000,
["round"]=1
}
},
["obj"]=3,
["icon"]="136"
},
[1400202]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
["type"]=12,
["skill_position"]=1,
["effect"]={
{
["type"]="add_skill",
["num"]=1400222,
["ratio"]=10000,
["round"]=1
}
},
["obj"]=3,
["icon"]="137"
},
[1400203]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
["type"]=1,
["parameter"]={
1400223
},
["skill_position"]=1,
["icon"]="138"
},
[1400204]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=9,
["skill_position"]=1,
["effect"]={
{
["type"]="add_skill",
["num"]=1400224,
["ratio"]=10000,
["round"]=999
}
},
["obj"]=3,
["icon"]="139"
},
[1400205]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=12,
["skill_position"]=1,
["effect"]={
{
["type"]="add_skill",
["num"]=1400225,
["ratio"]=10000,
["round"]=1
}
},
["obj"]=3,
["icon"]="140"
},
[1400206]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
["type"]=9,
["skill_position"]=1,
["effect"]={
{
["type"]="atkp_red_add",
["num"]=1500,
["ratio"]=10000,
["round"]=999
}
},
["obj"]=3,
["icon"]="141"
},
[1400207]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=15,
["parameter"]={
6
},
["skill_position"]=1,
["effect"]={
{
["type"]="skill_fire_times",
["num"]=1400220,
["ratio"]=10000,
["round"]=1
},
{
["type"]="skill_fire_times",
["num"]=1400223,
["ratio"]=10000,
["round"]=1
}
},
["obj"]=3,
["icon"]="142"
},
[2200100]={
["limit_times"]=1,
["weight"]=100000,
@ -1737,6 +1860,131 @@ local skill_rogue = {
["obj"]=4,
["icon"]="149"
},
[2400200]={
["limit_times"]=1,
["weight"]=100000,
["qlt"]=4,
["type"]=6,
["skill_position"]=2,
["icon"]="187"
},
[2400201]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
["type"]=2,
["skill_position"]=2,
["boardrange"]={
{
["type"]=0,
["range"]=4
}
},
["icon"]="143"
},
[2400202]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=12,
["skill_position"]=2,
["effect"]={
{
["type"]="add_skill",
["num"]=2400221,
["ratio"]=10000,
["round"]=1
}
},
["obj"]=4,
["icon"]="144"
},
[2400203]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
["type"]=2,
["skill_position"]=2,
["boardrange"]={
{
["type"]=0,
["range"]=2
}
},
["icon"]="145"
},
[2400204]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=12,
["skill_position"]=2,
["effect"]={
{
["type"]="add_skill",
["num"]=2400222,
["ratio"]=10000,
["round"]=1
}
},
["obj"]=4,
["icon"]="146"
},
[2400205]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=12,
["skill_position"]=2,
["effect"]={
{
["type"]="add_skill",
["num"]=2400223,
["ratio"]=10000,
["round"]=1
}
},
["obj"]=4,
["icon"]="147"
},
[2400206]={
["unlock"]=2400204,
["cover_unlock"]=2400206,
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
["type"]=12,
["skill_position"]=2,
["effect"]={
{
["type"]="add_skill",
["num"]=2400224,
["ratio"]=10000,
["round"]=1
}
},
["obj"]=4,
["icon"]="148"
},
[2400207]={
["unlock"]=2400205,
["cover_unlock"]=2400205,
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=12,
["skill_position"]=2,
["effect"]={
{
["type"]="add_skill",
["num"]=2400225,
["ratio"]=10000,
["round"]=1
}
},
["obj"]=4,
["icon"]="149"
},
[3200100]={
["limit_times"]=1,
["weight"]=100000,
@ -2229,6 +2477,121 @@ local skill_rogue = {
["obj"]=5,
["icon"]="156"
},
[3400200]={
["limit_times"]=1,
["weight"]=100000,
["qlt"]=4,
["type"]=6,
["skill_position"]=3,
["icon"]="188"
},
[3400201]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
["type"]=1,
["parameter"]={
3400221
},
["skill_position"]=3,
["icon"]="150"
},
[3400202]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
["type"]=3,
["skill_position"]=3,
["effect"]={
{
["type"]="atkp",
["num"]=5000,
["ratio"]=10000,
["round"]=1
}
},
["obj"]=1,
["icon"]="151"
},
[3400203]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=8,
["parameter"]={
2,
1
},
["skill_position"]=3,
["icon"]="152"
},
[3400204]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=7,
["parameter"]={
2,
2500
},
["skill_position"]=3,
["icon"]="153"
},
[3400205]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=9,
["skill_position"]=3,
["effect"]={
{
["type"]="add_skill",
["num"]=3400222,
["ratio"]=10000,
["round"]=999
}
},
["obj"]=5,
["icon"]="154"
},
[3400206]={
["unlock"]=3400201,
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
["type"]=2,
["skill_position"]=3,
["boardrange"]={
{
["type"]=3,
["range"]=2
},
{
["type"]=4,
["range"]=2
}
},
["icon"]="155"
},
[3400207]={
["unlock"]=3400205,
["cover_unlock"]=3400205,
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
["type"]=9,
["skill_position"]=3,
["effect"]={
{
["type"]="add_skill",
["num"]=3400223,
["ratio"]=10000,
["round"]=999
}
},
["obj"]=5,
["icon"]="156"
},
[4200100]={
["limit_times"]=1,
["weight"]=100000,
@ -2659,14 +3022,14 @@ local skill_rogue = {
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=12,
["type"]=9,
["skill_position"]=4,
["effect"]={
{
["type"]="add_skill",
["num"]=4400122,
["ratio"]=10000,
["round"]=1
["round"]=999
}
},
["obj"]=6,
@ -2695,17 +3058,151 @@ local skill_rogue = {
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=12,
["type"]=9,
["skill_position"]=4,
["effect"]={
{
["type"]="add_skill",
["num"]=4400123,
["ratio"]=10000,
["round"]=999
}
},
["obj"]=6,
["icon"]="163"
},
[4400200]={
["limit_times"]=1,
["weight"]=100000,
["qlt"]=4,
["type"]=6,
["skill_position"]=4,
["icon"]="189"
},
[4400201]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
["type"]=2,
["skill_position"]=4,
["boardrange"]={
{
["type"]=5,
["range"]=1
},
{
["type"]=6,
["range"]=1
},
{
["type"]=7,
["range"]=1
},
{
["type"]=8,
["range"]=1
}
},
["icon"]="157"
},
[4400202]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
["type"]=12,
["skill_position"]=4,
["effect"]={
{
["type"]="add_skill",
["num"]=4400221,
["ratio"]=10000,
["round"]=1
}
},
["obj"]=6,
["icon"]="158"
},
[4400203]={
["unlock"]=4400201,
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
["type"]=2,
["skill_position"]=4,
["boardrange"]={
{
["type"]=5,
["range"]=1
},
{
["type"]=6,
["range"]=1
},
{
["type"]=7,
["range"]=1
},
{
["type"]=8,
["range"]=1
}
},
["icon"]="159"
},
[4400204]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=16,
["parameter"]={
2,
5000
},
["skill_position"]=4,
["icon"]="160"
},
[4400205]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=9,
["effect"]={
{
["type"]="add_skill",
["num"]=4400222,
["ratio"]=10000,
["round"]=999
}
},
["obj"]=6,
["icon"]="161"
},
[4400206]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
["type"]=9,
["skill_position"]=4,
["effect"]={
{
["type"]="atkp_blue_add",
["num"]=1500,
["ratio"]=10000,
["round"]=999
}
},
["obj"]=6,
["icon"]="162"
},
[4400207]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=1,
["parameter"]={
4400223
},
["skill_position"]=4,
["icon"]="163"
},
[5200100]={
@ -3003,23 +3500,6 @@ local skill_rogue = {
["icon"]="131"
},
[5300204]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
["type"]=9,
["skill_position"]=5,
["effect"]={
{
["type"]="atkp_purple_add",
["num"]=1500,
["ratio"]=10000,
["round"]=999
}
},
["obj"]=7,
["icon"]="132"
},
[5300205]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
@ -3036,6 +3516,23 @@ local skill_rogue = {
["obj"]=7,
["icon"]="133"
},
[5300205]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
["type"]=9,
["skill_position"]=5,
["effect"]={
{
["type"]="atkp_purple_add",
["num"]=1500,
["ratio"]=10000,
["round"]=999
}
},
["obj"]=7,
["icon"]="132"
},
[5300206]={
["unlock"]=5300202,
["cover_unlock"]=5300202,
@ -3189,9 +3686,122 @@ local skill_rogue = {
},
["obj"]=7,
["icon"]="170"
},
[5400200]={
["limit_times"]=1,
["weight"]=100000,
["qlt"]=4,
["type"]=6,
["skill_position"]=5,
["icon"]="190"
},
[5400201]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
["type"]=8,
["parameter"]={
1,
1
},
["skill_position"]=5,
["icon"]="164"
},
[5400202]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=9,
["skill_position"]=5,
["effect"]={
{
["type"]="add_skill",
["num"]=5400221,
["ratio"]=10000,
["round"]=999
}
},
["obj"]=7,
["icon"]="165"
},
[5400203]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
["type"]=1,
["parameter"]={
5400222
},
["skill_position"]=5,
["icon"]="166"
},
[5400204]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=8,
["parameter"]={
1,
1
},
["skill_position"]=5,
["icon"]="167"
},
[5400205]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=9,
["skill_position"]=5,
["effect"]={
{
["type"]="add_skill",
["num"]=5400223,
["ratio"]=10000,
["round"]=999
}
},
["obj"]=7,
["icon"]="168"
},
[5400206]={
["limit_times"]=1,
["weight"]=3000,
["qlt"]=3,
["type"]=9,
["skill_position"]=5,
["effect"]={
{
["type"]="atkp_purple_add",
["num"]=1500,
["ratio"]=10000,
["round"]=999
}
},
["obj"]=7,
["icon"]="169"
},
[5400207]={
["unlock"]=5400202,
["cover_unlock"]=5400202,
["limit_times"]=1,
["weight"]=3000,
["qlt"]=4,
["type"]=9,
["skill_position"]=5,
["effect"]={
{
["type"]="add_skill",
["num"]=5400224,
["ratio"]=10000,
["round"]=999
}
},
["obj"]=7,
["icon"]="170"
}
}
local config = {
data=skill_rogue,count=204
data=skill_rogue,count=244
}
return config

View File

@ -228,6 +228,7 @@ local localization_global =
["DUNGEON_SHARDS_HELP"] = "检测实力的时候到了!\n打倒所有拦路的怪物们,告诉他们谁才是真正的勇士!\n注意!怪物们有备而来,部分角色的攻击会下降。",
["DUNGEON_SHARDS_OPEN"] = "开启时间:周一、周三、周五、周日",
["MAIN_CHAPTER"] = "主线章节",
["SMASH"] = "扫荡",
}
return localization_global

View File

@ -15,6 +15,9 @@ local hero = {
["name"]="亚历山大",
["desc"]="没人能抗住亚历山大的钢铁重击,如果扛住了,那就再来一击。"
},
[14002]={
["name"]="潘达"
},
[22001]={
["name"]="刀妹",
["desc"]="剑一出鞘,必要见血。"
@ -31,6 +34,9 @@ local hero = {
["name"]="巨剑魔童",
["desc"]="我可能拿不起巨剑,但不妨碍我用它轰人。"
},
[24002]={
["name"]="索尔"
},
[32001]={
["name"]="洋葱头",
["desc"]="盾牌只是为了掩饰下一次突刺。"
@ -47,6 +53,9 @@ local hero = {
["name"]="木兰",
["desc"]="这一箭下去你可能会死。"
},
[34002]={
["name"]="艳后"
},
[42001]={
["name"]="冰心",
["desc"]="我的心和我的法术一样冰冷。"
@ -63,6 +72,9 @@ local hero = {
["name"]="寒冰妖姬",
["desc"]="有人持剑起舞,寒冰妖姬用剑让敌人起舞。"
},
[44002]={
["name"]="梦魔"
},
[52001]={
["name"]="忍者伦",
["desc"]="虽然带的是手里剑,但是最擅长的还是护盾术,忍者伦最大的愿望还是世界和平。"
@ -78,9 +90,12 @@ local hero = {
[54001]={
["name"]="蝴蝶",
["desc"]="蝴蝶破茧而出,美丽又坚韧,坚韧的不止是内心,还有手里同样美丽的长刀。"
},
[54002]={
["name"]="闪烁法师"
}
}
local config = {
data=hero,count=20
data=hero,count=25
}
return config

View File

@ -91,6 +91,10 @@ local item = {
["name"]="亚历山大碎片",
["desc"]="亚历山大碎片,凑齐可激活或升级。"
},
[14002]={
["name"]="潘达碎片",
["desc"]="潘达碎片,凑齐可激活或升级。"
},
[22001]={
["name"]="刀妹碎片",
["desc"]="刀妹碎片,凑齐可激活或升级。"
@ -107,6 +111,10 @@ local item = {
["name"]="巨剑魔童碎片",
["desc"]="巨剑魔童碎片,凑齐可激活或升级。"
},
[24002]={
["name"]="索尔碎片",
["desc"]="索尔碎片,凑齐可激活或升级。"
},
[32001]={
["name"]="洋葱头碎片",
["desc"]="洋葱头碎片,凑齐可激活或升级。"
@ -123,6 +131,10 @@ local item = {
["name"]="木兰碎片",
["desc"]="木兰碎片,凑齐可激活或升级。"
},
[34002]={
["name"]="艳后碎片",
["desc"]="艳后碎片,凑齐可激活或升级。"
},
[42001]={
["name"]="冰心碎片",
["desc"]="冰心碎片,凑齐可激活或升级。"
@ -139,6 +151,10 @@ local item = {
["name"]="寒冰妖姬碎片",
["desc"]="寒冰妖姬碎片,凑齐可激活或升级。"
},
[44002]={
["name"]="梦魔碎片",
["desc"]="梦魔碎片,凑齐可激活或升级。"
},
[52001]={
["name"]="忍者伦碎片",
["desc"]="忍者伦碎片,凑齐可激活或升级。"
@ -154,9 +170,13 @@ local item = {
[54001]={
["name"]="蝴蝶碎片",
["desc"]="蝴蝶碎片,凑齐可激活或升级。"
},
[54002]={
["name"]="闪烁法师碎片",
["desc"]="闪烁法师碎片,凑齐可激活或升级。"
}
}
local config = {
data=item,count=39
data=item,count=44
}
return config

View File

@ -11,6 +11,9 @@ local skill = {
[1400120]={
["desc"]="钢铁重击:将周围<color=#3cff28>4</color>个元素变色,并造成多次大量技能伤害。"
},
[1400220]={
["desc"]="熊猫爆竹:额外造成一次大量技能伤害。"
},
[2200120]={
["desc"]="拔刀斩:额外造成一次技能伤害。"
},
@ -23,6 +26,9 @@ local skill = {
[2400120]={
["desc"]="巨剑轰击:额外造成一次巨量技能伤害。"
},
[2400220]={
["desc"]="雷神之锤:额外造成一次大量技能伤害。"
},
[3200120]={
["desc"]="长枪突刺:额外造成一次技能伤害。"
},
@ -35,6 +41,9 @@ local skill = {
[3400120]={
["desc"]="流星追月:使用后本次伤害提升,并造成一次巨量技能伤害。"
},
[3400220]={
["desc"]="法老诅咒:额外造成一次技能伤害,附加<color=#3cff28>诅咒</color>效果,<color=#3cff28>1</color>回合。"
},
[4200120]={
["desc"]="元素链接:随机消除<color=#3cff28>3</color>个元素,并造成一次技能伤害。"
},
@ -47,6 +56,9 @@ local skill = {
[4400120]={
["desc"]="冰霜剑舞:随机消除<color=#3cff28>3</color>个元素,并造成一次技能伤害,附加冰霜效果,<color=#3cff28>1</color>回合。"
},
[4400220]={
["desc"]="美丽梦魇额外造成一次大量技能伤害50%概率附加<color=#3cff28>昏睡</color>效果,<color=#3cff28>2</color>回合。"
},
[5200120]={
["desc"]="护盾术:为团队附加一个护盾,<color=#3cff28>1</color>回合。"
},
@ -58,9 +70,12 @@ local skill = {
},
[5400120]={
["desc"]="蝶舞斩:额外造成多次技能伤害。"
},
[5400220]={
["desc"]="脉动反击:随机增加一个技能<color=#3cff28>2</color>点能量,并为团队附加<color=#3cff28>反击</color>效果,<color=#3cff28>1</color>回合。"
}
}
local config = {
data=skill,count=20
data=skill,count=25
}
return config

View File

@ -227,6 +227,30 @@ local skill_rogue = {
[1400107]={
["desc"]="钢铁重击每连接<color=#3cff28>4</color>个元素则额外发射1个火球造成伤害。"
},
[1400200]={
["desc"]="解锁熊猫爆竹:额外造成一次大量技能伤害。"
},
[1400201]={
["desc"]="熊猫爆竹可附加灼烧效果,<color=#3cff28>2</color>回合。"
},
[1400202]={
["desc"]="熊猫爆竹对<color=#3cff28>冻结</color>敌人的伤害增加<color=#3cff28>50%</color>。"
},
[1400203]={
["desc"]="熊猫爆竹横向可额外消除<color=#3cff28>4</color>个格。"
},
[1400204]={
["desc"]="潘达普攻时有<color=#3cff28>10%</color>概率附加灼烧效果,<color=#3cff28>2</color>回合。"
},
[1400205]={
["desc"]="熊猫爆竹命中<color=#3cff28>冻结</color>敌人时,为团队附加<color=#3cff28>亢奋</color>效果,<color=#3cff28>3</color>回合。"
},
[1400206]={
["desc"]="潘达攻击提升<color=#3cff28>15%</color>。"
},
[1400207]={
["desc"]="熊猫爆竹链接<color=#3cff28>6</color>个元素及以上时将释放<color=#3cff28>2</color>次。"
},
[2200100]={
["desc"]="解锁拔刀斩:额外造成一次技能伤害。"
},
@ -323,6 +347,30 @@ local skill_rogue = {
[2400107]={
["desc"]="巨剑轰击将造成双倍伤害。"
},
[2400200]={
["desc"]="解锁雷神之锤:额外造成一次大量技能伤害。"
},
[2400201]={
["desc"]="雷神之锤可随机消除4个元素。"
},
[2400202]={
["desc"]="雷神之锤使用后随机增加一种技能的能量<color=#3cff28>2</color>点。"
},
[2400203]={
["desc"]="雷神之锤可随机消除2个元素。"
},
[2400204]={
["desc"]="索尔普攻时有<color=#3cff28>10%</color>概率附加<color=#3cff28>虚弱</color>效果,<color=#3cff28>1</color>回合。"
},
[2400205]={
["desc"]="雷神之锤释放后为团队附加<color=#3cff28>反伤护盾</color><color=#3cff28>2</color>回合。"
},
[2400206]={
["desc"]="索尔普攻附加的<color=#3cff28>虚弱</color>效果,回合数<color=#3cff28>+1</color>。"
},
[2400207]={
["desc"]="雷神之锤为团队附加的反伤护盾,反伤<color=#3cff28>效果增加</color>。"
},
[3200100]={
["desc"]="解锁长枪突刺:额外造成一次技能伤害。"
},
@ -419,6 +467,30 @@ local skill_rogue = {
[3400107]={
["desc"]="流星追月链接<color=#3cff28>4</color>个元素或以上时,流星追月攻击将释放<color=#3cff28>2</color>次。"
},
[3400200]={
["desc"]="解锁法老诅咒:额外造成一次技能伤害,附加<color=#3cff28>诅咒</color>效果,<color=#3cff28>1</color>回合。"
},
[3400201]={
["desc"]="法老诅咒纵向可额外消除<color=#3cff28>4</color>格。"
},
[3400202]={
["desc"]="法老诅咒使用时本次普攻伤害提升<color=#3cff28>50%</color>。"
},
[3400203]={
["desc"]="法老诅咒附加的<color=#3cff28>诅咒</color>效果,回合数<color=#3cff28>+1</color>。"
},
[3400204]={
["desc"]="法老诅咒附加的<color=#3cff28>诅咒</color>效果,<color=#3cff28>效果提升</color>。"
},
[3400205]={
["desc"]="艳后普攻有<color=#3cff28>10%</color>概率附加<color=#3cff28>腐败</color>效果,<color=#3cff28>2</color>回合。"
},
[3400206]={
["desc"]="法老诅咒横向可额外消除<color=#3cff28>4</color>格。"
},
[3400207]={
["desc"]="艳后普攻有<color=#3cff28>20%</color>概率附加<color=#3cff28>腐败</color>效果,<color=#3cff28>2</color>回合。"
},
[4200100]={
["desc"]="解锁元素链接:随机消除<color=#3cff28>3</color>个元素,并造成一次技能伤害。"
},
@ -515,6 +587,30 @@ local skill_rogue = {
[4400107]={
["desc"]="冰霜剑舞附加冻结效果概率提升到<color=#3cff28>70%</color>。"
},
[4400200]={
["desc"]="解锁美丽梦魇额外造成一次大量技能伤害50%概率附加<color=#3cff28>昏睡</color>效果,<color=#3cff28>2</color>回合。"
},
[4400201]={
["desc"]="美丽梦魇沿X方向可额外消除<color=#3cff28>4</color>格。"
},
[4400202]={
["desc"]="<color=#acae16>Combo</color>:美丽梦魇对<color=#3cff28>虚弱</color>敌人伤害增加<color=#3cff28>50%</color>。"
},
[4400203]={
["desc"]="美丽梦魇沿X方向可额外消除<color=#3cff28>4</color>格。"
},
[4400204]={
["desc"]="美丽梦魇附加的<color=#3cff28>昏睡</color>效果,概率提升到<color=#3cff28>100%</color>。"
},
[4400205]={
["desc"]="<color=#acae16>Combo</color>:梦魔普攻<color=#3cff28>昏睡</color>敌人将附加<color=#3cff28>禁锢</color>效果,<color=#3cff28>2</color>回合。"
},
[4400206]={
["desc"]="梦魔攻击提升<color=#3cff28>15%</color>。"
},
[4400207]={
["desc"]="美丽梦魇激活所需能量<color=#3cff28>-2</color>。"
},
[5200100]={
["desc"]="解锁护盾术:为团队附加一个护盾,<color=#3cff28>1</color>回合。"
},
@ -603,16 +699,40 @@ local skill_rogue = {
["desc"]="蝴蝶攻击提升<color=#3cff28>15%</color>。"
},
[5400105]={
["desc"]="蝶舞斩激活所需能量-<color=#3cff28>2</color>。"
["desc"]="蝶舞斩激活所需能量<color=#3cff28>-2</color>。"
},
[5400106]={
["desc"]="蝶舞斩每击杀<color=#3cff28>1</color>个敌人,全体技能伤害提升<color=#3cff28>10%</color>。"
},
[5400107]={
["desc"]="蝶舞斩击杀敌人后将增加蝴蝶技能能量<color=#3cff28>2</color>点。"
},
[5400200]={
["desc"]="解锁脉动反击:随机增加一个技能<color=#3cff28>2</color>点能量,并为团队附加<color=#3cff28>反击</color>效果,<color=#3cff28>1</color>回合。"
},
[5400201]={
["desc"]="脉动反击附加的<color=#3cff28>反击</color>效果,回合数<color=#3cff28>+1</color>。"
},
[5400202]={
["desc"]="<color=#acae16>Combo</color>:闪烁法师对<color=#3cff28>诅咒</color>敌人额外造成<color=#3cff28>50%</color>伤害。"
},
[5400203]={
["desc"]="脉动反击增加技能的能量扩充到<color=#3cff28>4</color>点。"
},
[5400204]={
["desc"]="脉动反击附加的<color=#3cff28>反击</color>效果,回合数<color=#3cff28>+1</color>。"
},
[5400205]={
["desc"]="闪烁法师造成伤害时有<color=#3cff28>10%</color>概率附加<color=#3cff28>中毒</color>效果,<color=#3cff28>2</color>回合。"
},
[5400206]={
["desc"]="闪烁攻击提升<color=#3cff28>15%</color>。"
},
[5400207]={
["desc"]="<color=#acae16>Combo</color>:闪烁法师对<color=#3cff28>诅咒</color>敌人额外造成<color=#3cff28>100%</color>伤害。"
}
}
local config = {
data=skill_rogue,count=204
data=skill_rogue,count=244
}
return config

View File

@ -10,6 +10,9 @@ local hero = {
},
[14001]={
},
[14002]={
},
[22001]={
@ -22,6 +25,9 @@ local hero = {
},
[24001]={
},
[24002]={
},
[32001]={
@ -34,6 +40,9 @@ local hero = {
},
[34001]={
},
[34002]={
},
[42001]={
@ -46,6 +55,9 @@ local hero = {
},
[44001]={
},
[44002]={
},
[52001]={
@ -58,9 +70,12 @@ local hero = {
},
[54001]={
},
[54002]={
}
}
local config = {
data=hero,count=20
data=hero,count=25
}
return config

View File

@ -70,6 +70,9 @@ local item = {
},
[14001]={
},
[14002]={
},
[22001]={
@ -82,6 +85,9 @@ local item = {
},
[24001]={
},
[24002]={
},
[32001]={
@ -94,6 +100,9 @@ local item = {
},
[34001]={
},
[34002]={
},
[42001]={
@ -106,6 +115,9 @@ local item = {
},
[44001]={
},
[44002]={
},
[52001]={
@ -118,9 +130,12 @@ local item = {
},
[54001]={
},
[54002]={
}
}
local config = {
data=item,count=39
data=item,count=44
}
return config

View File

@ -10,6 +10,9 @@ local skill = {
},
[1400120]={
},
[1400220]={
},
[2200120]={
@ -22,6 +25,9 @@ local skill = {
},
[2400120]={
},
[2400220]={
},
[3200120]={
@ -34,6 +40,9 @@ local skill = {
},
[3400120]={
},
[3400220]={
},
[4200120]={
@ -46,6 +55,9 @@ local skill = {
},
[4400120]={
},
[4400220]={
},
[5200120]={
@ -58,9 +70,12 @@ local skill = {
},
[5400120]={
},
[5400220]={
}
}
local config = {
data=skill,count=20
data=skill,count=25
}
return config

View File

@ -226,6 +226,30 @@ local skill_rogue = {
},
[1400107]={
},
[1400200]={
},
[1400201]={
},
[1400202]={
},
[1400203]={
},
[1400204]={
},
[1400205]={
},
[1400206]={
},
[1400207]={
},
[2200100]={
@ -322,6 +346,30 @@ local skill_rogue = {
},
[2400107]={
},
[2400200]={
},
[2400201]={
},
[2400202]={
},
[2400203]={
},
[2400204]={
},
[2400205]={
},
[2400206]={
},
[2400207]={
},
[3200100]={
@ -418,6 +466,30 @@ local skill_rogue = {
},
[3400107]={
},
[3400200]={
},
[3400201]={
},
[3400202]={
},
[3400203]={
},
[3400204]={
},
[3400205]={
},
[3400206]={
},
[3400207]={
},
[4200100]={
@ -514,6 +586,30 @@ local skill_rogue = {
},
[4400107]={
},
[4400200]={
},
[4400201]={
},
[4400202]={
},
[4400203]={
},
[4400204]={
},
[4400205]={
},
[4400206]={
},
[4400207]={
},
[5200100]={
@ -610,9 +706,33 @@ local skill_rogue = {
},
[5400107]={
},
[5400200]={
},
[5400201]={
},
[5400202]={
},
[5400203]={
},
[5400204]={
},
[5400205]={
},
[5400206]={
},
[5400207]={
}
}
local config = {
data=skill_rogue,count=204
data=skill_rogue,count=244
}
return config

View File

@ -218,6 +218,7 @@ local localization_global =
["CHAPTER_DESC_2"] = "Mysterious Chest{0}/{1}",
["FIRST_PASS"] = "1st Clear",
["MAIN_CHAPTER"] = "Main Chapter",
["SMASH"] = "Smash",
}
return localization_global

View File

@ -14,6 +14,9 @@ local hero = {
[14001]={
["name"]="Alexander",
["desc"]="No one can withstand Alexander's heavy blow of steel, and if he bears it, then hit again."
},
[14002]={
},
[22001]={
["name"]="Blade Maid",
@ -30,6 +33,9 @@ local hero = {
[24001]={
["name"]="Claymore Kid",
["desc"]="I may not be able to hold the greatsword, but that doesn't stop me from blasting people with it."
},
[24002]={
},
[32001]={
["name"]="Onion",
@ -46,6 +52,9 @@ local hero = {
[34001]={
["name"]="Mulan",
["desc"]="You may die with this arrow."
},
[34002]={
},
[42001]={
["name"]="Iceheart",
@ -62,6 +71,9 @@ local hero = {
[44001]={
["name"]="Frost Enchantress",
["desc"]="Someone danced with a sword, and Frost Enchantress used the sword to make the enemy dance."
},
[44002]={
},
[52001]={
["name"]="Ninja Lun",
@ -78,9 +90,12 @@ local hero = {
[54001]={
["name"]="Butterfly",
["desc"]="The butterfly emerges from the cocoon, beautiful and tough, not only the heart is tough, but also the beautiful long knife in the hand."
},
[54002]={
}
}
local config = {
data=hero,count=20
data=hero,count=25
}
return config

View File

@ -90,6 +90,9 @@ local item = {
[14001]={
["name"]="Alexander Shard",
["desc"]="Alexander Shard, collect the shards to activate or upgrade."
},
[14002]={
},
[22001]={
["name"]="Blade Maid Shard",
@ -106,6 +109,9 @@ local item = {
[24001]={
["name"]="Claymore Kid Shard",
["desc"]="Claymore Kid Shard, collect the shards to activate or upgrade."
},
[24002]={
},
[32001]={
["name"]="Onion Shard",
@ -122,6 +128,9 @@ local item = {
[34001]={
["name"]="Mulan Shard",
["desc"]="Mulan Shard, collect the shards to activate or upgrade."
},
[34002]={
},
[42001]={
["name"]="Iceheart Shard",
@ -138,6 +147,9 @@ local item = {
[44001]={
["name"]="Frost Enchantress Shard",
["desc"]="Frost Enchantress Shard, collect the shards to activate or upgrade."
},
[44002]={
},
[52001]={
["name"]="Ninja Lun Shard",
@ -154,9 +166,12 @@ local item = {
[54001]={
["name"]="Butterfly Shard",
["desc"]="Butterfly Shard, collect the shards to activate or upgrade."
},
[54002]={
}
}
local config = {
data=item,count=39
data=item,count=44
}
return config

View File

@ -10,6 +10,9 @@ local skill = {
},
[1400120]={
["desc"]="Steel Strike: Change the color of 4 adjacent elements and deal massive skill damage multiple times."
},
[1400220]={
},
[2200120]={
["desc"]="Unsheathe: Deal one additional hit of skill damage."
@ -22,6 +25,9 @@ local skill = {
},
[2400120]={
["desc"]="Claymore Crush: Deal one additional hit of massive skill damage."
},
[2400220]={
},
[3200120]={
["desc"]="Lance Thrust: Deal one additional hit of skill damage."
@ -34,6 +40,9 @@ local skill = {
},
[3400120]={
["desc"]="Moon Chaser: Increase damage and deal significantly skill damage once."
},
[3400220]={
},
[4200120]={
["desc"]="Elemental Link: Clear <color=#3cff28>3</color> random elements and deal skill damage once."
@ -46,6 +55,9 @@ local skill = {
},
[4400120]={
["desc"]="Frost Sword Dance: Clear <color=#3cff28>3</color> random elements and deal skill damage once. Inflict Freeze for <color=#3cff28>1</color> turn."
},
[4400220]={
},
[5200120]={
["desc"]="Shield Art: Apply a shield to the team for <color=#3cff28>1</color> turn."
@ -58,9 +70,12 @@ local skill = {
},
[5400120]={
["desc"]="Butterfly Dance Slash: Deal multiple additional hits of skill damage."
},
[5400220]={
}
}
local config = {
data=skill,count=20
data=skill,count=25
}
return config

View File

@ -226,6 +226,30 @@ local skill_rogue = {
},
[1400107]={
["desc"]="For every <color=#3cff28>4</color> elements linked, Steel Strike launches 1 Fireball to deal damage."
},
[1400200]={
},
[1400201]={
},
[1400202]={
},
[1400203]={
},
[1400204]={
},
[1400205]={
},
[1400206]={
},
[1400207]={
},
[2200100]={
["desc"]="Unleashed Unsheathe: Deal one additional hit of skill damage."
@ -322,6 +346,30 @@ local skill_rogue = {
},
[2400107]={
["desc"]="Claymore Crush deals double damage."
},
[2400200]={
},
[2400201]={
},
[2400202]={
},
[2400203]={
},
[2400204]={
},
[2400205]={
},
[2400206]={
},
[2400207]={
},
[3200100]={
["desc"]="Unleashed Lance Thrust: Deal one additional hit of skill damage."
@ -418,6 +466,30 @@ local skill_rogue = {
},
[3400107]={
["desc"]="When Moonchaser links <color=#3cff28>4</color> or more elements, it will be cast by <color=#3cff28>2</color> times."
},
[3400200]={
},
[3400201]={
},
[3400202]={
},
[3400203]={
},
[3400204]={
},
[3400205]={
},
[3400206]={
},
[3400207]={
},
[4200100]={
["desc"]="Unleashed Elemental Link: Clear <color=#3cff28>3</color> random elements and deal skill damage once."
@ -514,6 +586,30 @@ local skill_rogue = {
},
[4400107]={
["desc"]="The chance of Frozen inflicted by Frost Sword Dance increases to <color=#3cff28>70%</color>."
},
[4400200]={
},
[4400201]={
},
[4400202]={
},
[4400203]={
},
[4400204]={
},
[4400205]={
},
[4400206]={
},
[4400207]={
},
[5200100]={
["desc"]="Unleashed Shield Art: Apply a shield to the team for <color=#3cff28>1</color> turn."
@ -610,9 +706,33 @@ local skill_rogue = {
},
[5400107]={
["desc"]="Butterfly Dance Slash will increase Butterfly's skill energy by <color=#3cff28>2</color> points after killing an enemy."
},
[5400200]={
},
[5400201]={
},
[5400202]={
},
[5400203]={
},
[5400204]={
},
[5400205]={
},
[5400206]={
},
[5400207]={
}
}
local config = {
data=skill_rogue,count=204
data=skill_rogue,count=244
}
return config

View File

@ -10,6 +10,9 @@ local hero = {
},
[14001]={
},
[14002]={
},
[22001]={
@ -22,6 +25,9 @@ local hero = {
},
[24001]={
},
[24002]={
},
[32001]={
@ -34,6 +40,9 @@ local hero = {
},
[34001]={
},
[34002]={
},
[42001]={
@ -46,6 +55,9 @@ local hero = {
},
[44001]={
},
[44002]={
},
[52001]={
@ -58,9 +70,12 @@ local hero = {
},
[54001]={
},
[54002]={
}
}
local config = {
data=hero,count=20
data=hero,count=25
}
return config

View File

@ -70,6 +70,9 @@ local item = {
},
[14001]={
},
[14002]={
},
[22001]={
@ -82,6 +85,9 @@ local item = {
},
[24001]={
},
[24002]={
},
[32001]={
@ -94,6 +100,9 @@ local item = {
},
[34001]={
},
[34002]={
},
[42001]={
@ -106,6 +115,9 @@ local item = {
},
[44001]={
},
[44002]={
},
[52001]={
@ -118,9 +130,12 @@ local item = {
},
[54001]={
},
[54002]={
}
}
local config = {
data=item,count=39
data=item,count=44
}
return config

View File

@ -10,6 +10,9 @@ local skill = {
},
[1400120]={
},
[1400220]={
},
[2200120]={
@ -22,6 +25,9 @@ local skill = {
},
[2400120]={
},
[2400220]={
},
[3200120]={
@ -34,6 +40,9 @@ local skill = {
},
[3400120]={
},
[3400220]={
},
[4200120]={
@ -46,6 +55,9 @@ local skill = {
},
[4400120]={
},
[4400220]={
},
[5200120]={
@ -58,9 +70,12 @@ local skill = {
},
[5400120]={
},
[5400220]={
}
}
local config = {
data=skill,count=20
data=skill,count=25
}
return config

View File

@ -226,6 +226,30 @@ local skill_rogue = {
},
[1400107]={
},
[1400200]={
},
[1400201]={
},
[1400202]={
},
[1400203]={
},
[1400204]={
},
[1400205]={
},
[1400206]={
},
[1400207]={
},
[2200100]={
@ -322,6 +346,30 @@ local skill_rogue = {
},
[2400107]={
},
[2400200]={
},
[2400201]={
},
[2400202]={
},
[2400203]={
},
[2400204]={
},
[2400205]={
},
[2400206]={
},
[2400207]={
},
[3200100]={
@ -418,6 +466,30 @@ local skill_rogue = {
},
[3400107]={
},
[3400200]={
},
[3400201]={
},
[3400202]={
},
[3400203]={
},
[3400204]={
},
[3400205]={
},
[3400206]={
},
[3400207]={
},
[4200100]={
@ -514,6 +586,30 @@ local skill_rogue = {
},
[4400107]={
},
[4400200]={
},
[4400201]={
},
[4400202]={
},
[4400203]={
},
[4400204]={
},
[4400205]={
},
[4400206]={
},
[4400207]={
},
[5200100]={
@ -610,9 +706,33 @@ local skill_rogue = {
},
[5400107]={
},
[5400200]={
},
[5400201]={
},
[5400202]={
},
[5400203]={
},
[5400204]={
},
[5400205]={
},
[5400206]={
},
[5400207]={
}
}
local config = {
data=skill_rogue,count=204
data=skill_rogue,count=244
}
return config

View File

@ -10,6 +10,9 @@ local hero = {
},
[14001]={
},
[14002]={
},
[22001]={
@ -22,6 +25,9 @@ local hero = {
},
[24001]={
},
[24002]={
},
[32001]={
@ -34,6 +40,9 @@ local hero = {
},
[34001]={
},
[34002]={
},
[42001]={
@ -46,6 +55,9 @@ local hero = {
},
[44001]={
},
[44002]={
},
[52001]={
@ -58,9 +70,12 @@ local hero = {
},
[54001]={
},
[54002]={
}
}
local config = {
data=hero,count=20
data=hero,count=25
}
return config

View File

@ -70,6 +70,9 @@ local item = {
},
[14001]={
},
[14002]={
},
[22001]={
@ -82,6 +85,9 @@ local item = {
},
[24001]={
},
[24002]={
},
[32001]={
@ -94,6 +100,9 @@ local item = {
},
[34001]={
},
[34002]={
},
[42001]={
@ -106,6 +115,9 @@ local item = {
},
[44001]={
},
[44002]={
},
[52001]={
@ -118,9 +130,12 @@ local item = {
},
[54001]={
},
[54002]={
}
}
local config = {
data=item,count=39
data=item,count=44
}
return config

View File

@ -10,6 +10,9 @@ local skill = {
},
[1400120]={
},
[1400220]={
},
[2200120]={
@ -22,6 +25,9 @@ local skill = {
},
[2400120]={
},
[2400220]={
},
[3200120]={
@ -34,6 +40,9 @@ local skill = {
},
[3400120]={
},
[3400220]={
},
[4200120]={
@ -46,6 +55,9 @@ local skill = {
},
[4400120]={
},
[4400220]={
},
[5200120]={
@ -58,9 +70,12 @@ local skill = {
},
[5400120]={
},
[5400220]={
}
}
local config = {
data=skill,count=20
data=skill,count=25
}
return config

View File

@ -226,6 +226,30 @@ local skill_rogue = {
},
[1400107]={
},
[1400200]={
},
[1400201]={
},
[1400202]={
},
[1400203]={
},
[1400204]={
},
[1400205]={
},
[1400206]={
},
[1400207]={
},
[2200100]={
@ -322,6 +346,30 @@ local skill_rogue = {
},
[2400107]={
},
[2400200]={
},
[2400201]={
},
[2400202]={
},
[2400203]={
},
[2400204]={
},
[2400205]={
},
[2400206]={
},
[2400207]={
},
[3200100]={
@ -418,6 +466,30 @@ local skill_rogue = {
},
[3400107]={
},
[3400200]={
},
[3400201]={
},
[3400202]={
},
[3400203]={
},
[3400204]={
},
[3400205]={
},
[3400206]={
},
[3400207]={
},
[4200100]={
@ -514,6 +586,30 @@ local skill_rogue = {
},
[4400107]={
},
[4400200]={
},
[4400201]={
},
[4400202]={
},
[4400203]={
},
[4400204]={
},
[4400205]={
},
[4400206]={
},
[4400207]={
},
[5200100]={
@ -610,9 +706,33 @@ local skill_rogue = {
},
[5400107]={
},
[5400200]={
},
[5400201]={
},
[5400202]={
},
[5400203]={
},
[5400204]={
},
[5400205]={
},
[5400206]={
},
[5400207]={
}
}
local config = {
data=skill_rogue,count=204
data=skill_rogue,count=244
}
return config

View File

@ -10,6 +10,9 @@ local hero = {
},
[14001]={
},
[14002]={
},
[22001]={
@ -22,6 +25,9 @@ local hero = {
},
[24001]={
},
[24002]={
},
[32001]={
@ -34,6 +40,9 @@ local hero = {
},
[34001]={
},
[34002]={
},
[42001]={
@ -46,6 +55,9 @@ local hero = {
},
[44001]={
},
[44002]={
},
[52001]={
@ -58,9 +70,12 @@ local hero = {
},
[54001]={
},
[54002]={
}
}
local config = {
data=hero,count=20
data=hero,count=25
}
return config

View File

@ -70,6 +70,9 @@ local item = {
},
[14001]={
},
[14002]={
},
[22001]={
@ -82,6 +85,9 @@ local item = {
},
[24001]={
},
[24002]={
},
[32001]={
@ -94,6 +100,9 @@ local item = {
},
[34001]={
},
[34002]={
},
[42001]={
@ -106,6 +115,9 @@ local item = {
},
[44001]={
},
[44002]={
},
[52001]={
@ -118,9 +130,12 @@ local item = {
},
[54001]={
},
[54002]={
}
}
local config = {
data=item,count=39
data=item,count=44
}
return config

View File

@ -10,6 +10,9 @@ local skill = {
},
[1400120]={
},
[1400220]={
},
[2200120]={
@ -22,6 +25,9 @@ local skill = {
},
[2400120]={
},
[2400220]={
},
[3200120]={
@ -34,6 +40,9 @@ local skill = {
},
[3400120]={
},
[3400220]={
},
[4200120]={
@ -46,6 +55,9 @@ local skill = {
},
[4400120]={
},
[4400220]={
},
[5200120]={
@ -58,9 +70,12 @@ local skill = {
},
[5400120]={
},
[5400220]={
}
}
local config = {
data=skill,count=20
data=skill,count=25
}
return config

View File

@ -226,6 +226,30 @@ local skill_rogue = {
},
[1400107]={
},
[1400200]={
},
[1400201]={
},
[1400202]={
},
[1400203]={
},
[1400204]={
},
[1400205]={
},
[1400206]={
},
[1400207]={
},
[2200100]={
@ -322,6 +346,30 @@ local skill_rogue = {
},
[2400107]={
},
[2400200]={
},
[2400201]={
},
[2400202]={
},
[2400203]={
},
[2400204]={
},
[2400205]={
},
[2400206]={
},
[2400207]={
},
[3200100]={
@ -418,6 +466,30 @@ local skill_rogue = {
},
[3400107]={
},
[3400200]={
},
[3400201]={
},
[3400202]={
},
[3400203]={
},
[3400204]={
},
[3400205]={
},
[3400206]={
},
[3400207]={
},
[4200100]={
@ -514,6 +586,30 @@ local skill_rogue = {
},
[4400107]={
},
[4400200]={
},
[4400201]={
},
[4400202]={
},
[4400203]={
},
[4400204]={
},
[4400205]={
},
[4400206]={
},
[4400207]={
},
[5200100]={
@ -610,9 +706,33 @@ local skill_rogue = {
},
[5400107]={
},
[5400200]={
},
[5400201]={
},
[5400202]={
},
[5400203]={
},
[5400204]={
},
[5400205]={
},
[5400206]={
},
[5400207]={
}
}
local config = {
data=skill_rogue,count=204
data=skill_rogue,count=244
}
return config

View File

@ -10,6 +10,9 @@ local hero = {
},
[14001]={
},
[14002]={
},
[22001]={
@ -22,6 +25,9 @@ local hero = {
},
[24001]={
},
[24002]={
},
[32001]={
@ -34,6 +40,9 @@ local hero = {
},
[34001]={
},
[34002]={
},
[42001]={
@ -46,6 +55,9 @@ local hero = {
},
[44001]={
},
[44002]={
},
[52001]={
@ -58,9 +70,12 @@ local hero = {
},
[54001]={
},
[54002]={
}
}
local config = {
data=hero,count=20
data=hero,count=25
}
return config

View File

@ -70,6 +70,9 @@ local item = {
},
[14001]={
},
[14002]={
},
[22001]={
@ -82,6 +85,9 @@ local item = {
},
[24001]={
},
[24002]={
},
[32001]={
@ -94,6 +100,9 @@ local item = {
},
[34001]={
},
[34002]={
},
[42001]={
@ -106,6 +115,9 @@ local item = {
},
[44001]={
},
[44002]={
},
[52001]={
@ -118,9 +130,12 @@ local item = {
},
[54001]={
},
[54002]={
}
}
local config = {
data=item,count=39
data=item,count=44
}
return config

View File

@ -10,6 +10,9 @@ local skill = {
},
[1400120]={
},
[1400220]={
},
[2200120]={
@ -22,6 +25,9 @@ local skill = {
},
[2400120]={
},
[2400220]={
},
[3200120]={
@ -34,6 +40,9 @@ local skill = {
},
[3400120]={
},
[3400220]={
},
[4200120]={
@ -46,6 +55,9 @@ local skill = {
},
[4400120]={
},
[4400220]={
},
[5200120]={
@ -58,9 +70,12 @@ local skill = {
},
[5400120]={
},
[5400220]={
}
}
local config = {
data=skill,count=20
data=skill,count=25
}
return config

View File

@ -226,6 +226,30 @@ local skill_rogue = {
},
[1400107]={
},
[1400200]={
},
[1400201]={
},
[1400202]={
},
[1400203]={
},
[1400204]={
},
[1400205]={
},
[1400206]={
},
[1400207]={
},
[2200100]={
@ -322,6 +346,30 @@ local skill_rogue = {
},
[2400107]={
},
[2400200]={
},
[2400201]={
},
[2400202]={
},
[2400203]={
},
[2400204]={
},
[2400205]={
},
[2400206]={
},
[2400207]={
},
[3200100]={
@ -418,6 +466,30 @@ local skill_rogue = {
},
[3400107]={
},
[3400200]={
},
[3400201]={
},
[3400202]={
},
[3400203]={
},
[3400204]={
},
[3400205]={
},
[3400206]={
},
[3400207]={
},
[4200100]={
@ -514,6 +586,30 @@ local skill_rogue = {
},
[4400107]={
},
[4400200]={
},
[4400201]={
},
[4400202]={
},
[4400203]={
},
[4400204]={
},
[4400205]={
},
[4400206]={
},
[4400207]={
},
[5200100]={
@ -610,9 +706,33 @@ local skill_rogue = {
},
[5400107]={
},
[5400200]={
},
[5400201]={
},
[5400202]={
},
[5400203]={
},
[5400204]={
},
[5400205]={
},
[5400206]={
},
[5400207]={
}
}
local config = {
data=skill_rogue,count=204
data=skill_rogue,count=244
}
return config

View File

@ -10,6 +10,9 @@ local hero = {
},
[14001]={
},
[14002]={
},
[22001]={
@ -22,6 +25,9 @@ local hero = {
},
[24001]={
},
[24002]={
},
[32001]={
@ -34,6 +40,9 @@ local hero = {
},
[34001]={
},
[34002]={
},
[42001]={
@ -46,6 +55,9 @@ local hero = {
},
[44001]={
},
[44002]={
},
[52001]={
@ -58,9 +70,12 @@ local hero = {
},
[54001]={
},
[54002]={
}
}
local config = {
data=hero,count=20
data=hero,count=25
}
return config

View File

@ -69,6 +69,9 @@ local item = {
},
[14001]={
},
[14002]={
},
[22001]={
@ -81,6 +84,9 @@ local item = {
},
[24001]={
},
[24002]={
},
[32001]={
@ -93,6 +99,9 @@ local item = {
},
[34001]={
},
[34002]={
},
[42001]={
@ -105,6 +114,9 @@ local item = {
},
[44001]={
},
[44002]={
},
[52001]={
@ -117,9 +129,12 @@ local item = {
},
[54001]={
},
[54002]={
}
}
local config = {
data=item,count=39
data=item,count=44
}
return config

View File

@ -10,6 +10,9 @@ local skill = {
},
[1400120]={
},
[1400220]={
},
[2200120]={
@ -22,6 +25,9 @@ local skill = {
},
[2400120]={
},
[2400220]={
},
[3200120]={
@ -34,6 +40,9 @@ local skill = {
},
[3400120]={
},
[3400220]={
},
[4200120]={
@ -46,6 +55,9 @@ local skill = {
},
[4400120]={
},
[4400220]={
},
[5200120]={
@ -58,9 +70,12 @@ local skill = {
},
[5400120]={
},
[5400220]={
}
}
local config = {
data=skill,count=20
data=skill,count=25
}
return config

View File

@ -226,6 +226,30 @@ local skill_rogue = {
},
[1400107]={
},
[1400200]={
},
[1400201]={
},
[1400202]={
},
[1400203]={
},
[1400204]={
},
[1400205]={
},
[1400206]={
},
[1400207]={
},
[2200100]={
@ -322,6 +346,30 @@ local skill_rogue = {
},
[2400107]={
},
[2400200]={
},
[2400201]={
},
[2400202]={
},
[2400203]={
},
[2400204]={
},
[2400205]={
},
[2400206]={
},
[2400207]={
},
[3200100]={
@ -418,6 +466,30 @@ local skill_rogue = {
},
[3400107]={
},
[3400200]={
},
[3400201]={
},
[3400202]={
},
[3400203]={
},
[3400204]={
},
[3400205]={
},
[3400206]={
},
[3400207]={
},
[4200100]={
@ -514,6 +586,30 @@ local skill_rogue = {
},
[4400107]={
},
[4400200]={
},
[4400201]={
},
[4400202]={
},
[4400203]={
},
[4400204]={
},
[4400205]={
},
[4400206]={
},
[4400207]={
},
[5200100]={
@ -610,9 +706,33 @@ local skill_rogue = {
},
[5400107]={
},
[5400200]={
},
[5400201]={
},
[5400202]={
},
[5400203]={
},
[5400204]={
},
[5400205]={
},
[5400206]={
},
[5400207]={
}
}
local config = {
data=skill_rogue,count=204
data=skill_rogue,count=244
}
return config

View File

@ -10,6 +10,9 @@ local hero = {
},
[14001]={
},
[14002]={
},
[22001]={
@ -22,6 +25,9 @@ local hero = {
},
[24001]={
},
[24002]={
},
[32001]={
@ -34,6 +40,9 @@ local hero = {
},
[34001]={
},
[34002]={
},
[42001]={
@ -46,6 +55,9 @@ local hero = {
},
[44001]={
},
[44002]={
},
[52001]={
@ -58,9 +70,12 @@ local hero = {
},
[54001]={
},
[54002]={
}
}
local config = {
data=hero,count=20
data=hero,count=25
}
return config

View File

@ -67,6 +67,9 @@ local item = {
},
[14001]={
},
[14002]={
},
[22001]={
@ -79,6 +82,9 @@ local item = {
},
[24001]={
},
[24002]={
},
[32001]={
@ -91,6 +97,9 @@ local item = {
},
[34001]={
},
[34002]={
},
[42001]={
@ -103,6 +112,9 @@ local item = {
},
[44001]={
},
[44002]={
},
[52001]={
@ -115,9 +127,12 @@ local item = {
},
[54001]={
},
[54002]={
}
}
local config = {
data=item,count=39
data=item,count=44
}
return config

View File

@ -10,6 +10,9 @@ local skill = {
},
[1400120]={
},
[1400220]={
},
[2200120]={
@ -22,6 +25,9 @@ local skill = {
},
[2400120]={
},
[2400220]={
},
[3200120]={
@ -34,6 +40,9 @@ local skill = {
},
[3400120]={
},
[3400220]={
},
[4200120]={
@ -46,6 +55,9 @@ local skill = {
},
[4400120]={
},
[4400220]={
},
[5200120]={
@ -58,9 +70,12 @@ local skill = {
},
[5400120]={
},
[5400220]={
}
}
local config = {
data=skill,count=20
data=skill,count=25
}
return config

View File

@ -226,6 +226,30 @@ local skill_rogue = {
},
[1400107]={
},
[1400200]={
},
[1400201]={
},
[1400202]={
},
[1400203]={
},
[1400204]={
},
[1400205]={
},
[1400206]={
},
[1400207]={
},
[2200100]={
@ -322,6 +346,30 @@ local skill_rogue = {
},
[2400107]={
},
[2400200]={
},
[2400201]={
},
[2400202]={
},
[2400203]={
},
[2400204]={
},
[2400205]={
},
[2400206]={
},
[2400207]={
},
[3200100]={
@ -418,6 +466,30 @@ local skill_rogue = {
},
[3400107]={
},
[3400200]={
},
[3400201]={
},
[3400202]={
},
[3400203]={
},
[3400204]={
},
[3400205]={
},
[3400206]={
},
[3400207]={
},
[4200100]={
@ -514,6 +586,30 @@ local skill_rogue = {
},
[4400107]={
},
[4400200]={
},
[4400201]={
},
[4400202]={
},
[4400203]={
},
[4400204]={
},
[4400205]={
},
[4400206]={
},
[4400207]={
},
[5200100]={
@ -610,9 +706,33 @@ local skill_rogue = {
},
[5400107]={
},
[5400200]={
},
[5400201]={
},
[5400202]={
},
[5400203]={
},
[5400204]={
},
[5400205]={
},
[5400206]={
},
[5400207]={
}
}
local config = {
data=skill_rogue,count=204
data=skill_rogue,count=244
}
return config

View File

@ -10,6 +10,9 @@ local hero = {
},
[14001]={
},
[14002]={
},
[22001]={
@ -22,6 +25,9 @@ local hero = {
},
[24001]={
},
[24002]={
},
[32001]={
@ -34,6 +40,9 @@ local hero = {
},
[34001]={
},
[34002]={
},
[42001]={
@ -46,6 +55,9 @@ local hero = {
},
[44001]={
},
[44002]={
},
[52001]={
@ -58,9 +70,12 @@ local hero = {
},
[54001]={
},
[54002]={
}
}
local config = {
data=hero,count=20
data=hero,count=25
}
return config

View File

@ -67,6 +67,9 @@ local item = {
},
[14001]={
},
[14002]={
},
[22001]={
@ -79,6 +82,9 @@ local item = {
},
[24001]={
},
[24002]={
},
[32001]={
@ -91,6 +97,9 @@ local item = {
},
[34001]={
},
[34002]={
},
[42001]={
@ -103,6 +112,9 @@ local item = {
},
[44001]={
},
[44002]={
},
[52001]={
@ -115,9 +127,12 @@ local item = {
},
[54001]={
},
[54002]={
}
}
local config = {
data=item,count=39
data=item,count=44
}
return config

View File

@ -10,6 +10,9 @@ local skill = {
},
[1400120]={
},
[1400220]={
},
[2200120]={
@ -22,6 +25,9 @@ local skill = {
},
[2400120]={
},
[2400220]={
},
[3200120]={
@ -34,6 +40,9 @@ local skill = {
},
[3400120]={
},
[3400220]={
},
[4200120]={
@ -46,6 +55,9 @@ local skill = {
},
[4400120]={
},
[4400220]={
},
[5200120]={
@ -58,9 +70,12 @@ local skill = {
},
[5400120]={
},
[5400220]={
}
}
local config = {
data=skill,count=20
data=skill,count=25
}
return config

View File

@ -226,6 +226,30 @@ local skill_rogue = {
},
[1400107]={
},
[1400200]={
},
[1400201]={
},
[1400202]={
},
[1400203]={
},
[1400204]={
},
[1400205]={
},
[1400206]={
},
[1400207]={
},
[2200100]={
@ -322,6 +346,30 @@ local skill_rogue = {
},
[2400107]={
},
[2400200]={
},
[2400201]={
},
[2400202]={
},
[2400203]={
},
[2400204]={
},
[2400205]={
},
[2400206]={
},
[2400207]={
},
[3200100]={
@ -418,6 +466,30 @@ local skill_rogue = {
},
[3400107]={
},
[3400200]={
},
[3400201]={
},
[3400202]={
},
[3400203]={
},
[3400204]={
},
[3400205]={
},
[3400206]={
},
[3400207]={
},
[4200100]={
@ -514,6 +586,30 @@ local skill_rogue = {
},
[4400107]={
},
[4400200]={
},
[4400201]={
},
[4400202]={
},
[4400203]={
},
[4400204]={
},
[4400205]={
},
[4400206]={
},
[4400207]={
},
[5200100]={
@ -610,9 +706,33 @@ local skill_rogue = {
},
[5400107]={
},
[5400200]={
},
[5400201]={
},
[5400202]={
},
[5400203]={
},
[5400204]={
},
[5400205]={
},
[5400206]={
},
[5400207]={
}
}
local config = {
data=skill_rogue,count=204
data=skill_rogue,count=244
}
return config

View File

@ -10,6 +10,9 @@ local hero = {
},
[14001]={
},
[14002]={
},
[22001]={
@ -22,6 +25,9 @@ local hero = {
},
[24001]={
},
[24002]={
},
[32001]={
@ -34,6 +40,9 @@ local hero = {
},
[34001]={
},
[34002]={
},
[42001]={
@ -46,6 +55,9 @@ local hero = {
},
[44001]={
},
[44002]={
},
[52001]={
@ -58,9 +70,12 @@ local hero = {
},
[54001]={
},
[54002]={
}
}
local config = {
data=hero,count=20
data=hero,count=25
}
return config

View File

@ -70,6 +70,9 @@ local item = {
},
[14001]={
},
[14002]={
},
[22001]={
@ -82,6 +85,9 @@ local item = {
},
[24001]={
},
[24002]={
},
[32001]={
@ -94,6 +100,9 @@ local item = {
},
[34001]={
},
[34002]={
},
[42001]={
@ -106,6 +115,9 @@ local item = {
},
[44001]={
},
[44002]={
},
[52001]={
@ -118,9 +130,12 @@ local item = {
},
[54001]={
},
[54002]={
}
}
local config = {
data=item,count=39
data=item,count=44
}
return config

View File

@ -10,6 +10,9 @@ local skill = {
},
[1400120]={
},
[1400220]={
},
[2200120]={
@ -22,6 +25,9 @@ local skill = {
},
[2400120]={
},
[2400220]={
},
[3200120]={
@ -34,6 +40,9 @@ local skill = {
},
[3400120]={
},
[3400220]={
},
[4200120]={
@ -46,6 +55,9 @@ local skill = {
},
[4400120]={
},
[4400220]={
},
[5200120]={
@ -58,9 +70,12 @@ local skill = {
},
[5400120]={
},
[5400220]={
}
}
local config = {
data=skill,count=20
data=skill,count=25
}
return config

View File

@ -226,6 +226,30 @@ local skill_rogue = {
},
[1400107]={
},
[1400200]={
},
[1400201]={
},
[1400202]={
},
[1400203]={
},
[1400204]={
},
[1400205]={
},
[1400206]={
},
[1400207]={
},
[2200100]={
@ -322,6 +346,30 @@ local skill_rogue = {
},
[2400107]={
},
[2400200]={
},
[2400201]={
},
[2400202]={
},
[2400203]={
},
[2400204]={
},
[2400205]={
},
[2400206]={
},
[2400207]={
},
[3200100]={
@ -418,6 +466,30 @@ local skill_rogue = {
},
[3400107]={
},
[3400200]={
},
[3400201]={
},
[3400202]={
},
[3400203]={
},
[3400204]={
},
[3400205]={
},
[3400206]={
},
[3400207]={
},
[4200100]={
@ -514,6 +586,30 @@ local skill_rogue = {
},
[4400107]={
},
[4400200]={
},
[4400201]={
},
[4400202]={
},
[4400203]={
},
[4400204]={
},
[4400205]={
},
[4400206]={
},
[4400207]={
},
[5200100]={
@ -610,9 +706,33 @@ local skill_rogue = {
},
[5400107]={
},
[5400200]={
},
[5400201]={
},
[5400202]={
},
[5400203]={
},
[5400204]={
},
[5400205]={
},
[5400206]={
},
[5400207]={
}
}
local config = {
data=skill_rogue,count=204
data=skill_rogue,count=244
}
return config

View File

@ -217,6 +217,7 @@ local localization_global =
["PAY_FAILED_DESC_1"] = "訂單異常,請聯繫客服處理",
["CHAPTER_DESC_2"] = "神祕寶箱{0}/{1}",
["MAIN_CHAPTER"] = "主線章節",
["SMASH"] = "掃蕩",
}
return localization_global

View File

@ -14,6 +14,9 @@ local hero = {
[14001]={
["name"]="亞歷山大",
["desc"]="沒人能抗住亞歷山大的鋼鐵重擊,如果扛住了,那就再來一擊。"
},
[14002]={
},
[22001]={
["name"]="刀妹",
@ -30,6 +33,9 @@ local hero = {
[24001]={
["name"]="巨劍魔童",
["desc"]="我可能拿不起巨劍,但不妨礙我用它轟人。"
},
[24002]={
},
[32001]={
["name"]="洋蔥頭",
@ -46,6 +52,9 @@ local hero = {
[34001]={
["name"]="木蘭",
["desc"]="這一箭下去你可能會死。"
},
[34002]={
},
[42001]={
["name"]="冰心",
@ -62,6 +71,9 @@ local hero = {
[44001]={
["name"]="寒冰妖姬",
["desc"]="有人持劍起舞,寒冰妖姬用劍讓敵人起舞。"
},
[44002]={
},
[52001]={
["name"]="忍者倫",
@ -78,9 +90,12 @@ local hero = {
[54001]={
["name"]="胡蝶",
["desc"]="蝴蝶破繭而出,美麗又堅韌,堅韌的不止是內心,還有手裏同樣美麗的長刀。"
},
[54002]={
}
}
local config = {
data=hero,count=20
data=hero,count=25
}
return config

View File

@ -90,6 +90,9 @@ local item = {
[14001]={
["name"]="亞歷山大碎片",
["desc"]="亞歷山大碎片,湊齊可激活或升級。"
},
[14002]={
},
[22001]={
["name"]="刀妹碎片",
@ -106,6 +109,9 @@ local item = {
[24001]={
["name"]="巨劍魔童碎片",
["desc"]="巨劍魔童碎片,湊齊可激活或升級。"
},
[24002]={
},
[32001]={
["name"]="洋蔥頭碎片",
@ -122,6 +128,9 @@ local item = {
[34001]={
["name"]="木蘭碎片",
["desc"]="木蘭碎片,湊齊可激活或升級。"
},
[34002]={
},
[42001]={
["name"]="冰心碎片",
@ -138,6 +147,9 @@ local item = {
[44001]={
["name"]="寒冰妖姬碎片",
["desc"]="寒冰妖姬碎片,湊齊可激活或升級。"
},
[44002]={
},
[52001]={
["name"]="忍者倫碎片",
@ -154,9 +166,12 @@ local item = {
[54001]={
["name"]="胡蝶碎片",
["desc"]="蝴蝶碎片,湊齊可激活或升級。"
},
[54002]={
}
}
local config = {
data=item,count=39
data=item,count=44
}
return config

View File

@ -10,6 +10,9 @@ local skill = {
},
[1400120]={
["desc"]="鋼鐵重擊:將周圍<color=#3cff28>4</color>個元素變色,並造成數次大量技能傷害。"
},
[1400220]={
},
[2200120]={
["desc"]="拔刀斬:額外造成一次技能傷害。"
@ -22,6 +25,9 @@ local skill = {
},
[2400120]={
["desc"]="巨劍轟擊:額外造成一次巨大技能傷害。"
},
[2400220]={
},
[3200120]={
["desc"]="長槍突刺:額外造成一次技能傷害。"
@ -34,6 +40,9 @@ local skill = {
},
[3400120]={
["desc"]="流星追月:使用後本次傷害提高,並造成一次巨大技能傷害。"
},
[3400220]={
},
[4200120]={
["desc"]="元素連接:隨機消除<color=#3cff28>3</color>個元素,並造成一次技能傷害。"
@ -46,6 +55,9 @@ local skill = {
},
[4400120]={
["desc"]="冰霜劍舞:隨機消除<color=#3cff28>3</color>個元素,並造成一次技能傷害,附帶冰霜效果,<color=#3cff28>1</color>回合。"
},
[4400220]={
},
[5200120]={
["desc"]="護盾術:賦予團隊一個護盾,<color=#3cff28>1</color>回合。"
@ -58,9 +70,12 @@ local skill = {
},
[5400120]={
["desc"]="蝶舞斬:額外造成多次技能傷害。"
},
[5400220]={
}
}
local config = {
data=skill,count=20
data=skill,count=25
}
return config

View File

@ -226,6 +226,30 @@ local skill_rogue = {
},
[1400107]={
["desc"]="鋼鐵重擊每連接<color=#3cff28>4</color>個元素則額外發射1個火球造成傷害。"
},
[1400200]={
},
[1400201]={
},
[1400202]={
},
[1400203]={
},
[1400204]={
},
[1400205]={
},
[1400206]={
},
[1400207]={
},
[2200100]={
["desc"]="解鎖拔刀斬:額外造成一次技能傷害。"
@ -322,6 +346,30 @@ local skill_rogue = {
},
[2400107]={
["desc"]="巨劍轟擊將造成雙倍傷害。"
},
[2400200]={
},
[2400201]={
},
[2400202]={
},
[2400203]={
},
[2400204]={
},
[2400205]={
},
[2400206]={
},
[2400207]={
},
[3200100]={
["desc"]="解鎖長槍突刺:額外造成一次技能傷害。"
@ -418,6 +466,30 @@ local skill_rogue = {
},
[3400107]={
["desc"]="流星追月連接<color=#3cff28>4</color>個元素或以上時,流星追月攻擊將釋放<color=#3cff28>2</color>次。"
},
[3400200]={
},
[3400201]={
},
[3400202]={
},
[3400203]={
},
[3400204]={
},
[3400205]={
},
[3400206]={
},
[3400207]={
},
[4200100]={
["desc"]="解鎖元素連接:隨機消除<color=#3cff28>3</color>個元素,並造成一次技能傷害。"
@ -514,6 +586,30 @@ local skill_rogue = {
},
[4400107]={
["desc"]="冰霜劍舞附帶凍結效果機率提高到<color=#3cff28>70%</color>。"
},
[4400200]={
},
[4400201]={
},
[4400202]={
},
[4400203]={
},
[4400204]={
},
[4400205]={
},
[4400206]={
},
[4400207]={
},
[5200100]={
["desc"]="解鎖護盾術:為團隊增加一個護盾,<color=#3cff28>1</color>回合。"
@ -610,9 +706,33 @@ local skill_rogue = {
},
[5400107]={
["desc"]="蝶舞斬擊殺敵人後將增加蝴蝶技能能量<color=#3cff28>2</color>點。"
},
[5400200]={
},
[5400201]={
},
[5400202]={
},
[5400203]={
},
[5400204]={
},
[5400205]={
},
[5400206]={
},
[5400207]={
}
}
local config = {
data=skill_rogue,count=204
data=skill_rogue,count=244
}
return config

View File

@ -1684,15 +1684,6 @@ function GFunc.recycleTempMap()
end
end
-- 获取table长度
function GFunc.getTableLength(table)
local length = 0
for k, v in pairs(table) do
length = length + 1
end
return length
end
--[[
tabLe只速 Lua error
locaL readOnlyCfg = GFunc.readOnlyTab(cfg) return readOnlyCfg

View File

@ -77,6 +77,8 @@ BattleConst.TIME_SCALE = {
BattleConst.BATTLE_TYPE = {
STAGE = "1",
DAILY_CHALLENGE = "2",
DUNGEON_GOLD = "3",
DUNGEON_SHARDS = "4",
}
BattleConst.TYPEOF_LUA_COMP = {

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 120307307c2846141b488d71d9d0a672
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,206 @@
local DungeonManager = class("DungeonManager", BaseModule)
-- 外部接口--------------------------------------------------------------------------
-- 挑战
function DungeonManager:reqChallenge(module, id)
if module == ModuleManager.MODULE_KEY.DUNGEON_GOLD then
self:reqChallengeGold(id)
elseif module == ModuleManager.MODULE_KEY.DUNGEON_SHARDS then
self:reqChallengeShards(id)
end
end
-- 结算
function DungeonManager:reqEndChallenge(module, id)
if module == ModuleManager.MODULE_KEY.DUNGEON_GOLD then
self:reqEndChallengeGold(id)
elseif module == ModuleManager.MODULE_KEY.DUNGEON_SHARDS then
self:reqEndChallengeShards(id)
end
end
-- 扫荡
function DungeonManager:reqSweep(module, id)
if module == ModuleManager.MODULE_KEY.DUNGEON_GOLD then
self:reqSweepGold(id)
elseif module == ModuleManager.MODULE_KEY.DUNGEON_SHARDS then
self:reqSweepShards(id)
end
end
-- 内部接口--------------------------------------------------------------------------
function DungeonManager:checkDayChange()
end
-- 请求挑战金币副本
function DungeonManager:reqChallengeGold(id)
local moduleKey = ModuleManager.MODULE_KEY.DUNGEON_GOLD
-- 判断次数
if not DataManager.DungeonData:getRemainTimes(moduleKey) > 0 then
GFunc.showToast(I18N:getGlobalText(I18N.GlobalConst.DAILY_CHALLENGE_DESC_1))
return
end
-- 判断体力
if not DataManager.DailyChallengeData:isEnoughHp(moduleKey) then
GFunc.showItemNotEnough(GConst.ItemConst.ITEM_ID_VIT)
ModuleManager.CommerceManager:showBuyVitUI()
return
end
if not DataManager.DailyChallengeData:isCanChallenge(moduleKey) then
return
end
local parmas = {}
self:sendMessage(ProtoMsgType.FromMsgEnum.ChapterGoldChallengeStartReq, parmas, {}, self.respChallengeGold, BIReport.ITEM_GET_TYPE.DUNGEON_GOLD_CHALLENGE)
end
-- 响应挑战金币副本
function DungeonManager:respChallengeGold(result)
if result.err_code == GConst.ERROR_STR.SUCCESS then
DataManager.DungeonData:onFightCountReduce(ModuleManager.MODULE_KEY.DUNGEON_GOLD)
end
end
-- 请求结算金币副本
function DungeonManager:reqEndChallengeGold()
local parmas = {
win = true,
total_damage = nil,
remaining_hp = nil,
chapter_gold_id = nil,
task_stat = nil,
combatReport = nil,
}
self:sendMessage(ProtoMsgType.FromMsgEnum.ChapterGoldChallengeSettlementReq, parmas, {}, self.respEndChallengeGold, BIReport.ITEM_GET_TYPE.DUNGEON_GOLD_END)
end
-- 响应结算金币副本
function DungeonManager:respEndChallengeGold(result)
if result.err_code == GConst.ERROR_STR.SUCCESS then
DataManager.DungeonData:initDungeonGold(result.gold_challenge)
ModuleManager.BattleManager:showBattleResultUI(GConst.BattleConst.BATTLE_TYPE.DUNGEON_GOLD, result.rewards, result.reqData.combatReport)
end
end
-- 请求扫荡金币副本
function DungeonManager:reqSweepGold(id)
local moduleKey = ModuleManager.MODULE_KEY.DUNGEON_GOLD
-- 判断次数
if not DataManager.DungeonData:getRemainTimes(moduleKey) > 0 then
GFunc.showToast(I18N:getGlobalText(I18N.GlobalConst.DAILY_CHALLENGE_DESC_1))
return
end
-- 判断体力
if not DataManager.DailyChallengeData:isEnoughHp(moduleKey) then
GFunc.showItemNotEnough(GConst.ItemConst.ITEM_ID_VIT)
ModuleManager.CommerceManager:showBuyVitUI()
return
end
if not DataManager.DailyChallengeData:isCanChallenge(moduleKey) then
return
end
local parmas = {
chapter_gold_id = id,
}
self:sendMessage(ProtoMsgType.FromMsgEnum.ChapterGoldChallengeFarmReq, parmas, {}, self.respSweepGold, BIReport.ITEM_GET_TYPE.DUNGEON_GOLD_SWEEP)
end
-- 响应扫荡金币副本
function DungeonManager:respSweepGold(result)
if result.err_code == GConst.ERROR_STR.SUCCESS then
DataManager.DungeonData:onFightCountReduce(ModuleManager.MODULE_KEY.DUNGEON_GOLD)
end
end
-- 请求挑战碎片副本
function DungeonManager:reqChallengeShards(id)
local moduleKey = ModuleManager.MODULE_KEY.DUNGEON_GOLD
-- 判断次数
if not DataManager.DungeonData:getRemainTimes(moduleKey) > 0 then
GFunc.showToast(I18N:getGlobalText(I18N.GlobalConst.DAILY_CHALLENGE_DESC_1))
return
end
-- 判断体力
if not DataManager.DailyChallengeData:isEnoughHp(moduleKey) then
GFunc.showItemNotEnough(GConst.ItemConst.ITEM_ID_VIT)
ModuleManager.CommerceManager:showBuyVitUI()
return
end
if not DataManager.DailyChallengeData:isCanChallenge(moduleKey) then
return
end
local parmas = {}
self:sendMessage(ProtoMsgType.FromMsgEnum.ChapterShardsChallengeStartReq, parmas, {}, self.respChallengeShards, BIReport.ITEM_GET_TYPE.DUNGEON_SHARDS_CHALLENGE)
end
-- 响应挑战碎片副本
function DungeonManager:respChallengeShards(result)
if result.err_code == GConst.ERROR_STR.SUCCESS then
DataManager.DungeonData:onFightCountReduce(ModuleManager.MODULE_KEY.DUNGEON_SHARDS)
end
end
-- 请求结算碎片副本
function DungeonManager:reqEndChallengeShards()
local parmas = {
win = true,
total_damage = nil,
chapter_Shards_id = nil,
task_stat = nil,
combatReport = nil,
}
self:sendMessage(ProtoMsgType.FromMsgEnum.ChapterShardsChallengeSettlementReq, parmas, {}, self.respEndChallengeShards, BIReport.ITEM_GET_TYPE.DUNGEON_SHARDS_END)
end
-- 响应结算碎片副本
function DungeonManager:respEndChallengeShards(result)
if result.err_code == GConst.ERROR_STR.SUCCESS then
DataManager.DungeonData:initDungeonShards(result.shards_challenge)
ModuleManager.BattleManager:showBattleResultUI(GConst.BattleConst.BATTLE_TYPE.DUNGEON_SHARDS, result.rewards, result.reqData.combatReport)
end
end
-- 请求扫荡碎片副本
function DungeonManager:reqSweepShards(id)
local moduleKey = ModuleManager.MODULE_KEY.DUNGEON_SHARDS
-- 判断次数
if not DataManager.DungeonData:getRemainTimes(moduleKey) > 0 then
GFunc.showToast(I18N:getGlobalText(I18N.GlobalConst.DAILY_CHALLENGE_DESC_1))
return
end
-- 判断体力
if not DataManager.DailyChallengeData:isEnoughHp(moduleKey) then
GFunc.showItemNotEnough(GConst.ItemConst.ITEM_ID_VIT)
ModuleManager.CommerceManager:showBuyVitUI()
return
end
if not DataManager.DailyChallengeData:isCanChallenge(moduleKey) then
return
end
local parmas = {
chapter_shards_id = id,
}
self:sendMessage(ProtoMsgType.FromMsgEnum.ChapterShardsChallengeFarmReq, parmas, {}, self.respSweepShards, BIReport.ITEM_GET_TYPE.DUNGEON_SHARDS_SWEEP)
end
-- 响应扫荡碎片副本
function DungeonManager:respSweepShards(result)
if result.err_code == GConst.ERROR_STR.SUCCESS then
DataManager.DungeonData:onFightCountReduce(ModuleManager.MODULE_KEY.DUNGEON_SHARDS)
end
end
return DungeonManager

View File

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 10cc1e2d34182e345b319afee1686513
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3}

View File

@ -18,6 +18,7 @@ MainCityConst.BOTTOM_CLOSE_ICON = {
MainCityConst.MAIN_MODULE = {
DAILY_CHALLENGE = 1,
CHAPTER = 2,
DUNGEON = 3,
}
MainCityConst.LEFT_SIDE_BARS = {

View File

@ -7,6 +7,8 @@ local ProtoMsgType = {
[132244689] = "ChapterSettlementRsp",
[147147672] = "EnergyByADReq",
[147149505] = "EnergyByADRsp",
[236190053] = "ChapterShardsChallengeStartReq",
[236191886] = "ChapterShardsChallengeStartRsp",
[317272657] = "IdleQuickReq",
[317274490] = "IdleQuickRsp",
[349009610] = "TriggerGrowUpGiftNtf",
@ -23,16 +25,24 @@ local ProtoMsgType = {
[613795629] = "WatchADRsp",
[737107384] = "BuyMallIdleReq",
[737109217] = "BuyMallIdleRsp",
[834139466] = "ChapterGoldChallengeStartReq",
[834141299] = "ChapterGoldChallengeStartRsp",
[1008447203] = "DeleteReq",
[1008449036] = "DeleteRsp",
[1068769299] = "ReconnectReq",
[1068771132] = "ReconnectRsp",
[1070841461] = "LoginReq",
[1070843294] = "LoginRsp",
[1371198132] = "ChapterShardsChallengeSettlementReq",
[1371199965] = "ChapterShardsChallengeSettlementRsp",
[1433352538] = "ChapterDailyChallengeResetReq",
[1433354371] = "ChapterDailyChallengeResetRsp",
[1435947790] = "AppStorePaidReq",
[1435949623] = "AppStorePaidRsp",
[1471116409] = "BindReq",
[1471118242] = "BindRsp",
[1571184475] = "ChapterShardsChallengeFarmReq",
[1571186308] = "ChapterShardsChallengeFarmRsp",
[1584689751] = "ActPaidResultReq",
[1584691584] = "ActPaidResultRsp",
[1646412046] = "ChapterDailyChallengeSettlementReq",
@ -83,6 +93,8 @@ local ProtoMsgType = {
[3309820798] = "HeroPutOnReq",
[3309822631] = "HeroPutOnRsp",
[3341173994] = "BountyBoughtNtf",
[3359969683] = "ChapterGoldChallengeSettlementReq",
[3359971516] = "ChapterGoldChallengeSettlementRsp",
[3363939655] = "TaskDailyAdReq",
[3363941488] = "TaskDailyAdRsp",
[3421550443] = "GlobalGiftReq",
@ -112,6 +124,8 @@ local ProtoMsgType = {
[3933877450] = "ChapterStartRsp",
[4106156009] = "BountyLevelUnlockReq",
[4106157842] = "BountyLevelUnlockRsp",
[4133057746] = "ChapterGoldChallengeFarmReq",
[4133059579] = "ChapterGoldChallengeFarmRsp",
[4256333947] = "ExistReq",
[4256335780] = "ExistRsp",
},
@ -123,6 +137,8 @@ local ProtoMsgType = {
ChapterSettlementRsp = 132244689,
EnergyByADReq = 147147672,
EnergyByADRsp = 147149505,
ChapterShardsChallengeStartReq = 236190053,
ChapterShardsChallengeStartRsp = 236191886,
IdleQuickReq = 317272657,
IdleQuickRsp = 317274490,
TriggerGrowUpGiftNtf = 349009610,
@ -139,16 +155,24 @@ local ProtoMsgType = {
WatchADRsp = 613795629,
BuyMallIdleReq = 737107384,
BuyMallIdleRsp = 737109217,
ChapterGoldChallengeStartReq = 834139466,
ChapterGoldChallengeStartRsp = 834141299,
DeleteReq = 1008447203,
DeleteRsp = 1008449036,
ReconnectReq = 1068769299,
ReconnectRsp = 1068771132,
LoginReq = 1070841461,
LoginRsp = 1070843294,
ChapterShardsChallengeSettlementReq = 1371198132,
ChapterShardsChallengeSettlementRsp = 1371199965,
ChapterDailyChallengeResetReq = 1433352538,
ChapterDailyChallengeResetRsp = 1433354371,
AppStorePaidReq = 1435947790,
AppStorePaidRsp = 1435949623,
BindReq = 1471116409,
BindRsp = 1471118242,
ChapterShardsChallengeFarmReq = 1571184475,
ChapterShardsChallengeFarmRsp = 1571186308,
ActPaidResultReq = 1584689751,
ActPaidResultRsp = 1584691584,
ChapterDailyChallengeSettlementReq = 1646412046,
@ -199,6 +223,8 @@ local ProtoMsgType = {
HeroPutOnReq = 3309820798,
HeroPutOnRsp = 3309822631,
BountyBoughtNtf = 3341173994,
ChapterGoldChallengeSettlementReq = 3359969683,
ChapterGoldChallengeSettlementRsp = 3359971516,
TaskDailyAdReq = 3363939655,
TaskDailyAdRsp = 3363941488,
GlobalGiftReq = 3421550443,
@ -228,6 +254,8 @@ local ProtoMsgType = {
ChapterStartRsp = 3933877450,
BountyLevelUnlockReq = 4106156009,
BountyLevelUnlockRsp = 4106157842,
ChapterGoldChallengeFarmReq = 4133057746,
ChapterGoldChallengeFarmRsp = 4133059579,
ExistReq = 4256333947,
ExistRsp = 4256335780,
},
@ -239,6 +267,8 @@ local ProtoMsgType = {
ChapterSettlementRsp = "ChapterSettlementRsp",
EnergyByADReq = "EnergyByADReq",
EnergyByADRsp = "EnergyByADRsp",
ChapterShardsChallengeStartReq = "ChapterShardsChallengeStartReq",
ChapterShardsChallengeStartRsp = "ChapterShardsChallengeStartRsp",
IdleQuickReq = "IdleQuickReq",
IdleQuickRsp = "IdleQuickRsp",
TriggerGrowUpGiftNtf = "TriggerGrowUpGiftNtf",
@ -255,16 +285,24 @@ local ProtoMsgType = {
WatchADRsp = "WatchADRsp",
BuyMallIdleReq = "BuyMallIdleReq",
BuyMallIdleRsp = "BuyMallIdleRsp",
ChapterGoldChallengeStartReq = "ChapterGoldChallengeStartReq",
ChapterGoldChallengeStartRsp = "ChapterGoldChallengeStartRsp",
DeleteReq = "DeleteReq",
DeleteRsp = "DeleteRsp",
ReconnectReq = "ReconnectReq",
ReconnectRsp = "ReconnectRsp",
LoginReq = "LoginReq",
LoginRsp = "LoginRsp",
ChapterShardsChallengeSettlementReq = "ChapterShardsChallengeSettlementReq",
ChapterShardsChallengeSettlementRsp = "ChapterShardsChallengeSettlementRsp",
ChapterDailyChallengeResetReq = "ChapterDailyChallengeResetReq",
ChapterDailyChallengeResetRsp = "ChapterDailyChallengeResetRsp",
AppStorePaidReq = "AppStorePaidReq",
AppStorePaidRsp = "AppStorePaidRsp",
BindReq = "BindReq",
BindRsp = "BindRsp",
ChapterShardsChallengeFarmReq = "ChapterShardsChallengeFarmReq",
ChapterShardsChallengeFarmRsp = "ChapterShardsChallengeFarmRsp",
ActPaidResultReq = "ActPaidResultReq",
ActPaidResultRsp = "ActPaidResultRsp",
ChapterDailyChallengeSettlementReq = "ChapterDailyChallengeSettlementReq",
@ -315,6 +353,8 @@ local ProtoMsgType = {
HeroPutOnReq = "HeroPutOnReq",
HeroPutOnRsp = "HeroPutOnRsp",
BountyBoughtNtf = "BountyBoughtNtf",
ChapterGoldChallengeSettlementReq = "ChapterGoldChallengeSettlementReq",
ChapterGoldChallengeSettlementRsp = "ChapterGoldChallengeSettlementRsp",
TaskDailyAdReq = "TaskDailyAdReq",
TaskDailyAdRsp = "TaskDailyAdRsp",
GlobalGiftReq = "GlobalGiftReq",
@ -344,6 +384,8 @@ local ProtoMsgType = {
ChapterStartRsp = "ChapterStartRsp",
BountyLevelUnlockReq = "BountyLevelUnlockReq",
BountyLevelUnlockRsp = "BountyLevelUnlockRsp",
ChapterGoldChallengeFarmReq = "ChapterGoldChallengeFarmReq",
ChapterGoldChallengeFarmRsp = "ChapterGoldChallengeFarmRsp",
ExistReq = "ExistReq",
ExistRsp = "ExistRsp",
},

8
lua/app/ui/dungeon.meta Normal file
View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: c079de69e6c30a0438fa6e6a4f405800
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,100 @@
local DungeonBoardCell = class("DungeonBoardCell", BaseCell)
function DungeonBoardCell:init()
self.uiMap = self:getUIMap()
self.icon = self.uiMap["dungeon_board_cell.info.icon"]
self.txTitle = self.uiMap["dungeon_board_cell.info.icon.tx_title"]
self.countdown = self.uiMap["dungeon_board_cell.info.countdown"]
self.txCountdown = self.uiMap["dungeon_board_cell.info.countdown.tx_countdown"]
self.txOpen = self.uiMap["dungeon_board_cell.info.tx_open"]
self.lock = self.uiMap["dungeon_board_cell.lock"]
self.lockTxLock = self.uiMap["dungeon_board_cell.lock.desc.tx_lock"]
self.lockTxCountdown = self.uiMap["dungeon_board_cell.lock.countdown.tx_countdown"]
self.btnStart = self.uiMap["dungeon_board_cell.btn_start"]
self.txStart = self.uiMap["dungeon_board_cell.btn_start.tx_btn"]
self.txTimes = self.uiMap["dungeon_board_cell.btn_start.tx_times"]
self.btnHelp = self.uiMap["dungeon_board_cell.btn_help"]
self.btnStart:addClickListener(function()
-- 打开副本关卡选择界面
UIManager:showUI("app/ui/dungeon/dungeon_difficulty_ui", {module = self.moduleKey})
end)
self.btnHelp:addClickListener(function()
-- 展示提示
ModuleManager.TipsManager:showDescTips(DataManager.DungeonData:getRule(self.moduleKey), self.btnHelp)
end)
end
function DungeonBoardCell:refresh(moduleKey)
self.moduleKey = moduleKey
self.baseObject:setName(self.moduleKey)
self:refreshInfo()
self:refreshRewards()
end
function DungeonBoardCell:refreshInfo()
self.txTitle:setText(DataManager.DungeonData:getTitle(self.moduleKey))
self.txOpen:setText(DataManager.DungeonData:getOpenTimeDesc(self.moduleKey))
if DataManager.DungeonData:isActive(self.moduleKey) then
self.btnStart:setVisible(true)
self.countdown:setVisible(true)
self.lock:setVisible(false)
-- 红点
if DataManager.DungeonData:isCanChallenge(self.moduleKey) then
self.btnStart:addRedPoint(65, 35, 0.6)
else
self.btnStart:removeRedPoint()
end
self.txOpen:setAnchoredPositionY(-115)
self.txStart:setText(I18N:getGlobalText(I18N.GlobalConst.START_DESC))
self.txTimes:setText(I18N:getGlobalText(I18N.GlobalConst.TODAY_REMAIN_TIMES, DataManager.DungeonData:getRemainTimes(self.moduleKey)))
self:refreshCountdown(self.txCountdown)
else
self.btnStart:setVisible(false)
self.countdown:setVisible(false)
self.lock:setVisible(true)
self.txOpen:setAnchoredPositionY(-75)
self.lockTxLock:setText(I18N:getGlobalText(I18N.GlobalConst.DUNGEON_OPEN))
self:refreshCountdown(self.lockTxCountdown)
end
end
function DungeonBoardCell:refreshRewards()
-- self.rewards = DataManager.DungeonData:getBoardShowRewards()
-- if self.rewards == nil then
-- return
-- end
self.scrollRect = self.uiMap["dungeon_board_cell.rewards"]:addLuaComponent(GConst.TYPEOF_LUA_CLASS.SCROLL_RECT_BASE)
self.scrollRect:addInitCallback(function()
return GConst.TYPEOF_LUA_CLASS.REWARD_CELL
end)
self.scrollRect:addRefreshCallback(function(index, cell)
cell:refreshItemById(1, 0)
cell:setTouchEnable(false)
end)
self.scrollRect:clearCells()
self.scrollRect:setTotalCount(2)
end
function DungeonBoardCell:refreshCountdown(txCountdown)
if not self.countdownSid then
self.countdownSid = txCountdown:scheduleGlobal(function()
self:updateTime(txCountdown)
end, 1)
end
self:updateTime(txCountdown)
end
function DungeonBoardCell:updateTime(txCountdown)
local remainTime = Time:getTodaySurplusTime()
txCountdown:setText(GFunc.getTimeStrWithHMS(remainTime))
end
return DungeonBoardCell

View File

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 42e0b145611148845b047bd6359e9f4e
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3}

View File

@ -0,0 +1,116 @@
local DungeonDifficultyUI = class("DungeonDifficultyUI", BaseUI)
function DungeonDifficultyUI:isFullScreen()
return false
end
function DungeonDifficultyUI:getPrefabPath()
return "assets/prefabs/ui/dungeon/dungeon_difficulty_ui.prefab"
end
function DungeonDifficultyUI:ctor(params)
self.module = params.module
self.curId = DataManager.DungeonData:getPassedMaxId(self.module) + 1
end
function DungeonDifficultyUI:onCover()
end
function DungeonDifficultyUI:onReshow()
end
function DungeonDifficultyUI:onClose()
end
function DungeonDifficultyUI:onLoadRootComplete()
self.uiMap = self.root:genAllChildren()
self.btnClose = self.uiMap["dungeon_difficulty_ui.bg.close_btn"]
self.btnStart = self.uiMap["dungeon_difficulty_ui.bg.btns.btn_start"]
self.txStart = self.uiMap["dungeon_difficulty_ui.bg.btns.btn_start.tx_start"]
self.txStartCost = self.uiMap["dungeon_difficulty_ui.bg.btns.btn_start.cost.tx_cost"]
self.btnSweep = self.uiMap["dungeon_difficulty_ui.bg.btns.btn_sweep"]
self.txSweep = self.uiMap["dungeon_difficulty_ui.bg.btns.btn_sweep.tx_sweep"]
self.txSweepCost = self.uiMap["dungeon_difficulty_ui.bg.btns.btn_sweep.cost.tx_cost"]
self.txTime = self.uiMap["dungeon_difficulty_ui.bg.btns.tx_time"]
self.txDifficulty = self.uiMap["dungeon_difficulty_ui.bg.select.chapter.tx_difficulty"]
self.txLevel = self.uiMap["dungeon_difficulty_ui.bg.select.chapter.tx_level"]
self.arrowLeft = self.uiMap["dungeon_difficulty_ui.bg.select.chapter.arrow_left"]
self.arrowRight = self.uiMap["dungeon_difficulty_ui.bg.select.chapter.arrow_right"]
self.txDesc = self.uiMap["dungeon_difficulty_ui.bg.tx_desc"]
self.txTitle = self.uiMap["dungeon_difficulty_ui.bg.title.title_text"]
self.txTitle:setText(DataManager.DungeonData:getTitle(self.module))
self.txDesc:setText(DataManager.DungeonData:getRule(self.module))
self.txDifficulty:setText(I18N:getGlobalText(I18N.GlobalConst.DUNGEON_STAGE))
self.txStart:setText(I18N:getGlobalText(I18N.GlobalConst.START_DESC))
self.txSweep:setText(I18N:getGlobalText(I18N.GlobalConst.SMASH))
local cost = DataManager.DungeonData:getChallengeHpCost(self.module)
self.txStartCost:setText("-"..GFunc.getRewardNum(cost))
self.txSweepCost:setText("-"..GFunc.getRewardNum(cost))
self.txTime:setText(I18N:getGlobalText(I18N.GlobalConst.TODAY_REMAIN_TIMES, DataManager.DungeonData:getRemainTimes(self.module)))
-- todo 奖励
self.scrollRect = self.uiMap[""]:addLuaComponent(GConst.TYPEOF_LUA_CLASS.SCROLL_RECT_BASE)
self.scrollRect:addInitCallback(function()
return GConst.TYPEOF_LUA_CLASS.REWARD_CELL
end)
self.scrollRect:addRefreshCallback(function(index, cell)
cell:refreshByConfig()
end)
self.scrollRect:clearCells()
self.scrollRect:setTotalCount(0)
self:refreshDifficulty()
self.btnClose:addClickListener(function()
self:closeUI()
end)
self.btnStart:addClickListener(function()
-- 开始挑战
ModuleManager.DungeonManager:reqChallenge(self.module, self.curId)
end)
self.btnSweep:addClickListener(function()
-- 开始扫荡
ModuleManager.DungeonManager:reqSweep(self.module, self.curId)
end)
self.arrowLeft:addClickListener(function()
if self:isCanChallengeMinId() then
return
end
self.curId = self.curId - 1
self:refreshDifficulty()
end)
self.arrowRight:addClickListener(function()
if self:isCanChallengeMaxId() then
return
end
self.curId = self.curId + 1
self:refreshDifficulty()
end)
end
function DungeonDifficultyUI:refreshDifficulty()
self.arrowLeft:setActive(not self:isCanChallengeMinId())
self.arrowRight:setActive(not self:isCanChallengeMaxId())
self.btnSweep:setActive(self:isCanSweepId())
self.txLevel:setText(tostring(self.curId))
end
-- 是否是可扫荡关卡
function DungeonDifficultyUI:isCanSweepId()
return self.curId <= DataManager.DungeonData:getPassedMaxId(self.module)
end
--是否是能挑战的最大关卡
function DungeonDifficultyUI:isCanChallengeMaxId()
return self.curId == DataManager.DungeonData:getPassedMaxId(self.module) + 1
end
--是否是能挑战的最小关卡
function DungeonDifficultyUI:isCanChallengeMinId()
return self.curId == 1
end
return DungeonDifficultyUI

View File

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 93a0a9d95d4774c49b001c3108e5a61c
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3}

View File

@ -12,11 +12,11 @@ function ChapterComp:getIsOpen()
end
function ChapterComp:getEntranceName()
return "主线章节"
return I18N:getGlobalText(I18N.GlobalConst.MAIN_CHAPTER)
end
function ChapterComp:getEntranceIcon()
return GConst.ATLAS_PATH.COMMON,"common_dec_1"
return GConst.ATLAS_PATH.MAIN,"main_dec_5"
end
function ChapterComp:getHpCost()

View File

@ -6,7 +6,7 @@ function DailyChallengeComp:getIsOpen()
end
function DailyChallengeComp:getEntranceName()
return "每日挑战"
return I18N:getGlobalText(I18N.GlobalConst.DAILY_CHALLENGE)
end
function DailyChallengeComp:getEntranceIcon()
@ -137,7 +137,7 @@ end
function DailyChallengeComp:updateTime()
ModuleManager.DailyChallengeManager:checkDayChange()
local remainTime = DataManager.DailyChallengeData:getTodaySurplusTime()
local remainTime = Time:getTodaySurplusTime()
self.countdownTx:setText(GFunc.getTimeStrWithHMS(remainTime))
end

View File

@ -0,0 +1,49 @@
local MainCompBaseCell = require "app/ui/main_city/component/main_comp_base_cell"
local DungeonComp = class("DungeonComp", MainCompBaseCell)
function DungeonComp:getIsOpen()
return DataManager.DungeonData:isOpenAnyone()
end
function DungeonComp:getEntranceName()
return I18N:getGlobalText(I18N.GlobalConst.DUNGEON_BTN)
end
function DungeonComp:getEntranceIcon()
return GConst.ATLAS_PATH.MAIN,"main_dec_2"
end
function DungeonComp:getShowEntranceRedPoint()
return DataManager.DungeonData:isCanChallengeAnyone()
end
function DungeonComp:ctor()
end
function DungeonComp:init()
self.uiMap = self:getBaseObject():genAllChildren()
self.scrollRect = self.uiMap["dungeon_comp.scrollrect"]
self.scrollRectComp = self.scrollRect:addLuaComponent(GConst.TYPEOF_LUA_CLASS.SCROLL_RECT_BASE)
self.scrollRectComp:addInitCallback(function()
return "app/ui/dungeon/dungeon_board_cell"
end)
self.scrollRectComp:addRefreshCallback(function(index, cell)
cell:refresh(self.openDungeons[index])
end)
self.scrollRectComp:clearCells()
self.scrollRectComp:setTotalCount(0)
self:refreshShow()
end
function DungeonComp:refreshShow()
self.openDungeons = DataManager.DungeonData:getOpenDungeons()
if self.scrollRectComp:getTotalCount() ~= #self.openDungeons then
self.scrollRectComp:clearCells()
self.scrollRectComp:refillCells(#self.openDungeons)
else
self.scrollRectComp:updateAllCell()
end
end
return DungeonComp

View File

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: eeb42cdacecfcf4468aecedc8d7cd340
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3}

View File

@ -1,15 +1,15 @@
local MainComp = class("MainComp", LuaComponent)
local CHAPTER_COMP = "app/ui/main_city/component/chapter_comp"
local DAILY_CHALLENGE_COMP = "app/ui/main_city/component/daily_challenge_comp"
local DUNGEON_COMP = "app/ui/main_city/component/dungeon_comp"
local BOTTOM_HEIGHT = 120
function MainComp:init()
self.uiMap = self:getBaseObject():genAllChildren()
self:refreshModule(ModuleManager.MaincityManager:getCurModule())
self:initStageFormation()
self:refreshModule(ModuleManager.MaincityManager:getCurModule())
end
function MainComp:refreshModule(selectModule)
@ -25,31 +25,36 @@ function MainComp:refreshModule(selectModule)
self.dailyChallengeComp = CellManager:addCellComp(dailyChallengeComp, DAILY_CHALLENGE_COMP)
self.dailyChallengeComp:initWithParentUI(self)
self.moduleMap[GConst.MainCityConst.MAIN_MODULE.DAILY_CHALLENGE] = self.dailyChallengeComp
-- 活动副本
local dungeonComp = self.uiMap["main_comp.dungeon_comp"]
self.dungeonComp = CellManager:addCellComp(dungeonComp, DUNGEON_COMP)
self.dungeonComp:initWithParentUI(self)
self.moduleMap[GConst.MainCityConst.MAIN_MODULE.DUNGEON] = self.dungeonComp
end
if self.curModuleType ~= selectModule then
self.curModuleType = selectModule
ModuleManager.MaincityManager:setCurModule(self.curModuleType)
self:setFormationVisible(true)
if self.curModuleType == GConst.MainCityConst.MAIN_MODULE.CHAPTER then
-- 切换到主线章节
EventManager:dispatchEvent(EventManager.CUSTOM_EVENT.GO_CHAPTER)
elseif self.curModuleType == GConst.MainCityConst.MAIN_MODULE.DAILY_CHALLENGE then
-- 切换到每日挑战
EventManager:dispatchEvent(EventManager.CUSTOM_EVENT.GO_DAILY_CHALLENGE)
if not DataManager.TutorialData:getIsInTutorial() and DataManager.DailyChallengeData:getIsPopTask() then
ModuleManager.DailyChallengeManager:showBattleTaskUI()
end
elseif self.curModuleType == GConst.MainCityConst.MAIN_MODULE.DUNGEON then
-- 切换到活动副本
self:setFormationVisible(false)
end
EventManager:dispatchEvent(EventManager.CUSTOM_EVENT.CHANGE_MAIN_COMP_MODULE, self.curModuleType)
end
for idx, cell in pairs(self.moduleMap) do
cell:getBaseObject():setActive(self.curModuleType == idx)
end
local heroBg = self.uiMap["main_comp.hero_bg"]
local heroBgPosY = heroBg:fastGetAnchoredPositionY()
local sWidth, sHeight = GFunc.getUIExpandScreenSize()
local hSHeight = sHeight / 2
self.btnPosY = (heroBgPosY + (BOTTOM_HEIGHT / 2 - hSHeight)) / 2
self:refreshBtns()
end
@ -62,16 +67,17 @@ end
function MainComp:refreshFightBtn()
local moduleCell = self.moduleMap[self.curModuleType]
self.uiMap["main_comp.fight_btn.desc"]:setText(I18N:getGlobalText(I18N.GlobalConst.START_DESC))
local cost = moduleCell:getHpCost()
if cost then
self.uiMap["main_comp.fight_btn.desc_2"]:setText(GFunc.getRewardNum(cost))
else
self.uiMap["main_comp.fight_btn.desc_2"]:setText("0")
end
self.uiMap["main_comp.fight_btn"]:setActive(true)
self.uiMap["main_comp.fight_btn"]:addClickListener(moduleCell.onClickFight)
self.uiMap["main_comp.fight_btn"]:setAnchoredPositionY(self.btnPosY)
self.uiMap["main_comp.fight_btn.desc"]:setText(I18N:getGlobalText(I18N.GlobalConst.START_DESC))
self.uiMap["main_comp.fight_btn.desc_2"]:setText(GFunc.getRewardNum(cost))
else
self.uiMap["main_comp.fight_btn"]:setActive(false)
return
end
local remainCount = moduleCell:getTodayRemainCount()
if remainCount >= 0 then
@ -101,7 +107,9 @@ function MainComp:refreshLeftBtn()
self.leftBtn:setActive(true)
local iconAtlas, iconName = moduleCell:getEntranceIcon()
self.uiMap["main_comp.left_btn.desc"]:setText(moduleCell:getEntranceName())
self.uiMap["main_comp.left_btn.icon"]:setSprite(iconAtlas, iconName)
self.uiMap["main_comp.left_btn.icon"]:setSprite(iconAtlas, iconName, function()
self.uiMap["main_comp.left_btn.icon"]:getComponent(GConst.TYPEOF_UNITY_CLASS.UI_IMAGE):SetNativeSize()
end)
self.leftBtn:addClickListener(function()
self:refreshModule(leftIdx)
end)
@ -131,7 +139,9 @@ function MainComp:refreshRightBtn()
self.rightBtn:setActive(true)
local iconAtlas, iconName = moduleCell:getEntranceIcon()
self.uiMap["main_comp.right_btn.desc"]:setText(moduleCell:getEntranceName())
self.uiMap["main_comp.right_btn.icon"]:setSprite(iconAtlas, iconName)
self.uiMap["main_comp.right_btn.icon"]:setSprite(iconAtlas, iconName, function()
self.uiMap["main_comp.right_btn.icon"]:getComponent(GConst.TYPEOF_UNITY_CLASS.UI_IMAGE):SetNativeSize()
end)
self.rightBtn:addClickListener(function()
self:refreshModule(rightIdx)
end)
@ -151,7 +161,7 @@ function MainComp:getCurLeftModuleIdx()
end
function MainComp:getCurRightModuleIdx()
local totalModuleNum = GFunc.getTableLength(GConst.MainCityConst.MAIN_MODULE)
local totalModuleNum = table.nums(GConst.MainCityConst.MAIN_MODULE)
if self.curModuleType == totalModuleNum then
return nil
end
@ -167,6 +177,16 @@ function MainComp:initStageFormation()
self.uiMap["main_comp.hero_bg.hero_cell_4"]:addLuaComponent(GConst.TYPEOF_LUA_CLASS.HERO_CELL),
self.uiMap["main_comp.hero_bg.hero_cell_5"]:addLuaComponent(GConst.TYPEOF_LUA_CLASS.HERO_CELL),
}
self.heroFormation = self.uiMap["main_comp.hero_bg"]
local heroBgPosY = self.heroFormation:fastGetAnchoredPositionY()
local sWidth, sHeight = GFunc.getUIExpandScreenSize()
local hSHeight = sHeight / 2
self.btnPosY = (heroBgPosY + (BOTTOM_HEIGHT / 2 - hSHeight)) / 2
end
function MainComp:setFormationVisible(visible)
self.heroFormation:setVisible(visible)
end
function MainComp:refresh()
@ -187,6 +207,11 @@ function MainComp:refreshChallenge()
self.dailyChallengeComp:refreshShow()
end
function MainComp:refreshDungeon()
self:refreshBtns()
self.dungeonComp:refreshShow()
end
function MainComp:refreshStageFormaion()
local formation = DataManager.FormationData:getStageFormation()
for i, heroCell in ipairs(self.heroCells) do

View File

@ -20,7 +20,7 @@ function MainCompBaseCell:getShowEntranceRedPoint()
end
function MainCompBaseCell:getHpCost()
return 0
return nil-- 默认不显示挑战按钮
end
function MainCompBaseCell:getTodayRemainCount()

View File

@ -19,8 +19,6 @@ MainCityUI.CLICK_BTN_TYPE = {
[3] = "SHOP",
}
local MAIN_COMP_INDEX = 1
function MainCityUI:getUIType()
return UIManager.UI_TYPE.MAIN
end
@ -35,7 +33,7 @@ function MainCityUI:getCurrencyParams()
itemIds = {}
}
end
self.selectedIndex = self.selectedIndex or MAIN_COMP_INDEX
self.selectedIndex = self.selectedIndex or GConst.MainCityConst.BOTTOM_PAGE.MAIN
self.currencyParams.showType = GConst.CURRENCY_TYPE.HORIZONTAL
for k, v in ipairs(self.currencyParams.itemIds) do
table.remove(self.currencyParams.itemIds)
@ -158,18 +156,8 @@ function MainCityUI:_addListeners()
end
end)
self:addEventListener(EventManager.CUSTOM_EVENT.GO_DAILY_CHALLENGE, function()
if self.selectedIndex ~= GConst.MainCityConst.BOTTOM_PAGE.MAIN then
return
end
self:refreshBounty()
end)
self:addEventListener(EventManager.CUSTOM_EVENT.GO_CHAPTER, function()
if self.selectedIndex ~= GConst.MainCityConst.BOTTOM_PAGE.MAIN then
return
end
self:refreshBounty()
self:addEventListener(EventManager.CUSTOM_EVENT.CHANGE_MAIN_COMP_MODULE, function(module)
self:switchMainCompModule(module)
end)
DataManager.MailData:checkNewMail()
end
@ -248,6 +236,14 @@ function MainCityUI:_bind()
end
end
end)
self:bind(DataManager.DailyChallengeData, "isDirty", function()
if self.selectedIndex == GConst.MainCityConst.BOTTOM_PAGE.MAIN then
if self.subComps[self.selectedIndex] then
self.subComps[self.selectedIndex]:refreshDungeon()
end
end
end)
end
function MainCityUI:initBottomUI()
@ -319,7 +315,7 @@ function MainCityUI:refreshBottom(selectedIndex, playAnim)
return
end
local oldIndex = self.selectedIndex
self.selectedIndex = selectedIndex and selectedIndex or MAIN_COMP_INDEX
self.selectedIndex = selectedIndex and selectedIndex or GConst.MainCityConst.BOTTOM_PAGE.MAIN
self:switchComp()
if oldIndex ~= selectedIndex then
@ -703,17 +699,37 @@ function MainCityUI:switchComp(index)
end
end
self:updateCurrencyBar()
if self.selectedIndex == MAIN_COMP_INDEX then
if self.selectedIndex == GConst.MainCityConst.BOTTOM_PAGE.MAIN then
self:checkMainPop()
self:setTopNodeVisible(true)
self:refreshTopNode()
self:setSideBarVisible(true)
self:switchMainCompModule()
else
self:setTopNodeVisible(false)
self:setSideBarVisible(false)
end
end
-- 切换主界面活动模块
function MainCityUI:switchMainCompModule(moduleKey)
if self.selectedIndex ~= GConst.MainCityConst.BOTTOM_PAGE.MAIN then
return
end
if moduleKey == nil then
moduleKey = self.subComps[self.selectedIndex]:getCurModuleType()
end
if moduleKey == GConst.MainCityConst.MAIN_MODULE.DUNGEON then
-- 活动副本切换刷新
self:setTopNodeVisible(false)
self:setSideBarVisible(false)
else
self:setTopNodeVisible(true)
self:setSideBarVisible(true)
self:refreshBounty()
end
end
function MainCityUI:updateTime()
if self.selectedIndex == GConst.MainCityConst.BOTTOM_PAGE.SHOP and self.subComps[self.selectedIndex] then
if self.subComps[self.selectedIndex] then

View File

@ -113,15 +113,6 @@ function DailyChallengeData:getBuffDesc(buffId)
return I18N:getText("buff_daily_challenge", buffId, "desc")
end
-- 获取今日剩余时间
function DailyChallengeData:getTodaySurplusTime()
local result = Time:getOverOfServerToday() - Time:getServerTime()
if result < 0 then
result = 0
end
return result
end
-- 获取最终boss配置信息
function DailyChallengeData:getFinalBossInfo()
if not self:isOpen() then

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 256d487279ef573429ce63e3bb5ca819
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,297 @@
local DungeonData = class("DungeonData", BaseData)
-- 副本展示权重(由上到下排列)
local DUNGEON_SHOW_WEIGHT = {
[1] = ModuleManager.MODULE_KEY.DUNGEON_SHARDS,
[2] = ModuleManager.MODULE_KEY.DUNGEON_GOLD,
}
-- 所有活动副本数据
function DungeonData:ctor()
self.data.isDirty = false
end
function DungeonData:clear()
end
-- 初始化金币副本数据
function DungeonData:initDungeonGold(data)
if EDITOR_MODE then
data = {
today_challenge_count = 2,
max_chapter_gold_id = 2,
-- latest_chapter_gold_id = 1,-- todo 这是啥数据呢?
}
end
self:initAllDataClass()
self.dataDungeons[ModuleManager.MODULE_KEY.DUNGEON_GOLD]:init(data)
self.data.gold = data
self:setDirty()
end
-- 初始化碎片副本数据
function DungeonData:initDungeonShards(data)
if EDITOR_MODE then
data = {
today_challenge_count = 2,
max_chapter_shards_id = 2,
-- latest_chapter_shards_id = 1,
}
end
self:initAllDataClass()
self.dataDungeons[ModuleManager.MODULE_KEY.DUNGEON_SHARDS]:init(data)
self.data.shards = data
self:setDirty()
end
-- 初始化所有副本数据类
function DungeonData:initAllDataClass()
if self.dataDungeons == nil then
self.dataDungeons = {}
self.dataDungeons[ModuleManager.MODULE_KEY.DUNGEON_GOLD] = require "app/userdata/dungeon/dungeon_gold_data_comp":create()
self.dataDungeons[ModuleManager.MODULE_KEY.DUNGEON_SHARDS] = require "app/userdata/dungeon/dungeon_shards_data_comp":create()
end
end
-- 客户端处理副本次数+1的情况
function DungeonData:onFightCountReduce(moduleKey)
if moduleKey == ModuleManager.MODULE_KEY.DUNGEON_GOLD then
self.data.gold.today_challenge_count = self.data.gold.today_challenge_count + 1
self:initDungeonGold(self.data.gold)
elseif moduleKey == ModuleManager.MODULE_KEY.DUNGEON_SHARDS then
self.data.shards.today_challenge_count = self.data.shards.today_challenge_count + 1
self:initDungeonGold(self.data.shards)
end
end
function DungeonData:setDirty()
self.data.isDirty = not self.data.isDirty
end
-- 是否开启任意一个副本
function DungeonData:isOpenAnyone()
for key, value in pairs(self.dataDungeons) do
if self:isOpen(key) then
return true
end
end
return false
end
-- 某副本是否已开启
function DungeonData:isOpen(moduleKey)
if not ModuleManager:getIsOpen(moduleKey, true) then
return false
end
return true
end
-- 返回已开启的副本
function DungeonData:getOpenDungeons()
local openDungeons = {}
for idx, moduleKey in pairs(DUNGEON_SHOW_WEIGHT) do
if self:isOpen(moduleKey) then
table.insert(openDungeons, moduleKey)
end
end
if EDITOR_MODE then
Logger.logHighlight("已开启副本:")
Logger.printTable(openDungeons)
end
return table.revert(openDungeons)
end
-- 是否在活动副本时间内
function DungeonData:isActive(moduleKey)
if not self:isOpen(moduleKey) then
return false
end
-- 判断周期
if self:isActiveCycle(moduleKey, Time:getWeekByTimeStamp()) then
return true
else
return false
end
end
-- 判断是否在活跃周期内
function DungeonData:isActiveCycle(moduleKey, checkWeek)
if not self.dataDungeons[moduleKey] then
return false
end
for index, week in ipairs(self.dataDungeons[moduleKey]:getOpenWeekCycle()) do
if week == checkWeek then
return true
end
end
return false
end
-- 是否任意一个副本可以挑战
function DungeonData:isCanChallengeAnyone()
for key, value in pairs(self.dataDungeons) do
if self:isCanChallenge(key) then
return true
end
end
return false
end
-- 副本是否可以挑战
function DungeonData:isCanChallenge(moduleKey)
if not self:isActive(moduleKey) then
return false
end
if not (self:getRemainTimes(moduleKey) > 0) then
return false
end
if not self:isEnoughHp(moduleKey) then
return false
end
return true
end
-- 副本是否可以扫荡
function DungeonData:isCanSweep(moduleKey, id)
if not self:isActive(moduleKey) then
return false
end
if not (self:getRemainTimes(moduleKey) > 0) then
return false
end
if not self:isEnoughHp(moduleKey) then
return false
end
if not self:getPassedMaxId(moduleKey) >= id then
return false
end
return true
end
-- 获取副本今日剩余次数
function DungeonData:getRemainTimes(moduleKey)
if not self:isActive(moduleKey) then
return 0
end
if not self.dataDungeons[moduleKey] then
return 0
end
return self.dataDungeons[moduleKey]:getTodayRemainLimitCount()
end
-- 体力是否足够
function DungeonData:isEnoughHp(moduleKey)
local const = self:getChallengeHpCost(moduleKey)
local constNum = 0
if const then
constNum = GFunc.getRewardNum(const)
end
return constNum <= DataManager.BagData.ItemData:getVit()
end
-- 获取挑战体力消耗
function DungeonData:getChallengeHpCost(moduleKey)
if not self:isActive(moduleKey) then
return 0
end
if not self.dataDungeons[moduleKey] then
return 0
end
return self.dataDungeons[moduleKey]:getChallengeHpCost()
end
-- 获取副本开启倒计时
function DungeonData:getOpenTime(moduleKey)
if not self.dataDungeons[moduleKey] then
return 0
end
local isClose = true
local count = 0
while isClose do
local checkWeek = Time:getWeekByTimeStamp(self:getServerTime() + ((count + 1) * 86400))
if self:isActiveCycle(moduleKey, checkWeek) then
isClose = false
else
count = count + 1
end
end
return Time:getTodaySurplusTime() + (count * 86400)
end
-- 获取副本关闭倒计时
function DungeonData:getCloseTime(moduleKey)
if not self.dataDungeons[moduleKey] then
return 0
end
local isActive = true
local count = 0
while isActive do
local checkWeek = Time:getWeekByTimeStamp(self:getServerTime() + ((count + 1) * 86400))
if not self:isActiveCycle(moduleKey, checkWeek) then
isActive = false
else
count = count + 1
end
end
return Time:getTodaySurplusTime() + (count * 86400)
end
-- 获取看板展示的副本奖励
function DungeonData:getBoardShowRewards(moduleKey)
return nil
end
-- 获取展示副本首通奖励
function DungeonData:getFirstReward(moduleKey, id)
-- 通关后,不展示首通奖励
return self.dataDungeons[moduleKey]:getFirstReward(id)
end
-- 获取展示副本通关奖励
function DungeonData:getPassReward(moduleKey, id)
-- 波次奖励数量==通关+波次奖励数量
return self.dataDungeons[moduleKey]:getPassReward(id)
end
--获取副本已通关的最高关卡id
function DungeonData:getPassedMaxId(moduleKey)
return self.dataDungeons[moduleKey]:getPassedMaxId()
end
-- 获取副本标题文案
function DungeonData:getTitle(moduleKey)
return self.dataDungeons[moduleKey]:getTitleString()
end
-- 获取副本规则描述
function DungeonData:getRule(moduleKey)
return self.dataDungeons[moduleKey]:getRuleString()
end
-- 获取副本开启时间描述
function DungeonData:getOpenTimeDesc(moduleKey)
return self.dataDungeons[moduleKey]:getOpenWeekString()
end
-- 获取副本角标图
function DungeonData:getIcon(moduleKey)
return self.dataDungeons[moduleKey]:getIcon()
end
-- 获取副本banner图
function DungeonData:getBanner(moduleKey)
return self.dataDungeons[moduleKey]:getBanner()
end
return DungeonData

View File

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 0dea895676e488b45ac59508224e0564
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3}

View File

@ -0,0 +1,92 @@
local DungeonDataBaseComp = class("DungeonDataBaseComp", LuaComponent)
-- 需要继承重写的部分 ***********************************************************
-- 初始化服务器数据
function DungeonDataBaseComp:init(data)
end
-- 获取副本模块名对应ModuleManager.MODULE_KEY
function DungeonDataBaseComp:getModuleKey()
return ""
end
-- 获取副本开启周期(星期几)
function DungeonDataBaseComp:getOpenWeekCycle()
return {}
end
-- 获取副本标题文案
function DungeonDataBaseComp:getTitleString()
return ""
end
-- 获取副本规则描述
function DungeonDataBaseComp:getRuleString()
return ""
end
-- 获取开始时间描述
function DungeonDataBaseComp:getOpenWeekString()
return ""
end
-- 获取副本角标图
function DungeonDataBaseComp:getIcon()
return ""
end
-- 获取副本banner图
function DungeonDataBaseComp:getBanner()
return ""
end
-- 获取今日已挑战次数
function DungeonDataBaseComp:getTodayChallengeCount()
return 0
end
-- 获取已通关的最大副本id
function DungeonDataBaseComp:getPassedMaxId()
return 0
end
-- 获取挑战体力消耗
function DungeonDataBaseComp:getChallengeHpCost()
return 0
end
-- 获取每日最大挑战次数
function DungeonDataBaseComp:getTodayMaxCount()
return 0
end
-- 获取看板展示的副本奖励(返回icon)
function DungeonDataBaseComp:getBoardShowRewardIcon()
return nil
end
-- 获取看板展示的副本奖励返回id
function DungeonDataBaseComp:getBoardShowRewardId()
return nil
end
-- 获取首通奖励
function DungeonDataBaseComp:getFirstReward()
return nil
end
-- 获取通关奖励(通关+波次奖励 or 百分比奖励)
function DungeonDataBaseComp:getPassReward()
return nil
end
-- 常规逻辑 *********************************************************************
-- 获取今日剩余挑战次数
function DungeonDataBaseComp:getTodayRemainLimitCount()
return self:getTodayMaxCount() - self:getTodayChallengeCount()
end
return DungeonDataBaseComp

View File

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 4e42e026c21002845b2e72498b2e2e92
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3}

View File

@ -0,0 +1,67 @@
local DungeonDataBaseComp = require "app/userdata/dungeon/dungeon_data_base_comp"
local DungeonGoldDataComp = class("DungeonGoldDataComp", DungeonDataBaseComp)
-- 金币副本数据
function DungeonGoldDataComp:init(data)
self.todayChallengeCount = data.today_challenge_count
self.maxPassedId = data.max_chapter_gold_id
end
function DungeonDataBaseComp:getTodayChallengeCount()
return self.todayChallengeCount
end
function DungeonDataBaseComp:getPassedMaxId()
return self.maxPassedId
end
function DungeonGoldDataComp:getModuleKey()
return ModuleManager.MODULE_KEY.DUNGEON_GOLD
end
function DungeonGoldDataComp:getOpenWeekCycle()
return {2,4,6,7}
end
function DungeonGoldDataComp:getTitleString()
return I18N:getGlobalText(I18N.GlobalConst.DUNGEON_GOLD_TITLE)
end
function DungeonGoldDataComp:getRuleString()
return I18N:getGlobalText(I18N.GlobalConst.DUNGEON_GOLD_HELP)
end
function DungeonGoldDataComp:getOpenWeekString()
return I18N:getGlobalText(I18N.GlobalConst.DUNGEON_GOLD_OPEN)
end
function DungeonGoldDataComp:getIcon()
return ""
end
function DungeonGoldDataComp:getBanner()
return ""
end
function DungeonGoldDataComp:getChallengeHpCost()
return GFunc.getConstReward("dungeon_gold_cost")
end
function DungeonGoldDataComp:getTodayMaxCount()
return GFunc.getConstIntValue("dungeon_gold_limit")
end
function DungeonDataBaseComp:getBoardShowRewardId()
return 1
end
function DungeonGoldDataComp:getFirstReward(id)
return ConfigManager:getConfig("chapter_dungeon_gold")[id].first_pass_reward
end
function DungeonGoldDataComp:getPassReward(id)
return ConfigManager:getConfig("chapter_dungeon_gold")[id].percent_reward
end
return DungeonGoldDataComp

View File

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 962fc33db86976b4cbcd1205a2fbdd82
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3}

View File

@ -0,0 +1,77 @@
local DungeonDataBaseComp = require "app/userdata/dungeon/dungeon_data_base_comp"
local DungeonShardsDataComp = class("DungeonShardsDataComp", DungeonDataBaseComp)
-- 碎片副本数据
function DungeonShardsDataComp:init(data)
self.todayChallengeCount = data.today_challenge_count
self.maxPassedId = data.max_chapter_shards_id
end
function DungeonDataBaseComp:getTodayChallengeCount()
return self.todayChallengeCount
end
function DungeonDataBaseComp:getPassedMaxId()
return self.maxPassedId
end
function DungeonShardsDataComp:getModuleKey()
return ModuleManager.MODULE_KEY.DUNGEON_SHARDS
end
function DungeonShardsDataComp:getOpenWeekCycle()
return {1,3,5,7}
end
function DungeonShardsDataComp:getTitleString()
return I18N:getGlobalText(I18N.GlobalConst.DUNGEON_SHARDS_TITLE)
end
function DungeonShardsDataComp:getRuleString()
return I18N:getGlobalText(I18N.GlobalConst.DUNGEON_SHARDS_HELP)
end
function DungeonShardsDataComp:getOpenWeekString()
return I18N:getGlobalText(I18N.GlobalConst.DUNGEON_SHARDS_OPEN)
end
function DungeonShardsDataComp:getIcon()
return ""
end
function DungeonShardsDataComp:getBanner()
return ""
end
function DungeonShardsDataComp:getChallengeHpCost()
return GFunc.getConstReward("dungeon_shards_cost")
end
function DungeonShardsDataComp:getTodayMaxCount()
return GFunc.getConstIntValue("dungeon_shards_limit")
end
function DungeonDataBaseComp:getBoardShowRewardIcon()
return {
[1]={
GConst.ATLAS_PATH.ICON_ITEM,"4"
},
[2]={
GConst.ATLAS_PATH.ICON_ITEM,"5"
}
}
end
function DungeonShardsDataComp:getFirstReward(id)
return ConfigManager:getConfig("chapter_dungeon_shards")[id].first_pass_reward
end
function DungeonShardsDataComp:getPassReward(id)
local pass = ConfigManager:getConfig("chapter_dungeon_shards")[id].pass_reward
local wave = ConfigManager:getConfig("chapter_dungeon_shards")[id].wave_reward
-- todo 处理奖励结构
return pass
end
return DungeonShardsDataComp

View File

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: a6126d3822550ed449313e7bdb7b6fe1
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3}