{ "ID": 9991122, "Events": { "OnCreate": { "Actions": [ { "$type": "Share.CConfigSetHollowVariable", "Key": "EventRed.9991122", "Value": "scenevar(EventRed.9991122)+1" }, { "$type": "Share.CConfigIf", "Conditions": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "EventRed.9991122", "Count": 8, "CompareType": "Equal" } ], "OnSuccess": "OnQuestDone", "OnFailure": "OnContinue" } ] }, "OnQuestDone": { "Actions": [ { "$type": "Share.CConfigFinishQuest", "QuestID": 199001001 }, { "$type": "Share.CConfigFinishQuest", "QuestID": 199001002 }, { "$type": "Share.CConfigFinishQuest", "QuestID": 199001003 }, { "$type": "Share.CConfigFinishQuest", "QuestID": 199001004 }, { "$type": "Share.CConfigOpenDialog" }, { "$type": "Share.CConfigLogText", "Messages": [ "JsonText_1277" // 颜色已经统一~任务完成~ ] }, { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigFinishHollow" } ] }, "OnContinue": { "Actions": [ { "$type": "Share.CConfigFinishEvent" } ] }, "OnStart": { "Actions": [ { "$type": "Share.CConfigOpenDialog" }, { "$type": "Share.CConfigLogText", "Messages": [ "JsonText_1278" // 这是红色事件,完成后会变为绿色事件! ] }, { "$type": "Share.CConfigChoiceServer", "OptionsMode": "Normal", "Description": "JsonText_1279", // 你希望怎么完成? "Choices": [ { "OptionText": "JsonText_1280", // 战斗 "OptionText2": "JsonText_1281", // (进入1场普通战斗) "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Op_1_Over_1" } ] } ] }, { "OptionText": "JsonText_1282", // 生命 "OptionText2": "JsonText_1283", // (失去全队40%的血量) "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigModifyProperty", "Property": "Hp", "Count": "-property(HpMax_Battle)*0.4" }, { "$type": "Share.CConfigJump", "Jump": "Op_2_Over_1" } ] } ] } ] } ] }, "Op_1_Over_1": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "JsonText_1284" // 准备进入战斗~ ] }, { "$type": "Share.CConfigTriggerBattle", "BattleID": "specials(BattleID)", "OnSuccess": "OnEnd" } ] }, "Op_2_Over_1": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "JsonText_1285" // 全队失去了40%的血量! ] }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "OnEnd": { "Actions": [ { "$type": "Share.CConfigSetHollowVariable", "Key": "EventRed.9991122", "Value": "scenevar(EventRed.9991122)-1" }, { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigFinishEvent" } ] } }, "Specials": { "BattleID": 0 } }