{ "AbilityName" : "Guardian_Ability_RangeAttack_01", "AbilityStacking":"Unique", "AbilityMixins" : [ { //初始位置及朝向 "$type" : "MoleMole.BulletMixin", "BulletName" : "Bullet_Empty", "Targetting" : "Enemy", "AliveDuration" : 3, "BulletInitPosRot" : { "CoordsOption" : "ReferTarget", "TargetOption" : { "$type" : "MoleMole.ConfigPosRotReferTarget", "OffsetReferTarget" : "Self", "AttachPoint" : "GunPoint01", "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}, "RandomPositionRange" : {"x":0.0, "y":0.0, "z":0.0}, "RandomAngleRange": {"x":0.5, "y":2.0, "z":0.0}, "IsUseRotationY" : true, "IsUseRotationXZ" : true, }, }, //位移 "MovementConfig" : { "$type" : "MoleMole.ConfigMovementSimple", "Duration" : -1, "Gravity" : 0.0, "HitTangentialRatio" : 1, "HitNormalRatio" : 1, "TimesUpMoveOption" : "Remain", "TargetPosRot" : { "CoordsOption" : "Relative", "TargetOption" : { "$type" : "MoleMole.ConfigPosRotReferTarget", "OffsetReferTarget" : "Target", }, "Offset" : { "PositionOffset" : {"x":0.0, "y":0.0, "z":0.0}, "AngleOffset" : {"x":0.0, "y":0.0, "z":0.0}, }, }, "InitVelocity" : {"x":0, "y":0, "z":80}, "Acceleration" : {"x":0, "y":0, "z":0}, "CoordinateType" : "Local", }, //子弹打击相关 "BulletColliderConfig": { "ColliderType" : "Sphere", "SphereColliderRadius" : 0.1, "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, //能否命中墙壁 "IsCanReflect" : true, //能否被反弹 "MaxHitNum" : 0, //总打击次数 "MaxHitTargetNum" : 0, //单位打击次数 "MaxHitStageNum" : 0, //墙壁打击次数 "MaxTouchStageNum" : 0, //墙壁反弹次数 //"HitAnimEventID" : "Guardian_RangeAttack01_Attackproperty", //子弹爆炸相关 "HitOtherExplode" : true, //命中怪物是否爆炸 "HitStageExplode" : true, //命中墙壁是否爆炸 "DestroyExplode" : true, //消失是否爆炸(达到最大打击次数时即为消失) "OverrideReflectDestroyExplode" : "NotExplode", //反弹是否爆炸(Override DestroyExplode配置) "ExplodePosType": "HitPoint", "HitExplodeRadius" : 0.5, "ExplodeAnimEventID" : "Guardian_RangeAttack01_Attackproperty", //子弹特效 "BulletEffect" : { "EffectPattern" : "Bullet1" }, //爆炸特效 "HitExplodeEffect" : { "EffectPattern" : "TestHit_Bullet" }, //子弹反弹特效 "ReflectEffect" : { "EffectPattern" : "TestHit_Reflector_Bullet" }, } ] }