HollowPS_TV_experiments/extras/zzz-0.1-jsons/Lucy_Branch_Hit.json

303 lines
No EOL
12 KiB
JSON

{
//Branch命中猪猪时发出跳转指令并同步朝向
"AbilityName" : "Lucy_Branch_Hit",
"AbilityStacking": "Unique",
"OnAbilityStart" :
[
// 发送命中到猪猪状态机
{
"$type" : "MoleMole.SetAnimCtrlerParamAction",
"ParamType" : 1,
"ParamName" : "Trigger_Branch_Hit",
"Target": "Custom",
"CustomKey": "LucyWood_AbilityTargetting_00",
"BoolVal" : true,
},
// 发送高球到猪猪状态机
{
"$type" : "MoleMole.SetAnimCtrlerParamAction",
"ParamType" : 3,
"ParamName" : "Int_Branch_HitType",
"Target": "Custom",
"CustomKey": "LucyWood_AbilityTargetting_00",
"IntVal" : 0,
"Predicates" :
[
{
"$type": "MoleMole.ByOr",
"Predicates":
[
{
"$type": "MoleMole.ByAnimatorStateNormalizedTime",
"AnimatorStateName": "Attack_Branch_01_Early",
"Target":"Self",
"LayerIndex": 0,
"NormalizedTimeLow" : 0.0,
"NormalizedTimeHigh" : 1.0,
},
{
"$type": "MoleMole.ByAnimatorStateNormalizedTime",
"AnimatorStateName": "Attack_Branch_02_Early",
"Target":"Self",
"LayerIndex": 0,
"NormalizedTimeLow" : 0.0,
"NormalizedTimeHigh" : 1.0,
},
],
},
],
},
{
"$type" : "MoleMole.WriteAIParamAction",
"Target": "Custom",
"CustomKey": "LucyWood_AbilityTargetting_00",
"ParamName" : "Int_ShouldWhistle",
"IntParamValue" : 3,
"Predicates" :
[
{
"$type": "MoleMole.ByOr",
"Predicates":
[
{
"$type": "MoleMole.ByAnimatorStateNormalizedTime",
"AnimatorStateName": "Attack_Branch_02_Early",
"Target":"Self",
"LayerIndex": 0,
"NormalizedTimeLow" : 0.0,
"NormalizedTimeHigh" : 1.0,
},
],
},
],
},
{
"$type" : "MoleMole.WriteAIParamAction",
"Target": "Custom",
"CustomKey": "LucyWood_AbilityTargetting_00",
"ParamName" : "Int_ShouldWhistle",
"IntParamValue" : 1,
"Predicates" :
[
{
"$type": "MoleMole.ByOr",
"Predicates":
[
{
"$type": "MoleMole.ByAnimatorStateNormalizedTime",
"AnimatorStateName": "Attack_Branch_01_Early",
"Target":"Self",
"LayerIndex": 0,
"NormalizedTimeLow" : 0.0,
"NormalizedTimeHigh" : 1.0,
},
],
},
],
},
// 发送中球到猪猪状态机
{
"$type" : "MoleMole.SetAnimCtrlerParamAction",
"ParamType" : 3,
"ParamName" : "Int_Branch_HitType",
"Target": "Custom",
"CustomKey": "LucyWood_AbilityTargetting_00",
"IntVal" : 1,
"Predicates" :
[
{
"$type": "MoleMole.ByOr",
"Predicates":
[
{
"$type": "MoleMole.ByAnimatorStateNormalizedTime",
"AnimatorStateName": "Attack_Branch_01_Straight",
"Target":"Self",
"LayerIndex": 0,
"NormalizedTimeLow" : 0.0,
"NormalizedTimeHigh" : 1.0,
},
{
"$type": "MoleMole.ByAnimatorStateNormalizedTime",
"AnimatorStateName": "Attack_Branch_02_Straight",
"Target":"Self",
"LayerIndex": 0,
"NormalizedTimeLow" : 0.0,
"NormalizedTimeHigh" : 1.0,
},
],
},
],
},
{
"$type" : "MoleMole.WriteAIParamAction",
"Target": "Custom",
"CustomKey": "LucyWood_AbilityTargetting_00",
"ParamName" : "Int_ShouldWhistle",
"IntParamValue" : 2,
"Predicates" :
[
{
"$type": "MoleMole.ByOr",
"Predicates":
[
{
"$type": "MoleMole.ByAnimatorStateNormalizedTime",
"AnimatorStateName": "Attack_Branch_02_Straight",
"Target":"Self",
"LayerIndex": 0,
"NormalizedTimeLow" : 0.0,
"NormalizedTimeHigh" : 1.0,
},
],
},
],
},
{
"$type" : "MoleMole.WriteAIParamAction",
"Target": "Custom",
"CustomKey": "LucyWood_AbilityTargetting_00",
"ParamName" : "Int_ShouldWhistle",
"IntParamValue" : 1,
"Predicates" :
[
{
"$type": "MoleMole.ByOr",
"Predicates":
[
{
"$type": "MoleMole.ByAnimatorStateNormalizedTime",
"AnimatorStateName": "Attack_Branch_01_Straight",
"Target":"Self",
"LayerIndex": 0,
"NormalizedTimeLow" : 0.0,
"NormalizedTimeHigh" : 1.0,
},
],
},
],
},
// 发送低求到猪猪状态机
{
"$type" : "MoleMole.SetAnimCtrlerParamAction",
"ParamType" : 3,
"ParamName" : "Int_Branch_HitType",
"Target": "Custom",
"CustomKey": "LucyWood_AbilityTargetting_00",
"IntVal" : 2,
"Predicates" :
[
{
"$type": "MoleMole.ByOr",
"Predicates":
[
{
"$type": "MoleMole.ByAnimatorStateNormalizedTime",
"AnimatorStateName": "Attack_Branch_01_Late",
"Target":"Self",
"LayerIndex": 0,
"NormalizedTimeLow" : 0.0,
"NormalizedTimeHigh" : 1.0,
},
{
"$type": "MoleMole.ByAnimatorStateNormalizedTime",
"AnimatorStateName": "Attack_Branch_02_Late",
"Target":"Self",
"LayerIndex": 0,
"NormalizedTimeLow" : 0.0,
"NormalizedTimeHigh" : 1.0,
},
],
},
],
},
{
"$type" : "MoleMole.WriteAIParamAction",
"Target": "Custom",
"CustomKey": "LucyWood_AbilityTargetting_00",
"ParamName" : "Int_ShouldWhistle",
"IntParamValue" : 2,
"Predicates" :
[
{
"$type": "MoleMole.ByOr",
"Predicates":
[
{
"$type": "MoleMole.ByAnimatorStateNormalizedTime",
"AnimatorStateName": "Attack_Branch_02_Late",
"Target":"Self",
"LayerIndex": 0,
"NormalizedTimeLow" : 0.0,
"NormalizedTimeHigh" : 1.0,
},
],
},
],
},
{
"$type" : "MoleMole.WriteAIParamAction",
"Target": "Custom",
"CustomKey": "LucyWood_AbilityTargetting_00",
"ParamName" : "Int_ShouldWhistle",
"IntParamValue" : 1,
"Predicates" :
[
{
"$type": "MoleMole.ByOr",
"Predicates":
[
{
"$type": "MoleMole.ByAnimatorStateNormalizedTime",
"AnimatorStateName": "Attack_Branch_01_Late",
"Target":"Self",
"LayerIndex": 0,
"NormalizedTimeLow" : 0.0,
"NormalizedTimeHigh" : 1.0,
},
],
},
],
},
// 命中时再次与猪妹同步朝向
{
"$type": "MoleMole.ApplyLogicMoveAction",
"Target": "Custom",
"CustomKey": "LucyWood_AbilityTargetting_00",
"RotationConfig" :
{
"$type" : "MoleMole.ConfigRotationToTarget",
"Duration" : -1,
"TargetPosRot" :
{
"CoordsOption" : "ReferTarget",
"TargetOption" :
{
"$type" : "MoleMole.ConfigPosRotReferTarget",
"OffsetReferTarget" : "Caster",
},
"Offset" :
{
//看向目标点前方无限远处,即和目标点朝向保持一致
"PositionOffset" : {"x":0.0, "y":0.0, "z":9999.0},
"AngleOffset" : {"x":0.0, "y":0.0, "z":0.0},
"IsUseRotationY" : true,
"IsUseRotationXZ" : true,
"IsClampOffsetDistance" : false
}
},
"RotateType" : "Instant",
"RotateSpeed" : 1,
"TargetUpdateMode" : "OnStart",
"ReachTargetStop" : true
},
},
],
}