diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/MonsterView.lua b/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/MonsterView.lua index 20d2d997de..acacb802ef 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/MonsterView.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/MonsterView.lua @@ -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)