七界特权描述修改
parent
1a2a407d66
commit
8ecb6ee081
|
@ -3,7 +3,7 @@ local this = {}
|
|||
local HomeLand = ConfigManager.GetConfig(ConfigName.HomeLand)
|
||||
local HomeLandLevel = ConfigManager.GetConfig(ConfigName.HomeLandLevel)
|
||||
local HomeLandTask = ConfigManager.GetConfig(ConfigName.HomeLandTask)
|
||||
local price = ConfigManager.GetConfigData(ConfigName.RechargeCommodityConfig,1120).Price
|
||||
--local price = ConfigManager.GetConfigData(ConfigName.RechargeCommodityConfig,1120).Price
|
||||
--传入父脚本模块
|
||||
local parent
|
||||
--传入特效层级
|
||||
|
@ -55,7 +55,7 @@ function this:Refresh()
|
|||
this.text2.text = "每日可使用<color=#d6821a>五次特权加速</color>功能,每次可减少<color=#d6821a>8小时</color>建筑升级时间"
|
||||
this.text3.text = "购买后赠送<color=#d6821a>唤元神符*2</color>以及<color=#d6821a>金币*150万</color>"
|
||||
this.leftTime.text = "购买后持续30天"
|
||||
this.btnText.text = string.format("%s元",price)
|
||||
--this.btnText.text = string.format("%s元",price)
|
||||
Util.SetGray(this.btn,false)
|
||||
this.btn:GetComponent("Button").enabled = true
|
||||
local data = PrivilegeManager.GetSerData(4022)
|
||||
|
|
|
@ -108,7 +108,7 @@ function this:OnShow(_parent,...)
|
|||
elseif curType == 4 then --七界秘宝
|
||||
rewardData,rewardData1 = GeneralTreasureMangaer.GetAllRewardData()
|
||||
this:SetItem(rewardData,rewardData1)
|
||||
this.tip.text = "·获得<color=#45953B>1500积分</color>\n·获取<color=#45953B>1980妖晶</color>,激活<color=#45953B>进阶专属奖励</color>\n<size=25> <color=#45953B>妖晶</color>奖励通过<color=#45953B>邮件</color>发送</size>"
|
||||
this.tip.text = "·获得<color=#45953B>1500积分</color>\n·获取<color=#45953B>198万妖晶</color>,激活<color=#45953B>进阶专属奖励</color>\n<size=25> <color=#45953B>妖晶</color>奖励通过<color=#45953B>邮件</color>发送</size>"
|
||||
this.dealBtnIma.gameObject:SetActive(false)
|
||||
this.dealBtnText.gameObject:SetActive(true)
|
||||
local config = ConfigManager.GetConfigData(ConfigName.RechargeCommodityConfig,type[curType].id)
|
||||
|
|
Loading…
Reference in New Issue