//战斗模板

{

    "ID": 9991177,

    "EventTypeTag": [

        "TrapStamina"

    ],

    "Specials": {

        //表格参数

        "stamina": 20

    },

    "Events": {

        "OnStart": {

            "Actions": [

                {

                    //+压力值

                    "$type": "Share.CConfigModifySceneProperty",

                    "Property": "Stamina",

                    "Count": "specials(stamina)"

                },

                {

                    "$type": "Share.CConfigShowTip",

                    "TipID": 101201,

                    "Delay": 0

                },

                {

                    "$type": "Share.CConfigPlayAnim",

                    "WaitingTime": 0.5

                },

                //----------------

                {

                    "$type":"Share.CConfigSetHollowVariable",

                    "Key":"Trap.9991175",

                    "Value": "scenevar(Trap.9991175)+1"

                },

                {

                    //触发所有陷阱，2个

                    "$type":"Share.CConfigSetConditionProgress",

                    "ConditionID":30060022,

                    "Progress":1,

                    "ModifyType":"Add",

                    "Predicates": [

                        {

                            "$type": "Share.CConfigEventByHollowVariable",

                            "Key": "Trap.9991175",

                            "Count": 2,

                            "CompareType": "GreaterEqual"

                        }

                    ]

                },

                //----------------

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        }

    }

}

