Merge branch 'TCX_LongZhu' of http://192.168.1.21:3000/root/miduo_client into TCX_LongZhu

DESKTOP-MMO982B\User 2025-08-06 19:21:21 +08:00
commit 16b0f9652f
1 changed files with 4 additions and 3 deletions

View File

@ -219,7 +219,8 @@ function MonsterView:OnSkillCastStart(skill)
local aaa=SkillLogicConfig[skill.id].Hero
if aaa and aaa~=0 then
heroConfig=ConfigManager.GetConfigData(ConfigName.HeroConfig,aaa)
local liveId=heroConfig.Live
--local liveId=heroConfig.Live
local liveId=heroConfig.Painting
roleConfig=ConfigManager.GetConfigData(ConfigName.RoleConfig,aaa)
if liveId then
name=ConfigManager.GetConfigData(ConfigName.ArtResourcesConfig,liveId).Name
@ -251,11 +252,11 @@ function MonsterView:OnSkillCastStart(skill)
self.RoleLiveGO3:GetComponent("RectTransform").anchoredPosition = Vector2.New(0, offset[2]+add[2]+480)
end
local scale = roleConfig.enemy_liveScale
self.RoleLiveGO3.transform.localScale = Vector3.one * scale --* 2
self.RoleLiveGO3.transform.localScale = Vector3.one * scale*0.1 --* 2
self.RoleLiveGO3:SetActive(false)
self.RoleLiveGOGraphic3 = self.RoleLiveGO3:GetComponent("SkeletonGraphic")
self.RoleLiveGOTran3 = self.RoleLiveGO3:GetComponent("RectTransform")
self.RoleLiveGOGraphic3.AnimationState:SetAnimation(0, "atk", true)
self.RoleLiveGOGraphic3.AnimationState:SetAnimation(0, "idle", true)
self.RoleLiveGOTran3.sizeDelta = Vector2.New(1000, 1000)
self.castingNameNode:GetComponent("Text").text = string.format("%s奥义卡",heroConfig.ReadingName)
local eid = BattleManager.GetCombatIdBySkin(skill.id, skill.owner.skinId)