//急布

{

    "ID": 1011017,

    "Specials": {

        "TriggerEvent": 1011018,

        "TriggerEvent2": 1011016,

        "BeTriggeredEvent": 1011017,

        //Pre

        "BlessID1": 1105011,

        "BlessPrice": 100,

        "Award": 1200,

        //After

        "HpRecoverRatio": 30,

        "BlessID2": 1105012,

        "byOdds": 10,

        "CurseCount": 1,

        //状态参数

        //剧情选项屏蔽

        "var1": 0,

        "op_stamina_2":20,

        "op_stamina_3":20



    },

    "Events": {

        "OnStart": {

            "Actions": [

				{

					"$type": "Share.CActionChangeHollowEventWeightCfg",

					"EventID": 1011017,

					"WeightFactor": 0

				},

				{

					"$type": "Share.CActionChangeHollowEventWeightCfg",

					"EventID": 1011018,

					"WeightFactor": 10000,

					"Predicates": [

                        {

							"$type": "Share.CConfigEventByHollowVariable",

							"Key": "HaveBeenTo.1011018",

                            "Count": 0,

                            "CompareType": "Equal"

                        }					

					]

				},

				{

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "HaveBeenTo.1011017",

                    "Value": 1

                },			

                //设置下一个任务的触发状态

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "EventTrigger.{specials(TriggerEvent)}",

                    "Value": 1

                },

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "EventTrigger.{specials(TriggerEvent2)}",

                    "Value": "scenevar(EventTrigger.{specials(TriggerEvent2)})+1"

                },

                {

                    "$type": "Share.CConfigLog",

                    "ShowVariables": "HollowVariables"

                },

                {

                    "$type": "Share.CConfigIf",

                    "Conditions": [

                        //0是先触发，1是后触发

                        {

                            "$type": "Share.CConfigEventByHollowVariable",

                            "Key": "EventTrigger.{specials(BeTriggeredEvent)}",

                            "Count": 0,

                            "CompareType": "Equal"

                        }

                    ],

                    "OnSuccess": "OnStartPre",

                    "OnFailure": "OnStartAfter"

                }

            ]

        },

        "OnStartPre": {

            "Actions": [

                {

                    "$type": "Share.CConfigOpenDialog"

                },

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        // "你远远地看到一只邦布举着牌子向你跑了过来。“我叫忙布！我在寻找一个叫迷布的同伴，它长这样，有见过吗？”",

                        // "忙布一边说着，一边将画着同伴的牌子伸了过来。会自我介绍的邦布够少见的了，更别提会画画的了！",

                        "Event_1011017_Sec1_Log_1",

                        "Event_1011017_Sec1_Log_2"

                    ]

                },

                {

                    "$type": "Share.CConfigJump",

                    "Jump": "Pre_Choice"

                }

            ]

        },

        "Pre_Choice": {

            "Actions": [

                {

                    "$type": "Share.CConfigChoiceServer",

                    "OptionsMode": "Normal",

                    // "Description" : "要怎么做？",

                    "Description": "Event_1011017_Sec1_Des_1",

                    "Choices": [

                        //【1】剧情选项

                        {

                            // "OptionText" : "看一下迷布的画像",

                            "OptionText": "Event_1011017_Sec1_OP_1",

                            "OptionText2": "Event_1011017_Sec1_OP_1_split",

                            "Predicates": [

                                {

                                    "$type": "Share.CConfigEventBySpecials",

                                    "ParamName": "var1",

                                    "Param": 1,

                                    "CompareType": "GreaterEqual"

                                }

                            ],

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigSetSpecial",

                                            "SpecialName": "var1",

                                            "SpecialValue": 1

                                        },

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "Pre_Op_1_Over_1"

                                        }

                                    ]

                                }

                            ]

                        },

                        //【2】物资一，发放祝福，有10%它是永久的

                        {

                            // "OptionText" : "帮它找一下同伴<color=#A5A5A5>（获得【振奋】特立独行）</color>",

                            "OptionText": "Event_1011017_Sec1_OP_2",

                            "OptionText2": "Event_1011017_Sec1_OP_2_split",

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "Pre_Op_2_Over_1"

                                        }

                                    ]

                                }

                            ]

                        },

                        //【3】物资二，最大生命值提升10%

                        {

                            // "OptionText" : "帮它留意一下同伴<color=#A5A5A5>（恢复{specials(HpRecoverRatio)}}%生命值）</color>",

                            "OptionText": "Event_1011017_Sec1_OP_3",

                            "OptionText2": "Event_1011017_Sec1_OP_3_split",

                            "OptionContents": [

                                {

                                    "Actions": [

                                        //最大值上升

                                        {

                                            "$type": "Share.CConfigModifyProperty",

                                            "Property": "Hp",

                                            "Count": "property(HpMax_Battle)*specials(HpRecoverRatio)*0.01",

                                            "ModifyType": "Add"

                                        },

                                        //可能的对应的回血

                                        //跳转结束

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "Pre_Op_3_Over_1"

                                        }

                                    ]

                                }

                            ]

                        },

                        //【4】什么都不要

                        {

                            // "OptionText" : "离开",

                            "OptionText": "Event_1011017_Sec1_OP_4",

                            "OptionText2": "Event_1011017_Sec1_OP_4_split",

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "Pre_Op_4_Over_1"

                                        }

                                    ]

                                }

                            ]

                        }

                    ]

                }

            ]

        },

        //剧情选项结果

        "Pre_Op_1_Over_1": {

            "Actions": [

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        // "这是一只眯着眼的邦布，最大的特征是只有一只耳朵。“那是在打瞌睡的时候被以骸咬掉的”一旁的忙布补充道。"

                        "Event_1011017_Sec1_OP_1_Over_1"

                    ]

                },

                //回到选项中

                {

                    "$type": "Share.CConfigJump",

                    "Jump": "Pre_Choice"

                }

            ]

        },

        //定制祝福，概率随机

        "Pre_Op_2_Over_1": {

            "Actions": [

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        // "“谢谢你们！见到迷布的话，请告诉它就在走散的地方等我！”这只邦布的AI版本，似乎很高啊。"

                        "Event_1011017_Sec1_OP_2_Over_1"

                    ]

                },

                {

                    "$type": "Share.CConfigIf",

                    "Conditions": [

                        {

                            "$type": "Share.CConfigEventByRandom",

                            "Odds": "specials(byOdds)"

                        }

                    ],

                    //永久

                    // "OnSuccess":"Pre_add_bless_const",

                    "OnSuccess": "Pre_add_bless",

                    //限时

                    "OnFailure": "Pre_add_bless"

                }

            ]

        },

        "Pre_add_bless_const": {

            "Actions": [

                {

                    "$type": "Share.CConfigDropCurse",

                    "CurseID": "specials(BlessID1)",

                    "TimeCount": -1,

                    "Stack": "Overwrite"

                },

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        },

        "Pre_add_bless": {

            "Actions": [

                { 	

                    //-压力值

                    "$type" : "Share.CConfigModifySceneProperty",

                    "Property" :  "Stamina",

                    "Count" : "-specials(op_stamina_2)"

                },

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        },

        "Pre_Op_3_Over_1": {

            "Actions": [

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        // "“万分感谢！”忙布说完对着你们跳了一段奇怪的舞蹈，虽然不知道是什么含义，但感觉身心舒爽了不少。"

                        "Event_1011017_Sec1_OP_3_Over_1"

                    ]

                },

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        },

        "Pre_Op_4_Over_1": {

            "Actions": [

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        // "大家嘴上答应了会帮它留意，但其实没往心里去。"

                        "Event_1011017_Sec1_OP_4_Over_1"

                    ]

                },

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        },

        "OnStartAfter": {

            "Actions": [

                {

                    "$type": "Share.CConfigOpenDialog"

                },

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        // "你远远地看到一只邦布举着牌子向你跑了过来。“我叫忙布！我在寻找一个叫迷布的同伴，它长这样，有见过吗？”",

                        "Event_1011017_Sec2_Log_1",

                        // "看来它就是写下留言板的那只邦布了。"

                        "Event_1011017_Sec2_Log_2"

                    ]

                },

                {

                    "$type": "Share.CConfigJump",

                    "Jump": "After_Choice"

                }

            ]

        },

        "After_Choice": {

            "Actions": [

                {

                    "$type": "Share.CConfigChoiceServer",

                    "OptionsMode": "Normal",

                    // "Description" : "要怎么做？",

                    "Description": "Event_1011017_Sec2_Des_1",

                    "Choices": [

                        //【1】物资一，金币

                        {

                            // "OptionText" : "答应帮它找同伴<color=#A5A5A5>（获得{specials(Award)}齿轮硬币）</color>",

                            "OptionText": "Event_1011017_Sec2_OP_1",

                            "OptionText2": "Event_1011017_Sec2_OP_1_split",

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            //+800金币

                                            "$type": "Share.CConfigAddItem",

                                            "ItemID": 1,

                                            "Count": "specials(Award)"

                                        },

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "After_Op_1_Over_1"

                                        }

                                    ]

                                }

                            ]

                        },

                        //【2】物资二，清除诅咒

                        // {

                        //     // "OptionText" : "询问它和迷布的关系<color=#A5A5A5>（随机清除{specials(CurseCount)}个已有诅咒）</color>",

                        //     "OptionText": "Event_1011017_Sec2_OP_2",

                        //     "OptionText2": "Event_1011017_Sec2_OP_2_split",

                        //     "Predicates": [

                        //         {

                        //             "$type": "Share.CConfigEventByCurse",

                        //             "Count": 1,

                        //             "Type": 1,

                        //             "CompareType": "GreaterEqual"

                        //         }

                        //     ],

                        //     "OptionContents": [

                        //         {

                        //             "Actions": [

                        //                 {

                        //                     "$type": "Share.CConfigRemoveBuff",

                        //                     "BuffType": 1,

                        //                     "Count": "specials(CurseCount)"

                        //                 },

                        //                 {

                        //                     "$type": "Share.CConfigJump",

                        //                     "Jump": "After_Op_2_Over_1"

                        //                 }

                        //             ]

                        //         }

                        //     ]

                        // },

                        //【3】物资三，发放特殊祝福2，10%是永久的

                        {

                            // "OptionText" : "看看牌子上的内容<color=#A5A5A5>（获得【振奋】时刻操心）</color>",

                            "OptionText": "Event_1011017_Sec2_OP_3",

                            "OptionText2": "Event_1011017_Sec2_OP_3_split",

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "After_Op_3_Over_1"

                                        }

                                    ]

                                }

                            ]

                        },

                        //【4】离开

                        {

                            // "OptionText" : "离开",

                            "OptionText": "Event_1011017_Sec2_OP_4",

                            "OptionText2": "Event_1011017_Sec2_OP_4_split",

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "After_Op_4_Over_1"

                                        }

                                    ]

                                }

                            ]

                        }

                    ]

                }

            ]

        },

        "After_Op_1_Over_1": {

            "Actions": [

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        // "“谢谢你们！见到迷布的话，请告诉它就在走散的地方等我！”说完，它捧着一大堆齿轮硬币递了过来。这邦布也太懂事了！"

                        "Event_1011017_Sec2_OP_1_Over_1"

                    ]

                },

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        },

        "After_Op_2_Over_1": {

            "Actions": [

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        // "“我们一起辅助调查员探索空洞，但因为迷布太迷糊，被调查员抛弃了，我得自己把它找回来。”这是不是违背了邦布辅助指令？究竟如何办到的？",

                        "Event_1011017_Sec2_OP_2_Over_1"

                    ]

                },

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        },

        "After_Op_3_Over_1": {

            "Actions": [

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        // "上面画着迷布的画像，细致得很难想象是出自一只邦布的手笔。"

                        "Event_1011017_Sec2_OP_3_Over_1"

                    ]

                },

                {

                    "$type": "Share.CConfigIf",

                    "Conditions": [

                        {

                            "$type": "Share.CConfigEventByRandom",

                            "Odds": "specials(byOdds)"

                        }

                    ],

                    //永久

                    // "OnSuccess":"After_add_bless_const",

                    "OnSuccess": "After_add_bless",

                    //限时

                    "OnFailure": "After_add_bless"

                }

            ]

        },

        "After_add_bless_const": {

            "Actions": [

                {

                    "$type": "Share.CConfigDropCurse",

                    "CurseID": "specials(BlessID2)",

                    "TimeCount": -1,

                    "Stack": "Overwrite"

                },

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        },

        "After_add_bless": {

            "Actions": [

                { 	

                    //-压力值

                    "$type" : "Share.CConfigModifySceneProperty",

                    "Property" :  "Stamina",

                    "Count" : "-specials(op_stamina_3)"

                },

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        },

        "After_Op_4_Over_1": {

            "Actions": [

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        // "大家嘴上答应了会帮它留意，但其实没往心里去。"

                        "Event_1011017_Sec2_OP_4_Over_1"

                    ]

                },

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        }

    }

}

