【灵兽系统】 调主城的位置

dev_chengFeng
zhangqiang 2020-11-02 18:16:28 +08:00
parent 3a542e5c63
commit cbe24364ec
3 changed files with 4 additions and 4 deletions

View File

@ -1039,7 +1039,7 @@ 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: 1195, y: 210}
m_AnchoredPosition: {x: 1355, y: 174}
m_SizeDelta: {x: 64, y: 186}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1586863083
@ -77500,7 +77500,7 @@ 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: 940, y: 408.8}
m_AnchoredPosition: {x: 973.3, y: 338.3}
m_SizeDelta: {x: 64, y: 186}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2549606708986302677

View File

@ -263,7 +263,7 @@ function this:InitComponent()
[FUNCTION_OPEN_TYPE.HERO_RESOLVE] = this:AddFuncItem(this.btnFenjie, -200),
--[FUNCTION_OPEN_TYPE.HAND_BOOK] = this:AddFuncItem(this.btnTujian,-2715),
[FUNCTION_OPEN_TYPE.ARENA] = this:AddFuncItem(this.btnJingjichang, -200),
[FUNCTION_OPEN_TYPE.ENDLESS] = this:AddFuncItem(this.btnColorfulWorld, -1400),
[FUNCTION_OPEN_TYPE.ENDLESS] = this:AddFuncItem(this.btnColorfulWorld, -1500),
-- [FUNCTION_OPEN_TYPE.MONSTER_COMING] = this:AddFuncItem(this.btnMonster, -110),
-- [FUNCTION_OPEN_TYPE.EXPEDITION] = this:AddFuncItem(this.btnExpedition, -110),
[FUNCTION_OPEN_TYPE.COMPOUND] = this:AddFuncItem(this.btnEquipCompound, -200),

View File

@ -486,7 +486,7 @@ end
--上阵灵兽升级红点2
function this.GetSinglePokemonUpLvRedPoint(curPokemonData)
local pokemonConFig = spiritAnimal[curPokemonData.id]
local upLvConFig = ConfigManager.TryGetConfigDataByDoubleKey(ConfigName.SpiritAnimalLevel,"Quality",pokemonConFig.Quality,"Level",curPokemonData.lv + 1)
local upLvConFig = ConfigManager.TryGetConfigDataByDoubleKey(ConfigName.SpiritAnimalLevel,"Quality",pokemonConFig.Quality,"Level",curPokemonData.lv)
if curPokemonData.lv < pokemonConFig.MaxLevel then
local canUpLv = true
for j = 1, #upLvConFig.Consume do