{ "AbilityName" : "Bangboo_Eous001_Skill_Cannon_Nuclear", "AbilityStacking":"Unique", //核弹炮,玩家血量越低,该技能冷却时间越短(玩家血量为0%时,冷却时间为初始值的50%) "OnAbilityStart": [ { "$type": "MoleMole.SkillStartAction", "StartedSkillName": "Bangboo_Eous001_Skill_Cannon_Nuclear", "Target" : "Self" }, { "$type" : "MoleMole.ApplyModifier", "ModifierName": "RevocerCDModifier", "Target" : "LocalAvatar" }, ], "AbilityMixins" : [ { //初始位置及朝向 "$type" : "MoleMole.BulletMixin", "BulletName" : "Bullet_Empty", "Targetting" : "Stage", "AliveDuration" : 2.0, "BulletInitPosRot" : { "CoordsOption" : "Relative", "NeedRaycastGround": true, "RaycastGroundOffset": 0.0, "TargetOption" : { "$type" : "MoleMole.ConfigPosRotReferTarget", "OffsetReferTarget" : "Target", "BackupOffsetReferTarget" : "Self", }, "Offset" : { "PositionOffset" : {"x":0.0, "y":0.0, "z":0.0}, "AngleOffset" : {"x":0.0, "y":0.0, "z":0.0}, "BackupPositionOffset" : {"x":0.0, "y":0.0, "z":10.0}, "BackupAngleOffset" : {"x":0.0, "y":0.0, "z":0.0}, "IsUseRotationY" : true, "IsUseRotationXZ" : 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" : false, //能否命中墙壁 "MaxHitNum" : 0, //总打击次数 "MaxHitTargetNum" : 0, //单位打击次数 "MaxHitStageNum" : 0, //墙壁打击次数 "MaxTouchStageNum" : 0, //墙壁反弹次数 //"HitAnimEventID" : "Bangboo_Eous001_Skill_Cannon_Nuclear_Attackproperty_01", //子弹爆炸相关 "HitOtherExplode" : false, //命中怪物是否爆炸 "HitStageExplode" : false, //命中墙壁是否爆炸 "DestroyExplode" : true, //消失是否爆炸(达到最大打击次数时即为消失) "ExplodePosType": "Bullet", "HitExplodeRadius" : 6, "ExplodeAnimEventID" : "Bangboo_Eous001_Skill_Cannon_Nuclear_Attackproperty_01", //子弹特效 "BulletEffect" : { "EffectPattern" : "Eff_RandomSkill_NuclearStrike_Bullet" }, // //拖尾特效 // "TrailEffect" : // { // "EffectPattern" : "Eff_Monster_RangeSoldier_Attack_3_Trail" // }, //爆炸特效 "HitExplodeEffect" : { "EffectPattern" : "Eff_RandomSkill_NuclearStrike_Explode" }, "OnBulletDestroyAction": [ { "$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" : { "RevocerCDModifier": { "ModifierStacking": "Unique", "Duration": 0.01, "OnRemoved" : [ { "$type": "MoleMole.SetAbilitySpecialsByPropertyAction", "Target": "Self", "ParamName": "AS_CurHP", "ModifyFunction": "Replace", "PropertyType" : "CurHP", "Percentage" : 100.0 }, { "$type": "MoleMole.SetAbilitySpecialsByPropertyAction", "Target": "Self", "ParamName": "AS_MaxHP", "ModifyFunction": "Replace", "PropertyType" : "MaxHP", "Percentage" : 100.0 }, { "$type": "MoleMole.SetAbilitySpecialAction", "Target": "Caster", "ParamName": "AS_CDReductionRatio", "ParamType": "abilitySpecial_float", "ModifyFunction": "Replace", "Param": "AS_CurHP" }, { "$type": "MoleMole.SetAbilitySpecialAction", "Target": "Caster", "ParamName": "AS_CDReductionRatio", "ParamType": "abilitySpecial_float", "ModifyFunction": "Div", "Param": "AS_MaxHP" }, { "$type": "MoleMole.SetAbilitySpecialAction", "Target": "Caster", "ParamName": "AS_CDReductionRatio", "ParamType": "float", "ModifyFunction": "Add", "Param": -1.0 }, { "$type": "MoleMole.SetAbilitySpecialAction", "Target": "Caster", "ParamName": "AS_CDReductionRatio", "ParamType": "abilitySpecial_float", "ModifyFunction": "Mul", "Param": "AS_ConvertRatio" }, { "$type": "MoleMole.ModifySkillCDAction", "SkillName": "Bangboo_Eous001_Skill_Cannon_Nuclear", "Ratio": "%AS_CDReductionRatio", "Delta": 0.0, "Target" : "Caster" } ], } }, "AbilitySpecials" : { //玩家当前血量 "AS_CurHP": { "Value" : 0 }, //玩家最大血量 "AS_MaxHP": { "Value" : 0 }, //血量百分比转为冷却百分比的比例系数(1.0=100%) "AS_ConvertRatio": { "Value" : 0.5 }, //实际攻击增幅百分比 "AS_CDReductionRatio": { "Value" : 0 } } }