1
0
ZenlessData/Data/_unsorted/Vessel_CounterControl.json
2025-12-30 00:30:43 +01:00

197 lines
4.7 KiB
JSON

{
"AbilityMixins": [
{
"$type": "AttachStateWithModifierMixin",
"ConfigList": [
{
"AnimatorStateName": "Attack_01_01",
"FrameCountLow": 0,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"CounterListener_Modifier"
]
},
{
"AnimatorStateName": "Attack_01_02",
"FrameCountLow": 100,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": false,
"MaxFrameCountLow": false,
"ModifierNameList": [
"CounterListener_Modifier"
]
}
],
"IsSeam": false
}
],
"AbilityName": "Vessel_CounterControl",
"AbilitySpecials": {
"AS_CounterTimes": {
"Value": 0,
"ValueType": "Integer"
},
"AS_VulnerableTime": {
"Value": 0,
"ValueType": "Float"
}
},
"AbilityStacking": "Unique",
"Modifiers": {
"CounterListener_Modifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 0,
"ParamName": "AS_CounterTimes",
"ParamType": "Integer"
}
],
"OnBeingHitPre": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"Vessel_CouterDone"
],
"Target": "Other"
}
],
"Target": "Other"
},
{
"$type": "ByOr",
"Predicates": [
{
"$type": "ByAnimTagList",
"TagList": [
"AttackNormal",
"Counter"
]
},
{
"$type": "ByAnimTagList",
"TagList": [
"ParryAid"
]
}
],
"Target": "Other"
}
],
"SuccessActions": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Add",
"Param": 1,
"ParamName": "AS_CounterTimes",
"ParamType": "Integer"
},
{
"$type": "ApplyModifier",
"ModifierName": "Vessel_CounterRecord_Modifier",
"Target": "Other"
}
]
}
],
"OnRemoved": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAbilitySpecial",
"CompareType": "NotEqual",
"Param": 0,
"ParamName": "AS_CounterTimes",
"ParamType": "Integer",
"Target": "Self"
}
],
"SuccessActions": [
{
"$type": "ApplyModifier",
"ModifierName": "Vessel_Vulnerable_Modifier",
"Target": "Self"
}
]
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 0,
"ParamName": "AS_CounterTimes",
"ParamType": "Integer"
}
]
},
"Vessel_CounterRecord_Modifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"Vessel_CouterDone"
],
"IsAdd": true,
"Target": "Self"
}
],
"OnRemoved": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"Vessel_CouterDone"
],
"IsAdd": false,
"Target": "Self"
}
],
"OnSkillStart": [
{
"$type": "RemoveModifier",
"ModifierName": "Vessel_CounterRecord_Modifier",
"Target": "Self"
}
]
},
"Vessel_Vulnerable_Modifier": {
"Duration": "%AS_CounterTimes",
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "SetRBLOffsetAction",
"RBLOffset": -4,
"Tag": "Vessel_Vulnerable",
"Target": "Self"
}
],
"OnRemoved": [
{
"$type": "UnsetRBLOffsetAction",
"Tag": "Vessel_Vulnerable"
}
]
}
},
"OnAbilityTrigger": [
{
"$type": "ApplyModifier",
"ModifierName": "Counter1_Modifier",
"Target": "Self"
}
]
}