装备系统完结,修复并加入很多
This commit is contained in:
@@ -57,8 +57,7 @@ public class idolSkillsHub : MonoBehaviour
|
||||
currentHero.LoadEquippedSkillsFromLocal();
|
||||
|
||||
int currentTierNumber = GetCurrentTierNumber(currentHero);
|
||||
AllyHero_SO.AllyLevelInfo currentLevelInfo = currentHero.GetEffectiveLevelForCurrentEXP();
|
||||
int maxSkillSlots = currentLevelInfo != null ? Mathf.Max(0, currentLevelInfo.skill_slot_limited) : 0;
|
||||
int maxSkillSlots = currentHero.GetEffectiveSkillSlotLimit();
|
||||
|
||||
for (int i = 0; i < currentHero.skillGroups.Length; i++)
|
||||
{
|
||||
@@ -164,8 +163,7 @@ public class idolSkillsHub : MonoBehaviour
|
||||
return;
|
||||
}
|
||||
|
||||
AllyHero_SO.AllyLevelInfo currentLevelInfo = currentHero.GetEffectiveLevelForCurrentEXP();
|
||||
int maxSkillSlots = currentLevelInfo != null ? Mathf.Max(0, currentLevelInfo.skill_slot_limited) : 0;
|
||||
int maxSkillSlots = currentHero.GetEffectiveSkillSlotLimit();
|
||||
if (equipped.Count >= maxSkillSlots)
|
||||
{
|
||||
Rebuild();
|
||||
|
||||
Reference in New Issue
Block a user