{ "AbilityName" : "Arlaune_Attack_1_Bullet_01", "AbilityStacking":"Unique", "AbilityMixins" : [ { //初始位置及朝向 "$type" : "MoleMole.BulletMixin", "BulletName" : "Bullet_Empty", "Targetting" : "Enemy", "AliveDuration" : 2.5, "BulletInitPosRot" : { "CoordsOption" : "Self", "TargetOption" : { "$type" : "MoleMole.ConfigPosRotReferTarget", "OffsetReferTarget" : "Self", "AttachPoint" : "HeadPoint", "IsUseAttachPointPos" : true, "IsUseAttachPointRotation" : true, }, "Offset" : { "PositionOffset" : {"x":0.0, "y":1.1, "z":1.3}, "AngleOffset" : {"x":0.0, "y":0.0, "z":0.0}, "IsUseRotationY" : true, "IsUseRotationXZ" : false, }, }, "MovementConfig" : { "$type" : "MoleMole.ConfigMovementParabola", "Duration" : -1, "Gravity" : 0.0, "HitTangentialRatio" : 0.75, "HitNormalRatio" : 0.75, "TimesUpMoveOption" : "Remain", "TargetPosRot" : { "CoordsOption" : "Relative", "TargetOption" : { "$type" : "MoleMole.ConfigPosRotReferTarget", "OffsetReferTarget" : "Target", }, "Offset" : { "PositionOffset" : {"x":0.0, "y":0.0, "z":-3.0},//目标位置偏移 "AngleOffset" : {"x":0.0, "y":0.0, "z":0.0}, "IsClampOffsetDistance" : true, //默认为false,为true时,Offset的距离不能大于自身至目标间的距离 }, }, "DefaultOffset" : {"x":0.0, "y":0.0, "z":0}, "s1" : 0.15,//近点距离 "s2" : 15,//远点距离 "h1" : 1.0, "h2" : 2.5, "t1" : 0.5, "t2" : 0.75, }, //子弹打击相关 "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, //能否命中墙壁 "IsCanReflect" : true, //能否被反弹 "MaxHitNum" : -1, //总打击次数 "MaxHitTargetNum" : 0, //单位打击次数 "MaxHitStageNum" : 5, //墙壁打击次数 "MaxTouchStageNum" : 5, //墙壁反弹次数 //"HitAnimEventID" : "Monster_Arlaune_ATK01_Explode_Attackproperty", //子弹爆炸相关 "HitOtherExplode" : false, //命中敌人是否爆炸 "HitStageExplode" : false, //命中墙壁是否爆炸 "DestroyExplode" : true, //消失是否爆炸(达到最大打击次数时即为消失) "OverrideReflectDestroyExplode" : "NotExplode", //反弹是否爆炸(Override DestroyExplode配置) "ExplodePosType": "HitPoint", "HitExplodeRadius" : 2, "ExplodeAnimEventID" : "Monster_Arlaune_ATK01_Explode_Attackproperty", //子弹预判定相关 "DodgeColliderConfig": { "ColliderType" : "Capsule", "CapsuleColliderRadius" : 0.5, "CapsuleColliderHeight" : 3.5, "ColliderPosOffset" : {"x":0.0, "y":0.0, "z":1.75}, "ColliderAngleOffset" : {"x":90.0, "y":0.0, "z":0.0}, }, //子弹特效 "BulletEffect" : { "EffectPattern" : "Eff_Monster_Arlaune_Attack_01_Bullet_01" }, //爆炸特效 "HitExplodeEffect" : { "EffectPattern" : "Eff_Monster_Cyclops_Attack_01_Explode_01"//特效复用 }, //打击目标特效(若不爆炸)若打击次数为0时,则不播放特效 "HitTargetEffect" : { "EffectPattern" : "Eff_Monster_Cyclops_Attack_01_Explode_01", }, //打击场景特效(若不爆炸)若打击次数为0时,则不播放特效 "HitStageEffect" : { "EffectPattern": "Eff_Monster_Arlaune_Attack_01_Bullet_HitGround_01" }, //子弹反弹特效 "ReflectEffect" : { "EffectPattern" : "Eff_Monster_Cyclops_Attack_01_Bullet_01_Reflect" }, //消失特效 // "DestroyEffect" : // { // "EffectPattern" : "Eff_Monster_Cyclops_Attack_01_Explode_01" // }, "OnBulletDestroyAction": [ { "$type" : "MoleMole.AttackCameraShakeAction", "ShakeConfigKey" : "Nostradamus_Bullet_Explosion_CamShake_01", "ExtraParam" : "HitStage" }, { "$type" : "MoleMole.AttackCameraShakeAction", "ShakeConfigKey" : "Nostradamus_Bullet_Explosion_CamShake_01", "ExtraParam" : "HitOther" }, { "$type" : "MoleMole.AttackCameraShakeAction", "ShakeConfigKey" : "Nostradamus_Bullet_Explosion_CamShake_01", "ExtraParam" : "TimeUp" }, ], } ] }