{ "ID": 9991094, "Events": { //起始执行的事件 "OnStart": { "Actions": [ { "$type": "Share.CConfigOpenDialog" }, { //对话框内容 "$type": "Share.CConfigLogText", "Messages": [ "JsonText_1245" // 前面有怪物出没! ] }, { //根据选项模式选择选项 "$type": "Share.CConfigChoiceServer", "OptionsMode": "Normal", "Description": "JsonText_1246", // 如何选择? "Choices": [ { "OptionText": "JsonText_1247", // 直接背刺 "OptionText2": "JsonText_1248", // ({scenevar(Assassin.9991094)}%概率成功避免战斗,失败则进入战斗) "OptionContents": [ { "Weight": "scenevar(Assassin.9991094)", "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Op_1_Over_1" } ] }, { "Weight": "100-scenevar(Assassin.9991094)", "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Op_1_Over_2" } ] } ] }, { "OptionText": "JsonText_1249", // 战斗中观察 "OptionText2": "JsonText_1250", // (进入战斗,探索中背刺概率+25%,当前概率:{scenevar(Assassin.9991094)}%) "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigSetHollowVariable", "Key": "Assassin.9991094", "Value": "scenevar(Assassin.9991094)+25" }, { "$type": "Share.CConfigJump", "Jump": "Op_2_Over_1" } ] } ] } ] } ] }, "Op_1_Over_1": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "JsonText_1251" // 你成功的背刺了一群怪物!真是太牛逼了! ] }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "Op_1_Over_2": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "JsonText_1252" // 你笨手笨脚的惊动了怪物们,啧 ] }, { "$type": "Share.CConfigTriggerBattle", "BattleID": "specials(BattleID)", "OnSuccess": "OnEnd" } ] }, "Op_2_Over_1": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "JsonText_1253" // 你学习了怪物们的行为,并和怪物开始搏斗了起来 ] }, { "$type": "Share.CConfigTriggerBattle", "BattleID": "specials(BattleID)", "OnSuccess": "OnEnd" } ] }, "OnEnd": { "Actions": [ { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigFinishEvent" } ] } }, "Specials": { "BattleID": 0, "MessageID": 1001 } }