{

    // Aokaku_插旗相关

    "AbilityName" : "Aokaku_FlagManager",

    "AbilityStacking":"Unique",



    "DefaultModifier" : 

    {

        "ModifierStacking":"Unique",

        "OnPatternHitOther": 

        [

            //插旗攻击命中时触发支援攻击

            {

                "$type":"MoleMole.ApplyModifier",

                "ModifierName":"Modifier_AidAttackTag",

                "Target":"Self",

                "Predicates": 

                [

                    {

                        "$type" : "MoleMole.ByAnimTagList",

                        "TagList" : 

                        [

                            "FlagAidAttack"

                        ]

                    },

                ],

            },

        ],

    },



    "AbilityMixins" :

    [

        {

            "$type": "MoleMole.ActwithStateFrameMixin",

            "ConfigList": 

            [

                //插旗Buff

                {

                    "AnimatorStateName": "Attack_Branch_01_Flag",

                    "LayerIndex": 0,

                    "Frame": 110,

                    "ForceTriggerOnTransitionOut": false,

                    "IsLoop": false,

                    "ActionList": 

                    [

                        {

                            "$type": "MoleMole.SetAbilitySpecialByExpression",

                            "ParamName": "AtkIncreaseValue",

                            "ValueType": "float",

                            "Expression": "property(Attack)*specials(AS_FlagAtkBuffRatio)",

                        },

                        {

                            "$type":"MoleMole.ApplyModifier",

                            "ModifierName":"Modifier_FlagAtkBuffBase",

                            "Target":"TeamAvatars",

                        },

                        {

                            "$type":"MoleMole.ApplyModifier",

                            "ModifierName":"Modifier_FlagAtkBuffExtra",

                            "Target":"TeamAvatars",

                            "Predicates": 

                            [

                                {

                                    "$type": "MoleMole.ByPlayerPropertyValue",

                                    "Numerator": "Custom",

                                    "CustomNumerator": "RedLight",

                                    "IsUsePercent": false,

                                    "CompareType": "GreaterEqual",

                                    "Val1" : 3,

                                    "Target" : "Self"

                                },

                            ],

                        },

                        {

                            "$type":"MoleMole.ApplyModifier",

                            "ModifierName":"Modifier_SpRecoverBase",

                            "Target":"TeamAvatars",

                            "Predicates" :

                            [

                                {

                                    "$type": "MoleMole.ByPlayerPropertyValue",

                                    "Numerator": "Custom",

                                    "CustomNumerator": "UnlockTalent_03",

                                    "IsUsePercent": false,

                                    "CompareType": "Equal",

                                    "Val1" : 1,

                                    "Target" : "Self"

                                },

                            ],

                        },

                        {

                            "$type":"MoleMole.ApplyModifier",

                            "ModifierName":"Modifier_SpRecoverExtra",

                            "Target":"TeamAvatars",

                            "Predicates": 

                            [

                                {

                                    "$type": "MoleMole.ByPlayerPropertyValue",

                                    "Numerator": "Custom",

                                    "CustomNumerator": "RedLight",

                                    "IsUsePercent": false,

                                    "CompareType": "GreaterEqual",

                                    "Val1" : 3,

                                    "Target" : "Self"

                                },

                                {

                                    "$type": "MoleMole.ByPlayerPropertyValue",

                                    "Numerator": "Custom",

                                    "CustomNumerator": "UnlockTalent_03",

                                    "IsUsePercent": false,

                                    "CompareType": "Equal",

                                    "Val1" : 1,

                                    "Target" : "Self"

                                },

                            ],

                        },

                        {

                            "$type" : "MoleMole.TriggerAbilityAction",

                            "AbilityName" : "Aokaku_RedLightManager",

                            "Target" : "Self",

                            "Predicates": 

                            [

                                {

                                    "$type": "MoleMole.ByPlayerPropertyValue",

                                    "Numerator": "Custom",

                                    "CustomNumerator": "RedLight",

                                    "IsUsePercent": false,

                                    "CompareType": "GreaterEqual",

                                    "Val1" : 3,

                                    "Target" : "Self"

                                },

                            ],

                        },

                    ],

                },

                {

                    "AnimatorStateName": "Attack_Branch_02_Flag_01",

                    "LayerIndex": 0,

                    "Frame": 44,

                    "ForceTriggerOnTransitionOut": false,

                    "IsLoop": false,

                    "ActionList": 

                    [

                        {

                            "$type": "MoleMole.SetAbilitySpecialByExpression",

                            "ParamName": "AtkIncreaseValue",

                            "ValueType": "float",

                            "Expression": "property(Attack)*specials(AS_FlagAtkBuffRatio)",

                        },

                        {

                            "$type":"MoleMole.ApplyModifier",

                            "ModifierName":"Modifier_FlagAtkBuffBase",

                            "Target":"TeamAvatars",

                        },

                        {

                            "$type":"MoleMole.ApplyModifier",

                            "ModifierName":"Modifier_FlagAtkBuffExtra",

                            "Target":"TeamAvatars",

                            "Predicates": 

                            [

                                {

                                    "$type": "MoleMole.ByPlayerPropertyValue",

                                    "Numerator": "Custom",

                                    "CustomNumerator": "RedLight",

                                    "IsUsePercent": false,

                                    "CompareType": "GreaterEqual",

                                    "Val1" : 3,

                                    "Target" : "Self"

                                },

                            ],

                        },

                        {

                            "$type":"MoleMole.ApplyModifier",

                            "ModifierName":"Modifier_SpRecoverBase",

                            "Target":"TeamAvatars",

                            "Predicates" :

                            [

                                {

                                    "$type": "MoleMole.ByPlayerPropertyValue",

                                    "Numerator": "Custom",

                                    "CustomNumerator": "UnlockTalent_03",

                                    "IsUsePercent": false,

                                    "CompareType": "Equal",

                                    "Val1" : 1,

                                    "Target" : "Self"

                                },

                            ],

                        },

                        {

                            "$type":"MoleMole.ApplyModifier",

                            "ModifierName":"Modifier_SpRecoverExtra",

                            "Target":"TeamAvatars",

                            "Predicates": 

                            [

                                {

                                    "$type": "MoleMole.ByPlayerPropertyValue",

                                    "Numerator": "Custom",

                                    "CustomNumerator": "RedLight",

                                    "IsUsePercent": false,

                                    "CompareType": "GreaterEqual",

                                    "Val1" : 3,

                                    "Target" : "Self"

                                },

                                {

                                    "$type": "MoleMole.ByPlayerPropertyValue",

                                    "Numerator": "Custom",

                                    "CustomNumerator": "UnlockTalent_03",

                                    "IsUsePercent": false,

                                    "CompareType": "Equal",

                                    "Val1" : 1,

                                    "Target" : "Self"

                                },

                            ],

                        },

                        {

                            "$type" : "MoleMole.TriggerAbilityAction",

                            "AbilityName" : "Aokaku_RedLightManager",

                            "Target" : "Self",

                            "Predicates": 

                            [

                                {

                                    "$type": "MoleMole.ByPlayerPropertyValue",

                                    "Numerator": "Custom",

                                    "CustomNumerator": "RedLight",

                                    "IsUsePercent": false,

                                    "CompareType": "GreaterEqual",

                                    "Val1" : 3,

                                    "Target" : "Self"

                                },

                            ],

                        },

                    ],

                },

                {

                    "AnimatorStateName": "Attack_Branch_02_Flag_02",

                    "LayerIndex": 0,

                    "Frame": 44,

                    "ForceTriggerOnTransitionOut": false,

                    "IsLoop": false,

                    "ActionList": 

                    [

                        {

                            "$type": "MoleMole.SetAbilitySpecialByExpression",

                            "ParamName": "AtkIncreaseValue",

                            "ValueType": "float",

                            "Expression": "property(Attack)*specials(AS_FlagAtkBuffRatio)",

                        },

                        {

                            "$type":"MoleMole.ApplyModifier",

                            "ModifierName":"Modifier_FlagAtkBuffBase",

                            "Target":"TeamAvatars",

                        },

                        {

                            "$type":"MoleMole.ApplyModifier",

                            "ModifierName":"Modifier_FlagAtkBuffExtra",

                            "Target":"TeamAvatars",

                            "Predicates": 

                            [

                                {

                                    "$type": "MoleMole.ByPlayerPropertyValue",

                                    "Numerator": "Custom",

                                    "CustomNumerator": "RedLight",

                                    "IsUsePercent": false,

                                    "CompareType": "GreaterEqual",

                                    "Val1" : 3,

                                    "Target" : "Self"

                                },

                            ],

                        },

                        {

                            "$type":"MoleMole.ApplyModifier",

                            "ModifierName":"Modifier_SpRecoverBase",

                            "Target":"TeamAvatars",

                            "Predicates" :

                            [

                                {

                                    "$type": "MoleMole.ByPlayerPropertyValue",

                                    "Numerator": "Custom",

                                    "CustomNumerator": "UnlockTalent_03",

                                    "IsUsePercent": false,

                                    "CompareType": "Equal",

                                    "Val1" : 1,

                                    "Target" : "Self"

                                },

                            ],

                        },

                        {

                            "$type":"MoleMole.ApplyModifier",

                            "ModifierName":"Modifier_SpRecoverExtra",

                            "Target":"TeamAvatars",

                            "Predicates": 

                            [

                                {

                                    "$type": "MoleMole.ByPlayerPropertyValue",

                                    "Numerator": "Custom",

                                    "CustomNumerator": "RedLight",

                                    "IsUsePercent": false,

                                    "CompareType": "GreaterEqual",

                                    "Val1" : 3,

                                    "Target" : "Self"

                                },

                                {

                                    "$type": "MoleMole.ByPlayerPropertyValue",

                                    "Numerator": "Custom",

                                    "CustomNumerator": "UnlockTalent_03",

                                    "IsUsePercent": false,

                                    "CompareType": "Equal",

                                    "Val1" : 1,

                                    "Target" : "Self"

                                },

                            ],

                        },

                        {

                            "$type" : "MoleMole.TriggerAbilityAction",

                            "AbilityName" : "Aokaku_RedLightManager",

                            "Target" : "Self",

                            "Predicates": 

                            [

                                {

                                    "$type": "MoleMole.ByPlayerPropertyValue",

                                    "Numerator": "Custom",

                                    "CustomNumerator": "RedLight",

                                    "IsUsePercent": false,

                                    "CompareType": "GreaterEqual",

                                    "Val1" : 3,

                                    "Target" : "Self"

                                },

                            ],

                        },

                    ],

                },

                {

                    "AnimatorStateName": "SwitchIn_Attack",

                    "LayerIndex": 0,

                    "Frame": 124,

                    "ForceTriggerOnTransitionOut": false,

                    "IsLoop": false,

                    "ActionList": 

                    [

                        {

                            "$type": "MoleMole.SetAbilitySpecialByExpression",

                            "ParamName": "AtkIncreaseValue",

                            "ValueType": "float",

                            "Expression": "property(Attack)*specials(AS_FlagAtkBuffRatio)",

                        },

                        {

                            "$type":"MoleMole.ApplyModifier",

                            "ModifierName":"Modifier_FlagAtkBuffBase",

                            "Target":"TeamAvatars",

                        },

                        {

                            "$type":"MoleMole.ApplyModifier",

                            "ModifierName":"Modifier_FlagAtkBuffExtra",

                            "Target":"TeamAvatars",

                            "Predicates": 

                            [

                                {

                                    "$type": "MoleMole.ByPlayerPropertyValue",

                                    "Numerator": "Custom",

                                    "CustomNumerator": "RedLight",

                                    "IsUsePercent": false,

                                    "CompareType": "GreaterEqual",

                                    "Val1" : 3,

                                    "Target" : "Self"

                                },

                            ],

                        },

                        {

                            "$type":"MoleMole.ApplyModifier",

                            "ModifierName":"Modifier_SpRecoverBase",

                            "Target":"TeamAvatars",

                            "Predicates" :

                            [

                                {

                                    "$type": "MoleMole.ByPlayerPropertyValue",

                                    "Numerator": "Custom",

                                    "CustomNumerator": "UnlockTalent_03",

                                    "IsUsePercent": false,

                                    "CompareType": "Equal",

                                    "Val1" : 1,

                                    "Target" : "Self"

                                },

                            ],

                        },

                        {

                            "$type":"MoleMole.ApplyModifier",

                            "ModifierName":"Modifier_SpRecoverExtra",

                            "Target":"TeamAvatars",

                            "Predicates": 

                            [

                                {

                                    "$type": "MoleMole.ByPlayerPropertyValue",

                                    "Numerator": "Custom",

                                    "CustomNumerator": "RedLight",

                                    "IsUsePercent": false,

                                    "CompareType": "GreaterEqual",

                                    "Val1" : 3,

                                    "Target" : "Self"

                                },

                                {

                                    "$type": "MoleMole.ByPlayerPropertyValue",

                                    "Numerator": "Custom",

                                    "CustomNumerator": "UnlockTalent_03",

                                    "IsUsePercent": false,

                                    "CompareType": "Equal",

                                    "Val1" : 1,

                                    "Target" : "Self"

                                },

                            ],

                        },

                        {

                            "$type" : "MoleMole.TriggerAbilityAction",

                            "AbilityName" : "Aokaku_RedLightManager",

                            "Target" : "Self",

                            "Predicates": 

                            [

                                {

                                    "$type": "MoleMole.ByPlayerPropertyValue",

                                    "Numerator": "Custom",

                                    "CustomNumerator": "RedLight",

                                    "IsUsePercent": false,

                                    "CompareType": "GreaterEqual",

                                    "Val1" : 3,

                                    "Target" : "Self"

                                },

                            ],

                        },

                    ],

                },

                {

                    "AnimatorStateName": "SwitchIn_Attack_Ex",

                    "LayerIndex": 0,

                    "Frame": 124,

                    "ForceTriggerOnTransitionOut": false,

                    "IsLoop": false,

                    "ActionList": 

                    [

                        {

                            "$type": "MoleMole.SetAbilitySpecialByExpression",

                            "ParamName": "AtkIncreaseValue",

                            "ValueType": "float",

                            "Expression": "property(Attack)*specials(AS_FlagAtkBuffRatio)",

                        },

                        {

                            "$type":"MoleMole.ApplyModifier",

                            "ModifierName":"Modifier_FlagAtkBuffBase",

                            "Target":"TeamAvatars",

                        },

                        {

                            "$type":"MoleMole.ApplyModifier",

                            "ModifierName":"Modifier_FlagAtkBuffExtra",

                            "Target":"TeamAvatars",

                            "Predicates": 

                            [

                                {

                                    "$type": "MoleMole.ByPlayerPropertyValue",

                                    "Numerator": "Custom",

                                    "CustomNumerator": "RedLight",

                                    "IsUsePercent": false,

                                    "CompareType": "GreaterEqual",

                                    "Val1" : 3,

                                    "Target" : "Self"

                                },

                            ],

                        },

                        {

                            "$type":"MoleMole.ApplyModifier",

                            "ModifierName":"Modifier_SpRecoverBase",

                            "Target":"TeamAvatars",

                            "Predicates" :

                            [

                                {

                                    "$type": "MoleMole.ByPlayerPropertyValue",

                                    "Numerator": "Custom",

                                    "CustomNumerator": "UnlockTalent_03",

                                    "IsUsePercent": false,

                                    "CompareType": "Equal",

                                    "Val1" : 1,

                                    "Target" : "Self"

                                },

                            ],

                        },

                        {

                            "$type":"MoleMole.ApplyModifier",

                            "ModifierName":"Modifier_SpRecoverExtra",

                            "Target":"TeamAvatars",

                            "Predicates": 

                            [

                                {

                                    "$type": "MoleMole.ByPlayerPropertyValue",

                                    "Numerator": "Custom",

                                    "CustomNumerator": "RedLight",

                                    "IsUsePercent": false,

                                    "CompareType": "GreaterEqual",

                                    "Val1" : 3,

                                    "Target" : "Self"

                                },

                                {

                                    "$type": "MoleMole.ByPlayerPropertyValue",

                                    "Numerator": "Custom",

                                    "CustomNumerator": "UnlockTalent_03",

                                    "IsUsePercent": false,

                                    "CompareType": "Equal",

                                    "Val1" : 1,

                                    "Target" : "Self"

                                },

                            ],

                        },

                        {

                            "$type" : "MoleMole.TriggerAbilityAction",

                            "AbilityName" : "Aokaku_RedLightManager",

                            "Target" : "Self",

                            "Predicates": 

                            [

                                {

                                    "$type": "MoleMole.ByPlayerPropertyValue",

                                    "Numerator": "Custom",

                                    "CustomNumerator": "RedLight",

                                    "IsUsePercent": false,

                                    "CompareType": "GreaterEqual",

                                    "Val1" : 3,

                                    "Target" : "Self"

                                },

                            ],

                        },

                    ],

                },



            ],

        },

    ],



    "Modifiers" :

    {

        /*

        //允许换人

        "Modifier_AllowSwitchIn" :

        {

            "ModifierStacking" : "Unique",

            "Duration" : -1,



            "OnAdded":

            [

                {

                    "$type": "MoleMole.AllowOnStageSwitchInAction",

                    "Tag": "Aokaku_Flag",

                    "IsAllow": true,

                    "Target": "Self",

                },

            ],



            "OnRemoved":

            [

                {

                    "$type": "MoleMole.InterruptAllowOnStageSwitchInAction",

                    "Tag": "Aokaku_Flag",

                    "Target": "Self",

                },

            ],

        },

        */



        "Modifier_FlagAtkBuffBase": 

        {

            "ModifierStacking": "Replace",

            "Duration" : "%AS_FlagBuffDuration",

            "IgnoreTimeScale": false,

            "Properties": 

            {

                "Actor_BaseAttackDelta": "%AtkIncreaseValue"

            },

        },



        "Modifier_FlagAtkBuffExtra": 

        {

            "ModifierStacking": "Replace",

            "Duration" : "%AS_FlagBuffDuration",

            "IgnoreTimeScale": false,

            "Properties": 

            {

                "Actor_BaseAttackDelta": "%AtkIncreaseValue"

            },

        },



        "Modifier_SpRecoverBase":

        {

            "ModifierStacking": "Replace",

            "Duration" : "%AS_FlagBuffDuration",

            "ThinkInterval" : 1,

            "OnThinkInterval" :

            [

                {

                    "$type": "MoleMole.RecoverSPAction",

                    "Target" : "Self",

                    "Percentage": 0,

                    "Amount": "%AS_SpRecoverPerSecond_Talent_03",

                    "IgnoreRatio": false,

                }

            ],

        },



        "Modifier_SpRecoverExtra":

        {

            "ModifierStacking": "Replace",

            "Duration" : "%AS_FlagBuffDuration",

            "ThinkInterval" : 1,

            "OnThinkInterval" :

            [

                {

                    "$type": "MoleMole.RecoverSPAction",

                    "Target" : "Self",

                    "Percentage": 0,

                    "Amount": "%AS_SpRecoverPerSecond_Talent_03",

                    "IgnoreRatio": false,

                }

            ],

        },



        //支援攻击Tag

        "Modifier_AidAttackTag" :

        {

            "ModifierStacking": "Replace",

            "Duration": 0.5,

            "IgnoreTimeScale": false,

            "OnAdded" :

            [

                {

                    "$type": "MoleMole.HandleAnimatorZoneTagsAction",

                    "Target" : "Self",

                    "AnimatorStateTags": ["AidAttack_Common"] ,

                    "IsAdd": true ,

                },

            ],

            "OnRemoved" :

            [

                {

                    "$type": "MoleMole.HandleAnimatorZoneTagsAction",

                    "Target" : "Self",

                    "AnimatorStateTags": ["AidAttack_Common"] ,

                    "IsAdd": false ,

                },

            ],

        },

    },



    "AbilitySpecials" : 

    {

        "AtkIncreaseValue" :

        {

            "Value" : 0

        },



        //表格参数

        "AS_SpRecoverPerSecond_Talent_03" :

        {

            "Value" : 0.5

        },

        "AS_FlagAtkBuffRatio" :

        {

            "Value" : 0.12

        },

        "AS_FlagBuffDuration" :

        {

            "Value" : 10

        },

    }

}