妖晶替换为钻石

SK_LongZhu
PC-202302260912\Administrator 2025-08-13 18:09:55 +08:00
parent a2fdb6f9da
commit abb7aa4c19
48 changed files with 109 additions and 109 deletions

View File

@ -437,7 +437,7 @@ PanelTypeView2 = {
-- PanelType = {
-- Main = 1, --主界面
-- Recruit = 2, --英雄抽卡
-- SoulCrystal = 3, -- 金币,魂晶,妖晶
-- SoulCrystal = 3, -- 金币,魂晶,钻石
-- RoleInfo = 4, --英雄详情界面
-- SecretBox = 5, --秘盒页面
-- Arena = 6, --竞技场页面
@ -574,7 +574,7 @@ UpViewRechargeType = {
JYD = 6, --归元髓液
Gold = 14, --金币
SoulCrystal = 15, --魂晶
DemonCrystal = 16, --妖晶
DemonCrystal = 16, --钻石
SpiritTicket = 19, --聚灵券
MysteriousMoney = 20, --玄冥宝钞
GhostRing = 21, --妖魂魔戒
@ -948,7 +948,7 @@ RedPointType = {
--Expert_LuckyTurn= 1118,--秘宝达人
Expert_Expedition = 3126, --天宫达人
Expert_Slhj = 3170, --森罗幻境达人
Expert_YJLC = 3188, --妖晶累充
Expert_YJLC = 3188, --钻石累充
Expert_XJLC = 3189, --仙晶累充
Expert_WeekCard = 3150, --周卡
Expert_YunYouMan = 3128, --云游商人
@ -1578,7 +1578,7 @@ ActivityTypeDef = {
shuaChongTeQuan = 10301, --刷冲特权
KaiFuChongBang = 110, --开服冲榜
Song10Wan = 112, --送10万真充
yaojingleichong = 113, --妖晶累充
yaojingleichong = 113, --钻石累充
xianjingleichong = 114, --仙晶累充
godsWayTowerTreasure_two = 115, --多队塔二队秘宝
godsWayTowerTreasure_three = 116, --多队塔三队秘宝

View File

@ -473,7 +473,7 @@ Language = {
[10472] = GetLanguageStrById("%s分%s秒"),
[10473] = GetLanguageStrById("%s天%s小时"),
[10474] = GetLanguageStrById("每日累计充值金额达到条件,即可领取限时豪礼"),
[10475] = GetLanguageStrById("(购买礼包或者充值妖晶均计算在内)"),
[10475] = GetLanguageStrById("(购买礼包或者充值钻石均计算在内)"),
[10476] = GetLanguageStrById("活动期间,累计充值金额达到条件,即可领取限时豪礼"),
[10477] = GetLanguageStrById("可领取"),
[10478] = GetLanguageStrById("1次"),
@ -495,7 +495,7 @@ Language = {
[10494] = GetLanguageStrById("次内必得金色界神技"),
[10495] = GetLanguageStrById("召唤<color=#A55A13>"),
[10496] = GetLanguageStrById("</color>次必得红色界神技"),
[10497] = GetLanguageStrById("妖晶不足!"),
[10497] = GetLanguageStrById("钻石不足!"),
[10498] = GetLanguageStrById("赠送1个乾坤令"),
[10499] = GetLanguageStrById("赠送10个乾坤令"),
[10500] = GetLanguageStrById("当前已招募次数:"),
@ -646,7 +646,7 @@ Language = {
[10645] = GetLanguageStrById("立即抢购"),
[10646] = GetLanguageStrById("原价:"),
[10647] = GetLanguageStrById("10连"),
[10648] = GetLanguageStrById("兑换妖晶"),
[10648] = GetLanguageStrById("兑换钻石"),
[10649] = GetLanguageStrById("免费%s次"),
[10650] = GetLanguageStrById("我的积分:<color=#FEC158>0</color>"),
[10651] = GetLanguageStrById("再寻<size=90%><color=#FC8401>10</color></size>次必得紫色英雄"),
@ -844,7 +844,7 @@ Language = {
[10843] = GetLanguageStrById("请输入要创建的公会名称"),
[10844] = GetLanguageStrById("公会名称长度不符合规范2-6个字"),
[10845] = GetLanguageStrById("创建一个公会吗?"),
[10846] = GetLanguageStrById("妖晶不足"),
[10846] = GetLanguageStrById("钻石不足"),
[10847] = GetLanguageStrById("创建成功"),
[10848] = GetLanguageStrById("创建公会消耗%d%s"),
[10849] = GetLanguageStrById("完成祭祀后才可领取奖励!"),
@ -980,7 +980,7 @@ Language = {
[10979] = GetLanguageStrById("援助次数("),
[10980] = GetLanguageStrById("免费援助"),
[10981] = GetLanguageStrById("援 助"),
[10982] = GetLanguageStrById("妖晶或援助次数不足!"),
[10982] = GetLanguageStrById("钻石或援助次数不足!"),
[10983] = GetLanguageStrById("您还未进行求援!"),
[10984] = GetLanguageStrById("您已完成求援!"),
[10985] = GetLanguageStrById("求助发送成功!"),
@ -1364,12 +1364,12 @@ Language = {
[11363] = GetLanguageStrById("月度献礼"),
[11364] = GetLanguageStrById("特权商城"),
[11365] = GetLanguageStrById("0时00分00秒"),
[11366] = GetLanguageStrById("超值返利,累计可获<color=#FF6500>10000</color>妖晶"),
[11366] = GetLanguageStrById("超值返利,累计可获<color=#FF6500>10000</color>钻石"),
[11367] = GetLanguageStrById("达到"),
[11368] = GetLanguageStrById("级可领取"),
[11369] = GetLanguageStrById("请购买基金后领取"),
[11370] = GetLanguageStrById("恭喜!您已领取全部成长基金!"),
[11371] = GetLanguageStrById("恭喜!您已激活更高等级成长基金,大量妖晶福利等您领取,快来激活吧!"),
[11371] = GetLanguageStrById("恭喜!您已激活更高等级成长基金,大量钻石福利等您领取,快来激活吧!"),
[11372] = GetLanguageStrById("未达到等级要求~~~"),
[11373] = GetLanguageStrById("玩家等级达到%s"),
[11374] = GetLanguageStrById("通关故事关卡%s"),
@ -1421,11 +1421,11 @@ Language = {
[11420] = GetLanguageStrById("当前无出战神龙!"),
[11421] = GetLanguageStrById("当前等级"),
[11422] = GetLanguageStrById("下一等级"),
[11423] = GetLanguageStrById("今日妖晶召唤次数不足!"),
[11424] = GetLanguageStrById("妖晶召唤次数:%s/%s"),
[11423] = GetLanguageStrById("今日钻石召唤次数不足!"),
[11424] = GetLanguageStrById("钻石召唤次数:%s/%s"),
[11425] = GetLanguageStrById("赠送%s个%s"),
[11426] = GetLanguageStrById("去激活"),
[11427] = GetLanguageStrById("每天增加<color=#55C78AFF>3次</color>免费召唤,妖晶召唤<color=#55C78AFF>8折</color>优惠"),
[11427] = GetLanguageStrById("每天增加<color=#55C78AFF>3次</color>免费召唤,钻石召唤<color=#55C78AFF>8折</color>优惠"),
[11428] = GetLanguageStrById("剩余%s次"),
[11429] = GetLanguageStrById("重置时间:%s"),
[11430] = GetLanguageStrById("属性提升"),
@ -1560,8 +1560,8 @@ Language = {
[11559] = GetLanguageStrById("所有技能将被清空等级(变为未激活状态),请慎重考虑!同时将返还消耗的"),
[11560] = GetLanguageStrById("本次重置需要消耗"),
[11561] = GetLanguageStrById("天宫秘宝"),
[11562] = GetLanguageStrById("<color=#95523B>解锁秘宝可以领取额外专属奖励并直接获得200积分<color=#CC4325>可获取1980妖晶,邮件领取</color></color>"),
[11563] = GetLanguageStrById("<color=#60A22C>解锁秘宝,激活进阶</color><color=#95523B>专属奖励+直升15级<color=#CC4325>可获取1980妖晶,邮件领取</color></color>"),
[11562] = GetLanguageStrById("<color=#95523B>解锁秘宝可以领取额外专属奖励并直接获得200积分<color=#CC4325>可获取1980钻石,邮件领取</color></color>"),
[11563] = GetLanguageStrById("<color=#60A22C>解锁秘宝,激活进阶</color><color=#95523B>专属奖励+直升15级<color=#CC4325>可获取1980钻石,邮件领取</color></color>"),
[11564] = GetLanguageStrById("购买成功,请继续领取额外奖励!"),
[11565] = GetLanguageStrById("神龙选择"),
[11566] = GetLanguageStrById("请在下面列表中选择一个神龙抽取"),
@ -2128,7 +2128,7 @@ Language = {
[12127] = GetLanguageStrById("三星"),
[12128] = GetLanguageStrById("三星英雄"),
[12129] = GetLanguageStrById("次数奖励"),
[12130] = GetLanguageStrById("妖晶限购"),
[12130] = GetLanguageStrById("钻石限购"),
[12131] = GetLanguageStrById("召唤<color=#F27D0F>"),
[12132] = GetLanguageStrById("</color>次必得UP英雄"),
[12133] = GetLanguageStrById("扫荡后可直接获得挑战奖励并保持当前排名,确定消耗一次挑战次数进行扫荡?"),
@ -2144,8 +2144,8 @@ Language = {
[12143] = GetLanguageStrById("输入圣物ID"),
[12144] = GetLanguageStrById("已到达最大数量!"),
[12145] = GetLanguageStrById("已到达最小数量!"),
[12146] = GetLanguageStrById("确认花费%s妖晶进行1次降妖夺宝"),
[12147] = GetLanguageStrById("确认花费%s妖晶进行10次降妖夺宝"),
[12146] = GetLanguageStrById("确认花费%s钻石进行1次降妖夺宝"),
[12147] = GetLanguageStrById("确认花费%s钻石进行10次降妖夺宝"),
[12148] = GetLanguageStrById("吕欣然地图Id给错了哈"),
[12149] = GetLanguageStrById("锁定数量已满,无法刷新!"),
[12150] = GetLanguageStrById("阶段已变更无法战斗,请退出!"),
@ -2187,7 +2187,7 @@ Language = {
[12186] = GetLanguageStrById("伙伴共鸣开启引导"),
[12187] = GetLanguageStrById("收到援助:"),
[12188] = GetLanguageStrById("需要6名共鸣守卫才可激活共鸣效果!"),
[12189] = GetLanguageStrById("是否花费%d妖晶直接恢复"),
[12189] = GetLanguageStrById("是否花费%d钻石直接恢复"),
[12190] = GetLanguageStrById("进错了....."),
[12191] = GetLanguageStrById("进错了"),
[12192] = GetLanguageStrById("共鸣ing"),
@ -2257,7 +2257,7 @@ Language = {
[12256] = GetLanguageStrById("原价:%s元"),
[12257] = GetLanguageStrById("现价:%s元"),
[12258] = GetLanguageStrById("轩辕宝境必备特权每天增加2次免费次数6次额外购买次数"),
[12259] = GetLanguageStrById("每日可额外增加3次免费的神龙山招募机会同时神龙山妖晶招募价格变为8折!"),
[12259] = GetLanguageStrById("每日可额外增加3次免费的神龙山招募机会同时神龙山钻石招募价格变为8折!"),
[12260] = GetLanguageStrById("分解的界神技中包含金色或金色以上界神技,确定进行分解?"),
[12261] = GetLanguageStrById("替 换"),
[12262] = GetLanguageStrById("道具种类:%s"),
@ -2284,8 +2284,8 @@ Language = {
[12283] = GetLanguageStrById("\n\n\n\n\n\n$0.99"),
[12284] = GetLanguageStrById("%m月%d日%H时"),
[12285] = GetLanguageStrById("红点Debug"),
[12286] = GetLanguageStrById("<color=#95523B>解锁秘宝,可以领取额外专属奖励, 并直接获得200积分<color=#CC4325>可获取1980妖晶,邮件领取</color></color>"),
[12287] = GetLanguageStrById("<color=#60A22C>解锁秘宝,激活进阶</color><color=#95523B>专属奖励+ 直升15级<color=#CC4325>可获取1980妖晶,邮件领取</color></color>"),
[12286] = GetLanguageStrById("<color=#95523B>解锁秘宝,可以领取额外专属奖励, 并直接获得200积分<color=#CC4325>可获取1980钻石,邮件领取</color></color>"),
[12287] = GetLanguageStrById("<color=#60A22C>解锁秘宝,激活进阶</color><color=#95523B>专属奖励+ 直升15级<color=#CC4325>可获取1980钻石,邮件领取</color></color>"),
[12288] = GetLanguageStrById("暂无可领取的奖励"),
[12289] = GetLanguageStrById("车迟斗法将于次日0点重置。"),
[12290] = GetLanguageStrById("请在以下道具中选择一种"),

View File

@ -138,7 +138,7 @@ function AdventureMainPanel:InitComponent()
end
function AdventureMainPanel:OnRefreshPopUpData()
--探险次数不充足或妖晶不充足
--探险次数不充足或钻石不充足
if (AdventureManager.fastBattlePrivilegeNumber == 0 or BagManager.GetItemCountById(StoreConfig[10015].Cost[1][1]) < cost or this.hourGlassNumber < costHourGlass) then
this.popUpView1:SetActive(false)
end
@ -265,9 +265,9 @@ function AdventureMainPanel:BindEvent()
isChooseOne = false
this:ClickFastBattle()
else
--妖晶充足
--钻石充足
if (BagManager.GetItemCountById(StoreConfig[10015].Cost[1][1]) >= cost) then
--妖晶充足,时光沙漏充足,极速探险次数充足
--钻石充足,时光沙漏充足,极速探险次数充足
if (this.hourGlassNumber >= costHourGlass and AdventureManager.fastBattlePrivilegeNumber ~= 0) then
this.chooseImage1:SetActive(isChooseOne)
this.chooseImage2:SetActive(not isChooseOne)
@ -275,12 +275,12 @@ function AdventureMainPanel:BindEvent()
this.popUpView1:GetComponent("PlayFlyAnim"):PlayAnim(true)
this:OnRefreshPopUpData()
end
--妖晶充足,时光沙漏充足,极速探险次数不足
--钻石充足,时光沙漏充足,极速探险次数不足
if (this.hourGlassNumber >= costHourGlass and AdventureManager.fastBattlePrivilegeNumber == 0) then
isChooseOne = false
this:ClickFastBattle()
end
--妖晶充足,时光沙漏不足,急速探险次数充足
--钻石充足,时光沙漏不足,急速探险次数充足
if (this.hourGlassNumber < costHourGlass and AdventureManager.fastBattlePrivilegeNumber ~= 0) then
local isPopUp = RedPointManager.PlayerPrefsGetStr(PlayerManager.uid .. "isShowPopUp")
local currentTime = os.date("%Y%m%d", PlayerManager.serverTime)
@ -294,21 +294,21 @@ function AdventureMainPanel:BindEvent()
this:ClickFastBattle()
end
end
--妖晶充足,时光沙漏不足,急速探险次数不足
--钻石充足,时光沙漏不足,急速探险次数不足
if (this.hourGlassNumber < costHourGlass and AdventureManager.fastBattlePrivilegeNumber == 0) then
PopupTipPanel.ShowTip(Language[10054])
end
else
--妖晶不足,时光沙漏充足,急速探险次数充足/不充足
--钻石不足,时光沙漏充足,急速探险次数充足/不充足
if (this.hourGlassNumber >= costHourGlass) then
isChooseOne = false
this:ClickFastBattle()
end
--妖晶不充足,时光沙漏不足,急速探险次数充足
--钻石不充足,时光沙漏不足,急速探险次数充足
if (this.hourGlassNumber < costHourGlass and AdventureManager.fastBattlePrivilegeNumber ~= 0) then
UIManager.OpenPanel(UIName.QuickPurchasePanel, { type = UpViewRechargeType.DemonCrystal })
end
--妖晶不足,时光沙漏不充足,急速探险次数不充足
--钻石不足,时光沙漏不充足,急速探险次数不充足
if (this.hourGlassNumber < costHourGlass and AdventureManager.fastBattlePrivilegeNumber == 0) then
PopupTipPanel.ShowTip(Language[10054])
end
@ -320,7 +320,7 @@ function AdventureMainPanel:BindEvent()
Util.AddClick(this.popUpViewBtn1, function()
local isPopUp = RedPointManager.PlayerPrefsGetStr(PlayerManager.uid .. "isShowPopUp")
local currentTime = os.date("%Y%m%d", PlayerManager.serverTime)
--选择妖晶且当日弹板
--选择钻石且当日弹板
if (isPopUp ~= currentTime and isChooseOne) then
this.popUpView2:SetActive(true)
--this.popUpView2:GetComponent("PlayFlyAnim"):PlayAnim(true)
@ -332,7 +332,7 @@ function AdventureMainPanel:BindEvent()
end)
Util.AddClick(this.btnSureCost, function()
Log("__________________________________________________________")
--探险次数不充足或妖晶不充足
--探险次数不充足或钻石不充足
local isShow = this.Toggle.isOn
if (isShow == true) then
local currentTime = os.date("%Y%m%d", PlayerManager.serverTime)

View File

@ -219,7 +219,7 @@ function this.GetAdventureData()
this.GetTableStaticData()
end
-- 获取妖晶急速探索次数
-- 获取钻石急速探索次数
function this.GetStoneFastBattleCount()
return ShopManager.GetShopItemData(SHOP_TYPE.FUNCTION_SHOP, 10015).buyNum
end
@ -474,7 +474,7 @@ function this.GetAventureRewardRequest(type, position, isCostDemonCrystal, isFas
end
--急速探险
if (isFastBattle == true) then
--花费妖晶
--花费钻石
if (isCostDemonCrystal == true) then
PrivilegeManager.RefreshPrivilegeUsedTimes(GameSetting[1].AdventureFastBattlePrivilege, 1)
ShopManager.AddShopItemBuyNum(SHOP_TYPE.FUNCTION_SHOP, 10015, 1)

View File

@ -296,7 +296,7 @@ function this.SetData(root, data)
PopupTipPanel.ShowTip(Language[10297])
return
end
--检测妖晶数量
--检测钻石数量
local itemId=storeData.Cost[1][1] --消耗道具
if BagManager.GetItemCountById(itemId)<storeData.Cost[2][buyTimes] and freeTime<=0 then

View File

@ -418,7 +418,7 @@ function this.SetData(root, data, ldata,state)
return
end
--检测妖晶数量
--检测钻石数量
local itemId=storeData.Cost[1][1] --消耗道具
if BagManager.GetItemCountById(itemId)<storeData.Cost[2][4] and freeTime<=0 and type==2 then
PopupTipPanel.ShowTip(string.format(Language[10298],GetLanguageStrById(itemConfig[itemId].Name)))

View File

@ -198,7 +198,7 @@ function LingShouBaoGe:refreshBtnShow()
maxMoneyId = lotterySetting[self.singleRecruit.Id].MoneyTimes
-- local curTimes=PrivilegeManager.GetPrivilegeUsedTimes(maxtimesId)
local curTimes = PrivilegeManager.GetPrivilegeRemainValue(maxtimesId)
self.upper.text = "今日妖晶召唤上限" .. curTimes .. "/" .. privilegeConfig[maxtimesId].Condition[1][2] --召唤上限
self.upper.text = "今日钻石召唤上限" .. curTimes .. "/" .. privilegeConfig[maxtimesId].Condition[1][2] --召唤上限
--if curTimes==0 then
maxtimesId = lotterySetting[self.singleRecruit.Id].MaxTimes
--end

View File

@ -168,7 +168,7 @@ function QianKunBox:refreshBtnShow()
local money=PrivilegeManager.GetPrivilegeRemainValue(self.MoneyTimes)
self.limit.text ="今日召唤上限:"..curTimes.."/"..privilegeConfig[self.maxtimesId].Condition[1][2]
self.leftTimeTxt.text="今日剩余妖晶召唤次数:"..money
self.leftTimeTxt.text="今日剩余钻石召唤次数:"..money
self.btnTime.gameObject:SetActive(true)
local freeTime = 0
if self.freeTimesId and self.freeTimesId > 0 then
@ -233,7 +233,7 @@ function QianKunBox:Recruit(recrutType,recrutId,uiName,itemId)
return
end
if itemId==16 and PrivilegeManager.GetPrivilegeRemainValue(self.MoneyTimes)<recrutType then
PopupTipPanel.ShowTip("无法超出每日妖晶召唤次数上限!")
PopupTipPanel.ShowTip("无法超出每日钻石召唤次数上限!")
return
end
RecruitManager.RecruitRequest(recrutId, function(msg)

View File

@ -90,7 +90,7 @@ function QianKunBoxBuyOnePanel:BindEvent()
end
end
if tempItemId == 16 and moneyTime and moneyTime > 0 then
PrivilegeManager.RefreshPrivilegeUsedTimes(moneyTime,1)--记录妖晶限购抽卡次数
PrivilegeManager.RefreshPrivilegeUsedTimes(moneyTime,1)--记录钻石限购抽卡次数
end
local state = PlayerPrefs.GetInt(PlayerManager.uid.."GeneralPopup_RecruitConfirm"..recType[2])
if state==0 and tempItemId == 16 then
@ -99,7 +99,7 @@ function QianKunBoxBuyOnePanel:BindEvent()
recruitOne()
end
else
--UIManager.OpenPanel(UIName.QuickPurchasePanel, { type = UpViewRechargeType.DemonCrystal })--应跳到充值界面,现在是用之前的货币换取妖晶
--UIManager.OpenPanel(UIName.QuickPurchasePanel, { type = UpViewRechargeType.DemonCrystal })--应跳到充值界面,现在是用之前的货币换取钻石
PopupTipPanel.ShowTip(string.format("%s不足",ItemConfig[tempItemId].Name))
self:ClosePanel()
end

View File

@ -93,7 +93,7 @@ function QianKunBoxBuyTenPanel:BindEvent()
end
end
if tempItemId == 16 and moneyTime and moneyTime > 0 then
PrivilegeManager.RefreshPrivilegeUsedTimes(moneyTime,10)--记录妖晶限购抽卡次数
PrivilegeManager.RefreshPrivilegeUsedTimes(moneyTime,10)--记录钻石限购抽卡次数
end
local state = PlayerPrefs.GetInt(PlayerManager.uid.."GeneralPopup_RecruitConfirm"..recType[2])
if state==0 and tempItemId == 16 then
@ -102,7 +102,7 @@ function QianKunBoxBuyTenPanel:BindEvent()
recruitTen()
end
else
--UIManager.OpenPanel(UIName.QuickPurchasePanel, { type = UpViewRechargeType.DemonCrystal })--应跳到充值界面,现在是用之前的货币换取妖晶
--UIManager.OpenPanel(UIName.QuickPurchasePanel, { type = UpViewRechargeType.DemonCrystal })--应跳到充值界面,现在是用之前的货币换取钻石
PopupTipPanel.ShowTip(string.format("%s不足",ItemConfig[tempItemId].Name))
self:ClosePanel()
end

View File

@ -357,9 +357,9 @@ function TimeLimitUpHero:Recruit(actId,type,itemId)
end
PrivilegeManager.RefreshPrivilegeUsedTimes(self.maxtimesId,recrutType)--记录抽卡次数
--记录妖晶抽卡
--记录钻石抽卡
if itemId==16 then
PrivilegeManager.RefreshPrivilegeUsedTimes(self.yaojingMaxTimeId,recrutType)--记录妖晶抽卡次数
PrivilegeManager.RefreshPrivilegeUsedTimes(self.yaojingMaxTimeId,recrutType)--记录钻石抽卡次数
end
if type == 1 then
UIManager.OpenPanel(UIName.QianKunBoxBuyOnePanel, msg.drop,RecruitType.PrayerSingle,{RecruitType.PrayerSingle,RecruitType.PrayerTen},oneFunc)

View File

@ -51,7 +51,7 @@ function XiangYaoDuoBao:InitComponent()
self.upper=Util.GetGameObject(self.gameObject,"time/times"):GetComponent("Text") ---召唤上限
self.tip1=Util.GetGameObject(self.gameObject,"bottom/Tip1"):GetComponent("Text") ---刷新时间
self.tip2=Util.GetGameObject(self.gameObject,"bottom/Tip2"):GetComponent("Text") --妖晶限购
self.tip2=Util.GetGameObject(self.gameObject,"bottom/Tip2"):GetComponent("Text") --钻石限购
self.btnGroup=Util.GetGameObject(self.gameObject,"bottom/btngroup")
self.leftTime=Util.GetGameObject(self.gameObject,"bottom/lefttime"):GetComponent("Text")
self.canGet=Util.GetGameObject(self.gameObject,"bottom/canGet"):GetComponent("Text")
@ -289,7 +289,7 @@ function XiangYaoDuoBao:refreshBtnShow()
RecruitManager.RecruitRequest(singleRecruit.Id, function(msg)
PrivilegeManager.RefreshPrivilegeUsedTimes(maxtimesId,1)--记录抽卡次数
if not isFree and d[1] == 16 then
PrivilegeManager.RefreshPrivilegeUsedTimes(singleRecruit.MoneyTimes,1)--记录妖晶抽卡次数
PrivilegeManager.RefreshPrivilegeUsedTimes(singleRecruit.MoneyTimes,1)--记录钻石抽卡次数
end
UIManager.OpenPanel(UIName.SingleRecruitPanel, msg.drop.Hero[1],singleRecruit.Id,bType.Btn1,{RecruitType.XiangYaoSingle,RecruitType.XiangYaoTen})
CheckRedPointStatus(RedPointType.XiangYaoDuoBao)
@ -322,7 +322,7 @@ function XiangYaoDuoBao:refreshBtnShow()
RecruitManager.RecruitRequest(tenRecruit.Id, function(msg)
PrivilegeManager.RefreshPrivilegeUsedTimes(maxtimesId,10)--记录抽卡次数
if d[1] == 16 then
PrivilegeManager.RefreshPrivilegeUsedTimes(singleRecruit.MoneyTimes,10)--记录妖晶抽卡次数
PrivilegeManager.RefreshPrivilegeUsedTimes(singleRecruit.MoneyTimes,10)--记录钻石抽卡次数
end
UIManager.OpenPanel(UIName.SingleRecruitPanel, msg.drop.Hero,tenRecruit.Id,bType.Btn10,{RecruitType.XiangYaoTen,RecruitType.XiangYaoTen})
CheckRedPointStatus(RedPointType.XiangYaoDuoBao)

View File

@ -10,10 +10,10 @@ local costHourGlass = StoreConfig[10008].Cost[2][4]
-- 时光沙漏ID
local sandItemId = StoreConfig[10008].Cost[1][1]
-- 妖晶ID
-- 钻石ID
local crystalItemId = StoreConfig[10015].Cost[1][1]
-- 当前妖晶的所需消耗
-- 当前钻石的所需消耗
local crystalNeed = 0
--
local orginLayer = 0
@ -147,11 +147,11 @@ end
-- 刷新道具数量
function this.RefreshItemNum()
--已经花费妖晶次数+1
--已经花费钻石次数+1
local count = AdventureManager.GetStoneFastBattleCount()
local hasCostNumber = count + 1
local costDemonCrystalMax = StoreConfig[10015].Cost[2]
-- 消耗妖晶时可探索的最大次数
-- 消耗钻石时可探索的最大次数
local crystalMax = table.nums(costDemonCrystalMax)
-- 此时需要消耗的妖精数量
local costNeed = 0
@ -206,7 +206,7 @@ end
function this.HandExplore()
FightPointPassManager.oldLevel = PlayerManager.level
--Log("当前玩家等级 --- " .. PlayerManager.level)
--选择了消耗妖晶
--选择了消耗钻石
local mazeTreasureMax = ConfigManager.GetConfigData(ConfigName.PlayerLevelConfig,PlayerManager.level).MazeTreasureMax
local str = Language[10597]..BagManager.GetItemCountById(FindTreasureManager.materialItemId).."/"..mazeTreasureMax..
Language[10598]..GetLanguageStrById(ConfigManager.GetConfigData(ConfigName.ItemConfig,FindTreasureManager.materialItemId).Name)..

View File

@ -403,7 +403,7 @@ function this.RequestGetDailyReward(func)
if PrivilegeManager.GetPrivilegeRemainValue(freePriId) > 0 then
s()
else
--检测妖晶数量
--检测钻石数量
local itemId=storeData.Cost[1][1] --消耗道具
local num = PrivilegeManager.GetPrivilegeRemainValue(buyPriId)
local needNum = storeData.Cost[2][PrivilegeManager.GetPrivilegeUsedTimes(buyPriId) + 1] or storeData.Cost[2][#storeData.Cost[2]]

View File

@ -147,7 +147,7 @@ function this:BindEvent()
-- if PrivilegeManager.GetPrivilegeRemainValue(32)<=10 then
-- if BagManager.GetItemCountById(87)<moreData.CostItem[1][2] then
-- if BagManager.GetItemCountById(16)<moreData.CostItem[2][2] then
-- UIManager.OpenPanel(UIName.ShopExchangePopup, SHOP_TYPE.FUNCTION_SHOP, 10013, "兑换妖晶")
-- UIManager.OpenPanel(UIName.ShopExchangePopup, SHOP_TYPE.FUNCTION_SHOP, 10013, "兑换钻石")
-- return
-- end
-- end

View File

@ -290,7 +290,7 @@ function FindTreasureMainPanel:OnShowPanelData(isSort,isTop,isAni)
self.allGetBtnText.fontSize = GetCurLanguage() ~= 2 and 45 or 35
self.refreshImageText.fontSize = GetCurLanguage() ~= 2 and 38 or 28
if itemNum <= 0 then
if RefreshItemNum > 0 then--劵有时花卷 没时候花妖晶
if RefreshItemNum > 0 then--劵有时花卷 没时候花钻石
self.refreshBtnNumText.text = mazeTreasureSetting.RefreshItem[2]
--Log("---------------mazeTreasureSetting.RefreshItem[1] "..mazeTreasureSetting.RefreshItem[1])
self.refreshBtnImage.sprite = self.spLoader:LoadSprite(GetResourcePath(ConfigManager.GetConfigData(ConfigName.ItemConfig,mazeTreasureSetting.RefreshItem[1]).ResourceID))

View File

@ -57,7 +57,7 @@ function this:BindEvent()
-- local priviId = PrivilegeManager.GetPrivilegeRemainValue()
HomeLandManager.ResumeCost(data.dataSingle,string.split(costOneSec,"#"),function (num)
MsgPanel.ShowTwo(string.format("是否花费%s妖晶立即升级?",num),function() end,function()
MsgPanel.ShowTwo(string.format("是否花费%s钻石立即升级?",num),function() end,function()
NetManager.ArchitectureOperateRequest({data.dataMain.Id},2,0,function ()
Game.GlobalEvent:DispatchEvent(GameEvent.UI.OnUpdateData)
--特效

View File

@ -80,7 +80,7 @@ function GuildTranscriptMainPopup:BindEvent()
if GuildTranscriptManager.GetCanBattleCount() <=0 then --今日已无剩余次数!
if GuildTranscriptManager.GetCanBuyBattleCount() <= 0 then
PopupTipPanel.ShowTip(Language[11067])
else--是否花费XX妖晶购买1次挑战次数并发起挑战
else--是否花费XX钻石购买1次挑战次数并发起挑战
local costId, finalNum, oriCostNum = ShopManager.calculateBuyCost(SHOP_TYPE.FUNCTION_SHOP, GuildTranscriptManager.shopGoodId, 1)
local itemName = GetLanguageStrById(ConfigManager.GetConfigData(ConfigName.ItemConfig,costId).Name)
if finalNum > BagManager.GetItemCountById(costId) then
@ -105,14 +105,14 @@ function GuildTranscriptMainPopup:BindEvent()
if GuildTranscriptManager.GetCanBattleCount() <=0 then --今日已无剩余次数!
if GuildTranscriptManager.GetCanBuyBattleCount() <= 0 then
PopupTipPanel.ShowTip(Language[11067])
else--是否花费XX妖晶购买1次挑战次数并发起挑战
else--是否花费XX钻石购买1次挑战次数并发起挑战
local costId, finalNum, oriCostNum = ShopManager.calculateBuyCost(SHOP_TYPE.FUNCTION_SHOP, GuildTranscriptManager.shopGoodId, 1)
local itemName = GetLanguageStrById(ConfigManager.GetConfigData(ConfigName.ItemConfig,costId).Name)
if finalNum > BagManager.GetItemCountById(costId) then
PopupTipPanel.ShowTip(string.format(Language[11068],itemName) )
return
end
--是否花费XX妖晶购买1次扫荡次数本次扫荡伤害为XXXXXX
--是否花费XX钻石购买1次扫荡次数本次扫荡伤害为XXXXXX
MsgPanel.ShowTwo(string.format( Language[11070],finalNum,itemName,GuildTranscriptManager.damage), nil, function()
--买东西
ShopManager.RequestBuyShopItem(SHOP_TYPE.FUNCTION_SHOP,GuildTranscriptManager.shopGoodId,1,function()

View File

@ -143,9 +143,9 @@ function HomeLand:BindEvent()
local value = math.ceil((HomeLandManager.BuildData[i].endTime - GetTimeStamp())/tonumber(costStr[1]))*tonumber(costStr[3])
-- LogGreen("需要16"..tostring(value).." 现有:"..tostring(BagManager.GetTotalItemNum(16)))
if BagManager.GetTotalItemNum(16) >= value then
MsgPanel.ShowTwo(string.format("是否花费%s妖晶立即升级?",value),function() end,function()
MsgPanel.ShowTwo(string.format("是否花费%s钻石立即升级?",value),function() end,function()
if BagManager.GetTotalItemNum(16) < value then
PopupTipPanel.ShowTip("妖晶不足!")
PopupTipPanel.ShowTip("钻石不足!")
return
end
NetManager.ArchitectureOperateRequest({HomeLandManager.BuildData[i].dataMain.Id},2,0,function ()
@ -162,7 +162,7 @@ function HomeLand:BindEvent()
end)
end,"取消","确定")
else
PopupTipPanel.ShowTip("妖晶不足!")
PopupTipPanel.ShowTip("钻石不足!")
end
end)
--特权加速

View File

@ -550,7 +550,7 @@ function this.BuyVipFun(type, warOrSd, fun)
if JumpServerManager.GetCanBuyBattleCount() <= 0 then
PopupTipPanel.ShowTip("今日已无挑战次数!")
else
--是否花费XX妖晶购买1次挑战次数并发起挑战
--是否花费XX钻石购买1次挑战次数并发起挑战
local costId, finalNum, oriCostNum = ShopManager.calculateBuyCost(SHOP_TYPE.FUNCTION_SHOP,
JumpServerManager.shopGoodId, 1)
local itemName = ConfigManager.GetConfigData(ConfigName.ItemConfig, costId).Name

View File

@ -297,7 +297,7 @@ function this.CheckIsShowRedPoint()
end
end
end
--检测妖晶数量变化进行红点检测
--检测钻石数量变化进行红点检测
function this.CheckRedPoint()
local canRewardTime = this.GetCanRewardTimes(VipManager.GetVipLevel())
local getRewardNumber = this.getRewardNumber + 1

View File

@ -352,7 +352,7 @@ function this.SwitchTreasureType(treasureType)
end)
else
PopupTipPanel.ShowTip(Language[10497])
--UIManager.OpenPanel(UIName.ShopExchangePopup, SHOP_TYPE.FUNCTION_SHOP, 10013, "兑换妖晶")
--UIManager.OpenPanel(UIName.ShopExchangePopup, SHOP_TYPE.FUNCTION_SHOP, 10013, "兑换钻石")
end
end
end)

View File

@ -1769,7 +1769,7 @@ function this.GetAdventurnUpLevelRequest(func, arenaId)
end
end)
end
--冒险区域领取奖励请求(position:0代表消耗时光沙漏1代表消耗妖晶)
--冒险区域领取奖励请求(position:0代表消耗时光沙漏1代表消耗钻石)
function this.GetAventureRewardRequest(func, type, position)
local data = FightInfoProto_pb.TakeAventureRewardRequest()
data.type = type

View File

@ -102,7 +102,7 @@ local TypeUpdateFunc = {
[ActivityTypeDef.DynamicAct_recharge] = function ()---周累计充值
this.GetMissionData(1,ActivityTypeDef.DynamicAct_recharge)
end,
[ActivityTypeDef.yaojingleichong] = function ()---妖晶累充
[ActivityTypeDef.yaojingleichong] = function ()---钻石累充
this.GetMissionData(1,ActivityTypeDef.yaojingleichong)
end,
[ActivityTypeDef.xianjingleichong] = function ()---仙晶累充

View File

@ -152,7 +152,7 @@ function GMFreeRecharge:OnShow(_sortingOrder)
end
local gifts={}
local activityData={}
-- 妖晶数量显示
-- 钻石数量显示

View File

@ -8,8 +8,8 @@ local TabBox = require("Modules/Common/TabBox")
local _TabData={
--[1] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = "刷充GM",img = "gm_shuachong_scGM_01_zh",id=2201,scale=0,all=0 },
[1] = { default = "UI_hz_gonghui_31", select = "UI_hz_gonghui_31", name = "超级特权" ,img = "gm_shuachong_cjGM_01_zh",id=2202,scale=6,all=128},
[2] = { default = "UI_hz_gonghui_32", select = "UI_hz_gonghui_32", name = "神级特权" ,img = "gm_shuachong_sjGM_01_zh",id=2203,scale=5,all=400 },
[3] = { default = "UI_hz_gonghui_33", select = "UI_hz_gonghui_33", name = "无上特权",img = "gm_shuachong_wsGM_01_zh",id=2204,scale=2,all=3500 },
[2] = { default = "UI_hz_gonghui_32", select = "UI_hz_gonghui_32", name = "神级特权" ,img = "gm_shuachong_sjGM_01_zh",id=2203,scale=5,all=400},
[3] = { default = "UI_hz_gonghui_33", select = "UI_hz_gonghui_33", name = "无上特权",img = "gm_shuachong_wsGM_01_zh",id=2204,scale=2,all=3500},
}
-- function GMShuaChongTeQuan:New(gameObject)
@ -246,7 +246,7 @@ function GMShuaChongTeQuan:OnShow(_sortingOrder)
end
local gifts={}
local activityData={}
-- 妖晶数量显示
-- 钻石数量显示

View File

@ -84,7 +84,7 @@ function HHBJPage:OnShow(_sortingOrder)
end
local gifts={}
local activityData={}
-- 妖晶数量显示
-- 钻石数量显示
function HHBJPage:RefreshStoneShow(index)
gifts=ConfigManager.GetConfigData(ConfigName.GlobalActivity,10401).CanBuyRechargeId
activityData=ActivityGiftManager.GetActivityInfoByType(10401)

View File

@ -113,7 +113,7 @@ function MonthCardPage:OnShow(_sortingOrder)
self:RefreshStoneShow()
end
-- 妖晶数量显示
-- 钻石数量显示
function MonthCardPage:RefreshStoneShow(index)
self.curAllMonthCardData = MonthCardManager.GetMonthCardData()
--月卡

View File

@ -82,7 +82,7 @@ function WeekCardPage:OnShow(_sortingOrder)
end
-- 妖晶数量显示
-- 钻石数量显示
function WeekCardPage:RefreshShow()
local allData = WeekCardManager.GetWeekCardDataArray()
--月卡

View File

@ -186,7 +186,7 @@ function WeekCardPanel:CheckTabRed()
end
-- 妖晶数量显示
-- 钻石数量显示
function WeekCardPanel:RefreshShow()
-- local allData = WeekCardManager.GetWeekCardDataArray()
-- --月卡

View File

@ -52,7 +52,7 @@ function PokemonSummonOneResultPanel:BindEvent()
PopupTipPanel.ShowTip(Language[10485])
return
end
--是否妖晶,是否超过每日妖晶最大上限
--是否钻石,是否超过每日钻石最大上限
if itemId == 16 then
if PrivilegeManager.GetPrivilegeRemainValue(YaojingCallPrivilegeId) < 1 then
PopupTipPanel.ShowTip(Language[11423])
@ -69,7 +69,7 @@ function PokemonSummonOneResultPanel:BindEvent()
RecruitManager.RecruitRequest(this.recruitType, function(msg)
PrivilegeManager.RefreshPrivilegeUsedTimes(RecruitMaxtimesId,1)--记录抽卡次数
if itemId == 16 and not isFree then
PrivilegeManager.RefreshPrivilegeUsedTimes(YaojingCallPrivilegeId,1)--记录妖晶抽卡次数
PrivilegeManager.RefreshPrivilegeUsedTimes(YaojingCallPrivilegeId,1)--记录钻石抽卡次数
end
UIManager.OpenPanel(UIName.PokemonSingleResultPanel,this.recruitType,msg.drop,nil,recType)
--CheckRedPointStatus(RedPointType.QianKunBox)

View File

@ -141,7 +141,7 @@ function PokemonSummonPanel:refreshBtnShow()
itemId = d[1]
itemNum = d[2]
--如果当前是用妖晶抽卡 and 激活了特权
--如果当前是用钻石抽卡 and 激活了特权
if itemId == 16 and isActive then
local currPrivilege = privilegeConfig[3004]
if currPrivilege then
@ -183,7 +183,7 @@ function PokemonSummonPanel:Recruit(id,RecruitMaxtimesId,itemId,itemNum,state,fr
PopupTipPanel.ShowTip(Language[10485])
return
end
--是否妖晶,是否超过每日妖晶最大上限
--是否钻石,是否超过每日钻石最大上限
if itemId == 16 then
if PrivilegeManager.GetPrivilegeRemainValue(YaojingCallPrivilegeId) < num then
PopupTipPanel.ShowTip(Language[11423])
@ -210,7 +210,7 @@ function PokemonSummonPanel:Recruit(id,RecruitMaxtimesId,itemId,itemNum,state,fr
self.Effect_Dan_posui:SetActive(false)
self.changZhuEffect:SetActive(true)
PrivilegeManager.RefreshPrivilegeUsedTimes(RecruitMaxtimesId,num)--记录抽卡次数
PrivilegeManager.RefreshPrivilegeUsedTimes(YaojingCallPrivilegeId,num)--记录妖晶抽卡次数
PrivilegeManager.RefreshPrivilegeUsedTimes(YaojingCallPrivilegeId,num)--记录钻石抽卡次数
UIManager.OpenPanel(UIName.PokemonSingleResultPanel,id,msg.drop,nil,recruitType)
end,1.2):Start()
end,
@ -229,7 +229,7 @@ function PokemonSummonPanel:Recruit(id,RecruitMaxtimesId,itemId,itemNum,state,fr
self.changZhuEffect:SetActive(true)
PrivilegeManager.RefreshPrivilegeUsedTimes(RecruitMaxtimesId,num)--记录抽卡次数
if itemId == 16 then
PrivilegeManager.RefreshPrivilegeUsedTimes(YaojingCallPrivilegeId,num)--记录妖晶抽卡次数
PrivilegeManager.RefreshPrivilegeUsedTimes(YaojingCallPrivilegeId,num)--记录钻石抽卡次数
end
UIManager.OpenPanel(UIName.PokemonSingleResultPanel,id,msg.drop,nil,recruitType)
end,1.2):Start()

View File

@ -72,7 +72,7 @@ function PokemonSummonTenResultPanel:BindEvent()
PopupTipPanel.ShowTip(Language[10485])
return
end
--是否妖晶,是否超过每日妖晶最大上限
--是否钻石,是否超过每日钻石最大上限
if itemId == 16 then
if PrivilegeManager.GetPrivilegeRemainValue(YaojingCallPrivilegeId) < 10 then
PopupTipPanel.ShowTip(Language[11423])
@ -88,7 +88,7 @@ function PokemonSummonTenResultPanel:BindEvent()
RecruitManager.RecruitRequest(this.recruitType, function(msg)
PrivilegeManager.RefreshPrivilegeUsedTimes(maxTimesId,10)--记录抽卡次数
if itemId == 16 then
PrivilegeManager.RefreshPrivilegeUsedTimes(YaojingCallPrivilegeId,10)--记录妖晶抽卡次数
PrivilegeManager.RefreshPrivilegeUsedTimes(YaojingCallPrivilegeId,10)--记录钻石抽卡次数
end
UIManager.OpenPanel(UIName.PokemonSingleResultPanel,this.recruitType,msg.drop,nil,recType)
--CheckRedPointStatus(RedPointType.QianKunBox)

View File

@ -55,7 +55,7 @@ function ChangeHeroProConfirmWindow:OnOpen(...)
this.rootText.text="确认花费"..cost[2]..itemConfig[tonumber(cost[1])].Name..",转换英雄阵营?"
else
this.rootText.text="确认花费1000妖晶,转换英雄阵营?"
this.rootText.text="确认花费1000钻石,转换英雄阵营?"
end
local go=Util.GetGameObject(this.btn,"Go")

View File

@ -84,7 +84,7 @@ function this:OnShow(_parent,...)
rewardData = TreasureOfHeavenManger.GetAllRewardData()
this:showRewardTianGong()
this.tip.text = Language[12286]
this.tip.text = "·获得<color=#45953B>200积分</color>\n·获取<color=#45953B>980000妖晶</color>,激活<color=#45953B>进阶专属奖励</color>\n<size=25> <color=#45953B>妖晶</color>奖励通过<color=#45953B>邮件</color>发送</size>"
this.tip.text = "·获得<color=#45953B>200积分</color>\n·获取<color=#45953B>980000钻石</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)
@ -92,7 +92,7 @@ function this:OnShow(_parent,...)
elseif curType == 2 then
rewardData = QinglongSerectTreasureManager.GetAllRewardData()
this:showRewardQinglong()
this.tip.text = "·直升<color=#45953B>15级</color>\n·获取<color=#45953B>980000妖晶</color>,激活<color=#45953B>进阶专属奖励</color>\n<size=25> <color=#45953B>妖晶</color>奖励通过<color=#45953B>邮件</color>发送</size>"
this.tip.text = "·直升<color=#45953B>15级</color>\n·获取<color=#45953B>980000钻石</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)
@ -100,7 +100,7 @@ function this:OnShow(_parent,...)
elseif curType == 3 then
rewardData,rewardData1 = EndLessMapManager.GetAllRewardData()
this:showRewardWuJin(rewardData,rewardData1)
this.tip.text = "·获得<color=#45953B>2000积分</color>\n·获取<color=#45953B>1280妖晶</color>,激活<color=#45953B>进阶专属奖励</color>\n<size=25> <color=#45953B>妖晶</color>奖励通过<color=#45953B>邮件</color>发送</size>"
this.tip.text = "·获得<color=#45953B>2000积分</color>\n·获取<color=#45953B>1280钻石</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)
@ -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>6480妖晶</color>,激活<color=#45953B>进阶专属奖励</color>\n<size=25> <color=#45953B>妖晶</color>奖励通过<color=#45953B>邮件</color>发送</size>"
this.tip.text = "·获得<color=#45953B>1500积分</color>\n·获取<color=#45953B>6480钻石</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)

View File

@ -57,7 +57,7 @@ function this:OnShow(_parent,...)
local args = {...}
--this.num.text = args[1]
local lingshouConfig=args[1]
--消耗妖晶的数量
--消耗钻石的数量
if lingshouConfig.ReturnCost then
id=lingshouConfig.ReturnCost[1]
coin=lingshouConfig.ReturnCost[2]
@ -72,7 +72,7 @@ function this:OnShow(_parent,...)
end
this.numImage.sprite = SetIcon(this.spLoader, id)
fun = args[4]
--判断妖晶是否充足
--判断钻石是否充足
if coin>BagManager.GetItemCountById(id) then
if type==1 then
this.infoTxt.text=string.format(Language[12213],coin,GetLanguageStrById(itemConfig[id].Name),GetLanguageStrById(lingshouConfig.Name),"%")

View File

@ -219,7 +219,7 @@ function RecruitEquipPanelNew:UpdataPanel()
self:UpdataWishPanel()
self:UpdataBoxReward()
local num=PrivilegeManager.GetPrivilegeRemainValue(self.singleConfig.MoneyTimes)
self.upper.text=string.format(self.config.TitleText,PrivilegeManager.GetPrivilegeUsedTimes(self.singleConfig.MaxTimes),privilegeConfig[self.singleConfig.MaxTimes].Condition[1][2]) --string.format(self.config.TitleText,PrivilegeManager.GetPrivilegeUsedTimes(self.singleConfig.MaxTimes),privilegeConfig[self.singleConfig.MaxTimes].Condition[1][2].." 剩余妖晶召唤次数:"..num) --特权上限
self.upper.text=string.format(self.config.TitleText,PrivilegeManager.GetPrivilegeUsedTimes(self.singleConfig.MaxTimes),privilegeConfig[self.singleConfig.MaxTimes].Condition[1][2]) --string.format(self.config.TitleText,PrivilegeManager.GetPrivilegeUsedTimes(self.singleConfig.MaxTimes),privilegeConfig[self.singleConfig.MaxTimes].Condition[1][2].." 剩余钻石召唤次数:"..num) --特权上限
self:UpdatePanelData()
self:TimeCountDown()
end
@ -426,7 +426,7 @@ function RecruitEquipPanelNew:Recruit(recrutType,recrutId,bType,itemId)
return
end
if itemId==16 and PrivilegeManager.GetPrivilegeRemainValue(self.singleConfig.MaxTimes)<recrutType then
PopupTipPanel.ShowTip("无法超出每日妖晶召唤次数上限!")
PopupTipPanel.ShowTip("无法超出每日钻石召唤次数上限!")
return
end
RecruitManager.RecruitRequest(recrutId, function(msg)

View File

@ -455,7 +455,7 @@ function this.GetExpendDataByCostItem(str,type,LimitNum)
local cost=nil
for key, value in pairs(str) do
local bagNum=BagManager.GetItemCountById(value[1])
--不是妖晶 背包数量>=需要数量
--不是钻石 背包数量>=需要数量
if value[1]~=16 then
if bagNum>=needNum then
return value
@ -465,7 +465,7 @@ function this.GetExpendDataByCostItem(str,type,LimitNum)
cost=value
else
--如果是妖晶 背包有足够妖晶 能抽的次数>=抽的次数
--如果是钻石 背包有足够钻石 能抽的次数>=抽的次数
if bagNum>=needNum and LimitNum>=needNum then
return value
end

View File

@ -206,7 +206,7 @@ function RecruitPanelNew:UpdataPanel()
self:UpdataWishPanel()
self:UpdataBoxReward()
local num=PrivilegeManager.GetPrivilegeRemainValue(self.singleConfig.MoneyTimes)
self.upper.text=string.format(self.config.TitleText,PrivilegeManager.GetPrivilegeUsedTimes(self.singleConfig.MaxTimes),privilegeConfig[self.singleConfig.MaxTimes].Condition[1][2]) --string.format(self.config.TitleText,PrivilegeManager.GetPrivilegeUsedTimes(self.singleConfig.MaxTimes),privilegeConfig[self.singleConfig.MaxTimes].Condition[1][2].." 剩余妖晶召唤次数:"..num) --特权上限
self.upper.text=string.format(self.config.TitleText,PrivilegeManager.GetPrivilegeUsedTimes(self.singleConfig.MaxTimes),privilegeConfig[self.singleConfig.MaxTimes].Condition[1][2]) --string.format(self.config.TitleText,PrivilegeManager.GetPrivilegeUsedTimes(self.singleConfig.MaxTimes),privilegeConfig[self.singleConfig.MaxTimes].Condition[1][2].." 剩余钻石召唤次数:"..num) --特权上限
self:UpdatePanelData()
self:TimeCountDown()
end
@ -429,7 +429,7 @@ function RecruitPanelNew:Recruit(recrutType,recrutId,bType,itemId)
return
end
if itemId==16 and PrivilegeManager.GetPrivilegeRemainValue(self.singleConfig.MaxTimes)<recrutType then
PopupTipPanel.ShowTip("无法超出每日妖晶召唤次数上限!")
PopupTipPanel.ShowTip("无法超出每日钻石召唤次数上限!")
return
end
RecruitManager.RecruitRequest(recrutId, function(msg)

View File

@ -126,7 +126,7 @@ function SingleRecruitPanel:BindEvent()
local recruitOne = function()
RecruitManager.RecruitRequest(type,function(msg)
if d[1] == 16 and lotterySetting[type].MoneyTimes and lotterySetting[type].MoneyTimes > 0 then
PrivilegeManager.RefreshPrivilegeUsedTimes(lotterySetting[type].MoneyTimes,1)--记录妖晶限购抽卡次数
PrivilegeManager.RefreshPrivilegeUsedTimes(lotterySetting[type].MoneyTimes,1)--记录钻石限购抽卡次数
end
PrivilegeManager.RefreshPrivilegeUsedTimes(maxTimesId,1)--记录抽卡次数
for i=1, #msg.drop.Hero do

View File

@ -70,7 +70,7 @@ function TenRecruitPanel:BindEvent()
local recruitTen = function()
RecruitManager.RecruitRequest(type, function(msg)
if d[1] == 16 and lotterySetting[type].MoneyTimes and lotterySetting[type].MoneyTimes > 0 then
PrivilegeManager.RefreshPrivilegeUsedTimes(lotterySetting[type].MoneyTimes,10)--记录妖晶限购抽卡次数
PrivilegeManager.RefreshPrivilegeUsedTimes(lotterySetting[type].MoneyTimes,10)--记录钻石限购抽卡次数
end
PrivilegeManager.RefreshPrivilegeUsedTimes(maxTimesId,10)--记录抽卡次数
UIManager.OpenPanel(UIName.SingleRecruitPanel, msg.drop.Hero, type,2,recruitType)

View File

@ -155,7 +155,7 @@ function SecretBoxBuyOnePanel:OnOpen(...)
this.itemIcon2.enabled=false
else
this.itemIcon2.enabled=true
this.itemIcon2.sprite=SetIcon(this.spLoader, itemId)--默认显示妖晶
this.itemIcon2.sprite=SetIcon(this.spLoader, itemId)--默认显示钻石
this.itemNum2.text=PrintWanNum2(itemNum)
end
end

View File

@ -163,7 +163,7 @@ function SecretBoxBuyTenPanel:OnOpen(...)
else
local d=RecruitManager.GetExpendData(this.recruitType)
local itemId,itemNum=d[1],d[2]
this.itemIcon2.sprite=SetIcon(this.spLoader, itemId)--默认显示妖晶
this.itemIcon2.sprite=SetIcon(this.spLoader, itemId)--默认显示钻石
this.itemNum2.text=PrintWanNum2(itemNum)
end
end

View File

@ -53,7 +53,7 @@ function WishEquipBuyOnePanel:BindEvent()
return
end
if itemId==16 and PrivilegeManager.GetPrivilegeRemainValue(self.singleConfig.MaxTimes)<this.recruitType then
PopupTipPanel.ShowTip("无法超出每日妖晶召唤次数上限!")
PopupTipPanel.ShowTip("无法超出每日钻石召唤次数上限!")
return
end
RecruitManager.RecruitRequest(self.singleConfig.Id, function(msg)

View File

@ -62,7 +62,7 @@ function WishEquipBuyTenPanel:BindEvent()
PopupTipPanel.ShowTip(Language[10485])
return
end
--是否妖晶,是否超过每日妖晶最大上限
--是否钻石,是否超过每日钻石最大上限
if itemId == 16 then
if PrivilegeManager.GetPrivilegeRemainValue(YaojingCallPrivilegeId) < 10 then
PopupTipPanel.ShowTip(Language[11423])
@ -78,7 +78,7 @@ function WishEquipBuyTenPanel:BindEvent()
RecruitManager.RecruitRequest(this.recruitType, function(msg)
PrivilegeManager.RefreshPrivilegeUsedTimes(maxTimesId,10)--记录抽卡次数
if itemId == 16 then
PrivilegeManager.RefreshPrivilegeUsedTimes(YaojingCallPrivilegeId,10)--记录妖晶抽卡次数
PrivilegeManager.RefreshPrivilegeUsedTimes(YaojingCallPrivilegeId,10)--记录钻石抽卡次数
end
UIManager.OpenPanel(UIName.WishEquipBuyTenPanel,msg.drop,this.recruitType,recType)
--CheckRedPointStatus(RedPointType.QianKunBox)

View File

@ -46,7 +46,7 @@ function ItemView:InitComponent()
self.homeProLv = Util.GetGameObject(self.gameObject, "item/homeProLv"):GetComponent("Text")
--self.heroStage=Util.GetGameObject(self.gameObject, "item/heroShow/heroStage"):GetComponent("Image")
Util.GetGameObject(self.gameObject, "item/heroShow/heroStage"):SetActive(false)
--双倍妖晶
--双倍钻石
self.Double=Util.GetGameObject(self.gameObject, "Double")
self.EffectOrginLayer = 0

View File

@ -655,7 +655,7 @@ function this:ShopItemAdapter(shopItem, itemData)
end)
end
-- 妖晶商店物品数据匹配
-- 钻石商店物品数据匹配
function this:RechargeShopItemAdapter(shopItem, itemData)
-- 获取对象
local first = Util.GetGameObject(shopItem, "first")

View File

@ -425,7 +425,7 @@ function ShopViewNew:RefreshItemList(isTop)
end
end
-- 妖晶商店物品数据匹配
-- 钻石商店物品数据匹配
function ShopViewNew:RechargeShopItemAdapter(shopItem, itemData)
-- 获取对象
local first = Util.GetGameObject(shopItem, "first")