176 lines
5.1 KiB
JSON
176 lines
5.1 KiB
JSON
{
|
|
"AbilityMixins": [
|
|
{
|
|
"$type": "AttachStateWithModifierMixin",
|
|
"ConfigList": [
|
|
{
|
|
"AnimatorStateName": "GuardPose",
|
|
"FrameCountLow": 10,
|
|
"IsLoop": false,
|
|
"LayerIndex": 0,
|
|
"MaxFrameCountHigh": true,
|
|
"MaxFrameCountLow": false,
|
|
"ModifierNameList": [
|
|
"GraymaneCenturionParryStartModifier"
|
|
]
|
|
},
|
|
{
|
|
"AnimatorStateName": "GuardPoseLoop",
|
|
"FrameCountLow": 0,
|
|
"IsLoop": false,
|
|
"LayerIndex": 0,
|
|
"MaxFrameCountHigh": true,
|
|
"MaxFrameCountLow": false,
|
|
"ModifierNameList": [
|
|
"GraymaneCenturionParryReadyModifier"
|
|
]
|
|
}
|
|
],
|
|
"IsSeam": false
|
|
}
|
|
],
|
|
"AbilityName": "GraymaneCenturion_ParryManager",
|
|
"AbilityStacking": "Unique",
|
|
"Modifiers": {
|
|
"GraymaneCenturionParryReadyModifier": {
|
|
"Duration": -1,
|
|
"ModifierStacking": "Unique",
|
|
"OnAdded": [
|
|
{
|
|
"$type": "ModifyMaterialPropertyAction",
|
|
"ApplyAllRenderers": true,
|
|
"Tag": "Monster_GraymaneCenturion_MA_Common_OverrideRimGlow_03",
|
|
"Target": "Self",
|
|
"key": "Monster_GraymaneCenturion_MA_Common_OverrideRimGlow_03"
|
|
}
|
|
],
|
|
"OnBeingHit": [
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByAngleRange",
|
|
"AngleMax": 90,
|
|
"AngleMin": -90,
|
|
"CompareTarget": "LocalAvatar"
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"BoolVal": true,
|
|
"ParamName": "Trigger_PressAttackA",
|
|
"ParamType": 1
|
|
},
|
|
{
|
|
"$type": "ModifyAttackDataAction",
|
|
"PropertyKey": "Actor_NoHitEffect",
|
|
"PropertyValue": 1,
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "ApplyLogicMoveAction",
|
|
"RotationConfig": {
|
|
"$type": "ConfigRotationToTarget",
|
|
"Duration": 0.1,
|
|
"ReachTargetStop": true,
|
|
"RotateSpeed": 1,
|
|
"RotateType": "Instant",
|
|
"TargetPosRot": {
|
|
"CoordsOption": "Relative",
|
|
"Offset": {
|
|
"AngleOffset": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"PositionOffset": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
}
|
|
},
|
|
"TargetOption": {
|
|
"$type": "ConfigPosRotReferTarget",
|
|
"BackupOffsetReferTarget": "None",
|
|
"OffsetReferTarget": "Target"
|
|
}
|
|
},
|
|
"TargetUpdateMode": "OnStart"
|
|
},
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByDistance",
|
|
"CompareTarget": "SelfAttackTarget",
|
|
"CompareType": "GreaterEqual",
|
|
"Distance": 6
|
|
}
|
|
],
|
|
"FailureActions": [
|
|
{
|
|
"$type": "RandomOperator",
|
|
"Odds": 0.8,
|
|
"OnFailure": [
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"IntVal": 9,
|
|
"ParamName": "Int_AttackIndex",
|
|
"ParamType": 3,
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"OnSuccess": [
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"IntVal": 8,
|
|
"ParamName": "Int_AttackIndex",
|
|
"ParamType": 3,
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"IntVal": 16,
|
|
"ParamName": "Int_AttackIndex",
|
|
"ParamType": 3,
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"OnRemoved": [
|
|
{
|
|
"$type": "InterruptMaterialPropertyAction",
|
|
"Tag": "Monster_GraymaneCenturion_MA_Common_OverrideRimGlow_03",
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
},
|
|
"GraymaneCenturionParryStartModifier": {
|
|
"Duration": -1,
|
|
"ModifierStacking": "Unique",
|
|
"OnAdded": [
|
|
{
|
|
"$type": "WriteAIParamAction",
|
|
"BoolParamValue": true,
|
|
"ParamName": "Bool_IsInParryMode"
|
|
},
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"BoolVal": false,
|
|
"ParamName": "Trigger_PressAttackA",
|
|
"ParamType": 1
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |