挂机显示修改

tcx_xiyou_solider
PC-202302260912\Administrator 2024-03-19 18:43:17 +08:00
parent 7f62ec9ca4
commit bc0df7acec
2 changed files with 3 additions and 3 deletions

View File

@ -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")

View File

@ -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