改动与优化

This commit is contained in:
2026-07-20 22:19:25 +08:00
parent 0a0872c4f4
commit b5d1cdcbc5
83 changed files with 2475 additions and 276 deletions
+4 -3
View File
@@ -61,7 +61,7 @@ public class idolSkillsHub : MonoBehaviour
currentHero.LoadEquippedSkillsFromLocal();
int currentTierNumber = GetCurrentTierNumber(currentHero);
int maxSkillSlots = currentHero.GetEffectiveSkillSlotLimit();
int maxSkillSlots = AllyHeroLevelRuntimeResolver.GetEffectiveSkillSlotLimit(currentHero);
int equippedCount = GetEquippedCount();
int visibleIndex = 0;
@@ -172,7 +172,7 @@ public class idolSkillsHub : MonoBehaviour
return;
}
int maxSkillSlots = currentHero.GetEffectiveSkillSlotLimit();
int maxSkillSlots = AllyHeroLevelRuntimeResolver.GetEffectiveSkillSlotLimit(currentHero);
if (equipped.Count >= maxSkillSlots)
{
Rebuild();
@@ -273,7 +273,7 @@ public class idolSkillsHub : MonoBehaviour
return 1;
}
return Mathf.Clamp(hero.ally_growthUnlockedTierIndex + 1, 1, 4);
return AllyHeroLevelRuntimeResolver.GetCurrentTierNumber(hero);
}
private static string GetTierName(int tierNumber)
@@ -322,6 +322,7 @@ public class idolSkillsHub : MonoBehaviour
{
item.SetActive(true);
}
UI_OrderedEntryAnimator.PlaySingle(item, index, 0.16f, 0.018f, -10f, 0.97f, true);
}
return item;