// {

// 	"GraphName" : 1011017, 

// 	"EventID" : 1011017,

// 	"Events" : 

// 	{

//     	//实验室

//     	"OnStart" : 

//     	[

//     		{

//     			"$type" : "Share.CConfigOpenDialog"

//     		},

//     		{

//     			"$type" : "Share.CConfigLogText",

//     			"Messages" : 

//     			[

//     				"Event_1011017_Log_1_1"

//     			]

//     		},

//     		{

//     			"$type" : "Share.CConfigRandomCardIDFromItem",

//     			"Type" : 0,

//     			"SpecialName" : 

//     			[

//     				"card_1"

//     			]

//     		},

//     		{

//     			"$type" : "Share.CConfigChoiceServer",

//     			"OptionsMode" : "Normal",

//     			"Description" : "Event_1011017_Des_1",

//     			"Choices" : 

//     			[

//     				{

//     					"OptionText" : "Event_1011017_op_1",

//     					"Predicates" : 

//     					[

//     						{

// 								//有1卡牌

// 								"$type" : "Share.CConfigEventByTarotCard",

// 								"CardType" : 0,

// 								"CompareType" : "GreaterEqual",

// 								"Count" : 1

// 							}

// 						],

//     					"OptionContents" : 

//     					[

//     						{

