{ "ID": 1019, "Events": { //复活 "OnStart": { "Actions": [ { "$type": "Share.CConfigOpenDialog" }, { //根据选项模式选择选项 "$type": "Share.CConfigChoiceServer", "OptionsMode": "Normal", "Title":"Event_1019_Titile", "Description": "Event_1019_OP_1_Des", "QuestionDescription": "Event_1019_OP_1_QuestionDes", "Choices": [ { "OptionText": "Event_1019_op_1", "OptionText2": "Event_1019_op_1_split", "OptionIcon1": 103, "Predicates": [ { //判断当前槽位角色状态 "$type": "Share.CConfigEventByCharacterState", "TeamSlot": "TeamCharacter1", "CompareType": "Equal", "State": "Death", "Count": 1 } ], "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Op_1_Over_1" } ] } ] }, { "OptionText": "Event_1019_op_2", "OptionText2": "Event_1019_op_2_split", "OptionIcon1": 103, "Predicates": [ { //判断当前槽位角色状态 "$type": "Share.CConfigEventByCharacterState", "TeamSlot": "TeamCharacter2", "CompareType": "Equal", "State": "Death", "Count": 1 } ], "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Op_2_Over_1" } ] } ] }, { "OptionText": "Event_1019_op_3", "OptionText2": "Event_1019_op_3_split", "OptionIcon1": 103, "Predicates": [ { //判断当前槽位角色状态 "$type": "Share.CConfigEventByCharacterState", "TeamSlot": "TeamCharacter3", "CompareType": "Equal", "State": "Death", "Count": 1 } ], "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Op_3_Over_1" } ] } ] }, { "OptionText": "Event_1019_op_4", "OptionText2": "Event_1019_op_4_split", "OptionIcon1": 103, "Predicates": [ { "$type":"Share.CConfigEventByNot", "Predicates": [ { "$type":"Share.CConfigEventByOr", "Predicates": [ { //判断当前槽位角色状态 "$type": "Share.CConfigEventByCharacterState", "TeamSlot": "TeamCharacter1", "CompareType": "Equal", "State": "Death", "Count": 1 }, { //判断当前槽位角色状态 "$type": "Share.CConfigEventByCharacterState", "TeamSlot": "TeamCharacter2", "CompareType": "Equal", "State": "Death", "Count": 1 }, { //判断当前槽位角色状态 "$type": "Share.CConfigEventByCharacterState", "TeamSlot": "TeamCharacter2", "CompareType": "Equal", "State": "Death", "Count": 1 } ] } ] } ], "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Op_4_Over_1" } ] } ] }, { "OptionText": "Event_1019_op_5", "OptionText2": "Event_1019_op_5_split", "OptionIcon1": 106, "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Op_5_Over_1" } ] } ] } ] } ] }, "Op_1_Over_1": { "Actions": [ // { // "$type":"Share.CConfigPlayPostEffect", // "Type":"VignetteEffect", // "Key":"resurrection", // "Enable":true // }, // { // "$type":"Share.CConfigPlayPostEffect", // "Type":"ScreenEffect", // "Key":"resurrection", // "Enable":true // }, { "$type": "Share.CConfigChangePlayerState", "Target": "TeamCharacter1", "State": "Alive" }, { "$type": "Share.CConfigModifyProperty", "Property": "Hp", "ModifyType": "Replace", "Target": "TeamCharacter1", "Count": "property(HpMax_Battle)*specials(op_hp_alive)*0.01" }, { "$type": "Share.CConfigLogText", "Messages": [ "Event_1019_op_1_over_1" ] }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "Op_2_Over_1": { "Actions": [ // { // "$type":"Share.CConfigPlayPostEffect", // "Type":"VignetteEffect", // "Key":"resurrection", // "Enable":true // }, // { // "$type":"Share.CConfigPlayPostEffect", // "Type":"ScreenEffect", // "Key":"resurrection", // "Enable":true // }, { "$type": "Share.CConfigChangePlayerState", "Target": "TeamCharacter2", "State": "Alive" }, { "$type": "Share.CConfigModifyProperty", "Property": "Hp", "ModifyType": "Replace", "Target": "TeamCharacter2", "Count": "property(HpMax_Battle)*specials(op_hp_alive)*0.01" }, { "$type": "Share.CConfigLogText", "Messages": [ "Event_1019_op_2_over_1" ] }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "Op_3_Over_1": { "Actions": [ // { // "$type":"Share.CConfigPlayPostEffect", // "Type":"VignetteEffect", // "Key":"resurrection", // "Enable":true // }, // { // "$type":"Share.CConfigPlayPostEffect", // "Type":"ScreenEffect", // "Key":"resurrection", // "Enable":true // }, { "$type": "Share.CConfigChangePlayerState", "Target": "TeamCharacter3", "State": "Alive" }, { "$type": "Share.CConfigModifyProperty", "Property": "Hp", "ModifyType": "Replace", "Target": "TeamCharacter3", "Count": "property(HpMax_Battle)*specials(op_hp_alive)*0.01" }, { "$type": "Share.CConfigLogText", "Messages": [ "Event_1019_op_3_over_1" ] }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "Op_4_Over_1": { "Actions": [ { "$type": "Share.CConfigModifyProperty", "Property": "Hp", "ModifyType": "Add", "Target": "All", "Count": "property(HpMax_Battle)*specials(op_hp_all)*0.01" }, { "$type": "Share.CConfigLogText", "Messages": [ "Event_1019_op_4_over_1" ] }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "Op_5_Over_1": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "Event_1019_op_5_over_2" ] }, { "$type": "Share.CConfigJump", "Jump": "OnFinish" } ] }, "OnFinish": { "Actions": [ { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigFinishEvent" } ] }, "OnEnd": { "Actions": [ { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigFinishEvent", "CanTriggerAgain":false } ] } }, "Specials": { "op_hp_alive": 25, "op_hp_all": 25 } }