挂机显示修改
parent
7f62ec9ca4
commit
bc0df7acec
|
|
@ -268,7 +268,7 @@ function FloatNode:ArtFloatingOnHook(type, color, value,frameColor)
|
||||||
--v2 = v2 + Vector2.New(0, self.owner.role.camp * 100 + 100)
|
--v2 = v2 + Vector2.New(0, self.owner.role.camp * 100 + 100)
|
||||||
--go:GetComponent("RectTransform").anchoredPosition = v2 + Vector2.New(0, 50) * (self.FloatingCount+1)
|
--go:GetComponent("RectTransform").anchoredPosition = v2 + Vector2.New(0, 50) * (self.FloatingCount+1)
|
||||||
local x = Random.RangeInt(-250,250)
|
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)
|
go:GetComponent("RectTransform").anchoredPosition = v2 + Vector2.New(x, y)
|
||||||
local sp, text = self:GetArtText(type, color, value)
|
local sp, text = self:GetArtText(type, color, value)
|
||||||
local anim = Util.GetGameObject(go, "anim")
|
local anim = Util.GetGameObject(go, "anim")
|
||||||
|
|
|
||||||
|
|
@ -412,7 +412,7 @@ function this.RefreshBossInfo()
|
||||||
--LogError("curfight==========================================================="..curFight)
|
--LogError("curfight==========================================================="..curFight)
|
||||||
for k,v in ConfigPairs(fightLevelConfig) do
|
for k,v in ConfigPairs(fightLevelConfig) do
|
||||||
if k>=curFight then
|
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)
|
LogError("k==================================="..k)
|
||||||
table.insert(levelList,k)
|
table.insert(levelList,k)
|
||||||
end
|
end
|
||||||
|
|
@ -999,7 +999,7 @@ end
|
||||||
|
|
||||||
function this.IntiReward()
|
function this.IntiReward()
|
||||||
local rewardData
|
local rewardData
|
||||||
rewardData = ConfigManager.GetConfigData(ConfigName.SoldierStageConfig,SmallSoldierManager.level).RewardShowMin
|
rewardData = ConfigManager.GetConfigData(ConfigName.SoldierStageConfig,FightPointPassManager.soldierLayerId).RewardShowMin
|
||||||
-- if FightPointPassManager.isOpenNewChapter then
|
-- if FightPointPassManager.isOpenNewChapter then
|
||||||
-- rewardData = fightLevelConfig[FightPointPassManager.curOpenFight].RewardShowMin
|
-- rewardData = fightLevelConfig[FightPointPassManager.curOpenFight].RewardShowMin
|
||||||
-- else
|
-- else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue