【表删除】AdventureReward

dev_chengFeng
gaoxin 2021-04-02 14:49:00 +08:00
parent 28ca69e078
commit 1de64d1492
2 changed files with 7 additions and 7 deletions

View File

@ -63,7 +63,7 @@ ConfigName = {
ArenaReward = "ArenaReward", ArenaReward = "ArenaReward",
ArenaSetting = "ArenaSetting", ArenaSetting = "ArenaSetting",
DifferDemonsBoxSetting = "DifferDemonsBoxSetting", DifferDemonsBoxSetting = "DifferDemonsBoxSetting",
AdventureReward = "AdventureReward", -- AdventureReward = "AdventureReward",
DialogueViewConfig = "DialogueViewConfig", DialogueViewConfig = "DialogueViewConfig",
JumpConfig = "JumpConfig", JumpConfig = "JumpConfig",
RechargeCommodityConfig = "RechargeCommodityConfig", RechargeCommodityConfig = "RechargeCommodityConfig",

View File

@ -1,7 +1,7 @@
AdventureManager = {} AdventureManager = {}
local this = AdventureManager local this = AdventureManager
local GameSetting = ConfigManager.GetConfig(ConfigName.GameSetting) local GameSetting = ConfigManager.GetConfig(ConfigName.GameSetting)
local AdventureReward = ConfigManager.GetConfig(ConfigName.AdventureReward) -- local AdventureReward = ConfigManager.GetConfig(ConfigName.AdventureReward)
-- local AdventureConfig = ConfigManager.GetConfig(ConfigName.AdventureConfig) -- local AdventureConfig = ConfigManager.GetConfig(ConfigName.AdventureConfig)
local VipLevelConfig = ConfigManager.GetConfig(ConfigName.VipLevelConfig) local VipLevelConfig = ConfigManager.GetConfig(ConfigName.VipLevelConfig)
local StoreConfig = ConfigManager.GetConfig(ConfigName.StoreConfig) local StoreConfig = ConfigManager.GetConfig(ConfigName.StoreConfig)
@ -142,11 +142,11 @@ function this.GetTableStaticData()
--冒险宝箱显示的三种状态(达到多少时间显示什么宝箱) --冒险宝箱显示的三种状态(达到多少时间显示什么宝箱)
--每日奖励 --每日奖励
this.adventureBoxShow = GameSetting[1].AdventureBoxShow this.adventureBoxShow = GameSetting[1].AdventureBoxShow
for k, v in ConfigPairs(AdventureReward) do -- for k, v in ConfigPairs(AdventureReward) do
this.minRank[k] = v.MinRank -- this.minRank[k] = v.MinRank
this.maxRank[k] = v.MaxRank -- this.maxRank[k] = v.MaxRank
table.insert(this.dailyReward, v.DailyReward) -- table.insert(this.dailyReward, v.DailyReward)
end -- end
end end
function this.TimeCountDown() function this.TimeCountDown()