update logic select skill
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user