{ //以太剑盾转阶段脚本 "AbilityName" : "Durahan_Transform", "AbilityStacking":"UniqueOverrideMap", "AbilityMixins" : [ { "$type": "MoleMole.ActionsOnPropertyChangeMixin", "PropertyActions": [ { "PropertyType": "CurHP", // "CustomPropertyType": "EnhanceNum", "ReferMaxPropertyType": "MaxHP", // "CustomReferMaxPropertyType": "MaxEnhanceNum", "IsUsePercentage": true, "ValueRangeActions": [ // { // "Val": "%AS_HPLimit_01", // "HighToValueActions": // [ // { // "$type":"MoleMole.ApplyModifier", // "ModifierName":"ListenHitBreakModifier_01", // "Target":"Self", // }, // ], // }, { "Val": "%AS_HPLimit_02", "HighToValueActions": [ { "$type":"MoleMole.ApplyModifier", "ModifierName":"ListenHitBreakModifier_02", "Target":"Self", // 升阶以太剑盾直接进入二形态,无需施加该Modifier "Predicates": [ { "$type": "MoleMole.ByNot", "Predicates": [ { "$type": "MoleMole.ByTags", "Target": "Self", "TagList": ["Promote"] }, ], }, ], }, ], }, ], }, ], }, ], "Modifiers" : { //击破盾形态 "ListenHitBreakModifier_01": { "ModifierStacking": "Unique", "Duration": -1, "IgnoreTimeScale" : false, //提前点亮Trigger "OnBeingHitPre" : [ //触发受击表现 { "$type":"MoleMole.ApplyModifier", "ModifierName":"TriggerActionModifier_01", "Target":"Self", "Predicates" : [ { "$type" : "MoleMole.ByHeavyAttack", "IsHeavyAttack": true, }, ], }, ], //延迟执行逻辑旋转 "OnBeingHitResolved" : [ //逻辑旋转 { "$type": "MoleMole.ApplyLogicMoveAction", "Target": "Self", "RotationConfig" : { "$type" : "MoleMole.ConfigRotationToTarget", "Duration" : 0.1, "TargetPosRot" : { "CoordsOption" : "Relative", "TargetOption" : { "$type" : "MoleMole.ConfigPosRotReferTarget", "OffsetReferTarget" : "Other", "BackupOffsetReferTarget" : "None" }, "Offset" : { "PositionOffset" : {"x":0.0, "y":0.0, "z":0.0}, "AngleOffset" : {"x":0.0, "y":0.0, "z":0.0} } }, "RotateType" : "Instant", "RotateSpeed" : 1, "TargetUpdateMode" : "OnStart", "ReachTargetStop" : true }, "Predicates" : [ { "$type" : "MoleMole.ByHeavyAttack", "IsHeavyAttack": true, }, ], }, ], }, "TriggerActionModifier_01": { "ModifierStacking": "Unique", "Duration": -1, "IgnoreTimeScale" : false, "OnAdded" : [ //触发受击动作(盾形态击破) { "$type" : "MoleMole.SetAnimCtrlerParamAction", "ParamType" : 1, "ParamName" : "Trigger_Hit", "Target" : "Self", "BoolVal" : true, }, { "$type" : "MoleMole.SetAnimCtrlerParamAction", "ParamType" : 1, "ParamName" : "Trigger_Break_ShieldMode", "Target" : "Self", "BoolVal" : true, }, //设置预备转阶段开关及目标阶段(状态机参数) { "$type" : "MoleMole.SetAnimCtrlerParamAction", "ParamType" : 2, "ParamName" : "Bool_IsSwitchingBossType", "Target" : "Self", "BoolVal" : true, }, { "$type" : "MoleMole.SetAnimCtrlerParamAction", "ParamType" : 3, "ParamName" : "Int_BossType_Target", "Target" : "Self", "IntVal" : 1, }, //设置预备转阶段开关及目标阶段(AI参数) { "$type" : "MoleMole.WriteAIParamAction", "Target" : "Self", "ParamName" : "Int_BossType_Target", "IntParamValue" : 1 }, { "$type" : "MoleMole.WriteAIParamAction", "Target" : "Self", "ParamName" : "Bool_IsSwitchingBossType", "BoolParamValue" : true }, //进入正常状态,并重置晕值 { "$type" : "MoleMole.ModifyStunStateAction", "TargetState" : "Normal", "Target" : "Self", }, { "$type": "MoleMole.ModifyProperty", "Target" : "Self", "PropertyType": "CurStun", "PropertyModifyFunction": "Replace", "Percentage": 0.0, }, //移除Modifier { "$type": "MoleMole.RemoveModifier", "ModifierName":"ListenHitBreakModifier_01", "Target":"Self", }, { "$type": "MoleMole.RemoveModifier", "ModifierName":"TriggerActionModifier_01", "Target":"Self", }, ], }, //击破剑形态 "ListenHitBreakModifier_02": { "ModifierStacking": "Unique", "Duration": -1, "IgnoreTimeScale" : false, "OnAdded" : [ //移除Modifier { "$type": "MoleMole.RemoveModifier", "ModifierName":"ListenHitBreakModifier_01", "Target":"Self", }, { "$type": "MoleMole.RemoveModifier", "ModifierName":"TriggerActionModifier_01", "Target":"Self", }, ], "OnBeingHitResolved" : [ //触发受击表现 { "$type":"MoleMole.ApplyModifier", "ModifierName":"TriggerActionModifier_02", "Target":"Self", "Predicates" : [ { "$type" : "MoleMole.ByHeavyAttack", "IsHeavyAttack": true, }, ], }, { "$type" : "MoleMole.SetAnimCtrlerParamAction", "ParamType" : 1, "ParamName" : "Trigger_Break_SwordMode_F", "Target" : "Self", "BoolVal" : true, "Predicates" : [ { "$type" : "MoleMole.ByHeavyAttack", "IsHeavyAttack": true, }, // { // "$type": "MoleMole.ByHitAngleRange", // "AngleMin": 0, // "AngleMax": 180 // } ], }, // { // "$type" : "MoleMole.SetAnimCtrlerParamAction", // "ParamType" : 1, // "ParamName" : "Trigger_Break_SwordMode_B", // "Target" : "Self", // "BoolVal" : true, // "Predicates" : // [ // { // "$type" : "MoleMole.ByHeavyAttack", // "IsHeavyAttack": true, // }, // { // "$type": "MoleMole.ByHitAngleRange", // "AngleMin": -180, // "AngleMax": 0 // } // ], // }, //逻辑旋转 { "$type": "MoleMole.ApplyLogicMoveAction", "Target": "Self", "RotationConfig" : { "$type" : "MoleMole.ConfigRotationToTarget", "Duration" : 0.1, "TargetPosRot" : { "CoordsOption" : "Relative", "TargetOption" : { "$type" : "MoleMole.ConfigPosRotReferTarget", "OffsetReferTarget" : "Other", "BackupOffsetReferTarget" : "None" }, "Offset" : { "PositionOffset" : {"x":0.0, "y":0.0, "z":0.0}, "AngleOffset" : {"x":0.0, "y":0.0, "z":0.0} } }, "RotateType" : "Instant", "RotateSpeed" : 1, "TargetUpdateMode" : "OnStart", "ReachTargetStop" : true }, "Predicates" : [ { "$type" : "MoleMole.ByHeavyAttack", "IsHeavyAttack": true, }, // { // "$type": "MoleMole.ByHitAngleRange", // "AngleMin": 0, // "AngleMax": 180 // } ], }, // { // "$type": "MoleMole.ApplyLogicMoveAction", // "Target": "Self", // "RotationConfig" : // { // "$type" : "MoleMole.ConfigRotationToTarget", // "Duration" : 0.1, // "TargetPosRot" : // { // "CoordsOption" : "Relative", // "TargetOption" : // { // "$type" : "MoleMole.ConfigPosRotReferTarget", // "OffsetReferTarget" : "Other", // "BackupOffsetReferTarget" : "None" // }, // "Offset" : // { // "PositionOffset" : {"x":0.0, "y":0.0, "z":-99999.0}, // "AngleOffset" : {"x":0.0, "y":0.0, "z":0.0} // } // }, // "RotateType" : "Instant", // "RotateSpeed" : 1, // "TargetUpdateMode" : "OnStart", // "ReachTargetStop" : true // }, // "Predicates" : // [ // { // "$type" : "MoleMole.ByHeavyAttack", // "IsHeavyAttack": true, // }, // { // "$type": "MoleMole.ByHitAngleRange", // "AngleMin": -180, // "AngleMax": 0 // } // ], // }, ], }, "TriggerActionModifier_02": { "ModifierStacking": "Unique", "Duration": -1, "IgnoreTimeScale" : false, "OnAdded" : [ //触发受击动作(剑形态击破) { "$type" : "MoleMole.SetAnimCtrlerParamAction", "ParamType" : 1, "ParamName" : "Trigger_Hit", "Target" : "Self", "BoolVal" : true, }, //设置预备转阶段开关及目标阶段(状态机参数) { "$type" : "MoleMole.SetAnimCtrlerParamAction", "ParamType" : 2, "ParamName" : "Bool_IsSwitchingBossType", "Target" : "Self", "BoolVal" : true, }, { "$type" : "MoleMole.SetAnimCtrlerParamAction", "ParamType" : 3, "ParamName" : "Int_BossType_Target", "Target" : "Self", "IntVal" : 2, }, //设置预备转阶段开关及目标阶段(AI参数) { "$type" : "MoleMole.WriteAIParamAction", "Target" : "Self", "ParamName" : "Int_BossType_Target", "IntParamValue" : 2 }, { "$type" : "MoleMole.WriteAIParamAction", "Target" : "Self", "ParamName" : "Bool_IsSwitchingBossType", "BoolParamValue" : true }, //进入正常状态,并重置晕值 { "$type" : "MoleMole.ModifyStunStateAction", "TargetState" : "Normal", "Target" : "Self", }, { "$type": "MoleMole.ModifyProperty", "Target" : "Self", "PropertyType": "CurStun", "PropertyModifyFunction": "Replace", "Percentage": 0.0, }, //移除Modifier { "$type": "MoleMole.RemoveModifier", "ModifierName":"ListenHitBreakModifier_02", "Target":"Self", }, { "$type": "MoleMole.RemoveModifier", "ModifierName":"TriggerActionModifier_02", "Target":"Self", }, ], }, }, "AbilitySpecials" : { //转阶段血量百分比(盾形态)(已废弃,仅做剑盾形态) "AS_HPLimit_01" : { "Value" : 0.70 }, //转阶段血量百分比(剑盾形态) "AS_HPLimit_02" : { //默认为0.70 "Value" : 0.70 }, } }