|
@@ -84,50 +84,21 @@ public class YotogiPlayManager : WfScreenChildren
|
|
{
|
|
{
|
|
this.is_excite_lock_ = false;
|
|
this.is_excite_lock_ = false;
|
|
}
|
|
}
|
|
- GameObject childObject = UTY.GetChildObject(base.root_obj, "StatusViewer", false);
|
|
|
|
- GameObject childObject2 = UTY.GetChildObject(base.root_obj, "StatusSlider", false);
|
|
|
|
if (this.command_menu != null)
|
|
if (this.command_menu != null)
|
|
{
|
|
{
|
|
this.command_menu.SetOnEnterEvetn(new Action<Skill.Data.Command.Data>(this.OnClickCommand));
|
|
this.command_menu.SetOnEnterEvetn(new Action<Skill.Data.Command.Data>(this.OnClickCommand));
|
|
}
|
|
}
|
|
- if (!this.is_free_mode && !this.is_vr_mode && this.paramenter_viewer_ == null)
|
|
|
|
- {
|
|
|
|
- childObject.SetActive(true);
|
|
|
|
- childObject2.SetActive(false);
|
|
|
|
- this.param_basic_bar_ = UTY.GetChildObject(childObject, "ParameterViewer/MaskGroup/ParameterParent", false).GetComponent<YotogiParamBasicBar>();
|
|
|
|
- this.paramenter_viewer_ = Utility.CreatePrefab(UTY.GetChildObject(base.root_obj, "ParameterViewer/YotogiParameterViewer/MaskGroup", false), "SceneYotogi/Common/Prefab/ParameterViewer", true).GetComponent<YotogiParameterViewer>();
|
|
|
|
- this.paramenter_viewer_.SetCostumeButtonVisible(false);
|
|
|
|
- this.paramenter_viewer_.SetAttributeViewer(UTY.GetChildObject(base.root_obj.transform.parent.gameObject, "AttributeViewer", false));
|
|
|
|
- UTY.GetChildObject(base.root_obj, "SkillSelectViewer", false).SetActive(false);
|
|
|
|
- }
|
|
|
|
- else if (this.is_free_mode)
|
|
|
|
|
|
+ this.player_state_ = YotogiPlay.PlayerState.Normal;
|
|
|
|
+ if (this.is_free_mode)
|
|
{
|
|
{
|
|
- this.playing_skill_no_ = -1;
|
|
|
|
- this.param_basic_bar_ = UTY.GetChildObject(childObject2, "ParameterViewer/MaskGroup/ParameterParent", false).GetComponent<YotogiParamBasicBarPlusSlider>();
|
|
|
|
- childObject.SetActive(false);
|
|
|
|
- childObject2.SetActive(true);
|
|
|
|
- UTY.GetChildObject(base.root_obj, "ParameterViewer", false).SetActive(false);
|
|
|
|
- GameObject childObject3 = UTY.GetChildObject(base.root_obj, "SkillSelectViewer/YotogiSkillSelectViewer/MaskGroup/Parent", false);
|
|
|
|
- if (childObject3.transform.childCount == 0)
|
|
|
|
- {
|
|
|
|
- this.yotogi_mgr_.skill_select_prefab_object.transform.SetParent(childObject3.transform, false);
|
|
|
|
- }
|
|
|
|
- this.free_skill_select_ = childObject3.GetComponentInChildren<FreeSkillSelect>();
|
|
|
|
- this.common_buttons_.next_btn.gameObject.SetActive(false);
|
|
|
|
- UTY.GetChildObject(this.common_buttons_.gameObject, "UnderButtonGroup/End", false).SetActive(true);
|
|
|
|
- UIButton component = UTY.GetChildObject(base.root_obj, "SkillSelectViewer/YotogiSkillSelectViewer/MaskGroup/Next", false).GetComponent<UIButton>();
|
|
|
|
- component.onClick.Clear();
|
|
|
|
- EventDelegate.Add(component.onClick, new EventDelegate.Callback(this.OnClickSkillSelectEnd));
|
|
|
|
this.free_mode_backup_data_.seikeiken = this.maid_.status.seikeiken;
|
|
this.free_mode_backup_data_.seikeiken = this.maid_.status.seikeiken;
|
|
}
|
|
}
|
|
- this.param_basic_bar_.SetMaid(this.maid_);
|
|
|
|
- this.player_state_ = YotogiPlay.PlayerState.Normal;
|
|
|
|
if (this.estrusMode)
|
|
if (this.estrusMode)
|
|
{
|
|
{
|
|
this.estrusMode = false;
|
|
this.estrusMode = false;
|
|
this.maid_.status.currentSensual = 0;
|
|
this.maid_.status.currentSensual = 0;
|
|
- this.param_basic_bar_.SetCurrentSensual(this.maid_status_.currentSensual, false);
|
|
|
|
}
|
|
}
|
|
|
|
+ this.UIStartup();
|
|
if (this.playing_skill_no_ == -1)
|
|
if (this.playing_skill_no_ == -1)
|
|
{
|
|
{
|
|
this.Initialize();
|
|
this.Initialize();
|
|
@@ -142,7 +113,7 @@ public class YotogiPlayManager : WfScreenChildren
|
|
for (int i = 0; i < GameMain.Instance.CharacterMgr.GetMaidCount(); i++)
|
|
for (int i = 0; i < GameMain.Instance.CharacterMgr.GetMaidCount(); i++)
|
|
{
|
|
{
|
|
Maid maid = GameMain.Instance.CharacterMgr.GetMaid(i);
|
|
Maid maid = GameMain.Instance.CharacterMgr.GetMaid(i);
|
|
- if (!(maid == null))
|
|
|
|
|
|
+ if (!(maid == null) && maid.Visible)
|
|
{
|
|
{
|
|
maid.AddPrefab("Particle/pToiki", "夜伽_吐息", "Bip01 Head", new Vector3(0.042f, 0.076f, 0f), new Vector3(-90f, 90f, 0f));
|
|
maid.AddPrefab("Particle/pToiki", "夜伽_吐息", "Bip01 Head", new Vector3(0.042f, 0.076f, 0f), new Vector3(-90f, 90f, 0f));
|
|
this.breatheObjects.Add(maid.GetPrefab("夜伽_吐息"));
|
|
this.breatheObjects.Add(maid.GetPrefab("夜伽_吐息"));
|
|
@@ -167,6 +138,67 @@ public class YotogiPlayManager : WfScreenChildren
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ private void UIStartup()
|
|
|
|
+ {
|
|
|
|
+ GameObject childObject = UTY.GetChildObject(base.root_obj, "StatusViewer", false);
|
|
|
|
+ GameObject childObject2 = UTY.GetChildObject(base.root_obj, "StatusSlider", false);
|
|
|
|
+ UTY.GetChildObject(base.root_obj, "ParameterViewer", false).SetActive(true);
|
|
|
|
+ if (!this.is_free_mode && !this.is_vr_mode && this.paramenter_viewer_ == null)
|
|
|
|
+ {
|
|
|
|
+ childObject.SetActive(true);
|
|
|
|
+ childObject2.SetActive(false);
|
|
|
|
+ this.param_basic_bar_ = UTY.GetChildObject(childObject, "ParameterViewer/MaskGroup/ParameterParent", false).GetComponent<YotogiParamBasicBar>();
|
|
|
|
+ this.paramenter_viewer_ = Utility.CreatePrefab(UTY.GetChildObject(base.root_obj, "ParameterViewer/YotogiParameterViewer/MaskGroup", false), "SceneYotogi/Common/Prefab/ParameterViewer", true).GetComponent<YotogiParameterViewer>();
|
|
|
|
+ this.paramenter_viewer_.SetCostumeButtonVisible(false);
|
|
|
|
+ this.paramenter_viewer_.SetAttributeViewer(UTY.GetChildObject(base.root_obj.transform.parent.gameObject, "AttributeViewer", false).GetComponent<AttributeViewer>());
|
|
|
|
+ UTY.GetChildObject(base.root_obj, "SkillSelectViewer", false).SetActive(false);
|
|
|
|
+ }
|
|
|
|
+ else if (this.is_free_mode)
|
|
|
|
+ {
|
|
|
|
+ this.playing_skill_no_ = -1;
|
|
|
|
+ this.param_basic_bar_ = UTY.GetChildObject(childObject2, "ParameterViewer/MaskGroup/ParameterParent", false).GetComponent<YotogiParamBasicBarPlusSlider>();
|
|
|
|
+ childObject.SetActive(false);
|
|
|
|
+ childObject2.SetActive(true);
|
|
|
|
+ UTY.GetChildObject(base.root_obj, "ParameterViewer", false).SetActive(false);
|
|
|
|
+ GameObject childObject3 = UTY.GetChildObject(base.root_obj, "SkillSelectViewer/YotogiSkillSelectViewer/MaskGroup/Parent", false);
|
|
|
|
+ if (childObject3.transform.childCount == 0)
|
|
|
|
+ {
|
|
|
|
+ this.yotogi_mgr_.skill_select_prefab_object.transform.SetParent(childObject3.transform, false);
|
|
|
|
+ }
|
|
|
|
+ this.free_skill_select_ = childObject3.GetComponentInChildren<FreeSkillSelect>();
|
|
|
|
+ this.common_buttons_.next_btn.gameObject.SetActive(false);
|
|
|
|
+ UTY.GetChildObject(this.common_buttons_.gameObject, "UnderButtonGroup/End", false).SetActive(true);
|
|
|
|
+ UIButton component = UTY.GetChildObject(base.root_obj, "SkillSelectViewer/YotogiSkillSelectViewer/MaskGroup/Next", false).GetComponent<UIButton>();
|
|
|
|
+ component.onClick.Clear();
|
|
|
|
+ EventDelegate.Add(component.onClick, new EventDelegate.Callback(this.OnClickSkillSelectEnd));
|
|
|
|
+ }
|
|
|
|
+ if (this.is_new_yotogi_mode)
|
|
|
|
+ {
|
|
|
|
+ GameObject childObject4 = UTY.GetChildObject(base.root_obj, "CommandViewer/SkillViewer/MaskGroup/SkillGroup", false);
|
|
|
|
+ UTY.GetChildObject(childObject4, "SkillParent", false).SetActive(false);
|
|
|
|
+ UTY.GetChildObject(childObject4, "FrameGroup", false).SetActive(false);
|
|
|
|
+ UTY.GetChildObject(childObject4, "Line", false).SetActive(false);
|
|
|
|
+ UTY.GetChildObject(base.root_obj, "CommandViewer/SkillViewer", false).transform.localPosition = new Vector3(130f, 0f, 0f);
|
|
|
|
+ GameObject gameObject = childObject4.transform.parent.gameObject;
|
|
|
|
+ UTY.GetChildObject(gameObject, "SectionLine", false).transform.localPosition = new Vector3(-12f, -277f, 0f);
|
|
|
|
+ UTY.GetChildObject(gameObject, "ParamView", false).transform.localPosition = new Vector3(109f, -279f, 0f);
|
|
|
|
+ UIGrid component2 = UTY.GetChildObject(gameObject, "ParamView/Parent", false).GetComponent<UIGrid>();
|
|
|
|
+ component2.maxPerLine = 2;
|
|
|
|
+ component2.enabled = true;
|
|
|
|
+ if (this.heroineChangeFlag)
|
|
|
|
+ {
|
|
|
|
+ UTY.GetChildObject(base.root_obj, "ParameterViewer", false).SetActive(false);
|
|
|
|
+ this.singleStatusLock = true;
|
|
|
|
+ this.heroineChangeFlag = false;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ this.param_basic_bar_.SetMaid(this.maid_);
|
|
|
|
+ if (this.estrusMode)
|
|
|
|
+ {
|
|
|
|
+ this.param_basic_bar_.SetCurrentSensual(0, false);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
private void Initialize()
|
|
private void Initialize()
|
|
{
|
|
{
|
|
this.suspendStoreData = null;
|
|
this.suspendStoreData = null;
|
|
@@ -183,8 +215,8 @@ public class YotogiPlayManager : WfScreenChildren
|
|
UIButton component = UTY.GetChildObject(this.common_buttons_.gameObject, "UnderButtonGroup/End", false).GetComponent<UIButton>();
|
|
UIButton component = UTY.GetChildObject(this.common_buttons_.gameObject, "UnderButtonGroup/End", false).GetComponent<UIButton>();
|
|
component.onClick.Clear();
|
|
component.onClick.Clear();
|
|
EventDelegate.Add(component.onClick, new EventDelegate.Callback(this.OnClickNext));
|
|
EventDelegate.Add(component.onClick, new EventDelegate.Callback(this.OnClickNext));
|
|
- this.maid_status_ = this.maid_.status;
|
|
|
|
- this.bonusCorrectionStatus_ = this.maid_status_.GetBonusStatusAsFeatureAndPropensitys();
|
|
|
|
|
|
+ Status status = this.maid_.status;
|
|
|
|
+ this.bonusCorrectionStatus_ = status.GetBonusStatusAsFeatureAndPropensitys();
|
|
if (!this.is_free_mode)
|
|
if (!this.is_free_mode)
|
|
{
|
|
{
|
|
this.maid_.status.currentSensual = 0;
|
|
this.maid_.status.currentSensual = 0;
|
|
@@ -195,9 +227,9 @@ public class YotogiPlayManager : WfScreenChildren
|
|
{
|
|
{
|
|
this.maid_.status.currentSensual = 300;
|
|
this.maid_.status.currentSensual = 300;
|
|
}
|
|
}
|
|
- this.maid_.status.currentMind = this.maid_status_.maxMind;
|
|
|
|
- this.param_basic_bar_.SetMaxMind(this.maid_status_.maxMind);
|
|
|
|
- this.param_basic_bar_.SetCurrentSensual(this.maid_status_.currentSensual, false);
|
|
|
|
|
|
+ this.maid_.status.currentMind = status.maxMind;
|
|
|
|
+ this.param_basic_bar_.SetMaxMind(status.maxMind);
|
|
|
|
+ this.param_basic_bar_.SetCurrentSensual(status.currentSensual, false);
|
|
this.man_alpha_slider_.value = (float)GameMain.Instance.CMSystem.ManAlpha / 100f;
|
|
this.man_alpha_slider_.value = (float)GameMain.Instance.CMSystem.ManAlpha / 100f;
|
|
this.setting_man_alpha_ = GameMain.Instance.CMSystem.ManAlpha;
|
|
this.setting_man_alpha_ = GameMain.Instance.CMSystem.ManAlpha;
|
|
this.man_alpha_slider_.onChange.Clear();
|
|
this.man_alpha_slider_.onChange.Clear();
|
|
@@ -247,7 +279,7 @@ public class YotogiPlayManager : WfScreenChildren
|
|
{
|
|
{
|
|
string text = string.Empty;
|
|
string text = string.Empty;
|
|
string text2 = string.Empty;
|
|
string text2 = string.Empty;
|
|
- if (0 <= this.maid_status_.currentExcite && this.maid_status_.currentExcite <= 200)
|
|
|
|
|
|
+ if (0 <= this.maid_.status.currentExcite && this.maid_.status.currentExcite <= 200)
|
|
{
|
|
{
|
|
if (this.playing_skill_level_ == 3)
|
|
if (this.playing_skill_level_ == 3)
|
|
{
|
|
{
|
|
@@ -366,7 +398,7 @@ public class YotogiPlayManager : WfScreenChildren
|
|
GameMain.Instance.SysDlg.Close();
|
|
GameMain.Instance.SysDlg.Close();
|
|
this.yotogi_mgr_.AddPlaySkill(this.playing_skill_.skill_pair.base_data.connect_faint_skill);
|
|
this.yotogi_mgr_.AddPlaySkill(this.playing_skill_.skill_pair.base_data.connect_faint_skill);
|
|
this.playing_skill_no_ = this.yotogi_mgr_.play_skill_array.Length - 2;
|
|
this.playing_skill_no_ = this.yotogi_mgr_.play_skill_array.Length - 2;
|
|
- this.maid_status_.currentMind = this.maid_status_.maxMind;
|
|
|
|
|
|
+ this.maid_.status.currentMind = this.maid_.status.maxMind;
|
|
this.Finish();
|
|
this.Finish();
|
|
}, delegate
|
|
}, delegate
|
|
{
|
|
{
|
|
@@ -408,17 +440,18 @@ public class YotogiPlayManager : WfScreenChildren
|
|
this.SetControlMask(false, false);
|
|
this.SetControlMask(false, false);
|
|
this.play_command_id_.Clear();
|
|
this.play_command_id_.Clear();
|
|
this.playing_skill_no_++;
|
|
this.playing_skill_no_++;
|
|
- if (this.maid_status_.currentMind <= 0)
|
|
|
|
|
|
+ Status status = this.maid_.status;
|
|
|
|
+ if (status.currentMind <= 0)
|
|
{
|
|
{
|
|
- this.maid_status_.currentMind = this.maid_status_.maxMind / 2;
|
|
|
|
|
|
+ status.currentMind = status.maxMind / 2;
|
|
}
|
|
}
|
|
else
|
|
else
|
|
{
|
|
{
|
|
- this.maid_status_.currentMind = this.maid_status_.maxMind;
|
|
|
|
|
|
+ status.currentMind = status.maxMind;
|
|
}
|
|
}
|
|
- this.param_basic_bar_.SetCurrentExcite(this.maid_status_.currentExcite, false);
|
|
|
|
- this.param_basic_bar_.SetCurrentMind(this.maid_status_.currentMind, false);
|
|
|
|
- this.param_basic_bar_.SetCurrentSensual(this.maid_status_.currentSensual, false);
|
|
|
|
|
|
+ this.param_basic_bar_.SetCurrentExcite(status.currentExcite, false);
|
|
|
|
+ this.param_basic_bar_.SetCurrentMind(status.currentMind, false);
|
|
|
|
+ this.param_basic_bar_.SetCurrentSensual(status.currentSensual, false);
|
|
if (this.paramenter_viewer_ != null && this.paramenter_viewer_.gameObject.activeSelf)
|
|
if (this.paramenter_viewer_ != null && this.paramenter_viewer_.gameObject.activeSelf)
|
|
{
|
|
{
|
|
this.paramenter_viewer_.SetMaid(this.maid_);
|
|
this.paramenter_viewer_.SetMaid(this.maid_);
|
|
@@ -506,7 +539,7 @@ public class YotogiPlayManager : WfScreenChildren
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
|
|
|
|
- public void Suspend(Skill.Data.Command.Data suspendCommandData)
|
|
|
|
|
|
+ public void Suspend(Skill.Data.Command.Data suspendCommandData, string jumpLabel)
|
|
{
|
|
{
|
|
if (GameMain.Instance.MainCamera.IsFadeProc())
|
|
if (GameMain.Instance.MainCamera.IsFadeProc())
|
|
{
|
|
{
|
|
@@ -521,7 +554,7 @@ public class YotogiPlayManager : WfScreenChildren
|
|
GameMain.Instance.MainCamera.FadeOut(0.5f, false, delegate
|
|
GameMain.Instance.MainCamera.FadeOut(0.5f, false, delegate
|
|
{
|
|
{
|
|
this.yotogi_mgr_.uiVisible = false;
|
|
this.yotogi_mgr_.uiVisible = false;
|
|
- GameMain.Instance.ScriptMgr.adv_kag.JumpLabel("*サスペンド");
|
|
|
|
|
|
+ GameMain.Instance.ScriptMgr.adv_kag.JumpLabel(jumpLabel);
|
|
GameMain.Instance.ScriptMgr.adv_kag.Exec();
|
|
GameMain.Instance.ScriptMgr.adv_kag.Exec();
|
|
}, true, default(Color));
|
|
}, true, default(Color));
|
|
}
|
|
}
|
|
@@ -564,6 +597,31 @@ public class YotogiPlayManager : WfScreenChildren
|
|
}, true, true, default(Color));
|
|
}, true, true, default(Color));
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public void ReStart()
|
|
|
|
+ {
|
|
|
|
+ if (GameMain.Instance.MainCamera.IsFadeProc() || this.suspendStoreData == null)
|
|
|
|
+ {
|
|
|
|
+ Debug.LogError("failed to Yotogi ReStart.");
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ this.playing_skill_no_ = -1;
|
|
|
|
+ if (!this.is_free_mode && !this.is_vr_mode)
|
|
|
|
+ {
|
|
|
|
+ for (int i = 0; i < this.yotogi_mgr_.play_skill_array.Length; i++)
|
|
|
|
+ {
|
|
|
|
+ if (this.yotogi_mgr_.play_skill_array[i].skill_pair.base_data != null)
|
|
|
|
+ {
|
|
|
|
+ if (!this.yotogi_mgr_.play_skill_array[i].is_play)
|
|
|
|
+ {
|
|
|
|
+ this.playing_skill_no_ = i - 1;
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ this.OnNextSkillMove();
|
|
|
|
+ }
|
|
|
|
+
|
|
public string CallNormalFile(string file, string label)
|
|
public string CallNormalFile(string file, string label)
|
|
{
|
|
{
|
|
string text = ScriptManager.ReplacePersonal(this.replace_personal_target_maid_array_, file);
|
|
string text = ScriptManager.ReplacePersonal(this.replace_personal_target_maid_array_, file);
|
|
@@ -580,7 +638,7 @@ public class YotogiPlayManager : WfScreenChildren
|
|
public void ApplyExecCommandStatus(Maid maid, Skill.Data.Command.Data cm)
|
|
public void ApplyExecCommandStatus(Maid maid, Skill.Data.Command.Data cm)
|
|
{
|
|
{
|
|
Skill.Data.Command.Data.Status status = cm.status;
|
|
Skill.Data.Command.Data.Status status = cm.status;
|
|
- bool enabledYotogiStatusLock = this.maid_.status.enabledYotogiStatusLock;
|
|
|
|
|
|
+ bool flag = this.maid_.status.enabledYotogiStatusLock || this.singleStatusLock;
|
|
Status maid_status = maid.status;
|
|
Status maid_status = maid.status;
|
|
BonusStatus bonusStatus = this.bonusCorrectionStatus_;
|
|
BonusStatus bonusStatus = this.bonusCorrectionStatus_;
|
|
Func<float, int> feiling_func = (float ceiling_num) => (0f > ceiling_num) ? ((int)System.Math.Floor((double)ceiling_num)) : ((int)System.Math.Ceiling((double)ceiling_num));
|
|
Func<float, int> feiling_func = (float ceiling_num) => (0f > ceiling_num) ? ((int)System.Math.Floor((double)ceiling_num)) : ((int)System.Math.Ceiling((double)ceiling_num));
|
|
@@ -608,7 +666,7 @@ public class YotogiPlayManager : WfScreenChildren
|
|
{
|
|
{
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- if (!enabledYotogiStatusLock)
|
|
|
|
|
|
+ if (!flag)
|
|
{
|
|
{
|
|
maid_status.baseLovely += func3(status.lovely, bonusStatus.lovely);
|
|
maid_status.baseLovely += func3(status.lovely, bonusStatus.lovely);
|
|
maid_status.baseElegance += func3(status.elegance, bonusStatus.elegance);
|
|
maid_status.baseElegance += func3(status.elegance, bonusStatus.elegance);
|
|
@@ -623,7 +681,7 @@ public class YotogiPlayManager : WfScreenChildren
|
|
{
|
|
{
|
|
maid_status.currentSensual += func(status.cost_sensual, bonusStatus.sensual);
|
|
maid_status.currentSensual += func(status.cost_sensual, bonusStatus.sensual);
|
|
}
|
|
}
|
|
- if (!enabledYotogiStatusLock)
|
|
|
|
|
|
+ if (!flag)
|
|
{
|
|
{
|
|
maid_status.baseInyoku += func(status.inyoku, bonusStatus.inyoku);
|
|
maid_status.baseInyoku += func(status.inyoku, bonusStatus.inyoku);
|
|
maid_status.baseMvalue += func(status.m_value, bonusStatus.mvalue);
|
|
maid_status.baseMvalue += func(status.m_value, bonusStatus.mvalue);
|
|
@@ -717,7 +775,7 @@ public class YotogiPlayManager : WfScreenChildren
|
|
string text = string.Empty;
|
|
string text = string.Empty;
|
|
GameMain.Instance.ScriptMgr.EvalScript("global.__yotogi_advhook_file = '';");
|
|
GameMain.Instance.ScriptMgr.EvalScript("global.__yotogi_advhook_file = '';");
|
|
GameMain.Instance.ScriptMgr.EvalScript("global.__yotogi_advhook_label = '';");
|
|
GameMain.Instance.ScriptMgr.EvalScript("global.__yotogi_advhook_label = '';");
|
|
- this.CallNormalFile(command_data.basic.call_file.adv_hook_file, "*top");
|
|
|
|
|
|
+ this.CallNormalFile(command_data.basic.call_file.adv_hook_file, string.Empty);
|
|
using (TJSVariant tjsvariant = new TJSVariant())
|
|
using (TJSVariant tjsvariant = new TJSVariant())
|
|
{
|
|
{
|
|
GameMain.Instance.ScriptMgr.EvalScript("global.__yotogi_advhook_file != ''", tjsvariant);
|
|
GameMain.Instance.ScriptMgr.EvalScript("global.__yotogi_advhook_file != ''", tjsvariant);
|
|
@@ -755,7 +813,7 @@ public class YotogiPlayManager : WfScreenChildren
|
|
}
|
|
}
|
|
if (flag)
|
|
if (flag)
|
|
{
|
|
{
|
|
- this.Suspend(command_data);
|
|
|
|
|
|
+ this.Suspend(command_data, "*サスペンド");
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -797,9 +855,9 @@ public class YotogiPlayManager : WfScreenChildren
|
|
}
|
|
}
|
|
this.particleLoveLiquidType = ((200 > this.maid_.status.currentExcite) ? ((100 > this.maid_.status.currentExcite) ? 1 : 2) : 3);
|
|
this.particleLoveLiquidType = ((200 > this.maid_.status.currentExcite) ? ((100 > this.maid_.status.currentExcite) ? 1 : 2) : 3);
|
|
}
|
|
}
|
|
- this.param_basic_bar_.SetCurrentMind(this.maid_status_.currentMind, true);
|
|
|
|
- this.param_basic_bar_.SetCurrentSensual(this.maid_status_.currentSensual, true);
|
|
|
|
- this.param_basic_bar_.SetCurrentExcite(this.maid_status_.currentExcite, true);
|
|
|
|
|
|
+ this.param_basic_bar_.SetCurrentMind(this.maid_.status.currentMind, true);
|
|
|
|
+ this.param_basic_bar_.SetCurrentSensual(this.maid_.status.currentSensual, true);
|
|
|
|
+ this.param_basic_bar_.SetCurrentExcite(this.maid_.status.currentExcite, true);
|
|
YotogiPlay.Param param = YotogiPlay.Param.Create(this.maid_) - this.backup_maid_param_;
|
|
YotogiPlay.Param param = YotogiPlay.Param.Create(this.maid_) - this.backup_maid_param_;
|
|
Action<List<KeyValuePair<string, int>>, string, int> action = delegate(List<KeyValuePair<string, int>> list, string name, int num)
|
|
Action<List<KeyValuePair<string, int>>, string, int> action = delegate(List<KeyValuePair<string, int>> list, string name, int num)
|
|
{
|
|
{
|
|
@@ -811,7 +869,7 @@ public class YotogiPlayManager : WfScreenChildren
|
|
};
|
|
};
|
|
List<KeyValuePair<string, int>> list2 = new List<KeyValuePair<string, int>>();
|
|
List<KeyValuePair<string, int>> list2 = new List<KeyValuePair<string, int>>();
|
|
action(list2, "興奮", param.currentExcite);
|
|
action(list2, "興奮", param.currentExcite);
|
|
- action(list2, "精神", param.currentMind);
|
|
|
|
|
|
+ action(list2, (!this.is_new_yotogi_mode) ? "精神" : "時間", param.currentMind);
|
|
action(list2, "官能", param.cur_sensory);
|
|
action(list2, "官能", param.cur_sensory);
|
|
action(list2, "淫欲", param.inyoku);
|
|
action(list2, "淫欲", param.inyoku);
|
|
action(list2, "M性", param.m_value);
|
|
action(list2, "M性", param.m_value);
|
|
@@ -1528,18 +1586,18 @@ public class YotogiPlayManager : WfScreenChildren
|
|
|
|
|
|
private bool OnCreateCommand(Skill.Data.Command.Data command_data)
|
|
private bool OnCreateCommand(Skill.Data.Command.Data command_data)
|
|
{
|
|
{
|
|
- return command_data.basic.ng_propensity == null || !this.maid_status_.propensitys.ContainsKey(command_data.basic.ng_propensity.id);
|
|
|
|
|
|
+ return command_data.basic.ng_propensity == null || !this.maid_.status.propensitys.ContainsKey(command_data.basic.ng_propensity.id);
|
|
}
|
|
}
|
|
|
|
|
|
private bool OnEnabledCommand(Skill.Data.Command.Data command_data)
|
|
private bool OnEnabledCommand(Skill.Data.Command.Data command_data)
|
|
{
|
|
{
|
|
Func<bool> func = delegate()
|
|
Func<bool> func = delegate()
|
|
{
|
|
{
|
|
- if (command_data.basic.isEstrusTriggerCommand && (200 > this.maid_status_.currentExcite || 300 > this.maid_status_.currentSensual))
|
|
|
|
|
|
+ if (command_data.basic.isEstrusTriggerCommand && (200 > this.maid_.status.currentExcite || 300 > this.maid_.status.currentSensual))
|
|
{
|
|
{
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
- if (command_data.basic.command_type == Yotogi.SkillCommandType.絶頂 && this.maid_status_.currentExcite < 80)
|
|
|
|
|
|
+ if (command_data.basic.command_type == Yotogi.SkillCommandType.絶頂 && this.maid_.status.currentExcite < 80)
|
|
{
|
|
{
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
@@ -1592,12 +1650,12 @@ public class YotogiPlayManager : WfScreenChildren
|
|
{
|
|
{
|
|
Propensity.Data data = Propensity.GetData(num);
|
|
Propensity.Data data = Propensity.GetData(num);
|
|
string key = "性癖【" + data.drawName + "】";
|
|
string key = "性癖【" + data.drawName + "】";
|
|
- list.Add(new KeyValuePair<string, bool>(key, this.maid_status_.propensitys.ContainsKey(num)));
|
|
|
|
|
|
+ list.Add(new KeyValuePair<string, bool>(key, this.maid_.status.propensitys.ContainsKey(num)));
|
|
}
|
|
}
|
|
if (command_data.basic.isEstrusTriggerCommand)
|
|
if (command_data.basic.isEstrusTriggerCommand)
|
|
{
|
|
{
|
|
- list.Add(new KeyValuePair<string, bool>("興奮 200", 200 <= this.maid_status_.currentExcite));
|
|
|
|
- list.Add(new KeyValuePair<string, bool>("官能 300", 300 <= this.maid_status_.currentSensual));
|
|
|
|
|
|
+ list.Add(new KeyValuePair<string, bool>("興奮 200", 200 <= this.maid_.status.currentExcite));
|
|
|
|
+ list.Add(new KeyValuePair<string, bool>("官能 300", 300 <= this.maid_.status.currentSensual));
|
|
}
|
|
}
|
|
if (command_data.basic.executionConditionParameters != null)
|
|
if (command_data.basic.executionConditionParameters != null)
|
|
{
|
|
{
|
|
@@ -1852,6 +1910,18 @@ public class YotogiPlayManager : WfScreenChildren
|
|
this.yotogi_mgr_.AddDebugLog("============================================");
|
|
this.yotogi_mgr_.AddDebugLog("============================================");
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
+ if (this.is_new_yotogi_mode)
|
|
|
|
+ {
|
|
|
|
+ this.Suspend(null, this.yotogi_mgr_.null_mgr.nextLabel);
|
|
|
|
+ }
|
|
|
|
+ else
|
|
|
|
+ {
|
|
|
|
+ this.AdvanceSkillMove();
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void AdvanceSkillMove()
|
|
|
|
+ {
|
|
this.playing_skill_no_ = -1;
|
|
this.playing_skill_no_ = -1;
|
|
if (!this.is_free_mode && !this.is_vr_mode)
|
|
if (!this.is_free_mode && !this.is_vr_mode)
|
|
{
|
|
{
|
|
@@ -1877,6 +1947,7 @@ public class YotogiPlayManager : WfScreenChildren
|
|
this.command_menu.DestroySkillCommand();
|
|
this.command_menu.DestroySkillCommand();
|
|
this.command_menu.visible = false;
|
|
this.command_menu.visible = false;
|
|
}
|
|
}
|
|
|
|
+ this.singleStatusLock = false;
|
|
if (this.is_free_mode)
|
|
if (this.is_free_mode)
|
|
{
|
|
{
|
|
this.maid_.status.seikeiken = this.free_mode_backup_data_.seikeiken;
|
|
this.maid_.status.seikeiken = this.free_mode_backup_data_.seikeiken;
|
|
@@ -1912,7 +1983,7 @@ public class YotogiPlayManager : WfScreenChildren
|
|
{
|
|
{
|
|
if (!this.is_free_mode && !this.is_vr_mode && this.playing_skill_ != null && this.playing_skill_.skill_pair.base_data.specialConditionType == Skill.Data.SpecialConditionType.Faint)
|
|
if (!this.is_free_mode && !this.is_vr_mode && this.playing_skill_ != null && this.playing_skill_.skill_pair.base_data.specialConditionType == Skill.Data.SpecialConditionType.Faint)
|
|
{
|
|
{
|
|
- this.maid_status_.currentMind = 0;
|
|
|
|
|
|
+ this.maid_.status.currentMind = 0;
|
|
}
|
|
}
|
|
if (this.playing_skill_no_ == -1 || this.IsFaint())
|
|
if (this.playing_skill_no_ == -1 || this.IsFaint())
|
|
{
|
|
{
|
|
@@ -2032,7 +2103,7 @@ public class YotogiPlayManager : WfScreenChildren
|
|
|
|
|
|
public bool IsFaint()
|
|
public bool IsFaint()
|
|
{
|
|
{
|
|
- return !this.is_free_mode && !this.is_vr_mode && ((this.maid_.status.currentMind <= 0 && this.maid_.status.currentHp <= 0) || (this.playing_skill_no_ == -1 && this.maid_.status.currentHp <= 0));
|
|
|
|
|
|
+ return !this.is_free_mode && !this.is_vr_mode && !this.is_new_yotogi_mode && ((this.maid_.status.currentMind <= 0 && this.maid_.status.currentHp <= 0) || (this.playing_skill_no_ == -1 && this.maid_.status.currentHp <= 0));
|
|
}
|
|
}
|
|
|
|
|
|
public List<YotogiPlayManager.RepeatVoiceData> repeat_voice_data_list
|
|
public List<YotogiPlayManager.RepeatVoiceData> repeat_voice_data_list
|
|
@@ -2059,6 +2130,14 @@ public class YotogiPlayManager : WfScreenChildren
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ private bool is_new_yotogi_mode
|
|
|
|
+ {
|
|
|
|
+ get
|
|
|
|
+ {
|
|
|
|
+ return this.yotogi_mgr_.is_new_yotogi_mode;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
private YotogiCommandMenuOVR command_menu
|
|
private YotogiCommandMenuOVR command_menu
|
|
{
|
|
{
|
|
get
|
|
get
|
|
@@ -2076,7 +2155,7 @@ public class YotogiPlayManager : WfScreenChildren
|
|
set
|
|
set
|
|
{
|
|
{
|
|
bool flag = value;
|
|
bool flag = value;
|
|
- if (flag && (!this.estrusMode || this.maid_status_.currentExcite < 200))
|
|
|
|
|
|
+ if (flag && (!this.estrusMode || this.maid_.status.currentExcite < 200))
|
|
{
|
|
{
|
|
flag = false;
|
|
flag = false;
|
|
}
|
|
}
|
|
@@ -2128,6 +2207,10 @@ public class YotogiPlayManager : WfScreenChildren
|
|
|
|
|
|
public SubtitleDisplayManager subtitlesManager;
|
|
public SubtitleDisplayManager subtitlesManager;
|
|
|
|
|
|
|
|
+ public bool heroineChangeFlag;
|
|
|
|
+
|
|
|
|
+ public bool singleStatusLock;
|
|
|
|
+
|
|
public Dictionary<string, int> commandClickCountTotal = new Dictionary<string, int>();
|
|
public Dictionary<string, int> commandClickCountTotal = new Dictionary<string, int>();
|
|
|
|
|
|
public Dictionary<string, int> commandClickCountSingle = new Dictionary<string, int>();
|
|
public Dictionary<string, int> commandClickCountSingle = new Dictionary<string, int>();
|
|
@@ -2138,8 +2221,6 @@ public class YotogiPlayManager : WfScreenChildren
|
|
|
|
|
|
private ScriptManager script_mgr_;
|
|
private ScriptManager script_mgr_;
|
|
|
|
|
|
- private Status maid_status_;
|
|
|
|
-
|
|
|
|
private YotogiManager yotogi_mgr_;
|
|
private YotogiManager yotogi_mgr_;
|
|
|
|
|
|
private YotogiManager.PlayingSkillData playing_skill_;
|
|
private YotogiManager.PlayingSkillData playing_skill_;
|