ZenlessData/Data/NotoriousPompey_ParryManager.json

527 lines
14 KiB
JSON
Raw Permalink Normal View History

{
"AbilityMixins": [
{
"$type": "AttachStateWithModifierMixin",
"ConfigList": [
{
"AnimatorStateName": "P2_ParryMode_Start",
"FrameCountLow": 0,
"IsLoop": true,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"ParryStartModifier"
]
},
{
"AnimatorStateName": "P2_ParryMode_Start",
"FrameCountLow": 19,
"IsLoop": true,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"MA1Modifier"
]
},
{
"AnimatorStateName": "P2_ParryMode_Start",
"FrameCountLow": 13,
"IsLoop": true,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"MA2Modifier"
]
},
{
"AnimatorStateName": "P2_ParryMode_Loop",
"FrameCountLow": 0,
"IsLoop": true,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"ParryReadyModifier",
"MAModifier"
]
},
{
"AnimatorStateName": "P2_ParryMode_End",
"FrameCountHigh": 45,
"FrameCountLow": 0,
"IsLoop": true,
"LayerIndex": 0,
"MaxFrameCountHigh": false,
"MaxFrameCountLow": false,
"ModifierNameList": [
"ParryReadyModifier"
]
}
],
"IsSeam": false
},
{
"$type": "ActwithStateFrameMixin",
"ConfigList": [
{
"ActionList": [
{
"$type": "ApplyModifier",
"ModifierName": "BackAttackComboModifier",
"Target": "Self"
}
],
"AnimatorStateName": "P2_ParryMode_BackAttack",
"Frame": 45,
"IsLoop": false,
"LayerIndex": 0
},
{
"ActionList": [
{
"$type": "ApplyModifier",
"ModifierName": "CounterComboModifier",
"Target": "Self"
}
],
"AnimatorStateName": "P2_ParryMode_Counter",
"Frame": 70,
"IsLoop": false,
"LayerIndex": 0
},
{
"ActionList": [
{
"$type": "ApplyModifier",
"ModifierName": "ParryEndComboModifier",
"Target": "Self"
}
],
"AnimatorStateName": "P2_ParryMode_End",
"Frame": 55,
"IsLoop": false,
"LayerIndex": 0
}
]
},
{
"$type": "AttachZoneTagWithModifierMixin",
"ConfigList": [
{
"ModifierNameList": [
"UseParryModifier"
],
"ZoneTag": "PompeyCanParry"
}
]
}
],
"AbilityName": "NotoriousPompey_ParryManager",
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnBeingHit": [
{
"$type": "ApplyModifier",
"ModifierName": "BeHitTimerModifier"
}
]
},
"Modifiers": {
"BackAttackComboModifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "RandomOperator",
"Odds": 0.5,
"OnFailure": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": 12,
"ParamName": "Int_AttackIndex",
"ParamType": 3,
"Target": "Self"
}
],
"OnSuccess": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": 4,
"ParamName": "Int_AttackIndex",
"ParamType": 3,
"Target": "Self"
}
]
}
]
},
"BeHitTimerModifier": {
"Duration": 100,
"ModifierStacking": "Refresh"
},
"CDModifier": {
"Duration": 20,
"ModifierStacking": "Refresh"
},
"CounterComboModifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByDistance",
"CompareTarget": "SelfAttackTarget",
"CompareType": "GreaterEqual",
"Distance": 12
}
],
"FailureActions": [
{
"$type": "RandomOperator",
"Odds": 0.5,
"OnFailure": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": 202,
"ParamName": "Int_AttackIndex",
"ParamType": 3,
"Target": "Self"
}
],
"OnSuccess": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": 201,
"ParamName": "Int_AttackIndex",
"ParamType": 3,
"Target": "Self"
}
]
}
],
"SuccessActions": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": 201,
"ParamName": "Int_AttackIndex",
"ParamType": 3,
"Target": "Self"
}
]
}
]
},
"MA1Modifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "ModifyMaterialPropertyAction",
"ApplyAllRenderers": false,
"RendererList": [
{
"ApplyAllMaterials": true,
"RenderPath": "Monster_NotoriousPompey_Weapon"
}
],
"Tag": "Monster_NotoriousPompey_MA_P2_ParryMode_Start_OverrideRimGlow_01",
"Target": "Self",
"key": "Monster_NotoriousPompey_MA_P2_ParryMode_Start_OverrideRimGlow_01"
}
]
},
"MA2Modifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "ModifyMaterialPropertyAction",
"ApplyAllRenderers": false,
"RendererList": [
{
"ApplyAllMaterials": true,
"RenderPath": "Monster_NotoriousPompey_Weapon"
}
],
"Tag": "Monster_NotoriousPompey_MA_P2_ParryMode_Start_SecondaryEmission_01",
"Target": "Self",
"key": "Monster_NotoriousPompey_MA_P2_ParryMode_Start_SecondaryEmission_01"
}
]
},
"MAModifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "ModifyMaterialPropertyAction",
"ApplyAllRenderers": false,
"RendererList": [
{
"ApplyAllMaterials": true,
"RenderPath": "Monster_NotoriousPompey_Weapon"
}
],
"Tag": "Monster_NotoriousPompey_MA_P2_ParryMode_Loop_OverrideRimGlow_01",
"Target": "Self",
"key": "Monster_NotoriousPompey_MA_P2_ParryMode_Loop_OverrideRimGlow_01"
}
],
"OnRemoved": [
{
"$type": "InterruptMaterialPropertyAction",
"Tag": "Monster_NotoriousPompey_MA_P2_ParryMode_Loop_OverrideRimGlow_01",
"Target": "Self"
}
]
},
"ParryEndComboModifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAngleRange",
"AngleMax": 120,
"AngleMin": -120,
"CompareTarget": "SelfAttackTarget"
}
],
"FailureActions": [
{
"$type": "RandomOperator",
"Odds": 0.5,
"OnFailure": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": 13,
"ParamName": "Int_AttackIndex",
"ParamType": 3,
"Target": "Self"
}
],
"OnSuccess": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": 4,
"ParamName": "Int_AttackIndex",
"ParamType": 3,
"Target": "Self"
}
]
}
],
"SuccessActions": [
{
"$type": "RandomOperator",
"Odds": 0.3,
"OnFailure": [
{
"$type": "RandomOperator",
"Odds": 0.5,
"OnFailure": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": 13,
"ParamName": "Int_AttackIndex",
"ParamType": 3,
"Target": "Self"
}
],
"OnSuccess": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": 41,
"ParamName": "Int_AttackIndex",
"ParamType": 3,
"Target": "Self"
}
]
}
],
"OnSuccess": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": 9,
"ParamName": "Int_AttackIndex",
"ParamType": 3,
"Target": "Self"
}
]
}
]
}
]
},
"ParryReadyModifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnBeingHit": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAngleRange",
"AngleMax": 90,
"AngleMin": -90,
"CompareTarget": "SelfAttackTarget"
}
],
"SuccessActions": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Trigger_AttackLanded",
"ParamType": 1
},
{
"$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"
}
]
}
],
"OnRemoved": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": false,
"ParamName": "Bool_isPompeyParry",
"ParamType": 2
}
]
},
"ParryStartModifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "WriteAIParamAction",
"BoolParamValue": true,
"ParamName": "Bool_IsInParryMode"
},
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": false,
"ParamName": "Trigger_PressAttackA",
"ParamType": 1
},
{
"$type": "ApplyModifier",
"ModifierName": "CDModifier",
"Target": "Self"
}
]
},
"UseParryModifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Bool_isPompeyParry",
"ParamType": 2,
"Predicates": [
{
"$type": "ByAnimCtrlerParam",
"BoolVal": false,
"CompareType": "Equal",
"ParamName": "Bool_P2_EvadeCombo",
"ParamType": 2
},
{
"$type": "ByAnimCtrlerParam",
"BoolVal": false,
"CompareType": "Equal",
"ParamName": "Bool_isComboAttack",
"ParamType": 2
},
{
"$type": "ByHasModifier",
"ModifierNameList": [
"CDModifier"
],
"OperatorType": "Not"
}
]
},
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": false,
"ParamName": "Trigger_PressAttackA",
"ParamType": 1,
"Predicates": [
{
"$type": "ByAnimCtrlerParam",
"BoolVal": false,
"CompareType": "Equal",
"ParamName": "Bool_P2_EvadeCombo",
"ParamType": 2
},
{
"$type": "ByAnimCtrlerParam",
"BoolVal": false,
"CompareType": "Equal",
"ParamName": "Bool_isComboAttack",
"ParamType": 2
},
{
"$type": "ByHasModifier",
"ModifierNameList": [
"CDModifier"
],
"OperatorType": "Not"
}
]
}
]
}
}
}