update logic select skill

This commit is contained in:
Chomper9981
2026-04-21 10:52:00 +07:00
parent e8f4520ff4
commit d1bcefd953
2 changed files with 7 additions and 1 deletions
@@ -180,6 +180,7 @@ namespace BrewMonster
if(_currentSelectSkill != null && _currentSelectSkill is LearnedSkillUI skillUI)
{
// _skillSetUpComboWidget.CurrentSkillToAssign = null;
_skillSetUpComboWidget.IsSelectFromListSkill= true;
_skillSetUpComboWidget.SetSkillToCurrentCombo(slotWidget.GetSlotIndex, (short)skillUI.SkillId);
}
}
@@ -47,6 +47,12 @@ namespace BrewMonster
set => _currentSkillToAssign = value;
}
public bool IsSelectFromListSkill
{
get => _isSelectFromListSkill;
set => _isSelectFromListSkill = value;
}
public CECGameUIMan GetGameUIMan()
{
return EC_Game.GetGameRun().GetUIManager().GetInGameUIMan();
@@ -278,7 +284,6 @@ namespace BrewMonster
setting.comboSkill[_currentComboSlotWidget.GetSlotIndex].idSkill[slotIndex] = skillId;
ShowComboInDetail(setting.comboSkill[_currentComboSlotWidget.GetSlotIndex].idSkill);
_currentComboSetting = setting;
_isSelectFromListSkill = true;
return true;
}
private void OnSelectedSkillToAsign(SkillSlotWidget skillSlotWidget)