{

    "AbilityName" : "Bangboo_Eous001_Skill_Cannon_Weaken",

    "AbilityStacking":"Unique",



    //脆弱炮，命中敌人时施加脆弱状态，持续5秒



    "DefaultModifier" :

    {

        "OnAdded" :

        [

            {

                "$type": "MoleMole.ApplyAbilityAction",

                "AbilityName": "Bangboo_Eous001_Skill_Cannon_Weaken_Explosion",

                "IsAutoTrigger": false,

                "Target" : "Self"

            },

        ],

    },

    

    "OnAbilityStart":

    [

        {

            "$type": "MoleMole.SkillStartAction",

            "StartedSkillName": "Bangboo_Eous001_Skill_Cannon_Weaken",

            "Target" : "Self"

        },

    ],



    "AbilityMixins" : 

    [

        {

            //初始位置及朝向

            "$type" : "MoleMole.BulletMixin",

            "BulletName" : "Bullet_Empty",

            "Targetting" : "Enemy",

            "AliveDuration" : 10,



            "BulletInitPosRot" : 

            {

                "CoordsOption" : "ReferTarget",

                "TargetOption" : 

                {

                    "$type" : "MoleMole.ConfigPosRotReferTarget",

                    "OffsetReferTarget" : "Self",

                    "AttachPoint" : "GunPoint",

                    "IsUseAttachPointPos" : true,

                    "IsUseAttachPointRotation" : true,

                },

                "Offset" : 

                {

                    "PositionOffset" : {"x":0.0, "y":0.0, "z":0.0},

                    "AngleOffset" : {"x":-2.0, "y":0.0, "z":0.0},



                    "IsUseRotationY" : true,

                    "IsUseRotationXZ" : false,

                },

            },



            "MovementConfig" :

            {

                "$type" : "MoleMole.ConfigMovementSimple",

                "Duration" : -1,

                "Gravity" : 0.0,

                "HitTangentialRatio" : 1,

                "HitNormalRatio" : 1,

                "TimesUpMoveOption" : "Remain",



                "InitVelocity" : {"x":0, "y":0, "z":20},

                "Acceleration" : {"x":0, "y":0, "z":0},

                "CoordinateType" : "Local",

            },



            //向目标旋转

            "RotationConfig" :

            {   

                "$type" : "MoleMole.ConfigRotationToTarget",

                "Duration" : 0.3,

                "TargetPosRot" : 

                {

                    "CoordsOption" : "Relative",

                    "TargetOption" : 

                    {

                            "$type" : "MoleMole.ConfigPosRotReferTarget",

                            "OffsetReferTarget" : "Target",

                            "BackupOffsetReferTarget" : "None",

                            "AttachPoint" : "MiddlePoint",

                            "IsUseAttachPointPos" : true,

                            "IsUseAttachPointRotation" : true,

                    },

                    "Offset" : 

                    {

                            "PositionOffset" : {"x":0.0, "y":0.0, "z":0.0},

                            "AngleOffset" : {"x":0.0, "y":0.0, "z":0.0},

                    },

                },

                "RotateType" : "Fixed",

                "RotateSpeed" : 360,

                "TargetUpdateMode" : "Always",

                "ReachTargetStop" : false,

            },



            //子弹打击相关

            "BulletColliderConfig": 

            {

                "ColliderType" : "Sphere",

                "SphereColliderRadius" : 0.3,

                "ColliderPosOffset" : {"x":0.0, "y":0.0, "z":0.0},

                "ColliderAngleOffset" : {"x":0.0, "y":0.0, "z":0.0},

            },

            "BulletHitTypeName" : "Normal", //Normal为每次触碰时攻击，Penetrate为接触时持续攻击

            "CanHitStage" : true, //能否命中墙壁

            "MaxHitNum" : 0, //总打击次数

            "MaxHitTargetNum" : 0, //单位打击次数

            "MaxHitStageNum" : 0, //墙壁打击次数

            "MaxTouchStageNum" : 0, //墙壁反弹次数

            //"HitAnimEventID" : "Bangboo_Eous001_Skill_Cannon_Weaken_Attackproperty_01",

    

            //子弹爆炸相关

            "HitOtherExplode" : true, //命中怪物是否爆炸

            "HitStageExplode" : true, //命中墙壁是否爆炸

            "DestroyExplode" : true, //消失是否爆炸（达到最大打击次数时即为消失）

            "ExplodePosType": "HitPoint",

            "HitExplodeRadius" : 2.5,

            "ExplodeAnimEventID" : "Bangboo_Eous001_Skill_Cannon_Weaken_Attackproperty_01",



            //子弹特效

            "BulletEffect" : 

            {

                "EffectPattern" : "Eff_Bangboo_Cannon_Electric_Bullet"

            },

            //拖尾特效

            "TrailEffect" : 

            {

                "EffectPattern" : "Eff_Bangboo_Cannon_Electric_Trail"

            },

            //爆炸特效

            "HitExplodeEffect" : 

            {

                "EffectPattern" : "Eff_Bangboo_Cannon_Electric_Explode"

            },

    

            "OnBulletDestroyAction":

            [

                {

                    "$type" : "MoleMole.TriggerAbilityAction",

                    "AbilityName" : "Bangboo_Eous001_Skill_Cannon_Weaken_Explosion",

                    "ExtraParam" : "HitStage"

                },

                {

                    "$type" : "MoleMole.TriggerAbilityAction",

                    "AbilityName" : "Bangboo_Eous001_Skill_Cannon_Weaken_Explosion",

                    "ExtraParam" : "HitOther"

                },

                {

                    "$type" : "MoleMole.TriggerAbilityAction",

                    "AbilityName" : "Bangboo_Eous001_Skill_Cannon_Weaken_Explosion",

                    "ExtraParam" : "TimeUp"

                },

                {

                    "$type" : "MoleMole.AttackCameraShakeAction",

                    "ShakeConfigKey" : "Bangboo_Skill_Cannon_CamShake_01",

                    "ExtraParam" : "HitStage"

                },

                {

                    "$type" : "MoleMole.AttackCameraShakeAction",

                    "ShakeConfigKey" : "Bangboo_Skill_Cannon_CamShake_01",

                    "ExtraParam" : "HitOther"

                },

                {

                    "$type" : "MoleMole.AttackCameraShakeAction",

                    "ShakeConfigKey" : "Bangboo_Skill_Cannon_CamShake_01",

                    "ExtraParam" : "TimeUp"

                },

            ],

        }

    ],

}