[

////////////////////////////////////////////////////////////////
//
//  ExtraAttack
//
////////////////////////////////////////////////////////////////

    {
        "Default": //蓄力攻击：男
        {
            "$type": "ConfigAbility",
            "abilityName": "Avatar_PlayerBoy_ExtraAttack_Electric",
            "abilityMixins": 
            [
                {
                    "$type": "ButtonHoldChargeMixin",
                    "skillID": 100546,
                    "chargeTime": 0.12,
                    "secondChargeTime": 0.2,
                    "OnBeginUncharged": 
                    [
                        {
                            "$type": "SetAnimatorTrigger",
                            "triggerID": "DoSkill",
                        },
                        {
                            "$type": "SetAnimatorInt",
                            "intID": "SkillID",
                            "value": 99,
                            "predicates": [
                                {
                                    "$type": "ByAny",
                                    "predicates": [
                                        {
                                            "$type": "ByAnimatorInt",
                                            "value": 0,
                                            "parameter": "ComboCount",
                                            "logic": "Equal",
                                        },
                                        {
                                            "$type": "ByAnimatorInt",
                                            "value": 5,
                                            "parameter": "ComboCount",
                                            "logic": "Equal",
                                        },
                                    ],
                                },
                            ],
                        },
                        {
                            "$type": "SetAnimatorBool",
                            "boolID": "IsCharging",
                            "value": false,
                        },
                    ],
                    "OnReleaseUncharged": 
                    [
                        {
                            "$type": "SetAnimatorInt",
                            "intID": "SkillID",
                            "value": 1,
                        },
                    ],
                    "OnBeginCharged": 
                    [
                        {
                            "$type": "SetAnimatorBool",
                            "boolID": "IsCharging",
                            "value": true,
                        },
                    ],
                    "OnReleaseCharged": 
                    [
                        {
                            "$type": "SetAnimatorBool",
                            "boolID": "IsCharging",
                            "value": false,
                        },
                        {
                            "$type": "SetAnimatorInt",
                            "intID": "SkillID",
                            "value": 1,
                        },
                    ],
                    "OnBeginSecondCharged": 
                    [
                        {
                            "$type": "SetAnimatorTrigger",
                            "triggerID": "DoSkill",
                            "predicates": [
                                {
                                    "$type": "ByLocalAvatarStamina",
                //故意少判了一点点体力，为了顾及一部分网络延迟
                                    "stamina": "%ExtraAttack_Sword_Stamina_Cost+%Flexible_Stamina",
                                    "logic": "GreaterOrEqual",
                                },
                            ],
                        },
                        {
                            "$type": "SetAnimatorInt",
                            "intID": "SkillID",
                            "value": 6,
                            "predicates": [
                                {
                                    "$type": "ByLocalAvatarStamina",
                //故意少判了一点点体力，为了顾及一部分网络延迟
                                    "stamina": "%ExtraAttack_Sword_Stamina_Cost+%Flexible_Stamina",
                                    "logic": "GreaterOrEqual",
                                },
                            ],
                        },
                        {
                            "$type": "SetAnimatorBool",
                            "boolID": "IsCharging",
                            "value": false,
                        },
                    ],
                    "OnReleaseSecondCharged": [],
                    "chargeStateIDs": 
                    [
                        "Attack01",
                        "Attack02",
                        "Attack03",
                        "Attack04",
                        "Run"
                    ],
                },
                {
                    "$type": "AttachToStateIDMixin",
                    "stateIDs": 
                    [
                        "ExtraAttack"
                    ],
                    "modifierName": "ExtraAttack_StaminaCost",
                },
            ],
            "modifiers": 
            {
                "ExtraAttack_StaminaCost": 
                {
                    "onAdded": 
                    [
                        {
                            "$type": "AvatarSkillStart",
                            "skillID": 10001,
                            "costStaminaRatio":"%ExtraAttack_Sword_Stamina_Cost",
                        },
                    ],
                },
            },
            "abilitySpecials": 
            {
                //故意少判了一点点体力，为了顾及一部分网络延迟
                "ExtraAttack_Sword_Stamina_Cost": 0,
                "Flexible_Stamina":-2,
            },
        },
    },

    {
        "Default": //蓄力攻击：女
        {
            "$type": "ConfigAbility",
            "abilityName": "Avatar_PlayerGirl_ExtraAttack_Electric",
            "abilityMixins": 
            [
                {
                    "$type": "ButtonHoldChargeMixin",
                    "skillID": 100556,
                    "chargeTime": 0.12,
                    "secondChargeTime": 0.2,
                    "OnBeginUncharged": [
                        {
                            "$type": "SetAnimatorTrigger",
                            "triggerID": "DoSkill",
                        },
                        {
                            "$type": "SetAnimatorInt",
                            "intID": "SkillID",
                            "value": 99,
                            "predicates": [
                                {
                                    "$type": "ByAny",
                                    "predicates": [
                                        {
                                            "$type": "ByAnimatorInt",
                                            "value": 0,
                                            "parameter": "ComboCount",
                                            "logic": "Equal",
                                        },
                                        {
                                            "$type": "ByAnimatorInt",
                                            "value": 5,
                                            "parameter": "ComboCount",
                                            "logic": "Equal",
                                        },
                                    ],
                                },
                            ],
                        },
                        {
                            "$type": "SetAnimatorBool",
                            "boolID": "IsCharging",
                            "value": false,
                        },
                    ],
                    "OnReleaseUncharged":
                    [
                        {
                            "$type": "SetAnimatorInt",
                            "intID": "SkillID",
                            "value": 1,
                        },
                    ],
                    "OnBeginCharged": 
                    [
                        {
                            "$type": "SetAnimatorBool",
                            "boolID": "IsCharging",
                            "value": true,
                        },
                    ],
                    "OnReleaseCharged": 
                    [
                        {
                            "$type": "SetAnimatorBool",
                            "boolID": "IsCharging",
                            "value": false,
                        },
                        {
                            "$type": "SetAnimatorInt",
                            "intID": "SkillID",
                            "value": 1,
                        },
                    ],
                    "OnBeginSecondCharged": 
                    [
                        {
                            "$type": "SetAnimatorTrigger",
                            "triggerID": "DoSkill",
                            "predicates": [
                                {
                                    "$type": "ByLocalAvatarStamina",
                //故意少判了一点点体力，为了顾及一部分网络延迟
                                    "stamina": "%ExtraAttack_Sword_Stamina_Cost+%Flexible_Stamina",
                                    "logic": "GreaterOrEqual",
                                },
                            ],
                        },
                        {
                            "$type": "SetAnimatorInt",
                            "intID": "SkillID",
                            "value": 6,
                            "predicates": [
                                {
                                    "$type": "ByLocalAvatarStamina",
                //故意少判了一点点体力，为了顾及一部分网络延迟
                                    "stamina": "%ExtraAttack_Sword_Stamina_Cost+%Flexible_Stamina",
                                    "logic": "GreaterOrEqual",
                                },
                            ],
                        },
                        {
                            "$type": "SetAnimatorBool",
                            "boolID": "IsCharging",
                            "value": false,
                        },
                    ],
                    "OnReleaseSecondCharged": 
                    [],
                    "chargeStateIDs": 
                    [
                        "Attack01",
                        "Attack02",
                        "Attack03",
                        "Attack04",
                        "Run"
                    ],
                },
                {
                    "$type": "AttachToStateIDMixin",
                    "stateIDs": [
                        "ExtraAttack"
                    ],
                    "modifierName": "ExtraAttack_StaminaCost",
                },
            ],
            "modifiers": 
            {
                "ExtraAttack_StaminaCost": 
                {
                    "onAdded": 
                    [
                        {
                            "$type": "AvatarSkillStart",
                            "skillID": 10001,
                            "costStaminaRatio":"%ExtraAttack_Sword_Stamina_Cost",
                        },
                    ],
                },
            },
            "abilitySpecials": 
            {
                //故意少判了一点点体力，为了顾及一部分网络延迟
                "ExtraAttack_Sword_Stamina_Cost": 0,
                "Flexible_Stamina":-2,
            },
        },
    },

////////////////////////////////////////////////////////////////
//
//  ElementalBurst_WeaponDisplay
//
////////////////////////////////////////////////////////////////

    {
        "Default": //元素爆发：控制武器显示
        {
            "$type": "ConfigAbility",
            "abilityName": "Avatar_PlayerGirl_Electric_ElementalBurst_WeaponDisplay",
            "abilityMixins":
            [
                {
                    "$type": "AttachToNormalizedTimeMixin",
                    "stateID": "Player_Electric_ElementalBurst_AS",
                    "modifierName": "Player_Electric_ElementalBurst_HideWeapon",
                    "normalizeStart" : 0.0,
                    "normalizeEnd" : 0.22,   
                },                
            ],  
            "modifiers":
            {
                "Player_Electric_ElementalBurst_HideWeapon":
                {
                    "onAdded":
                    [
                        {
                            "$type": "TriggerHideWeapon",
                            "visible": false,
                            "partNames": ["equip01", "equip02", "sheathPoint"],
                        },
                    ],
                    "onRemoved":
                    [
                        {
                            "$type": "TriggerHideWeapon",
                            "visible": true,
                            "doOffStage":true,
                            "partNames": ["equip01", "equip02", "sheathPoint"],
                        },
                    ],
                },                
            }
        },
    },      

    {
        "Default": //元素爆发：控制武器显示
        {
            "$type": "ConfigAbility",
            "abilityName": "Avatar_PlayerBoy_Electric_ElementalBurst_WeaponDisplay",
            "abilityMixins":
            [
                {
                    "$type": "AttachToNormalizedTimeMixin",
                    "stateID": "Player_Electric_ElementalBurst_AS",
                    "modifierName": "Player_Electric_ElementalBurst_HideWeapon",
                    "normalizeStart" : 0.0,
                    "normalizeEnd" : 0.22,   
                },                
            ],  
            "modifiers":
            {
                "Player_Electric_ElementalBurst_HideWeapon":
                {
                    "onAdded":
                    [
                        {
                            "$type": "TriggerHideWeapon",
                            "visible": false,
                            "partNames": ["equip01", "equip02", "sheathPoint"],
                        },
                    ],
                    "onRemoved":
                    [
                        {
                            "$type": "TriggerHideWeapon",
                            "visible": true,
                            "doOffStage":true,
                            "partNames": ["equip01", "equip02", "sheathPoint"],
                        },
                    ],
                },                
            }
        },
    },   

////////////////////////////////////////////////////////////////
//
//  ElementalBurst_Initiate
//
////////////////////////////////////////////////////////////////

    {
        "Default":
        {
            "$type": "ConfigAbility",
            "abilityName": "Avatar_Player_Electric_ElementalBurst_Initiate",
            "abilityMixins":
            [
                {
                    "$type": "AttachToNormalizedTimeMixin",
                    "stateID": "Player_Electric_ElementalBurst",
                    "modifierName": "Player_Electric_ElementalBurst_VFX",
                    "normalizeStart" : 0.0,
                    "normalizeEnd" : 1.0,                   
                },   
                {
                    "$type": "AttachToStateIDMixin",
                    "stateIDs": ["Player_Electric_ElementalBurst"],
                    "modifierName": "Player_Electric_ElementalBurst_Weather",              
                },          
                {
                    "$type": "AttachToStateIDMixin",
                    "stateIDs": ["Player_Electric_ElementalBurst"],
                    "modifierName": "Player_Electric_ElementalBurst_Invincible",              
                },                                   
            ],
            "onAbilityStart":
            [
                {
                    "$type" : "TriggerAttackEvent",
                    "targetType" : "Enemy",
                    "attackEvent":
                    {
                        "attackPattern":
                        {
                            "$type": "ConfigAttackSphere",
                            "triggerType": "TriggerNoRepeat",
                            "radius": 5.0,
                        },
                        "attackInfo":
                        {
                            "attackTag": "Elemental_Burst",
                            "attackProperty":
                            {
                                "damagePercentage": "%ElementalBurst_InitiateDamage",
                                "strikeType": "Blunt",
                                "elementType": "Electric",
                                "elementDurability": 25,
                                "elementRank": 3,
                                "enBreak": 150,
                            },
                            "hitPattern":
                            {
                                "onHitEffectName": "default",
                                "hitImpulseType":"LV3",
                                "retreatType": "ByHitDirection",
                                "reboundRatio": 0,
                                "hitHaltTime": 0.0,
                                "canBeDefenceHalt": false,
                                "hitHaltTimeScale": 0.05,
                                "muteHitText": false
                            },
                            "forceCameraShake": true,
                            "cameraShake":
                            {
                                "shakeType": "Center",
                                "shakeRange": 0.6,
                                "shakeTime": 0.36,
                                "shakeDistance": 30,
                                "extension":
                                {
                                    "baseCycle": 0.08,
                                    "cycleDamping": -0.04,
                                },
                            },
                        },
                    },
                },                
                {
                    "$type" : "ActCameraRadialBlur",
                    "cameraRadialBlur" :
                    {
                        "power": 1,
                        "blurTime": 0.4,
                        "fadeTime": 0.2,
                    },
                },                          
                {
                    "$type": "AvatarSkillStart",
                    "skillID": 10605,
                },              
                {
                    "$type": "FireEffect",
                    "effectPattern": "Eff_Player_Electric_ElementalBurst_Burst",
                    "target":"Self",
                },                                       
                {
                    "$type": "CreateGadget",
                    "gadgetID": 41044001,
                    "campID": 1001,
                    "campTargetType": "Enemy",
                    "born":
                    {
                        "$type": "ConfigBornByTarget",
                        "offset" :
                        {
                            "x": 0.0,
                            "y": 0.0,
                            "z": 0.0,
                        },
                    },
                    "lifeByOwnerIsAlive":true,
                },
                                                                                                                
            ],      
            "modifiers":
            {          
                "Player_Electric_ElementalBurst_Invincible":
                {
                    "state": "Invincible",
                    "onAdded":
                    [
                        {
                            "$type": "AttachAbilityStateResistance",
                            "resistanceListID": 11002,
                        },
                    ],
                },             
                "Player_Electric_ElementalBurst_VFX":
                {
                    "onAdded":
                    [
                        {
                            "$type":"FireEffect",
                            "effectPattern":"Eff_Player_Electric_ElementalBurst_Initiate",                              
                        },
                        {
                            "$type": "KillGadget",
                            "gadgetInfo":
                            {
                                "$type": "SelectTargetsByChildren",
                                "configID": 41044001,
                            },
                        },                         
                    ],
                },                               
                "Player_Electric_ElementalBurst_Weather":
                {
                    "modifierMixins":
                    [
                        {
                            "$type":"TriggerWeatherMixin",
                            "type":"Skill",
                            "weatherPattern":"Weather_Player_Electric_ElementalBurst",
                            "transDuration":1,//这个同时是渐入时长和渐出时长。
                            "duration":2,//释放时变亮的参数
                            // "duration":1.4,//释放时仍然暗的参数,剑变亮时间增长了。
                        },
                    ],
                },                           
                                
            },
            "abilitySpecials":
            {
                "ElementalBurst_InitiateDamage": 0,
            },               
        },
    },      

////////////////////////////////////////////////////////////////
//
//  元素爆发 相机
//
////////////////////////////////////////////////////////////////

    {
        "Default":
        {
            "$type": "ConfigAbility",
            "abilityName": "Avatar_Player_Electric_ElementalBurst_CameraExit",
            "abilityMixins":
            [
                {
                    "$type": "AttachToStateIDMixin",
                    "stateIDs": ["Player_Electric_ElementalBurst"],
                    "modifierName": "ExitCamera",
                },                
            ],
            "modifiers":
            {
                "ExitCamera":
                {
                    "onRemoved":
                    [
                        {
                          "$type": "AvatarExitCameraShot",
                          "doOffStage": true,
                        },
                        {
                            "doOffStage" : true,
                            "$type" : "AvatarCameraParam",
                            "lockParam" : false,
                            "cameraParam" :
                            {
                                "forceRadius" : 6.0,
                                "forceRadiusDuration" : 0,
                                "shouldKeepForceRadius" : true,
                            },
                        },
                    ],
                },
            },
        },
    },


////////////////////////////////////////////////////////////////
//
//  ElementalBurst_Bullet
//
////////////////////////////////////////////////////////////////

    {
        "Default": //元素爆发Gadget的特效播放
        {
            "$type": "ConfigAbility",
            "abilityName": "Avatar_Player_Electric_ElementalBurst_Bullet",
            "onAdded":
            [   
                {
                    "$type":"ApplyModifier",
                    "modifierName":"Player_Electric_ElementalBurst_Bullet_1_VFX",
                },  
                {
                    "$type":"ApplyModifier",
                    "modifierName":"Player_Electric_ElementalBurst_Bullet_2_VFX",
                },  
                {
                    "$type":"ApplyModifier",
                    "modifierName":"Player_Electric_ElementalBurst_Bullet_3_VFX",
                },    
                {
                    "$type": "AttachModifier",
                    "modifierName": "UNIQUE_Player_Electric_ElementalBurst_Handler",
                },                                              
            ],
            "onAbilityStart":
            [
                // {
                //     "$type":"ApplyModifier",
                //     "target":"CurLocalAvatar",
                //     "modifierName":"Player_Electric_ElementalBurst_Charge_VFX",
                //     "doOffStage":true,
                // },                                          
            ],
            "modifiers":
            {
                "Player_Electric_ElementalBurst_Bullet_1_VFX":
                {
                    "onAdded":
                    [
                        {
                            "$type":"AttachEffect",
                            "effectPattern":"Eff_Player_Electric_ElementalBurst_Magatama_1",
                            "born":
                            {
                                "$type": "ConfigBornByAttachPoint",
                                "attachPointName" : "Ponit1",
                                "offset":
                                {
                                    "x": 0.0,
                                    "y": 0.0,
                                    "z": 0.0,
                                },
                                "direction":
                                {
                                    "$type": "ConfigDirectionByDefault",
                                    "angleOffset":
                                    {
                                        "x": 0.0,
                                        "y": 0.0,
                                        "z": 0.0,
                                    },
                                },
                            },
                        },
                    ]
                },
                "Player_Electric_ElementalBurst_Bullet_2_VFX":
                {
                    "onAdded":
                    [
                        {
                            "$type":"AttachEffect",
                            "effectPattern":"Eff_Player_Electric_ElementalBurst_Magatama_2",
                            "born":
                            {
                                "$type": "ConfigBornByAttachPoint",
                                "attachPointName" : "Ponit2",
                                "offset":
                                {
                                    "x": 0.0,
                                    "y": 0.0,
                                    "z": 0.0,
                                },
                                "direction":
                                {
                                    "$type": "ConfigDirectionByDefault",
                                    "angleOffset":
                                    {
                                        "x": 0.0,
                                        "y": 0.0,
                                        "z": 0.0,
                                    },
                                },
                            },
                        },
                    ]
                },
                "Player_Electric_ElementalBurst_Bullet_3_VFX":
                {
                    "onAdded":
                    [
                        {
                            "$type":"AttachEffect",
                            "effectPattern":"Eff_Player_Electric_ElementalBurst_Magatama_3",
                            "born":
                            {
                                "$type": "ConfigBornByAttachPoint",
                                "attachPointName" : "Ponit3",
                                "offset":
                                {
                                    "x": 0.0,
                                    "y": 0.0,
                                    "z": 0.0,
                                },
                                "direction":
                                {
                                    "$type": "ConfigDirectionByDefault",
                                    "angleOffset":
                                    {
                                        "x": 0.0,
                                        "y": 0.0,
                                        "z": 0.0,
                                    },
                                },
                            },
                        },
                    ]
                },
                // "Player_Electric_ElementalBurst_Charge_VFX":
                // {
                //     "duration":0.1,
                //     "onAdded":
                //     [
                //         {
                //             "$type" : "FireEffect",
                //             "effectPattern" : "Eff_Player_Electric_ElementalBurst_Charge",
                //             "born" :
                //             {
                //                 "$type":"ConfigBornByAttachPoint",
                //                 "attachPointName":"Ponit1",
                //                 "attachPointTargetType":"Applier",//可以连applier
                //                 "offset":
                //                 {
                //                     "x":0,
                //                     "y":0,
                //                     "z":0,
                //                 },
                //             },
                //             "doOffStage":true,
                //         },    
                //         {
                //             "$type" : "FireEffect",
                //             "effectPattern" : "Eff_Player_Electric_ElementalBurst_Charge",
                //             "born" :
                //             {
                //                 "$type":"ConfigBornByAttachPoint",
                //                 "attachPointName":"Ponit2",
                //                 "attachPointTargetType":"Applier",//可以连applier
                //                 "offset":
                //                 {
                //                     "x":0,
                //                     "y":0,
                //                     "z":0,
                //                 },
                //             },
                //             "doOffStage":true,
                //         },  
                //         {
                //             "$type" : "FireEffect",
                //             "effectPattern" : "Eff_Player_Electric_ElementalBurst_Charge",
                //             "born" :
                //             {
                //                 "$type":"ConfigBornByAttachPoint",
                //                 "attachPointName":"Ponit3",
                //                 "attachPointTargetType":"Applier",//可以连applier
                //                 "offset":
                //                 {
                //                     "x":0,
                //                     "y":0,
                //                     "z":0,
                //                 },
                //             },
                //             "doOffStage":true,
                //         },                                                                                           
                //     ]
                // },
                "UNIQUE_Player_Electric_ElementalBurst_Handler":
                {
                    "isUnique": true,
                    "duration": "%ElementalBurst_Duration",
                    "onAdded":
                    [
                        {
                            "$type": "AttachModifier", //命之座2
                            "modifierName":"Player_Electric_ElementalBurst_ElecResDown",
                            "predicates":
                            [
                                {
                                    "$type" : "ByUnlockTalentParam",
                                    "talentParam":"Player_Electric_ElementalBurst_ElecResDown",
                                }
                            ],
                        },
                        {
                            "$type": "SetGlobalValue",
                            "key": "_ABILITY_Player_Electric_ElementalBurst_CD",
                            "target":"Caster",
                            "value": 1,
                            "doOffStage": true,
                        },                          
                    ],
                    "onRemoved":
                    [
                        {
                            "$type": "SetGlobalValue",
                            "key": "_ABILITY_Player_Electric_ElementalBurst_Counter",  //技能结束，移除攻击计数
                            "value": 0,
                            "doOffStage": true,
                        },                        
                    ],
                    "modifierMixins": 
                    [
                        {
                            "$type":"CurLocalAvatarMixin",
                            "modifierName":"UNIQUE_Player_Electric_ElementalBurst_Detect",
                        },      
                        {
                            "$type": "AttachModifierToSelfGlobalValueMixin",
                            "globalValueKey": "_ABILITY_Player_Electric_ElementalBurst_Counter",   //计算现在该打第几击
                            "valueSteps": [-0.5, 0.5, 1.5, 2.5, 3.5, 4.5],
                            "removeAppliedModifier": true,
                            "modifierNameSteps": ["Blank", "Blank", "Blank", "Blank", "Blank"],
                            "actionQueues": 
                            [
                                [
                                ],
                                [
                                    // {
                                    //     "$type": "ApplyModifier",
                                    //     "modifierName": "Player_Electric_ElementalBurst_ThunderAttack_Default_Handler",
                                    //     "target": "CurLocalAvatar",
                                    //     "doOffStage": true,
                                    // },
                                ],
                                [
                                    {
                                        "$type": "Predicated", //命之座6
                                        "target": "Self",
                                        "targetPredicates": 
                                        [
                                            {
                                                "$type": "ByUnlockTalentParam",
                                                "talentParam": "Player_Electric_ElementalBurst_ThunderAttack_Enhanced",
                                            },
                                        ],
                                        // "successActions": 
                                        // [
                                        //     {
                                        //         "$type": "ApplyModifier",
                                        //         "modifierName": "Player_Electric_ElementalBurst_ThunderAttack_Enhanced_Handler",
                                        //         "target": "CurLocalAvatar",
                                        //         "doOffStage": true,
                                        //     },
                                        // ],
                                        "failActions":
                                        [
                                            {
                                                "$type": "SetGlobalValue",
                                                "key": "_ABILITY_Player_Electric_ElementalBurst_Counter",
                                                "value": 0,
                                                "doOffStage": true,
                                            },
                                        ],
                                        "doOffStage": true,
                                    },
                                ],
                                [
                                    {
                                        "$type": "SetGlobalValue",
                                        "key": "_ABILITY_Player_Electric_ElementalBurst_Counter",
                                        "value": 0,
                                        "doOffStage": true,
                                    },
                                ],
                                [

                                ],
                            ],
                        },          
                    ],
                },
                "Blank":
                {
                    
                },
                "Player_Electric_ElementalBurst_ElecResDown":
                {
                    "onAttackLanded":
                    [
                        {
                            "$type": "Predicated", //命之座2
                            "target": "Target",
                            "doOffStage":true,
                            "targetPredicates": 
                            [
                                {
                                    "$type": "ByEntityTypes",
                                    "entityTypes": ["Monster"],
                                },
                                {
                                    "$type": "ByTargetGlobalValue",
                                    "key": "_ANIMAL_ENTITY_TYPE",
                                    "value": 0,
                                    "compareType": "NoneOrEqual",
                                },
                                {
                                    "$type": "ByAttackTags",
                                    "attackTags": ["Elemental_Burst"],
                                },
                                {
                                    "$type" : "ByHitStrikeType", //这里要把爆发伤害的Blunt类型筛掉，只让default类型可以触发这个效果
                                    "strikeType" : "Default",
                                },
                            ],
                            "successActions":
                            [
                                {
                                    "$type": "RemoveUniqueModifier",
                                    "modifierName": "UNIQUE_Player_Electric_ElementalBurst_ElecResDown",
                                    "target": "Target",
                                    "doOffStage": true,
                                },
                                {
                                    "$type": "ApplyModifier",
                                    "modifierName": "UNIQUE_Player_Electric_ElementalBurst_ElecResDown",
                                    "target": "Target",
                                    "doOffStage": true,
                                },
                            ],
                            "failActions":
                            [                             
                            ]
                        },                        
                    ],
                },                 
                "UNIQUE_Player_Electric_ElementalBurst_ElecResDown":
                {
                    "isUnique": true,
                    "stacking": "Unique",
                    "duration": "%ElementalBurst_ElecResDown_Duration",
                    "state": "DefenseDown",
                    "isLimitedProperties": true,
                    "properties":
                    {
                        "Actor_ElecSubHurtDelta" : "%ElementalBurst_ElecResDown_ElecSubHurtDelta",
                    },
                },
                "UNIQUE_Player_Electric_ElementalBurst_Detect":
                {
                    "isUnique":true,
                    "onAttackLanded":
                    [
                        {
                            "$type": "Predicated",
                            "target": "Other",
                            "targetPredicates": 
                            [
                                {
                                    "$type": "ByEntityTypes",
                                    "entityTypes": ["Monster","Gadget"],
                                },
                                {
                                    "$type": "ByTargetGlobalValue",
                                    "key": "_ANIMAL_ENTITY_TYPE",
                                    "value": 0,
                                    "compareType": "NoneOrEqual",
                                },
                                {
                                    "$type": "ByAttackTags",
                                    "attackTags": 
                                    [
                                        "NormalAttack_01",
                                        "NormalAttack_02",
                                        "NormalAttack_03",
                                        "NormalAttack_04",
                                        "NormalAttack_05",
                                        "NormalAttack_06",  
                                        "ExtraAttack"                                                                       
                                    ],  //普攻重击打中怪
                                },
                                {
                                    "$type":"ByTargetGlobalValue",
                                    "target":"Caster",
                                    "key": "_ABILITY_Player_Electric_ElementalBurst_CD",
                                    "value": 1,
                                    "forceByCaster":true,
                                    "compareType": "Equal",
                                },
                                {
                                    "$type":"ByTargetPositionToSelfPosition",
                                    "compareType":"XZ",
                                    "value":15,
                                    "logic": "LesserOrEqual",
                                },                                                               
                            ],
                            "successActions":
                            [       
                                {
                                    "$type": "SetGlobalPos",
                                    "target": "SelfAttackTarget",
                                    "key": "_ABILITY_Player_Electric_ElementalBurst_Pos",
                                    // "born":
                                    // {
                                    //     "$type": "ConfigBornByTarget",
                                    //     // "onGround": true,
                                    // },
                                    "born":
                                    {
                                        "$type": "ConfigBornBySelectedPoint",
                                        "offset" :
                                        {
                                            "x": 0.0,
                                            "y": 0.0,
                                            "z": 0.0,
                                        },
                                    },
                                    "setTarget": false,
                                },                                
                                {
                                    "$type": "ApplyModifier",
                                    "target": "Caster",
                                    "modifierName": "Player_Electric_ElementalBurst_ThunderAttack_Default",
                                    "doOffStage": true,
                                    "predicates":
                                    [
                                        {
                                            "$type":"ByTargetGlobalValue",
                                            "target":"Caster",
                                            "key":"_ABILITY_Player_Electric_ElementalBurst_Counter",
                                            "value":1,
                                            "compareType":"LessAndEqual"
                                        }                                 
                                    ],
                                },           

                                {
                                    "$type": "ApplyModifier",
                                    "target": "Self",
                                    "modifierName": "Player_Electric_ElementalBurst_Energy_Default",
                                    "doOffStage": true,
                                    "predicates":
                                    [
                                        {
                                            "$type":"ByTargetGlobalValue",
                                            "target":"Caster",
                                            "key":"_ABILITY_Player_Electric_ElementalBurst_Counter",
                                            "value":1,
                                            "compareType":"LessAndEqual"
                                        }                                 
                                    ],
                                },  

                                {
                                    "$type": "ApplyModifier",
                                    "target": "Caster",
                                    "modifierName": "Player_Electric_ElementalBurst_ThunderAttack_Enhanced",
                                    "doOffStage": true,
                                    "predicates":
                                    [
                                        {
                                            "$type":"ByTargetGlobalValue",
                                            "target":"Caster",
                                            "key":"_ABILITY_Player_Electric_ElementalBurst_Counter",
                                            "value":2,
                                            "compareType":"Equal"
                                        },                             
                                    ],
                                },   
                                {
                                    "$type": "ApplyModifier",
                                    "target": "Self",
                                    "modifierName": "Player_Electric_ElementalBurst_Energy_Extra",
                                    "doOffStage": true,
                                    "predicates":
                                    [
                                        {
                                            "$type":"ByTargetGlobalValue",
                                            "target":"Caster",
                                            "key":"_ABILITY_Player_Electric_ElementalBurst_Counter",
                                            "value":2,
                                            "compareType":"Equal"
                                        }                                 
                                    ],
                                },                                                                                                                            
                                {
                                    "$type": "ApplyModifier", //
                                    "modifierName": "Player_Electric_ElementalBurst_Count",
                                    "doOffStage": true,
                                    "target":"Caster",
                                },                                              
                                // {
                                //     "$type": "ApplyModifier", //充电表现
                                //     "modifierName": "Player_Electric_ElementalBurst_Charge",
                                //     "doOffStage": true,
                                //     "target":"Caster",
                                // },      
                                {
                                    "$type": "SetGlobalValue",
                                    "key": "_ABILITY_Player_Electric_ElementalBurst_CD",
                                    "target":"Caster",
                                    "value": 0,
                                    "doOffStage": true,
                                },                                                                                 
                            ],                          
                        },
                    ],                  
                },
                "Player_Electric_ElementalBurst_Count": //这里单独做成1个modifier是为了不让1击产生1次以上的count
                {
                    "duration": 0.5,
                    "stacking":"Unique",
                    "onAdded":
                    [
                        {
                            "$type": "AddGlobalValue",
                            "key": "_ABILITY_Player_Electric_ElementalBurst_Counter",
                            "target":"Caster",
                            "value": 1,
                            "useLimitRange": true,
                            "maxValue": 3,
                            "minValue": 0,
                            "doOffStage": true,
                        },  
                    ],
                    "onRemoved":
                    [
                        {
                            "$type": "SetGlobalValue",
                            "key": "_ABILITY_Player_Electric_ElementalBurst_CD",
                            "target":"Caster",
                            "value": 1,
                            "doOffStage": true,
                        },                          
                    ],
                },
                // "Player_Electric_ElementalBurst_Charge":
                // {
                //     "duration": 0.1,
                //     "onAdded":
                //     [
                //         {
                //             "$type":"TriggerAbility",
                //             "doOffStage":true,
                //             "abilityName":"Avatar_Player_Electric_ElementalBurst_Bullet",
                //             // "otherTargets":
                //             // {
                //             //     "$type":"SelectTargetsByChildren",
                //             //     "configID":41044001,
                //             // },                            
                //         },                       
                //     ]   
                // },  
                "Player_Electric_ElementalBurst_Energy_Default":
                {
                    "duration": 0.2,
                    "stacking": "Unique",
                    "onAdded": 
                    [
                        {
                            "$type": "ReviveElemEnergy",
                            "value": "%ElementalBurst_ReviveEnergy_Default",                        
                        },              
                    ],  
                },
                "Player_Electric_ElementalBurst_Energy_Extra":
                {
                    "duration": 0.2,
                    "stacking": "Unique",
                    "onAdded": 
                    [
                        {
                            "$type": "ReviveElemEnergy",
                            "value": "%ElementalBurst_ReviveEnergy_Default+%ElementalBurst_ReviveEnergy_Enhanced",                    
                        },              
                    ],  
                },       
                       
                "Player_Electric_ElementalBurst_ThunderAttack_Default":
                {
                    "duration": 0.2,
                    "onAdded":
                    [
                        {
                            "$type": "FireEffect",
                            "effectPattern": "Eff_Player_Electric_ElementalBurst_Thunder",
                            "born":
                            {
                                "$type": "ConfigBornByGlobalValue",
                                "positionKey": "_ABILITY_Player_Electric_ElementalBurst_Pos",
                            },                          
                        },      
                        {
                            "$type": "TriggerAttackEvent",
                            "target":"Caster",
                            "targetType": "Enemy",
                            "attackEvent":
                            {
                                "attackPattern" :
                                {
                                    "$type": "ConfigAttackSphere",
                                    "triggerType": "TriggerNoRepeat",
                                    "radius": 2,
                                    "ignoreMassive":true,
                                    "born":
                                    {
                                        "$type": "ConfigBornByGlobalValue",
                                        "positionKey": "_ABILITY_Player_Electric_ElementalBurst_Pos",
                                    }, 
                                },
                                "attackInfo":
                                {
                                    "canBeModifiedBy" : "OriginOwner",
                                    "attackTag": "Elemental_Burst",
                                    "attenuationTag": "Elemental_Burst",
                                    "attackProperty":
                                    {
                                        "damagePercentage": "%ElementalBurst_ThunderAttack_Default_Damage",
                                        "strikeType": "Default",
                                        "elementType": "Electric",
                                        "elementRank":1.5,
                                        "elementDurability": 25,
                                        "enBreak": 50,
                                    },
                                    "hitPattern" :
                                    {
                                        "hitImpulseType":"LV2",
                                        "reboundRatio": 0,
                                        "canBeDefenceHalt": false,
                                        "hitHaltTime": 0.0,
                                        "hitHaltTimeScale": 0.05,
                                        "muteHitText": false,
                                    },
                                    "forceCameraShake": false,
                                },
                            },
                        },                      
                    ]
                },
                "Player_Electric_ElementalBurst_ThunderAttack_Enhanced":
                {
                    "duration": 0.2,
                    "onAdded":
                    [
                        {
                            "$type": "FireEffect",
                            "effectPattern": "Eff_Player_Electric_ElementalBurst_Thunder_Enhanced",
                            "born":
                            {
                                "$type": "ConfigBornByGlobalValue",
                                "positionKey": "_ABILITY_Player_Electric_ElementalBurst_Pos",
                            },                          
                        },      
                        {
                            "$type": "TriggerAttackEvent",
                            "target":"Caster",
                            "targetType": "Enemy",
                            "attackEvent":
                            {
                                "attackPattern" :
                                {
                                    "$type": "ConfigAttackSphere",
                                    "duration": 0.0,
                                    "triggerType": "TriggerNoRepeat",
                                    "radius": 2.5,
                                    "ignoreMassive":true,
                                    "born":
                                    {
                                        "$type": "ConfigBornByGlobalValue",
                                        "positionKey": "_ABILITY_Player_Electric_ElementalBurst_Pos",
                                    },  
                                },
                                "attackInfo":
                                {
                                    "canBeModifiedBy" : "OriginOwner",
                                    "attackTag": "Elemental_Burst",
                                    "attenuationTag": "Elemental_Burst",
                                    "attackProperty":
                                    {
                                        "damagePercentage": "%ElementalBurst_ThunderAttack_Enhanced_Damage_Percentage*%ElementalBurst_ThunderAttack_Default_Damage",
                                        "strikeType": "Default",
                                        "elementType": "Electric",
                                        "elementRank":1.5,
                                        "elementDurability": 25,
                                        "enBreak": 50,
                                    },
                                    "hitPattern" :
                                    {
                                        "hitImpulseType":"LV2",
                                        "reboundRatio": 0,
                                        "canBeDefenceHalt": false,
                                        "hitHaltTime": 0.0,
                                        "hitHaltTimeScale": 0.05,
                                        "muteHitText": false,
                                    },
                                    "forceCameraShake": false,
                                },
                            },
                        },                      
                    ]
                },                  
            },
            "onKill":
            [       
                {
                    "$type": "RemoveUniqueModifier",
                    "doOffStage":true,
                    "modifierName": "UNIQUE_Player_Electric_ElementalBurst_Handler",//强行移除team上的。另外子弹上modifer反而没问题，不用移。
                },                    
                {
                    "$type":"FireEffect",
                    "effectPattern":"Eff_Player_Electric_ElementalBurst_Magatama_Die",
                    "born":
                    {
                        "$type": "ConfigBornByAttachPoint",
                        "attachPointName" : "Ponit1",
                        "offset":
                        {
                            "x": 0.0,
                            "y": 0.0,
                            "z": 0.0,
                        },
                    },
                },           
                {
                    "$type":"FireEffect",
                    "effectPattern":"Eff_Player_Electric_ElementalBurst_Magatama_Die",
                    "born":
                    {
                        "$type": "ConfigBornByAttachPoint",
                        "attachPointName" : "Ponit2",
                        "offset":
                        {
                            "x": 0.0,
                            "y": 0.0,
                            "z": 0.0,
                        },
                    },
                },   
                {
                    "$type":"FireEffect",
                    "effectPattern":"Eff_Player_Electric_ElementalBurst_Magatama_Die",
                    "born":
                    {
                        "$type": "ConfigBornByAttachPoint",
                        "attachPointName" : "Ponit3",
                        "offset":
                        {
                            "x": 0.0,
                            "y": 0.0,
                            "z": 0.0,
                        },
                    },
                },                                        
            ],
            "abilitySpecials":
            {
                "ElementalBurst_Duration": 0,
                "ElementalBurst_ElecResDown_Duration": 0,
                "ElementalBurst_ElecResDown_ElecSubHurtDelta": 0,
                "ElementalBurst_ReviveEnergy_Default": 0,
                "ElementalBurst_ReviveEnergy_Enhanced":0,
                "ElementalBurst_ThunderAttack_Default_Damage":0,
                "ElementalBurst_ThunderAttack_Enhanced_Damage_Percentage":0,
            },                           
        },
    },      


////////////////////////////////////////////////////////////////
//
//  ElementalArt_Click 元素战技短按
//
////////////////////////////////////////////////////////////////

    {
        "Default":
        {
            "$type": "ConfigAbility",
            "abilityName": "Avatar_Player_Electric_ElementalArt_Click",
            "onAdded":
            [
              
            ],
            "onAbilityStart":
            [
                {
                    "$type": "AvatarSkillStart",    //技能CD
                    "skillID": 10602,
                    "cdRatio": 1,
                },
                {
                  "$type": "AddGlobalValue",
                  "key": "_Ability_Player_Electric_ElementBall_Mark",
                  "value": -1,
                  "useLimitRange": true,
                  "maxValue": 1,
                  "minValue": 0,
                  "doOffStage": true,
                },                
                {
                    "$type":"FireEffect",
                    "effectPattern":"Eff_Player_Electric_ElementalArt_Cast",
                    "born":
                    {
                        "$type": "ConfigBornBySelf",
                        "offset":
                        {
                            "x": 0.0,
                            "y": 0.0,
                            "z": 0.0,
                        },
                    },
                },
                {
                    "$type": "KillGadget",
                    "gadgetInfo":
                    {
                        "$type": "SelectTargetsByChildren",
                        "configID": 41044131,
                    },
                },
                {
                    "$type" : "AddGlobalValue",
                    "target": "Self",
                    "key" : "_ABILITY_Player_Electric_ElementalArt_Counter",
                    "value" : -4,
                    "useLimitRange" : true,
                    "maxValue" : 0,
                    "minValue" : 0,
                },          

                {
                    "$type": "TriggerBullet",
                    "bulletID": 41044103,
                    "born":
                    {
                        "$type": "ConfigBornBySelf",
                        "offset":
                        {
                            "x": 0.0,
                            "y": 0.8,
                            "z": 0.5,
                        },                  
                    },
                },  
                {
                    "$type": "TriggerBullet",
                    "bulletID": 41044102, 
                    "born":
                    {
                        "$type": "ConfigBornBySelf",
                        "offset":
                        {
                            "x": 0.2,
                            "y": 0.8,
                            "z": 0.2,
                        },
                        "direction":
                        {
                            "$type": "ConfigDirectionByDefault",
                            "angleOffset":
                            {
                                "x": 0.0,
                                "y": 20.0,
                                "z": 0.0,
                            },
                        },
                    },
                },                  
                {
                    "$type": "TriggerBullet",
                    "bulletID": 41044104, 
                    "born":
                    {
                        "$type": "ConfigBornBySelf",
                        "offset":
                        {
                            "x": -0.2,
                            "y": 0.8,
                            "z": 0.2,
                        },
                        "direction":
                        {
                            "$type": "ConfigDirectionByDefault",
                            "angleOffset":
                            {
                                "x": 0.0,
                                "y": -20.0,
                                "z": 0.0,
                            },
                        },
                    },
                },                                                                 
            ],
            "modifiers":
            {

            }    

        },
    },

////////////////////////////////////////////////////////////////
//
//  ElementalArt_Bullet 元素战技子弹
//
////////////////////////////////////////////////////////////////
    
    {
        "Default":
        {
            "$type": "ConfigAbility",
            "abilityName": "Player_Electric_ElementalArt_Bullet_1", //有命之座1
            "onAdded":
            [
                {
                    "$type":"ApplyModifier",
                    "modifierName":"Player_Electric_ElementalArt_ElementBall_Handler",
                },                  
                {
                    "$type":"AttachEffect",
                    "effectPattern":"Eff_Player_Electric_ElementalArt_Magatama_Bullet", //Placeholder
                },
                {
                    "$type":"AttachEffect",
                    "effectPattern":"Eff_Player_Electric_ElementalArt_Magatama_Bullet_Trail", //Placeholder
                },
                {
                    "$type" : "Predicated",
                    "target" : "Self",
                    "targetPredicates": 
                    [
                        {
                            "$type": "ByUnlockTalentParam",
                            "talentParam": "Player_Electric_ElementalArt_MaxNumUp",
                        },
                    ],
                    "successActions" :
                    [
                        {
                            "$type":"ApplyModifier",
                            "modifierName":"Player_Electric_ElementalArt_Bullet_Extra_Handler",
                            "target":"Self",
                        },                                                                                            
                    ],
                    "failActions":
                    [
                        {
                            "$type":"ApplyModifier",
                            "modifierName":"Player_Electric_ElementalArt_Bullet_Handler",
                            "target":"Self",
                        },                           
                    ],
                    "doOffStage":true,
                },                                    
            ],
            "onAbilityStart":
            [       
                {
                    "$type": "Predicated",
                    "target": "Target",
                    "targetPredicates":
                    [
                        {
                            "$type": "ByEntityTypes",
                            "entityTypes": ["MonsterEquip"],
                        },
                    ],
                    "successActions":
                    [
                        {
                            "$type":"DamageByAttackValue",  //浼ゅ浜嬩欢锛氬厓绱犳垬鎶€鑳界煭鎸�
                            "target":"Target",
                            "attackInfo":
                            {
                                "canBeModifiedBy": "OriginOwner",
                                "attackTag": "Elemental_Art",
                                "attenuationTag": "Elemental_Art",
                                "attackProperty":
                                {
                                    "damagePercentage": "%ElementalArt_Damage",
                                    "strikeType": "Pierce",
                                    "attackType": "Range",
                                    "elementType": "Electric",
                                    "elementDurability":25,
                                    "enBreak" : 100,
                                },
                                "hitPattern" :
                                {
                                    "onHitEffectName": "default", //Placeholder
                                    "hitImpulseType":"LV3",
                                    "reboundRatio": 0,
                                    "hitHaltTime": 0.0,
                                    "hitHaltTimeScale": 0.01,
                                    "muteHitText":false,
                                },
                            },                      
                        },                         
                    ],
                    "failActions":
                    [
                        {
                            "$type": "TriggerAttackEvent",
                            "targetType": "Enemy",
                            "attackEvent": 
                            {
                                "attackPattern": 
                                {
                                    "$type": "ConfigAttackBox",
                                    "triggerType": "TriggerNoRepeat",
                                    "size": 
                                    {
                                        "x": 0.1,
                                        "y": 0.1,
                                        "z": 0.6,
                                    },
                                    "born": 
                                    {
                                        "$type": "ConfigBornByCollisionPoint",
                                        "offset": 
                                        {
                                            "x": 0.0,
                                            "y": 0.0,
                                            "z": 0.0,
                                        }
                                    },
                                    "checkHitLayerType": "Both",
                                },
                                "attackInfo": 
                                {
                                    "canBeModifiedBy": "OriginOwner",
                                    "attackTag": "Elemental_Art",
                                    "attenuationTag": "Elemental_Art",
                                    "attackProperty": 
                                    {
                                        "damagePercentage": "%ElementalArt_Damage",
                                        "strikeType": "Pierce",
                                        "attackType": "Range",
                                        "elementType": "Electric",
                                        "elementDurability":25,                                
                                        "enBreak": 100,
                                    },
                                    "hitPattern": 
                                    {
                                        "onHitEffectName": "Eff_Player_Electric_ElementalArt_Bullet_Hit",
                                        "hitImpulseType": "LV3",
                                        "reboundRatio": 0,
                                        "hitHaltTime": 0.0,
                                        "hitHaltTimeScale": 0.01,
                                        "muteHitText": false,
                                    },
                                }
                            },
                        },                           
                    ],                    
                },                                                 
            ],
            "modifiers":
            {
                "Player_Electric_ElementalArt_ElementBall_Handler":
                {
                    "onAttackLanded":
                    [
                        {
                            "$type": "Predicated",
                            "target": "Target",
                            "targetPredicates":
                            [
                                {
                                    "$type": "ByAttackTags",
                                    "attackTags": ["Elemental_Art"],
                                },
                                {
                                    "$type": "ByEntityTypes",
                                    "entityTypes": ["Monster"],
                                },
                                {
                                    "$type": "ByTargetGlobalValue",
                                    "key": "_ANIMAL_ENTITY_TYPE",
                                    "value": 0,
                                    "compareType": "NoneOrEqual",
                                },
                                {
                                    "$type": "ByTargetGlobalValue",
                                    "key": "_Ability_Player_Electric_ElementBall_Mark",
                                    "value": 0,
                                    "compareType": "NoneOrEqual",
                                    "target":"OriginOwner",
                                },           
                                {
                                    "$type": "ByAvatarElementType",
                                    "elementType": "Electric",
                                    "target": "OriginOwner",
                                },                                                                                     
                            ],
                            "successActions":
                            [
                                {
                                    "$type": "GenerateElemBall",
                                    "configID": 2020,
                                    "baseEnergy": 3,
                                    "ratio": 1,
                                    "born":
                                    {
                                        "$type": "ConfigBornByTarget",
                                        "offset" :
                                        {
                                            "x": 0.0,
                                            "y": 0.0,
                                            "z": 0.0,
                                        },
                                    },
                                },
                                {
                                    "$type": "AddGlobalValue",
                                    "key": "_Ability_Player_Electric_ElementBall_Mark",
                                    "value": 1,
                                    "useLimitRange": true,
                                    "maxValue": 1,
                                    "minValue": 0,
                                    "doOffStage": true,
                                    "target": "OriginOwner",
                                },                                  
                            ],
                            "doOffStage": true,
                        },
                    ],
                },                      
                "Player_Electric_ElementalArt_Bullet_Handler":
                {
                    "onHittingOther":
                    [
                        {
                            "$type": "Predicated",
                            "target": "Target",
                            "targetPredicates":
                            [
                                {
                                    "$type": "ByAttackTags",
                                    "attackTags": ["Elemental_Art"],
                                },
                                {
                                    "$type": "ByEntityTypes",
                                    "entityTypes": ["Monster"],
                                },
                                {
                                    "$type": "ByTargetGlobalValue",
                                    "key": "_ANIMAL_ENTITY_TYPE",
                                    "value": 0,
                                    "compareType": "NoneOrEqual",
                                },
                                {
                                    "$type":"ByTargetGlobalValue",
                                    "target":"Owner",
                                    "key":"_ABILITY_Player_Electric_ElementalArt_Counter",
                                    "value":1,
                                    "compareType":"LessAndEqual"
                                }                                                                    
                            ],
                            "successActions":
                            [
                                {
                                    "$type": "SetGlobalPos",
                                    "key": "_ABILITY_Player_Electric_ElementalArt_BulletPos_1",
                                    "target": "Owner",
                                    "born":
                                    {
                                        "$type": "ConfigBornByCollisionPoint",
                                        "offset":
                                        {
                                            "x": 0.0,
                                            "y": 0.0,
                                            "z": 0,
                                        },
                                    },    
                                    "setTarget": true,             //存在Owner身上           
                                },
                                {
                                    "$type": "SetGlobalDir",
                                    "target": "Owner",
                                    "key": "_ABILITY_Player_Electric_ElementalArt_BulletDir_1",
                                    "born":
                                    {
                                        "$type": "ConfigBornByCollisionPoint",
                                        "offset":
                                        {
                                            "x":0,
                                            "y":0,
                                            "z":0,
                                        },
                                    },
                                    "setTarget": true,
                                },                                                                
                            ],
                            "doOffStage": true,
                        },                        
                    ],
                    "onAttackLanded":
                    [
                        {
                            "$type": "Predicated",
                            "target": "Target",
                            "targetPredicates":
                            [
                                {
                                    "$type": "ByAttackTags",
                                    "attackTags": ["Elemental_Art"],
                                },
                                {
                                    "$type": "ByEntityTypes",
                                    "entityTypes": ["Monster"],
                                },
                                {
                                    "$type": "ByTargetGlobalValue",
                                    "key": "_ANIMAL_ENTITY_TYPE",
                                    "value": 0,
                                    "compareType": "NoneOrEqual",
                                },
                                {
                                    "$type":"ByTargetGlobalValue",
                                    "target":"Owner",
                                    "key":"_ABILITY_Player_Electric_ElementalArt_Counter",
                                    "value":1,
                                    "compareType":"LessAndEqual"
                                }                                                                    
                            ],
                            "successActions":
                            [
                                {
                                    "$type" : "AddGlobalValue",
                                    "target": "Owner",
                                    "key" : "_ABILITY_Player_Electric_ElementalArt_Counter",
                                    "value" : 1,
                                    "useLimitRange" : true,
                                    "maxValue" : 2,
                                    "minValue" : 0,
                                },                                  
                                {
                                    "$type": "TriggerAbility",
                                    "abilityName": "Avatar_Player_Electric_ElementalArt_SetGadget_1",
                                    "target": "Owner",
                                },                                 
                            ],
                            "doOffStage": true,
                        },
                    ],
                },           
                "Player_Electric_ElementalArt_Bullet_Extra_Handler":
                {
                    "onHittingOther":
                    [
                        {
                            "$type": "Predicated",
                            "target": "Target",
                            "targetPredicates":
                            [
                                {
                                    "$type": "ByAttackTags",
                                    "attackTags": ["Elemental_Art"],
                                },
                                {
                                    "$type": "ByEntityTypes",
                                    "entityTypes": ["Monster"],
                                },
                                {
                                    "$type": "ByTargetGlobalValue",
                                    "key": "_ANIMAL_ENTITY_TYPE",
                                    "value": 0,
                                    "compareType": "NoneOrEqual",
                                },
                                {
                                    "$type":"ByTargetGlobalValue",
                                    "target":"Owner",
                                    "key":"_ABILITY_Player_Electric_ElementalArt_Counter",
                                    "value":2,
                                    "compareType":"LessAndEqual"
                                }                                                                    
                            ],
                            "successActions":
                            [
                                {
                                    "$type": "SetGlobalPos",
                                    "key": "_ABILITY_Player_Electric_ElementalArt_BulletPos_1",
                                    "target": "Owner",
                                    "born":
                                    {
                                        "$type": "ConfigBornByCollisionPoint",
                                        "offset":
                                        {
                                            "x": 0.0,
                                            "y": 0.0,
                                            "z": 0,
                                        },
                                    },    
                                    "setTarget": true,             //存在Owner身上           
                                },
                                {
                                    "$type": "SetGlobalDir",
                                    "target": "Owner",
                                    "key": "_ABILITY_Player_Electric_ElementalArt_BulletDir_1",
                                    "born":
                                    {
                                        "$type": "ConfigBornByCollisionPoint",
                                        "offset":
                                        {
                                            "x":0,
                                            "y":0,
                                            "z":0,
                                        },
                                    },
                                    "setTarget": true,
                                },                                   
                            ],
                            "doOffStage": true,
                        },                        
                    ],
                    "onAttackLanded":
                    [
                        {
                            "$type": "Predicated",
                            "target": "Target",
                            "targetPredicates":
                            [
                                {
                                    "$type": "ByAttackTags",
                                    "attackTags": ["Elemental_Art"],
                                },
                                {
                                    "$type": "ByEntityTypes",
                                    "entityTypes": ["Monster"],
                                },
                                {
                                    "$type": "ByTargetGlobalValue",
                                    "key": "_ANIMAL_ENTITY_TYPE",
                                    "value": 0,
                                    "compareType": "NoneOrEqual",
                                },
                                {
                                    "$type":"ByTargetGlobalValue",
                                    "target":"Owner",
                                    "key":"_ABILITY_Player_Electric_ElementalArt_Counter",
                                    "value":2,
                                    "compareType":"LessAndEqual"
                                }                                                                    
                            ],
                            "successActions":
                            [
                                {
                                    "$type" : "AddGlobalValue",
                                    "target": "Owner",
                                    "key" : "_ABILITY_Player_Electric_ElementalArt_Counter",
                                    "value" : 1,
                                    "useLimitRange" : true,
                                    "maxValue" : 3,
                                    "minValue" : 0,
                                },                                  
                                {
                                    "$type": "TriggerAbility",
                                    "abilityName": "Avatar_Player_Electric_ElementalArt_SetGadget_1",
                                    "target": "Owner",
                                },                                 
                            ],
                            "doOffStage": true,
                        },
                    ],
                },                
            },          
            "onKill":
            [   
                {
                    "$type":"FireEffect",
                    "effectPattern":"Eff_Player_Electric_ElementalArt_Bullet_Die",
                },              
            ],
            "abilitySpecials":
            {
                "ElementalArt_Damage": 0,
            },          
        },
    },  

    {
        "Default":
        {
            "$type": "ConfigAbility",
            "abilityName": "Player_Electric_ElementalArt_Bullet_2", //无命之座1
            "onAdded":
            [
                {
                    "$type":"ApplyModifier",
                    "modifierName":"Player_Electric_ElementalArt_ElementBall_Handler",
                },                 
                {
                    "$type":"AttachEffect",
                    "effectPattern":"Eff_Player_Electric_ElementalArt_Magatama_Bullet", //Placeholder
                },
                {
                    "$type":"AttachEffect",
                    "effectPattern":"Eff_Player_Electric_ElementalArt_Magatama_Bullet_Trail", //Placeholder
                },    
                {
                    "$type" : "Predicated",
                    "target" : "Self",
                    "targetPredicates": 
                    [
                        {
                            "$type": "ByUnlockTalentParam",
                            "talentParam": "Player_Electric_ElementalArt_MaxNumUp",
                        },
                    ],
                    "successActions" :
                    [
                        {
                            "$type":"ApplyModifier",
                            "modifierName":"Player_Electric_ElementalArt_Bullet_Extra_Handler",
                            "target":"Self",
                        },                                                                                            
                    ],
                    "failActions":
                    [
                        {
                            "$type":"ApplyModifier",
                            "modifierName":"Player_Electric_ElementalArt_Bullet_Handler",
                            "target":"Self",
                        },                           
                    ],
                    "doOffStage":true,
                },                                                 
            ],
            "onAbilityStart":
            [       
                {
                    "$type": "Predicated",
                    "target": "Target",
                    "targetPredicates":
                    [
                        {
                            "$type": "ByEntityTypes",
                            "entityTypes": ["MonsterEquip"],
                        },
                    ],
                    "successActions":
                    [
                        {
                            "$type":"DamageByAttackValue",  //浼ゅ浜嬩欢锛氬厓绱犳垬鎶€鑳界煭鎸�
                            "target":"Target",
                            "attackInfo":
                            {
                                "canBeModifiedBy": "OriginOwner",
                                "attackTag": "Elemental_Art",
                                "attenuationTag": "Elemental_Art",
                                "attackProperty":
                                {
                                    "damagePercentage": "%ElementalArt_Damage",
                                    "strikeType": "Pierce",
                                    "attackType": "Range",
                                    "elementType": "Electric",
                                    "elementDurability":25,
                                    "enBreak" : 100,
                                },
                                "hitPattern" :
                                {
                                    "onHitEffectName": "default", //Placeholder
                                    "hitImpulseType":"LV3",
                                    "reboundRatio": 0,
                                    "hitHaltTime": 0.0,
                                    "hitHaltTimeScale": 0.01,
                                    "muteHitText":false,
                                },
                            },                      
                        },                         
                    ],
                    "failActions":
                    [
                        {
                            "$type": "TriggerAttackEvent",
                            "targetType": "Enemy",
                            "attackEvent": 
                            {
                                "attackPattern": 
                                {
                                    "$type": "ConfigAttackBox",
                                    "triggerType": "TriggerNoRepeat",
                                    "size": 
                                    {
                                        "x": 0.1,
                                        "y": 0.1,
                                        "z": 0.6,
                                    },
                                    "born": 
                                    {
                                        "$type": "ConfigBornByCollisionPoint",
                                        "offset": 
                                        {
                                            "x": 0.0,
                                            "y": 0.0,
                                            "z": 0.0,
                                        }
                                    },
                                    "checkHitLayerType": "Both",
                                },
                                "attackInfo": 
                                {
                                    "canBeModifiedBy": "OriginOwner",
                                    "attackTag": "Elemental_Art",
                                    "attenuationTag": "Elemental_Art",
                                    "attackProperty": 
                                    {
                                        "damagePercentage": "%ElementalArt_Damage",
                                        "strikeType": "Pierce",
                                        "attackType": "Range",
                                        "elementType": "Electric",
                                        "elementDurability":25,                                
                                        "enBreak": 100,
                                    },
                                    "hitPattern": 
                                    {
                                        "onHitEffectName": "Eff_Player_Electric_ElementalArt_Bullet_Hit",
                                        "hitImpulseType": "LV3",
                                        "reboundRatio": 0,
                                        "hitHaltTime": 0.0,
                                        "hitHaltTimeScale": 0.01,
                                        "muteHitText": false,
                                    },
                                }
                            },
                        },                           
                    ],                    
                },                                                    
            ],
            "modifiers":
            {
                "Player_Electric_ElementalArt_ElementBall_Handler":
                {
                    "onAttackLanded":
                    [
                        {
                            "$type": "Predicated",
                            "target": "Target",
                            "targetPredicates":
                            [
                                {
                                    "$type": "ByAttackTags",
                                    "attackTags": ["Elemental_Art"],
                                },
                                {
                                    "$type": "ByEntityTypes",
                                    "entityTypes": ["Monster"],
                                },
                                {
                                    "$type": "ByTargetGlobalValue",
                                    "key": "_ANIMAL_ENTITY_TYPE",
                                    "value": 0,
                                    "compareType": "NoneOrEqual",
                                },
                                {
                                    "$type": "ByTargetGlobalValue",
                                    "key": "_Ability_Player_Electric_ElementBall_Mark",
                                    "value": 0,
                                    "compareType": "NoneOrEqual",
                                    "target":"OriginOwner",
                                },  
                                {
                                    "$type": "ByAvatarElementType",
                                    "elementType": "Electric",
                                    "target": "OriginOwner",
                                },                                                                                               
                            ],
                            "successActions":
                            [
                                {
                                    "$type": "GenerateElemBall",
                                    "configID": 2020,
                                    "baseEnergy": 3,
                                    "ratio": 1,
                                    "born":
                                    {
                                        "$type": "ConfigBornByTarget",
                                        "offset" :
                                        {
                                            "x": 0.0,
                                            "y": 0.0,
                                            "z": 0.0,
                                        },
                                    },
                                },
                                {
                                    "$type": "AddGlobalValue",
                                    "key": "_Ability_Player_Electric_ElementBall_Mark",
                                    "value": 1,
                                    "useLimitRange": true,
                                    "maxValue": 1,
                                    "minValue": 0,
                                    "doOffStage": true,
                                    "target": "OriginOwner",
                                },                                  
                            ],
                            "doOffStage": true,
                        },
                    ],
                },                  
                "Player_Electric_ElementalArt_Bullet_Handler":
                {
                    "onHittingOther":
                    [
                        {
                            "$type": "Predicated",
                            "target": "Target",
                            "targetPredicates":
                            [
                                {
                                    "$type": "ByAttackTags",
                                    "attackTags": ["Elemental_Art"],
                                },
                                {
                                    "$type": "ByEntityTypes",
                                    "entityTypes": ["Monster"],
                                },
                                {
                                    "$type": "ByTargetGlobalValue",
                                    "key": "_ANIMAL_ENTITY_TYPE",
                                    "value": 0,
                                    "compareType": "NoneOrEqual",
                                },
                                {
                                    "$type":"ByTargetGlobalValue",
                                    "target":"Owner",
                                    "key":"_ABILITY_Player_Electric_ElementalArt_Counter",
                                    "value":1,
                                    "compareType":"LessAndEqual"
                                }                                                                    
                            ],
                            "successActions":
                            [
                                {
                                    "$type": "SetGlobalPos",
                                    "key": "_ABILITY_Player_Electric_ElementalArt_BulletPos_2",
                                    "target": "Owner",
                                    "born":
                                    {
                                        "$type": "ConfigBornByCollisionPoint",
                                        "offset":
                                        {
                                            "x": 0.0,
                                            "y": 0.0,
                                            "z": 0,
                                        },
                                    },    
                                    "setTarget": true,             //存在Owner身上           
                                },
                                {
                                    "$type": "SetGlobalDir",
                                    "target": "Owner",
                                    "key": "_ABILITY_Player_Electric_ElementalArt_BulletDir_2",
                                    "born":
                                    {
                                        "$type": "ConfigBornByCollisionPoint",
                                        "offset":
                                        {
                                            "x":0,
                                            "y":0,
                                            "z":0,
                                        },
                                    },
                                    "setTarget": true,
                                },                                                                
                            ],
                            "doOffStage": true,
                        },                        
                    ],
                    "onAttackLanded":
                    [
                        {
                            "$type": "Predicated",
                            "target": "Target",
                            "targetPredicates":
                            [
                                {
                                    "$type": "ByAttackTags",
                                    "attackTags": ["Elemental_Art"],
                                },
                                {
                                    "$type": "ByEntityTypes",
                                    "entityTypes": ["Monster"],
                                },
                                {
                                    "$type": "ByTargetGlobalValue",
                                    "key": "_ANIMAL_ENTITY_TYPE",
                                    "value": 0,
                                    "compareType": "NoneOrEqual",
                                },
                                {
                                    "$type":"ByTargetGlobalValue",
                                    "target":"Owner",
                                    "key":"_ABILITY_Player_Electric_ElementalArt_Counter",
                                    "value":1,
                                    "compareType":"LessAndEqual"
                                }                                                                    
                            ],
                            "successActions":
                            [
                                {
                                    "$type" : "AddGlobalValue",
                                    "target": "Owner",
                                    "key" : "_ABILITY_Player_Electric_ElementalArt_Counter",
                                    "value" : 1,
                                    "useLimitRange" : true,
                                    "maxValue" : 2,
                                    "minValue" : 0,
                                },                                   
                                {
                                    "$type": "TriggerAbility",
                                    "abilityName": "Avatar_Player_Electric_ElementalArt_SetGadget_2",
                                    "target": "Owner",
                                },                                 
                            ],
                            "doOffStage": true,
                        },
                    ],
                },           
                "Player_Electric_ElementalArt_Bullet_Extra_Handler":
                {
                    "onHittingOther":
                    [
                        {
                            "$type": "Predicated",
                            "target": "Target",
                            "targetPredicates":
                            [
                                {
                                    "$type": "ByAttackTags",
                                    "attackTags": ["Elemental_Art"],
                                },
                                {
                                    "$type": "ByEntityTypes",
                                    "entityTypes": ["Monster"],
                                },
                                {
                                    "$type": "ByTargetGlobalValue",
                                    "key": "_ANIMAL_ENTITY_TYPE",
                                    "value": 0,
                                    "compareType": "NoneOrEqual",
                                },
                                {
                                    "$type":"ByTargetGlobalValue",
                                    "target":"Owner",
                                    "key":"_ABILITY_Player_Electric_ElementalArt_Counter",
                                    "value":2,
                                    "compareType":"LessAndEqual"
                                }                                                                    
                            ],
                            "successActions":
                            [
                                {
                                    "$type": "SetGlobalPos",
                                    "key": "_ABILITY_Player_Electric_ElementalArt_BulletPos_2",
                                    "target": "Owner",
                                    "born":
                                    {
                                        "$type": "ConfigBornByCollisionPoint",
                                        "offset":
                                        {
                                            "x": 0.0,
                                            "y": 0.0,
                                            "z": 0,
                                        },
                                    },    
                                    "setTarget": true,             //存在Owner身上           
                                },
                                {
                                    "$type": "SetGlobalDir",
                                    "target": "Owner",
                                    "key": "_ABILITY_Player_Electric_ElementalArt_BulletDir_2",
                                    "born":
                                    {
                                        "$type": "ConfigBornByCollisionPoint",
                                        "offset":
                                        {
                                            "x":0,
                                            "y":0,
                                            "z":0,
                                        },
                                    },
                                    "setTarget": true,
                                },                                 
                            ],
                            "doOffStage": true,
                        },                        
                    ],
                    "onAttackLanded":
                    [
                        {
                            "$type": "Predicated",
                            "target": "Target",
                            "targetPredicates":
                            [
                                {
                                    "$type": "ByAttackTags",
                                    "attackTags": ["Elemental_Art"],
                                },
                                {
                                    "$type": "ByEntityTypes",
                                    "entityTypes": ["Monster"],
                                },
                                {
                                    "$type": "ByTargetGlobalValue",
                                    "key": "_ANIMAL_ENTITY_TYPE",
                                    "value": 0,
                                    "compareType": "NoneOrEqual",
                                },
                                {
                                    "$type":"ByTargetGlobalValue",
                                    "target":"Owner",
                                    "key":"_ABILITY_Player_Electric_ElementalArt_Counter",
                                    "value":2,
                                    "compareType":"LessAndEqual"
                                }                                                                    
                            ],
                            "successActions":
                            [
                                {
                                    "$type" : "AddGlobalValue",
                                    "target": "Owner",
                                    "key" : "_ABILITY_Player_Electric_ElementalArt_Counter",
                                    "value" : 1,
                                    "useLimitRange" : true,
                                    "maxValue" : 3,
                                    "minValue" : 0,
                                },   
                                {
                                    "$type": "TriggerAbility",
                                    "abilityName": "Avatar_Player_Electric_ElementalArt_SetGadget_2",
                                    "target": "Owner",
                                },                                 
                            ],
                            "doOffStage": true,
                        },
                    ],
                },                 
            },          
            "onKill":
            [   
                {
                    "$type":"FireEffect",
                    "effectPattern":"Eff_Player_Electric_ElementalArt_Bullet_Die",
                },              
            ],
            "abilitySpecials":
            {
                "ElementalArt_Damage": 0,
            },         
        },
    },  

    {
        "Default":
        {
            "$type": "ConfigAbility",
            "abilityName": "Player_Electric_ElementalArt_Bullet_3", //无命之座1
            "onAdded":
            [
                {
                    "$type":"ApplyModifier",
                    "modifierName":"Player_Electric_ElementalArt_ElementBall_Handler",
                },                 
                {
                    "$type":"AttachEffect",
                    "effectPattern":"Eff_Player_Electric_ElementalArt_Magatama_Bullet", //Placeholder
                },
                {
                    "$type":"AttachEffect",
                    "effectPattern":"Eff_Player_Electric_ElementalArt_Magatama_Bullet_Trail", //Placeholder
                },   
                {
                    "$type" : "Predicated",
                    "target" : "Self",
                    "targetPredicates": 
                    [
                        {
                            "$type": "ByUnlockTalentParam",
                            "talentParam": "Player_Electric_ElementalArt_MaxNumUp",
                        },
                    ],
                    "successActions" :
                    [
                        {
                            "$type":"ApplyModifier",
                            "modifierName":"Player_Electric_ElementalArt_Bullet_Extra_Handler",
                            "target":"Self",
                        },                                                                                            
                    ],
                    "failActions":
                    [
                        {
                            "$type":"ApplyModifier",
                            "modifierName":"Player_Electric_ElementalArt_Bullet_Handler",
                            "target":"Self",
                        },                           
                    ],
                    "doOffStage":true,
                },                   
                             
            ],
            "onAbilityStart":
            [       
                {
                    "$type": "Predicated",
                    "target": "Target",
                    "targetPredicates":
                    [
                        {
                            "$type": "ByEntityTypes",
                            "entityTypes": ["MonsterEquip"],
                        },
                    ],
                    "successActions":
                    [
                        {
                            "$type":"DamageByAttackValue",  //浼ゅ浜嬩欢锛氬厓绱犳垬鎶€鑳界煭鎸�
                            "target":"Target",
                            "attackInfo":
                            {
                                "canBeModifiedBy": "OriginOwner",
                                "attackTag": "Elemental_Art",
                                "attenuationTag": "Elemental_Art",
                                "attackProperty":
                                {
                                    "damagePercentage": "%ElementalArt_Damage",
                                    "strikeType": "Pierce",
                                    "attackType": "Range",
                                    "elementType": "Electric",
                                    "elementDurability":25,
                                    "enBreak" : 100,
                                },
                                "hitPattern" :
                                {
                                    "onHitEffectName": "default", //Placeholder
                                    "hitImpulseType":"LV3",
                                    "reboundRatio": 0,
                                    "hitHaltTime": 0.0,
                                    "hitHaltTimeScale": 0.01,
                                    "muteHitText":false,
                                },
                            },                      
                        },                         
                    ],
                    "failActions":
                    [
                        {
                            "$type": "TriggerAttackEvent",
                            "targetType": "Enemy",
                            "attackEvent": 
                            {
                                "attackPattern": 
                                {
                                    "$type": "ConfigAttackBox",
                                    "triggerType": "TriggerNoRepeat",
                                    "size": 
                                    {
                                        "x": 0.1,
                                        "y": 0.1,
                                        "z": 0.6,
                                    },
                                    "born": 
                                    {
                                        "$type": "ConfigBornByCollisionPoint",
                                        "offset": 
                                        {
                                            "x": 0.0,
                                            "y": 0.0,
                                            "z": 0.0,
                                        }
                                    },
                                    "checkHitLayerType": "Both",
                                },
                                "attackInfo": 
                                {
                                    "canBeModifiedBy": "OriginOwner",
                                    "attackTag": "Elemental_Art",
                                    "attenuationTag": "Elemental_Art",
                                    "attackProperty": 
                                    {
                                        "damagePercentage": "%ElementalArt_Damage",
                                        "strikeType": "Pierce",
                                        "attackType": "Range",
                                        "elementType": "Electric",
                                        "elementDurability":25,                                
                                        "enBreak": 100,
                                    },
                                    "hitPattern": 
                                    {
                                        "onHitEffectName": "Eff_Player_Electric_ElementalArt_Bullet_Hit",
                                        "hitImpulseType": "LV3",
                                        "reboundRatio": 0,
                                        "hitHaltTime": 0.0,
                                        "hitHaltTimeScale": 0.01,
                                        "muteHitText": false,
                                    },
                                }
                            },
                        },                           
                    ],                    
                },                                                    
            ],
            "modifiers":
            {
                "Player_Electric_ElementalArt_ElementBall_Handler":
                {
                    "onAttackLanded":
                    [
                        {
                            "$type": "Predicated",
                            "target": "Target",
                            "targetPredicates":
                            [
                                {
                                    "$type": "ByAttackTags",
                                    "attackTags": ["Elemental_Art"],
                                },
                                {
                                    "$type": "ByEntityTypes",
                                    "entityTypes": ["Monster"],
                                },
                                {
                                    "$type": "ByTargetGlobalValue",
                                    "key": "_ANIMAL_ENTITY_TYPE",
                                    "value": 0,
                                    "compareType": "NoneOrEqual",
                                },
                                {
                                    "$type": "ByTargetGlobalValue",
                                    "key": "_Ability_Player_Electric_ElementBall_Mark",
                                    "value": 0,
                                    "compareType": "NoneOrEqual",
                                    "target":"OriginOwner",
                                },
                                {
                                    "$type": "ByAvatarElementType",
                                    "elementType": "Electric",
                                    "target": "OriginOwner",
                                },                                                                                                 
                            ],
                            "successActions":
                            [
                                {
                                    "$type": "GenerateElemBall",
                                    "configID": 2020,
                                    "baseEnergy": 3,
                                    "ratio": 1,
                                    "born":
                                    {
                                        "$type": "ConfigBornByTarget",
                                        "offset" :
                                        {
                                            "x": 0.0,
                                            "y": 0.0,
                                            "z": 0.0,
                                        },
                                    },
                                },
                                {
                                    "$type": "AddGlobalValue",
                                    "key": "_Ability_Player_Electric_ElementBall_Mark",
                                    "value": 1,
                                    "useLimitRange": true,
                                    "maxValue": 1,
                                    "minValue": 0,
                                    "doOffStage": true,
                                    "target": "OriginOwner",
                                },                                  
                            ],
                            "doOffStage": true,
                        },
                    ],
                },                  
                "Player_Electric_ElementalArt_Bullet_Handler":
                {
                    "onHittingOther":
                    [
                        {
                            "$type": "Predicated",
                            "target": "Target",
                            "targetPredicates":
                            [
                                {
                                    "$type": "ByAttackTags",
                                    "attackTags": ["Elemental_Art"],
                                },
                                {
                                    "$type": "ByEntityTypes",
                                    "entityTypes": ["Monster"],
                                },
                                {
                                    "$type": "ByTargetGlobalValue",
                                    "key": "_ANIMAL_ENTITY_TYPE",
                                    "value": 0,
                                    "compareType": "NoneOrEqual",
                                },
                                {
                                    "$type":"ByTargetGlobalValue",
                                    "target":"Owner",
                                    "key":"_ABILITY_Player_Electric_ElementalArt_Counter",
                                    "value":1,
                                    "compareType":"LessAndEqual"
                                }                                                                    
                            ],
                            "successActions":
                            [
                                {
                                    "$type": "SetGlobalPos",
                                    "key": "_ABILITY_Player_Electric_ElementalArt_BulletPos_3",
                                    "target": "Owner",
                                    "born":
                                    {
                                        "$type": "ConfigBornByCollisionPoint",
                                        "offset":
                                        {
                                            "x": 0.0,
                                            "y": 0.0,
                                            "z": 0,
                                        },
                                    },    
                                    "setTarget": true,             //存在Owner身上           
                                },
                                {
                                    "$type": "SetGlobalDir",
                                    "target": "Owner",
                                    "key": "_ABILITY_Player_Electric_ElementalArt_BulletDir_3",
                                    "born":
                                    {
                                        "$type": "ConfigBornByCollisionPoint",
                                        "offset":
                                        {
                                            "x":0,
                                            "y":0,
                                            "z":0,
                                        },
                                    },
                                    "setTarget": true,
                                },                                                                
                            ],
                            "doOffStage": true,
                        },                        
                    ],
                    "onAttackLanded":
                    [
                        {
                            "$type": "Predicated",
                            "target": "Target",
                            "targetPredicates":
                            [
                                {
                                    "$type": "ByAttackTags",
                                    "attackTags": ["Elemental_Art"],
                                },
                                {
                                    "$type": "ByEntityTypes",
                                    "entityTypes": ["Monster"],
                                },
                                {
                                    "$type": "ByTargetGlobalValue",
                                    "key": "_ANIMAL_ENTITY_TYPE",
                                    "value": 0,
                                    "compareType": "NoneOrEqual",
                                },
                                {
                                    "$type":"ByTargetGlobalValue",
                                    "target":"Owner",
                                    "key":"_ABILITY_Player_Electric_ElementalArt_Counter",
                                    "value":1,
                                    "compareType":"LessAndEqual"
                                }                                                                    
                            ], 
                            "successActions":
                            [
                                {
                                    "$type" : "AddGlobalValue",
                                    "target": "Owner",
                                    "key" : "_ABILITY_Player_Electric_ElementalArt_Counter",
                                    "value" : 1,
                                    "useLimitRange" : true,
                                    "maxValue" : 2,
                                    "minValue" : 0,
                                },                                
                                {
                                    "$type": "TriggerAbility",
                                    "abilityName": "Avatar_Player_Electric_ElementalArt_SetGadget_3",
                                    "target": "Owner",
                                },                                 
                            ],
                            "doOffStage": true,
                        },
                    ],
                },           
                "Player_Electric_ElementalArt_Bullet_Extra_Handler":
                {
                    "onHittingOther":
                    [
                        {
                            "$type": "Predicated",
                            "target": "Target",
                            "targetPredicates":
                            [
                                {
                                    "$type": "ByAttackTags",
                                    "attackTags": ["Elemental_Art"],
                                },
                                {
                                    "$type": "ByEntityTypes",
                                    "entityTypes": ["Monster"],
                                },
                                {
                                    "$type": "ByTargetGlobalValue",
                                    "key": "_ANIMAL_ENTITY_TYPE",
                                    "value": 0,
                                    "compareType": "NoneOrEqual",
                                },
                                {
                                    "$type":"ByTargetGlobalValue",
                                    "target":"Owner",
                                    "key":"_ABILITY_Player_Electric_ElementalArt_Counter",
                                    "value":2,
                                    "compareType":"LessAndEqual"
                                }                                                                    
                            ],
                            "successActions":
                            [
                                {
                                    "$type": "SetGlobalPos",
                                    "key": "_ABILITY_Player_Electric_ElementalArt_BulletPos_3",
                                    "target": "Owner",
                                    "born":
                                    {
                                        "$type": "ConfigBornByCollisionPoint",
                                        "offset":
                                        {
                                            "x": 0.0,
                                            "y": 0.0,
                                            "z": 0,
                                        },
                                    },    
                                    "setTarget": true,             //存在Owner身上           
                                },
                                {
                                    "$type": "SetGlobalDir",
                                    "target": "Owner",
                                    "key": "_ABILITY_Player_Electric_ElementalArt_BulletDir_3",
                                    "born":
                                    {
                                        "$type": "ConfigBornByCollisionPoint",
                                        "offset":
                                        {
                                            "x":0,
                                            "y":0,
                                            "z":0,
                                        },
                                    },
                                    "setTarget": true,
                                },                                                                
                            ],
                            "doOffStage": true,
                        },                        
                    ],
                    "onAttackLanded":
                    [
                        {
                            "$type": "Predicated",
                            "target": "Target",
                            "targetPredicates":
                            [
                                {
                                    "$type": "ByAttackTags",
                                    "attackTags": ["Elemental_Art"],
                                },
                                {
                                    "$type": "ByEntityTypes",
                                    "entityTypes": ["Monster"],
                                },
                                {
                                    "$type": "ByTargetGlobalValue",
                                    "key": "_ANIMAL_ENTITY_TYPE",
                                    "value": 0,
                                    "compareType": "NoneOrEqual",
                                },
                                {
                                    "$type":"ByTargetGlobalValue",
                                    "target":"Owner",
                                    "key":"_ABILITY_Player_Electric_ElementalArt_Counter",
                                    "value":2,
                                    "compareType":"LessAndEqual"
                                }                                                                    
                            ],
                            "successActions":
                            [
                                {
                                    "$type" : "AddGlobalValue",
                                    "target": "Owner",
                                    "key" : "_ABILITY_Player_Electric_ElementalArt_Counter",
                                    "value" : 1,
                                    "useLimitRange" : true,
                                    "maxValue" : 3,
                                    "minValue" : 0,
                                },                                  
                                {
                                    "$type": "TriggerAbility",
                                    "abilityName": "Avatar_Player_Electric_ElementalArt_SetGadget_3",
                                    "target": "Owner",
                                },                                 
                            ],
                            "doOffStage": true,
                        },
                    ],
                },                           
            },          
            "onKill":
            [   
                {
                    "$type":"FireEffect",
                    "effectPattern":"Eff_Player_Electric_ElementalArt_Bullet_Die",
                },              
            ],
            "abilitySpecials":
            {
                "ElementalArt_Damage": 0,
            },         
        },
    }, 

////////////////////////////////////////////////////////////////
//
//  ElementalArt_SetGadget 元素战技创建创生物
//
////////////////////////////////////////////////////////////////
    {
        "Default":
        {
            "$type": "ConfigAbility",
            "abilityName": "Avatar_Player_Electric_ElementalArt_SetGadget_1",
            "onAbilityStart":
            [              
                {
                    "$type": "CreateGadget",
                    "gadgetID": 41044131,
                    "born":
                    {
                        "$type": "ConfigBornByGlobalValue",
                        "positionKey": "_ABILITY_Player_Electric_ElementalArt_BulletPos_1",
                        "directionKey": "_ABILITY_Player_Electric_ElementalArt_BulletDir_1",
                        "onGround":true,
                        "bornRandom" :
                        {
                            "$type": "BornRandomFromCenter",
                            "minRandomRange": 0.2,
                            "maxRandomRange": 0.4,
                        },                          
                        "offset":
                        {
                            "x": 0.0,
                            "y": 0.0,
                            "z": -0.5,
                        },
                    },
                    "lifeByOwnerIsAlive":true,   
                },                    
            ],                  
        },
    },

    {
        "Default":
        {
            "$type": "ConfigAbility",
            "abilityName": "Avatar_Player_Electric_ElementalArt_SetGadget_2",
            "onAbilityStart":
            [              
                {
                    "$type": "CreateGadget",
                    "gadgetID": 41044131,
                    "born":
                    {
                        "$type": "ConfigBornByGlobalValue",
                        "positionKey": "_ABILITY_Player_Electric_ElementalArt_BulletPos_2",
                        "directionKey": "_ABILITY_Player_Electric_ElementalArt_BulletDir_2",
                        "onGround":true,
                        "bornRandom" :
                        {
                            "$type": "BornRandomFromCenter",
                            "minRandomRange": 0.2,
                            "maxRandomRange": 0.4,
                        },                          
                        "offset":
                        {
                            "x": 0.0,
                            "y": 0.0,
                            "z": -0.5,
                        },
                    },
                    "lifeByOwnerIsAlive":true,   
                },                    
            ],                  
        },
    },

    {
        "Default":
        {
            "$type": "ConfigAbility",
            "abilityName": "Avatar_Player_Electric_ElementalArt_SetGadget_3",
            "onAbilityStart":
            [              
                {
                    "$type": "CreateGadget",
                    "gadgetID": 41044131,
                    "born":
                    {
                        "$type": "ConfigBornByGlobalValue",
                        "positionKey": "_ABILITY_Player_Electric_ElementalArt_BulletPos_3",
                        "directionKey": "_ABILITY_Player_Electric_ElementalArt_BulletDir_3",
                        "onGround":true,
                        "bornRandom" :
                        {
                            "$type": "BornRandomFromCenter",
                            "minRandomRange": 0.2,
                            "maxRandomRange": 0.4,
                        },                          
                        "offset":
                        {
                            "x": 0.0,
                            "y": 0.0,
                            "z": -0.5,
                        },
                    },
                    "lifeByOwnerIsAlive":true,   
                },                    
            ],                  
        },
    },

////////////////////////////////////////////////////////////////
//
//  ElementalArt_Gadget 创生物
//
////////////////////////////////////////////////////////////////

    {
        "Default" :
        {
            "$type" : "ConfigAbility",
            "abilityName" : "Player_Electric_ElementalArt_Magatama_Trigger",
            "onAdded":
            [
                {
                    "$type":"AttachEffect",
                    "effectPattern":"Eff_Element_Crystal_Elect_Trail",
                },
            ],
            "onAbilityStart" :
            [ 
                // {
                //  "$type": "CreateGadget",
                //  "gadgetID": 41044131,
                //  "campID": 1001,
                //  "campTargetType": "All",
                //  "born":
                //  {
                //      "$type": "ConfigBornByCollisionPoint",
                //      "offset" :
                //      {
                //          "x": 0.0,
                //          "y": 0.0,
                //          "z": 0.0,
                //      },
                //      "direction":
                //      {
                //          "$type": "ConfigDirectionByWorld",
                //          "eularAngles":
                //          {
                //              "x" : 0.1,
                //              "y" : 0.1,
                //              "z" : 0.1,
                //          },
                //      },
                //      "onGround":true,
                //  },
                // },
            ],
            "modifiers" :
            {
            },
            "abilitySpecials":
            {

            },
        },
    },

    {
        "Default" :
        {
            "$type" : "ConfigAbility",
            "abilityName" : "Player_Electric_ElementalArt_Magatama_Pickable",
            "onAdded" :
            [
                {
                    "$type":"AttachModifier",
                    "modifierName":"Player_Electric_ElementalArt_Magatama_VFX",
                },
                {
                    "$type":"AttachModifier",
                    "modifierName":"Player_Electric_ElementalArt_Magatama_Life_Duration",//这件事儿待定
                },

            ],
            "onKill":
            [       
                {
                    "$type":"FireEffect",
                    "effectPattern":"Eff_Player_Electric_ElementalArt_Magatama_Die",
                },
            ],
            "onAbilityStart":
            [

            ],
            "onFieldEnter":
            [   
                {
                    "$type": "Predicated",
                    "target": "Target",
                    "targetPredicates": 
                    [
                        {
                            "$type": "ByTargetType",
                            "targetType":"Owner",
                            "isTarget":false,
                        },
                        {
                            "$type":"ByEntityTypes",
                            "target":"Target",
                            "entityTypes":["Avatar"],
                        }, 
                    ],
                    "successActions":
                    [
                        {
                            "$type": "ApplyModifier",
                            "modifierName" : "Player_Electric_ElementalArt_Magatama_ModifySkillCD",
                            "target": "Owner",
                            "predicates":
                            [
                                {
                                    "$type": "ByTargetPositionToSelfPosition",
                                    "compareType": "XZ",
                                    "value": 40,
                                    "logic": "LesserOrEqual",
                                },                                
                            ],                            
                        },     
                    ],
                },                  

                {
                    "$type": "ApplyModifier",  //命之座4
                    "modifierName": "Player_Electric_ElementalArt_Magatama_ReviveExtraElemEnergy",
                    "target":"Target",
                    "predicates":
                    [
                        {
                            "$type":"ByEntityTypes",
                            "target":"Target",
                            "entityTypes":["Avatar"],
                        },
                        {
                            "$type":"ByEnergyRatio",
                            "ratio" : "%ElementalArt_Magatama_ReviveExtraElemEnergy_Check_Percentage",
                            "logic" : "LesserOrEqual",
                        },                         
                        // {
                        //     "$type":"ByEnergyRatio",
                        //     "ratio" : 0.5,
                        //     "logic" : "LesserOrEqual",
                        //     "target":"Target",
                        // },                    
                        {
                            "$type":"ByUnlockTalentParam",
                            // "target":"Applier",
                            "talentParam":"Player_Electric_ElementalArt_ExtraEnergy",
                        },                 
                    ],
                },                 

                {
                    "$type": "ApplyModifier",  //命之座3
                    "modifierName": "Player_Electric_ElementalArt_Magatama_ReviveElemEnergy",
                    "target":"Target",
                    "predicates":
                    [
                        {
                            "$type":"ByEntityTypes",
                            "target":"Target",
                            "entityTypes":["Avatar"],
                        },               
                    ],
                }, 

                {
                    "$type": "RemoveUniqueModifier",
                    "modifierName": "UNIQUE_Player_Electric_ElementalArt_Magatama_EfficiencyUp",
                    "target":"Target",
                    "predicates":
                    [
                        {
                            "$type":"ByEntityTypes",
                            "target":"Target",
                            "entityTypes":["Avatar"],
                        },
                    ],
                },               
                {
                    "$type": "RemoveUniqueModifier",
                    "modifierName": "UNIQUE_Player_Electric_ElementalArt_Magatama_ExtraEfficiencyUp",
                    "target":"Target",
                    "predicates":
                    [
                        {
                            "$type":"ByEntityTypes",
                            "target":"Target",
                            "entityTypes":["Avatar"],
                        },
                    ],
                },  

                {
                    "$type": "ApplyModifier",  //命之座4
                    "modifierName": "UNIQUE_Player_Electric_ElementalArt_Magatama_ExtraEfficiencyUp",
                    "target":"Target",
                    "predicates":
                    [
                        {
                            "$type":"ByEntityTypes",
                            "target":"Target",
                            "entityTypes":["Avatar"],
                        },                  
                        {
                            "$type":"ByUnlockTalentParam", //默认target是caster
                            "talentParam":"Player_Electric_ElementalArt_ExtraChargeEfficiency",
                        },                 
                    ],
                },  

                {
                    "$type": "ApplyModifier",
                    "modifierName": "UNIQUE_Player_Electric_ElementalArt_Magatama_EfficiencyUp",
                    "target":"Target",
                    "predicates":
                    [
                        {
                            "$type":"ByEntityTypes",
                            "target":"Target",
                            "entityTypes":["Avatar"],
                        },
                    ],
                },   

                // {
                //     "$type": "Predicated",
                //     "target": "Owner",
                //     "doOffStage":true,
                //     "targetPredicates": 
                //     [
                //         {
                //             "$type": "ByUnlockTalentParam",
                //             "talentParam": "Player_Electric_ElementalArt_ExtraChargeEfficiency",
                //         },
                //     ],
                //     "successActions":
                //     [
                //         {
                //             "$type": "ApplyModifier",
                //             "modifierName": "UNIQUE_Player_Electric_ElementalArt_Magatama_ExtraEfficiencyUp",
                //             "target":"Target",
                //             "predicates":
                //             [
                //                 {
                //                     "$type":"ByEntityTypes",
                //                     "target":"Target",
                //                     "entityTypes":["Avatar"],
                //                 },
                //             ],
                //         },      
                //     ],
                //     "failActions":
                //     [
                //         {
                //             "$type": "ApplyModifier",
                //             "modifierName": "UNIQUE_Player_Electric_ElementalArt_Magatama_EfficiencyUp",
                //             "target":"Target",
                //             "predicates":
                //             [
                //                 {
                //                     "$type":"ByEntityTypes",
                //                     "target":"Target",
                //                     "entityTypes":["Avatar"],
                //                 },
                //             ],
                //         },                           
                //     ]
                // },                       

                {
                    "$type":"KillSelf",
                    "duration":0.15,
                },
            ],
            "modifiers" :
            {
                "Player_Electric_ElementalArt_Magatama_ModifySkillCD":
                {
                    "duration":1.0,
                    "onAdded":
                    [
                        {
                            "$type" : "Predicated",
                            "target" : "Self",
                            "targetPredicates" :
                            [
                                {
                                    "$type": "ByUnlockTalentParam",
                                    "talentParam": "Player_Electric_ElementalArt_ModifySkillCD",
                                },                                   
                            ],
                            "successActions" :
                            [
                                {
                                    "$type":"ModifyAvatarSkillCD",
                                    "doOffStage":true,
                                    "skillSlot":[2],
                                    "cdDelta":"%ElementalArt_Magatama_ModifySkillCD", // 这个地方不支持Dynamicfloat。另外实测减了2倍的cd，奇怪了。
                                },                                                                                            
                            ],
                            "doOffStage":true,
                        },                                            
                    ],
                },  
                "UNIQUE_Player_Electric_ElementalArt_Magatama_ExtraEfficiencyUp":
                { 
                    "isUnique": true,
                    "duration": "%ElementalArt_Magatama_EfficiencyUp_Duration",
                    "isLimitedProperties": true,
                    "properties" :
                    {
                        "Actor_ChargeEfficiencyExtraDelta" : "%ElementalArt_Magatama_ExtraEfficiencyUp_Percentage*%FIGHT_PROP_NONEXTRA_CHARGE_EFFICIENCY",
                    },
                },   
                "UNIQUE_Player_Electric_ElementalArt_Magatama_EfficiencyUp":
                { 
                    "isUnique": true,
                    "duration": "%ElementalArt_Magatama_EfficiencyUp_Duration",
                    "isLimitedProperties": true,
                    "onAdded":
                    [
                        {
                            "$type" : "AttachEffect",
                            "effectPattern" : "Eff_Player_Electric_ElementalArt_Magatama_Buff",
                        },
                    ],
                    "properties" :
                    {
                        "Actor_ChargeEfficiencyExtraDelta" : "%ElementalArt_Magatama_EfficiencyUp",
                    },
                },              
            
                "Player_Electric_ElementalArt_Magatama_ReviveExtraElemEnergy":
                {
                    "duration":0.5,
                    "onAdded":
                    [
                        {
                            "$type": "ReviveElemEnergy",    //天赋回能
                            "value": "%ElementalArt_Magatama_ReviveElemEnergy",
                        },                            
                        // {
                        //     "$type" : "Predicated",
                        //     "target" : "Self",
                        //     "targetPredicates" :
                        //     [
                        //         {
                        //             "$type":"ByEnergyRatio",
                        //             "ratio" : "%ElementalArt_Magatama_ReviveExtraElemEnergy_Check_Percentage",
                        //             "logic" : "LesserOrEqual",
                        //         },                                   
                        //     ],
                        //     "successActions" :
                        //     [
                        //         {
                        //             "$type": "ReviveElemEnergy",    //天赋回能
                        //             "value": "%ElementalArt_Magatama_ReviveElemEnergy",
                        //         },                                                                                             
                        //     ],
                        // },
                    ],
                },              
                "Player_Electric_ElementalArt_Magatama_ReviveElemEnergy":
                {
                    "duration":0.5,
                    "onAdded":
                    [
                        {
                            "$type": "ReviveElemEnergy",    //天赋回能
                            "value": "%ElementalArt_Magatama_ReviveElemEnergy",
                        },    
                    ],
                },                   
                "Player_Electric_ElementalArt_Magatama_VFX":
                {
                    "onAdded":
                    [
                        {
                            "$type": "AttachEffect",
                            "effectPattern": "Eff_Player_Electric_ElementalArt_Magatama",
                        },
                    ],
                },
                "Player_Electric_ElementalArt_Magatama_Life_Duration":
                {
                    "duration": "%ElementalArt_Magatama_Life_Duration",
                    "onRemoved":
                    [
                        {
                            "$type":"KillSelf",
                        },
                    ],
                },
            },
            "abilitySpecials":
            {
                "ElementalArt_Magatama_ModifySkillCD": 0,
                "ElementalArt_Magatama_ExtraEfficiencyUp_Percentage": 0,
                "ElementalArt_Magatama_EfficiencyUp": 0,
                "ElementalArt_Magatama_ReviveElemEnergy": 0,
                "ElementalArt_Magatama_ReviveExtraElemEnergy_Check_Percentage":0,
                "ElementalArt_Magatama_Life_Duration": 0,
                "ElementalArt_Magatama_EfficiencyUp_Duration": 0,
            },
        },
    },






]