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

200 lines
No EOL
7.3 KiB
JSON

{
// 麻由里休闲待机猪猪表现
"AbilityName" : "Lucy_Idle_AFK_01",
"AbilityStacking":"Unique",
"AbilityMixins" :
[
// 插旗状态
{
"$type" : "MoleMole.AttachStateWithModifierMixin",
"ConfigList":
[
{
"LayerIndex": 0,
"AnimatorStateName": "Idle_AFK_01",
"MaxFrameCountLow": false,
"FrameCountLow": 111,
"MaxFrameCountHigh": true,
"FrameCountHigh": 0,
"IsLoop": false,
"ModifierNameList":
[
"WoodIdleAFKModifier_Controller",
],
},
]
}
],
"Modifiers" :
{
//仅针对在场猪猪
"WoodIdleAFKModifier_Controller" :
{
"ModifierStacking" : "Unique",
"Duration" : -1,
"OnAdded":
[
{
"$type":"MoleMole.ApplyModifier",
"ModifierName":"WoodIdleAFKModifier_Action",
"Target": "Custom",
"CustomKey": "LucyWood_AbilityTargetting_00",
"Predicates":
[
//限定0号猪猪
{
"$type": "MoleMole.ByAnimCtrlerParam",
"ParamType": 3,
"ParamName": "Int_WoodNum",
"CompareType": "Equal",
"IntVal" : 0,
"Target": "Custom",
"CustomKey": "LucyWood_AbilityTargetting_00",
}
],
}
],
"OnRemoved":
[
{
"$type":"MoleMole.RemoveModifier",
"ModifierName":"WoodIdleAFKModifier_Action",
"Target": "Custom",
"CustomKey": "LucyWood_AbilityTargetting_00",
"Predicates":
[
//限定0号猪猪
{
"$type": "MoleMole.ByAnimCtrlerParam",
"ParamType": 3,
"ParamName": "Int_WoodNum",
"CompareType": "Equal",
"IntVal" : 0,
"Target": "Custom",
"CustomKey": "LucyWood_AbilityTargetting_00",
}
],
}
]
},
//在场猪猪实际表现
"WoodIdleAFKModifier_Action" :
{
"ModifierStacking" : "Unique",
"Duration" : -1,
"OnAdded":
[
//猪猪屏蔽尝试挣脱
{
"$type" : "MoleMole.WriteAIParamAction",
"Target" : "Self",
"ParamName" : "Bool_IsTryMove",
"BoolParamValue" : false,
},
//猪猪Dither淡入
{
"$type": "MoleMole.DitherFadeAction",
"Target": "Self",
"DitherFadeType": "FadeIn",
"DitherFadeKey": "Default_Dither_Alpha_FadeIn",
"Duration": 0.3,
},
//猪猪瞬移至指定位置并强切朝向
{
"$type": "MoleMole.ApplyLogicMoveAction",
"Target": "Self",
//瞬移至玩家身边
"MovementConfig" :
{
"$type" : "MoleMole.ConfigMovementTarget",
"Duration" : 0.1,
"Gravity" : 0.0,
"HitTangentialRatio" : 1,
"HitNormalRatio" : 1,
"TimesUpMoveOption" : "Stop",
"TargetPosRot" :
{
"CoordsOption" : "ReferTarget",
"TargetOption" :
{
"$type" : "MoleMole.ConfigPosRotReferTarget",
"OffsetReferTarget" : "LocalAvatar"
},
"Offset" :
{
"PositionOffset" : {"x":0.33884, "y":0.0, "z":0.47481},
"AngleOffset" : {"x":0.0, "y":0.0, "z":0.0},
"IsClampOffsetDistance" : false
}
},
"DefaultOffset" : {"x":0.0, "y":0.0, "z":5.0},
"MoveType":
{
"$type" : "MoleMole.MovementTypeInstant",
"NeedRayCastCheck" : false, //本次瞬移能够穿墙
},
"TargetUpdateMode" : "Always",
"ReachTargetStop" : true
},
//面朝玩家正前方朝向
"RotationConfig" :
{
"$type" : "MoleMole.ConfigRotationToTarget",
"Duration" : 0.1,
"TargetPosRot" :
{
"CoordsOption" : "ReferTarget",
"TargetOption" :
{
"$type" : "MoleMole.ConfigPosRotReferTarget",
"OffsetReferTarget" : "LocalAvatar"
},
"Offset" :
{
"PositionOffset" : {"x":0.0, "y":0.0, "z":9999.0},
"AngleOffset" : {"x":0.0, "y":0.0, "z":0.0}
}
},
"RotateType" : "Instant",
"RotateSpeed" : 1,
"TargetUpdateMode" : "Always",
"ReachTargetStop" : true
}
},
//猪猪执行指定动画
{
"$type" : "MoleMole.SetAnimCtrlerParamAction",
"Target": "Self",
"ParamType" : 1,
"ParamName" : "Trigger_AFK",
"BoolVal" : true,
}
],
"OnRemoved":
[
//猪猪恢复尝试挣脱
{
"$type" : "MoleMole.WriteAIParamAction",
"Target" : "Self",
"ParamName" : "Bool_IsTryMove",
"BoolParamValue" : true,
},
],
}
}
}