灵兽图标BUG修复

onepiece_demo_arena
xiejun 2024-02-04 17:38:56 +08:00
parent e6b965c985
commit 0de10d9621
2 changed files with 11 additions and 2 deletions

View File

@ -197,6 +197,8 @@ function SkillSetView:ApplyData()
nCombat.AttackDisplaceoffset = AttackDisplaceoffset
nCombat.ActionTime = Actiontime
nCombat.SkillNumbetTime = SkillNumbetTime
nCombat.EffectType = EffectType
-- nCombat.Offset = Offset
nCombat.HitScale = HitScale
nCombat.HitTimeScale = HitTimeScale

View File

@ -259,8 +259,15 @@ function MonsterView:OnSkillCastStart(skill)
else
if self.isMainPlayer then
self.lingshouIcon:SetActive(false)
else
self.lingshouIcon:SetActive(true)
else
if self.lingshouIcon and self.config.Picture then
self.lingshouIcon:GetComponent("Image").sprite=self.spLoader:LoadSprite(GetResourcePath(self.config.Picture))
self.lingshouIcon.gameObject:SetActive(true)
else
self.lingshouIcon.gameObject:SetActive(false)
end
end
self.RoleLiveGO3=nil