From bc0df7acec10796e93581aaa019fd8d23fdf7e13 Mon Sep 17 00:00:00 2001 From: "PC-202302260912\\Administrator" <1545929779@qq.com> Date: Tue, 19 Mar 2024 18:43:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=82=E6=9C=BA=E6=98=BE=E7=A4=BA=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Battle/View/Unit/FloatNode.lua | 2 +- .../~Lua/Modules/Fight/FightPointPassMainPanel.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/FloatNode.lua b/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/FloatNode.lua index dcc1bdcbfa..634af54e55 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/FloatNode.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/FloatNode.lua @@ -268,7 +268,7 @@ function FloatNode:ArtFloatingOnHook(type, color, value,frameColor) --v2 = v2 + Vector2.New(0, self.owner.role.camp * 100 + 100) --go:GetComponent("RectTransform").anchoredPosition = v2 + Vector2.New(0, 50) * (self.FloatingCount+1) local x = Random.RangeInt(-250,250) - local y = Random.RangeInt(150,350) + local y = Random.RangeInt(200,400) go:GetComponent("RectTransform").anchoredPosition = v2 + Vector2.New(x, y) local sp, text = self:GetArtText(type, color, value) local anim = Util.GetGameObject(go, "anim") diff --git a/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassMainPanel.lua b/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassMainPanel.lua index ff0bf694a2..325c2fc36c 100644 --- a/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassMainPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassMainPanel.lua @@ -412,7 +412,7 @@ function this.RefreshBossInfo() --LogError("curfight==========================================================="..curFight) for k,v in ConfigPairs(fightLevelConfig) do if k>=curFight then - if v.OpenRule and (v.OpenRule[1][1]==9 or v.OpenRule[1][1]==0 )and SmallSoldierManager.level>=v.OpenRule[1][2] then + if v.OpenRule and (v.OpenRule[1][1]==9 or v.OpenRule[1][1]==0 )and FightPointPassManager.soldierLayerId>=v.OpenRule[1][2] then LogError("k==================================="..k) table.insert(levelList,k) end @@ -999,7 +999,7 @@ end function this.IntiReward() local rewardData - rewardData = ConfigManager.GetConfigData(ConfigName.SoldierStageConfig,SmallSoldierManager.level).RewardShowMin + rewardData = ConfigManager.GetConfigData(ConfigName.SoldierStageConfig,FightPointPassManager.soldierLayerId).RewardShowMin -- if FightPointPassManager.isOpenNewChapter then -- rewardData = fightLevelConfig[FightPointPassManager.curOpenFight].RewardShowMin -- else