public override void start() { this.gameManager.scenarioManager.addIfStack(true); string exp = this.param ["exp"]; if (this.param.ContainsKey("mobile")) { } string result = ExpObject.calc(exp); //条件に合致した場合はそのままifの中へ if (result == "true") { //ifスタックが完了している this.gameManager.scenarioManager.changeIfStack(false); this.gameManager.nextOrder(); } else { //elsif か endif まで処理を進める StatusManager.setSkipOrder(); this.gameManager.nextOrder(); } }
public override void start() { string exp = this.param ["exp"]; ExpObject eo = new ExpObject(exp); string result = ExpObject.calc(eo.exp); StatusManager.variable.set(eo.type + "." + eo.name, result); this.gameManager.nextOrder(); }