战令banner修改

This commit is contained in:
Fang 2023-11-14 18:03:01 +08:00
parent 45d10ff588
commit 8f263b4a94
3 changed files with 14 additions and 12 deletions

View File

@ -81,7 +81,7 @@ local activity = {
}, },
[1706]={ [1706]={
["act_type"]=6, ["act_type"]=6,
["start_time"]="2023-11-30 00:00:00", ["start_time"]="2023-12-30 00:00:00",
["end_time"]="2023-01-08 00:00:00" ["end_time"]="2023-01-08 00:00:00"
} }
} }

View File

@ -2,32 +2,38 @@ local bounty_time = {
[1]={ [1]={
["season"]=1, ["season"]=1,
["start_time"]="2023-6-20 00:00:00", ["start_time"]="2023-6-20 00:00:00",
["end_time"]="2023-8-1 00:00:00" ["end_time"]="2023-8-1 00:00:00",
["ui_banner"]="ui_bounty_banner"
}, },
[2]={ [2]={
["season"]=2, ["season"]=2,
["start_time"]="2023-8-1 00:00:00", ["start_time"]="2023-8-1 00:00:00",
["end_time"]="2023-9-1 00:00:00" ["end_time"]="2023-9-1 00:00:00",
["ui_banner"]="ui_bounty_banner_2"
}, },
[3]={ [3]={
["season"]=3, ["season"]=3,
["start_time"]="2023-9-1 00:00:00", ["start_time"]="2023-9-1 00:00:00",
["end_time"]="2023-10-1 00:00:00" ["end_time"]="2023-10-1 00:00:00",
["ui_banner"]="ui_bounty_banner_3"
}, },
[4]={ [4]={
["season"]=4, ["season"]=4,
["start_time"]="2023-10-1 00:00:00", ["start_time"]="2023-10-1 00:00:00",
["end_time"]="2023-11-1 00:00:00" ["end_time"]="2023-11-1 00:00:00",
["ui_banner"]="ui_bounty_banner_4"
}, },
[5]={ [5]={
["season"]=5, ["season"]=5,
["start_time"]="2023-11-1 00:00:00", ["start_time"]="2023-11-1 00:00:00",
["end_time"]="2023-12-1 00:00:00" ["end_time"]="2023-12-1 00:00:00",
["ui_banner"]="ui_bounty_banner_5"
}, },
[6]={ [6]={
["season"]=6, ["season"]=6,
["start_time"]="2023-12-1 00:00:00", ["start_time"]="2023-12-1 00:00:00",
["end_time"]="2024-1-1 00:00:00" ["end_time"]="2024-1-1 00:00:00",
["ui_banner"]="ui_bounty_banner"
} }
} }
local config = { local config = {

View File

@ -176,11 +176,7 @@ function BountyData:getRewardBannerName()
end end
function BountyData:getBannerSpineName() function BountyData:getBannerSpineName()
if self.season == 1 then return ConfigManager:getConfig("bounty_time")[self.season].ui_banner
return "ui_bounty_banner"
else
return "ui_bounty_banner_" .. self.season
end
end end
function BountyData:getSeason() function BountyData:getSeason()