void TalkToDongHu() { var step = GameInterface_Player.GetIntState(GameBool.cunZhangState); if (step == 0) { if (!GameInterface_Player.GetGameState(GameBool.donghu1)) { StartCoroutine(DongHu1()); } else { DongHu2(); } } else if (step == 1) { if (!GameInterface_Player.GetGameState(GameBool.donghu3)) { DongHu3(); } else { DongHu4(); } } else if (step == 6) { DongHu6(); } }
void Start() { var step = GameInterface_Player.GetIntState(GameBool.cunZhangState); if (step == 4) { StartCoroutine(CreateZhiRuo()); } }
void Start() { var step = GameInterface_Player.GetIntState(GameBool.cunZhangState); if (step == 10) { StartCoroutine(StoryProgress()); } }
void TalkToCunZhang() { Log.GUI("TalkTOCunZhange"); //未曾开始对话 if (!GameInterface_Player.GetGameState(GameBool.chapter1Start)) { StartCoroutine(ShowChapter1StartDialog()); } else { var step = GameInterface_Player.GetIntState(GameBool.cunZhangState); if (step == 0) { var c = new List <string>() { GameBool.chapter1Start, GameBool.zhiruo1, GameBool.donghu1, GameBool.qinqing1, GameBool.wanshan1, }; if (CheckCondition(c)) { StartCoroutine(CunZhang3()); } else { ShowCunZhangNormalWord(); } } else if (step == 1) { CunZhang4(); } else if (step == 2) { CunZhang5(); } else if (step == 3) { CunZhang6(); } else if (step == 5) { CunZhang7(); } else if (step == 8) { CunZhang8(); } } }
void Start() { var step = GameInterface_Player.GetIntState(GameBool.cunZhangState); Log.Sys("Current Step is " + step); if (step == 1) { StartCoroutine(CreateZhiRuoAndDongHu()); } else { StartCoroutine(NormalBoss()); } }
void TalkToZhiRuo() { var step = GameInterface_Player.GetIntState(GameBool.cunZhangState); if (step == 0) { if (!GameInterface_Player.GetGameState(GameBool.zhiruo1)) { StartCoroutine(ZhiRuo1()); } else { ZhiRuo2(); } } else if (step == 1) { var c = new List <string>() { GameBool.zhiruo3, }; if (CheckCondition(c)) { StartCoroutine(ZhiRuo4()); } else { StartCoroutine(ZhiRuo3()); } } else if (step == 3) { ZhiRuo5(); } else if (step == 9) { ZhiRuo9(); } }