{ //幽灵粒子吸收测试脚本 "AbilityName" : "TestPlayer_Ability_Tianheng_31", "AbilityStacking": "Unique", "AbilityMixins" : [ { //初始位置及朝向 "$type" : "MoleMole.BulletMixin", "BulletName" : "Bullet_Empty_IgnoreWall", "Targetting" : "Stage", "AliveDuration" : 1, "BulletInitPosRot" : { "CoordsOption" : "ReferTarget", "TargetOption" : { "$type" : "MoleMole.ConfigPosRotReferTarget", "OffsetReferTarget" : "Self", "AttachPoint" : "GhostFollowPoint_02", "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":30.0, "y":30.0, "z":0.0}, "IsUseRotationY" : true, "IsUseRotationXZ" : true, }, }, //位移(这个是对的,符合预期) // "MovementConfig" : // { // "$type" : "MoleMole.ConfigMovementSimple", // "Duration" : -1, // "Gravity" : 0.0, // "HitTangentialRatio" : 1, // "HitNormalRatio" : 1, // "TimesUpMoveOption" : "Remain", // "InitVelocity" : {"x":0, "y":0, "z":10}, // "Acceleration" : {"x":0, "y":0, "z":0}, // "CoordinateType" : "Local", // }, //移动(这个有Bug) "MovementConfig" : { "$type" : "MoleMole.ConfigMovementCurve", "Duration" : -1, "Gravity" : 0.0, "HitTangentialRatio" : 1, "HitNormalRatio" : 1, "TimesUpMoveOption" : "Remain", "VelocityCurveX" : "Unagi_Ghost_Pos_Curve_02", "VelocityCurveY" : "Unagi_Ghost_Pos_Curve_03", "VelocityCurveZ" : "Unagi_Ghost_Pos_Curve_01", "ScaleRatio" : 10, "CoordinateType" : "Local", }, //旋转 "RotationConfig" : { "$type" : "MoleMole.ConfigRotationToTarget", "Duration" : -1, "TargetPosRot" : { "CoordsOption" : "Self", "TargetOption" : { "$type" : "MoleMole.ConfigPosRotReferTarget", "OffsetReferTarget" : "Self", "AttachPoint" : "WeaponPoint_01", "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}, "IsUseRotationY" : true, "IsUseRotationXZ" : true, }, }, "RotateType" : "Fixed", //"RotateSpeed" : 360, "RotationCurve" : "Unagi_Ghost_Rot_Curve_01", "ScaleRatio" : 1000, "TargetUpdateMode" : "Always", "ReachTargetStop" : false, }, //子弹打击相关 "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" : false, //能否命中墙壁 "IsCanReflect" : false, //能否被反弹 "MaxHitNum" : 0, //总打击次数 "MaxHitTargetNum" : 0, //单位打击次数 "MaxHitStageNum" : 0, //墙壁打击次数 "MaxTouchStageNum" : 0, //墙壁反弹次数 //"HitAnimEventID" : "Unagi_Attack_Branch_01_A_AttackProperty_01", //子弹爆炸相关 "HitOtherExplode" : true, //命中怪物是否爆炸 "HitStageExplode" : true, //命中墙壁是否爆炸 "DestroyExplode" : true, //消失是否爆炸(达到最大打击次数时即为消失) "OverrideReflectDestroyExplode" : "NotExplode", //反弹是否爆炸(Override DestroyExplode配置) "ExplodePosType": "HitPoint", "HitExplodeRadius" : 0.5, // "ExplodeAnimEventID" : "Unagi_Attack_Branch_01_A_AttackProperty_01", //子弹特效 "BulletEffect" : { "EffectPattern" : "Eff_Unagi_Attack_Branch_01_Charge_Trail" }, //爆炸特效 // "HitExplodeEffect" : // { // "EffectPattern" : "Hit_Bullet_Small" // }, } ] }