//     							"Actions" : 

//     							[

//     								{

// 										//失去卡牌

// 										"$type" : "Share.CConfigRemoveCard",

// 										"ItemID" : "specials(card_1)",

// 										"Count" : 1

// 									},	

// 									{

// 										//400金币

// 										"$type" : "Share.CConfigAddItem",

// 										"ItemID" : 1,

// 										"Count" : "specials(op_1_0)"

// 									},

// 									{

// 										"$type" : "Share.CConfigJump",

// 										"Jump" : "Op_1_Over_1"

// 									}

// 								]

//     						}

//     					]

//     				},

//     				{

//     					"OptionText" : "Event_1011017_op_2",

//     					"OptionContents" : 

//     					[

//     						{

//     							"Actions" : 

//     							[

//     								{

//     									"$type" : "Share.CConfigModifySceneProperty",

//                                         "ModifyType" : "Replace",

//     									"Property" : "Stamina_OverLevel",

//     									"Count" : 1

//     								},

//     								{

//     									"$type" : "Share.CConfigRegenerateStressPunish"

//     								},

//     								{

//     									"$type" : "Share.CConfigJump",

//     									"Jump" : "Op_2_Over_1"

//     								}

//     							]

//     						}

//     					]

//     				},

//     				{

//     					"OptionText" : "Event_1011017_op_3",

