Update - 1.15.0.134

EN: 1.15.0.134
CN: 1.15.0.133
JP: 1.15.0.137
KR: 1.15.0.139
This commit is contained in:
SL1900
2026-09-08 12:00:00 +09:00
parent d441c7afdc
commit 7363298dc1
963 changed files with 590901 additions and 5401 deletions
+12 -2
View File
@@ -111,7 +111,7 @@ function SkillBtnCtrl:Awake()
self._mapNode.fx_tip:SetActive(false)
self.bChargeLoading_CurrentIsActive = nil
end
function SkillBtnCtrl:InitSkillBtn(EET, icon, bShowSection, charId, actionId, bIsSupportChar)
function SkillBtnCtrl:InitSkillBtn(EET, icon, bShowSection, charId, actionId, bIsSupportChar, bApplyUltraAlpha)
self:SetMainAlpha(true)
self.EET = EET
self.ActionId = actionId
@@ -139,6 +139,7 @@ function SkillBtnCtrl:InitSkillBtn(EET, icon, bShowSection, charId, actionId, bI
self._mapNode.Action.gameObject:SetActive(true)
self._mapNode.Empty:SetActive(false)
self.bIsSupportChar = bIsSupportChar == true
self.bApplyUltraAlpha = bApplyUltraAlpha == true
if self.bIsSupportChar == true then
self.parentCanvasGroup = self.gameObject.transform.parent.parent.parent:GetComponent("CanvasGroup")
else
@@ -161,7 +162,11 @@ function SkillBtnCtrl:RefreshBtn(bSuportSkillUseable, QTEpercent, CDpercent, CDs
end
local bCanUse = false
if self.ActionId == SKILL_ULTRA then
bCanUse = 1 <= ChargeSectionNum and 1 <= ChargePercent and CDpercent <= 0
if self.bApplyUltraAlpha == true then
bCanUse = 1 <= ChargeSectionNum and 1 <= ChargePercent and CDpercent <= 0
else
bCanUse = 1 <= ChargeSectionNum and CDpercent <= 0
end
else
bCanUse = 1 <= ChargeSectionNum
end
@@ -340,6 +345,11 @@ function SkillBtnCtrl:BtnStateChange(nState)
NovaAPI.SetComponentEnable(self._mapNode.imgXtips, self.bInCD == true)
end
end
function SkillBtnCtrl:ChangeSkillIcon(sIcon)
if type(sIcon) == "string" and sIcon ~= "" then
self:SetPngSprite(self._mapNode.ICON, sIcon)
end
end
function SkillBtnCtrl:SetActionBind(sGamepadBind, mapKeyboardBind)
self._mapNode.Action:SetActionBind(sGamepadBind, mapKeyboardBind)
end