{ "AbilityName" : "Bangboo_Eous001_Skill_Cannon_Death", "AbilityStacking":"Unique", //生化炮,被命中的敌人死亡后掉落回复道具 //拾取掉落物时,减少该技能冷却时间(1.5秒),有1.5秒内置冷却时间 "DefaultModifier" : { "OnAdded" : [ { "$type": "MoleMole.ApplyAbilityAction", "AbilityName": "Bangboo_Eous001_Skill_Cannon_Death_Explosion", "IsAutoTrigger": false, "Target" : "Self" }, { "$type": "MoleMole.ApplyModifier", "ModifierName": "GetItemListenerModifier", "Target" : "TeamAvatars" }, ], "OnAttackLanded" : [ { "$type" : "MoleMole.ApplyModifier", "ModifierName" : "DropItemModifier", "Target" : "Target", "Predicates" : [ { "$type": "MoleMole.ByAnimatorEventIDs", "AnimatorEventIDs": [ "Bangboo_Eous001_Skill_Cannon_Death_Attackproperty_01", "Bangboo_Eous001_Skill_Cannon_Death_Explosion_Attackproperty_01", ] } ] }, ] }, "OnAbilityStart": [ { "$type": "MoleMole.SkillStartAction", "StartedSkillName": "Bangboo_Eous001_Skill_Cannon_Death", "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_Death_Attackproperty_01", //子弹爆炸相关 "HitOtherExplode" : true, //命中怪物是否爆炸 "HitStageExplode" : true, //命中墙壁是否爆炸 "DestroyExplode" : true, //消失是否爆炸(达到最大打击次数时即为消失) "ExplodePosType": "HitPoint", "HitExplodeRadius" : 2.5, "ExplodeAnimEventID" : "Bangboo_Eous001_Skill_Cannon_Death_Attackproperty_01", //子弹特效 "BulletEffect" : { "EffectPattern" : "Eff_Bangboo_Cannon_Death_Bullet" }, //拖尾特效 "TrailEffect" : { "EffectPattern" : "Eff_Bangboo_Cannon_Death_Trail" }, //爆炸特效 "HitExplodeEffect" : { "EffectPattern" : "Eff_Bangboo_Cannon_Death_Explode" }, "OnBulletDestroyAction": [ { "$type" : "MoleMole.TriggerAbilityAction", "AbilityName" : "Bangboo_Eous001_Skill_Cannon_Death_Explosion", "ExtraParam" : "HitStage" }, { "$type" : "MoleMole.TriggerAbilityAction", "AbilityName" : "Bangboo_Eous001_Skill_Cannon_Death_Explosion", "ExtraParam" : "HitOther" }, { "$type" : "MoleMole.TriggerAbilityAction", "AbilityName" : "Bangboo_Eous001_Skill_Cannon_Death_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" }, ], } ], "Modifiers" : { //掉落回复道具 "DropItemModifier": { "ModifierStacking" : "Refresh", "Duration" : 1, "IgnoreTimeScale" : false, "OnKilled" : [ { "$type": "MoleMole.DropItemAction", "Target" : "Self", "DropStr": "1001:10000:1", } ] }, //监听玩家拾取掉落物 "GetItemListenerModifier" : { "ModifierStacking" : "Unique", "Duration" : -1, "OnGetItem" : [ { "$type": "MoleMole.ApplyModifier", "ModifierName": "ReduceCDModifier", "Target": "Caster", // "Predicates": // [ // { // "$type": "MoleMole.ByGetItem", // "GoodID": 1001, // "Target" : "LocalAvatar" // } // ] } ], }, //减少技能CD "ReduceCDModifier" : { "ModifierStacking" : "Unique", "Duration" : "%AS_InternalCD", "IgnoreTimeScale" : false, "OnAdded": [ { "$type": "MoleMole.ModifySkillCDAction", "SkillName": "Bangboo_Eous001_Skill_Cannon_Death", "Ratio": 0, "Delta": "%AS_AddedCD", "Target" : "Self" } ], }, }, "AbilitySpecials": { //回复CD值 "AS_AddedCD": { "Value" : -1.5 }, //回复CD值内置冷却时间 "AS_InternalCD": { "Value" : 1.5 }, } }