DONE: save skill combo
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user