//     					"OptionContents" : 

//     					[

//     						{

//     							"Actions" : 

//     							[

//     								{

// 										//每拥有1张卡牌，则降低3点压力值

// 										"$type" : "Share.CConfigModifySceneProperty",

// 										"Property" : "Stamina",

// 										"Count" : "-cardtype(0)*specials(op_3_0)"

// 									},

// 									{

// 										"$type" : "Share.CConfigJump",

// 										"Jump" : "Op_3_Over_1"

// 									}

// 								]

//     						}

//     					]

//     				}

//     			]

//     		}

//     	],

//     	"Op_1_Over_1":

//     	[

//     		{

//     			"$type" : "Share.CConfigLogText",

//     			"Messages" : 

//     			[

//     				"Event_1011017_op_1_over_1"

//     			]

//     		},

//     		{

//     			"$type" : "Share.CConfigJump",

//     			"Jump" : "OnEnd"

//     		}

//     	],

//     	"Op_2_Over_1":

//     	[

//     		{

//     			"$type" : "Share.CConfigLogText",

//     			"Messages" : 

//     			[

//     				"Event_1011017_op_2_over_1",

//                     "Event_1011017_op_2_over_2"

//     			]

//     		},

//     		{

//     			"$type" : "Share.CConfigJump",

//     			"Jump" : "OnEnd"

//     		}

//     	],

//     	"Op_3_Over_1":

//     	[

//     		{

//     			"$type" : "Share.CConfigLogText",

//     			"Messages" : 

//     			[

//     				"Event_1011017_op_3_over_1"

//     			]

//     		},

//     		{

//     			"$type" : "Share.CConfigJump",

//     			"Jump" : "OnEnd"

//     		}

//     	],

//     	"OnEnd" : 

//     	[

//     		{

//     			"$type" : "Share.CConfigCloseDialog"

//     		},

//     		{

//     			"$type" : "Share.CConfigFinishEvent"

//     		}

//     	]

//     },

//     "Specials" :

//     {

//     	"op_1_0" : 400,

//     	"op_3_0" : 3,

//     	"card_1" : 0

//     }

// }

