Major Update - 2.0.0.143
EN: 2.0.0.143 CN: 2.0.0.142 JP: 2.0.0.145 KR: 2.0.0.150
This commit is contained in:
@@ -112,6 +112,8 @@ function SkillTipsCtrl:OnEnable()
|
||||
self:ShowMonsterSkill()
|
||||
elseif self.mapData.bJointDrill then
|
||||
self:ShowJointDrillBossSkill()
|
||||
elseif self.mapData.bSoldier then
|
||||
self:ShowSoldierBossTemplateSkill()
|
||||
elseif self.mapData.bCharSkillEnergyEff then
|
||||
if self.rtTarget ~= nil then
|
||||
local vX = NovaAPI.GetViewPointX(self.rtTarget.gameObject)
|
||||
@@ -363,6 +365,22 @@ function SkillTipsCtrl:ShowJointDrillBossSkill()
|
||||
self._mapNode.imgEnergyInfoBg:SetActive(false)
|
||||
self._mapNode.rtSkillInfo:SetActive(false)
|
||||
end
|
||||
function SkillTipsCtrl:ShowSoldierBossTemplateSkill()
|
||||
local mapSkill = ConfigTable.GetData("SoldierBossTemplate", self.mapData.nSkillId)
|
||||
if mapSkill == nil then
|
||||
EventManager.Hit(EventId.CloesCurPanel)
|
||||
return
|
||||
end
|
||||
self._mapNode.TMPSkillLevel.gameObject:SetActive(false)
|
||||
self:SetPngSprite(self._mapNode.imgSkillIcon, mapSkill.SoldierRoleSkillIcon)
|
||||
NovaAPI.SetTMPText(self._mapNode.TMPSkillTitle, mapSkill.Title)
|
||||
local sDesc = UTILS.SubDesc(mapSkill.Desc)
|
||||
sDesc = UTILS.ParseNoBrokenDesc(sDesc)
|
||||
NovaAPI.SetTMPSourceText(self._mapNode.TMPSkillDesc, sDesc)
|
||||
self._mapNode.imgCDInfoBg:SetActive(false)
|
||||
self._mapNode.imgEnergyInfoBg:SetActive(false)
|
||||
self._mapNode.rtSkillInfo:SetActive(false)
|
||||
end
|
||||
function SkillTipsCtrl:ShowCharSkillEnergyEff()
|
||||
local mapCharacter = ConfigTable.GetData("Character", self.mapData.nCharId)
|
||||
if mapCharacter == nil then
|
||||
|
||||
Reference in New Issue
Block a user