diff --git a/Assets/ManagedResources/Atlas/ArenaAtlas/ArtFont/r_zhandou_zhenwang_zh.png b/Assets/ManagedResources/Atlas/ArenaAtlas/ArtFont/r_zhandou_zhenwang_zh.png new file mode 100644 index 0000000000..7cb0985a28 Binary files /dev/null and b/Assets/ManagedResources/Atlas/ArenaAtlas/ArtFont/r_zhandou_zhenwang_zh.png differ diff --git a/Assets/ManagedResources/Atlas/ArenaAtlas/ArtFont/r_zhandou_zhenwang_zh.png.meta b/Assets/ManagedResources/Atlas/ArenaAtlas/ArtFont/r_zhandou_zhenwang_zh.png.meta new file mode 100644 index 0000000000..19f2649844 --- /dev/null +++ b/Assets/ManagedResources/Atlas/ArenaAtlas/ArtFont/r_zhandou_zhenwang_zh.png.meta @@ -0,0 +1,110 @@ +fileFormatVersion: 2 +guid: 063058bfcd8740144ae855e56d755855 +TextureImporter: + fileIDToRecycleName: {} + externalObjects: {} + serializedVersion: 9 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 2 + aniso: -1 + mipBias: -100 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - serializedVersion: 2 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: 65 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + androidETC2FallbackOverride: 0 + - serializedVersion: 2 + buildTarget: iPhone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: 56 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + androidETC2FallbackOverride: 0 + - serializedVersion: 2 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: b3281f9d64d382a4487d6c1e6fea7022 + vertices: [] + indices: + edges: [] + weights: [] + spritePackingTag: ArenaAtlas + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/ManagedResources/Prefabs/UI/Battle/DamageResult.prefab b/Assets/ManagedResources/Prefabs/UI/Battle/DamageResult.prefab index f86e032a4c..93c02a3a43 100644 --- a/Assets/ManagedResources/Prefabs/UI/Battle/DamageResult.prefab +++ b/Assets/ManagedResources/Prefabs/UI/Battle/DamageResult.prefab @@ -902,7 +902,7 @@ GameObject: m_Component: - component: {fileID: 1749564513666807311} - component: {fileID: 5862088432759568500} - - component: {fileID: 5904280449735229110} + - component: {fileID: 6363807631240224676} m_Layer: 5 m_Name: deadObj m_TagString: Untagged @@ -926,8 +926,8 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 14.285736, y: 19.857117} - m_SizeDelta: {x: 67.95, y: 30} + m_AnchoredPosition: {x: 50.999996, y: 20.5} + m_SizeDelta: {x: 46, y: 76} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &5862088432759568500 CanvasRenderer: @@ -937,7 +937,7 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2523366928776616017} m_CullTransparentMesh: 0 ---- !u!114 &5904280449735229110 +--- !u!114 &6363807631240224676 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -946,31 +946,26 @@ MonoBehaviour: m_GameObject: {fileID: 2523366928776616017} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 0.990566, g: 0.98589355, b: 0.98589355, a: 1} + m_Color: {r: 1, g: 1, b: 1, a: 1} m_RaycastTarget: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - m_FontData: - m_Font: {fileID: 12800000, guid: 6fa15837529b0e640af6620b07d3207d, type: 3} - m_FontSize: 30 - m_FontStyle: 0 - m_BestFit: 0 - m_MinSize: 2 - m_MaxSize: 40 - m_Alignment: 4 - m_AlignByGeometry: 0 - m_RichText: 1 - m_HorizontalOverflow: 1 - m_VerticalOverflow: 1 - m_LineSpacing: 1 - m_Text: "\u9635\u4EA1" + m_Sprite: {fileID: 0} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 --- !u!1 &2658533052818541386 GameObject: m_ObjectHideFlags: 0 @@ -3334,7 +3329,7 @@ GameObject: m_Component: - component: {fileID: 1546476454649784244} - component: {fileID: 5473746922102607565} - - component: {fileID: 3892143291985174656} + - component: {fileID: 2251792143694466160} m_Layer: 5 m_Name: deadObj m_TagString: Untagged @@ -3358,8 +3353,8 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 25.428543, y: 19.857117} - m_SizeDelta: {x: 160, y: 30} + m_AnchoredPosition: {x: 50.000008, y: 19.857117} + m_SizeDelta: {x: 46, y: 76} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &5473746922102607565 CanvasRenderer: @@ -3369,7 +3364,7 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 7381184559301326831} m_CullTransparentMesh: 0 ---- !u!114 &3892143291985174656 +--- !u!114 &2251792143694466160 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -3378,31 +3373,26 @@ MonoBehaviour: m_GameObject: {fileID: 7381184559301326831} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 0.990566, g: 0.98589355, b: 0.98589355, a: 1} + m_Color: {r: 1, g: 1, b: 1, a: 1} m_RaycastTarget: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - m_FontData: - m_Font: {fileID: 12800000, guid: 6fa15837529b0e640af6620b07d3207d, type: 3} - m_FontSize: 30 - m_FontStyle: 0 - m_BestFit: 0 - m_MinSize: 2 - m_MaxSize: 40 - m_Alignment: 4 - m_AlignByGeometry: 0 - m_RichText: 1 - m_HorizontalOverflow: 1 - m_VerticalOverflow: 1 - m_LineSpacing: 1 - m_Text: "\u9635\u4EA1" + m_Sprite: {fileID: 0} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 --- !u!1 &7384883381373111011 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/View/DamageResultPanel.lua b/Assets/ManagedResources/~Lua/Modules/Battle/View/DamageResultPanel.lua index 72ad8a8990..9e313c0140 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/View/DamageResultPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/View/DamageResultPanel.lua @@ -340,6 +340,7 @@ function this.HeadAdapter(head,data,type) local lvText = Util.GetGameObject(head, "lv/Text"):GetComponent("Text") local starRoot = Util.GetGameObject(head, "star") local deadObj = Util.GetGameObject(head, "deadObj") + deadObj:GetComponent("Image").sprite=this.spLoader:LoadSprite("r_zhandou_zhenwang_zh") local aa=0 local frameStr="r_characterbg_goden" @@ -438,10 +439,18 @@ function this.HeadAdapter(head,data,type) icon:GetComponent("Image").sprite = this.spLoader:LoadSprite(GetResourcePath(SpiritAnimal[id].Icon)) end if data.isRealDead and (type==1 or type==2 or type==3) then - Util.SetGray(icon.gameObject ,true) + -- Util.SetGray(icon.gameObject ,true) + -- Util.SetGray(frame.gameObject ,true) + -- Util.SetGray(protoIcon.gameObject ,true) + -- Util.SetGray(starRoot.gameObject ,true) + Util.SetGray(head.gameObject ,true) deadObj:SetActive(true) else - Util.SetGray(icon.gameObject,false) + -- Util.SetGray(icon.gameObject,false) + -- Util.SetGray(frame.gameObject ,false) + -- Util.SetGray(starRoot.gameObject ,false) + -- Util.SetGray(protoIcon.gameObject ,false) + Util.SetGray(head.gameObject ,false) deadObj:SetActive(false) end end diff --git a/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassMainPanel.lua b/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassMainPanel.lua index 9fdb66f3a7..8efa5342dd 100644 --- a/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassMainPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassMainPanel.lua @@ -1108,6 +1108,24 @@ function this.RefreshBattleUpLvTip(isShowUIOpen) JumpManager.GoJump(1011) end) elseif ruleType == 4 then + -- 背包 装备 + this.battleUpLvTip:SetActive(true) + this.battleUpLvTipImg.enabled = false + this.battleUpLvTipTxt.gameObject:SetActive(false) + this.battleLockGo:SetActive(true) + Util.AddOnceClick(this.battleUpLvTip, function() + JumpManager.GoJump(1007) + end) + elseif ruleType == 5 then + -- 好感度 + this.battleUpLvTip:SetActive(true) + this.battleUpLvTipImg.enabled = false + this.battleUpLvTipTxt.gameObject:SetActive(false) + this.battleLockGo:SetActive(true) + Util.AddOnceClick(this.battleUpLvTip, function() + JumpManager.GoJump(40033) + end) + elseif ruleType == 7 then -- 获取神将 this.battleUpLvTip:SetActive(true) this.battleUpLvTipImg.enabled = false @@ -1118,10 +1136,8 @@ function this.RefreshBattleUpLvTip(isShowUIOpen) end) end end - end end - end function this.UpdateWordLv() diff --git a/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassManager.lua b/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassManager.lua index 47d041fd95..6b6ab1036b 100644 --- a/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassManager.lua @@ -322,7 +322,7 @@ function this.CheckFightOpenRule(fightId) if wave <= rule[2] then states[index] = false tips[index] = string.format("心魔试炼通关%s层", rule[2])-- 心魔试炼通关999层 - btnTxts[index] = string.format("心魔试炼通关999层", rule[2]) + btnTxts[index] = string.format("心魔试炼通关%s层", rule[2]) LogRed(tips[index]..", 当前:"..wave) end elseif rule[1] == 3 then