DONE: save skill combo

This commit is contained in:
MinhHai
2026-03-12 13:50:41 +07:00
parent e81797def4
commit f8a8d3d9d4
18 changed files with 540 additions and 1607 deletions
@@ -46,6 +46,8 @@ namespace BrewMonster
}
}
}
// TODO: this is hard-code to test, need to implement the real logic to get the combo skill info from the UI
public void OnCommandConfirm()
{
EC_VIDEO_SETTING setting = EC_Game.GetConfigs().GetVideoSettings();
@@ -63,7 +65,7 @@ namespace BrewMonster
//int iType = pImage->GetData();
if (true/*iType == 0 && pSkill != null*/)
{
setting.comboSkill[GetData() - 1].idSkill[j] = (short)(i +1) /*pSkill.GetSkillID()*/;
setting.comboSkill[0].idSkill[j] = (short)(EC_Game.GetGameRun().GetHostPlayer().GetPositiveSkillByIndex(i).GetSkillID()) /*pSkill.GetSkillID()*/;
j++;
}
else