1
0
ZenlessData/Data/_unsorted/Trigger_AutoBattle.json
2025-07-16 01:54:02 +02:00

112 lines
2.5 KiB
JSON

{
"AbilityMixins": [
{
"$type": "LockLifePropertyMixin",
"IsUnlockStun": true,
"PerformBeHitEffect": true,
"RatioLockList": [
{
"LockType": "Total",
"LockValue": 1
}
]
}
],
"AbilityName": "Trigger_AutoBattle",
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnAdded": [
{
"$type": "ApplyAbilityAction",
"AbilityName": "Player_AutoBattle",
"IsAutoTrigger": false
},
{
"$type": "ApplyAbilityAction",
"AbilityName": "Player_AutoBattle",
"IsAutoTrigger": false
},
{
"$type": "SetTargetAbilitySpecialAction",
"Params": [
{
"AbilityName": "Player_AutoBattle",
"AbilitySpecials": [
{
"ModifyFunction": "Replace",
"Param": "Trigger_AutoBattle",
"ParamName": "AS_AbilityName",
"ParamType": "String"
}
]
}
]
}
]
},
"Modifiers": {
"HoldCDModifier": {
"Duration": 12,
"ModifierStacking": "Unique"
},
"HoldModifier": {
"Duration": 2.5,
"ModifierStacking": "Replace",
"OnAdded": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Bool_HoldAttackA",
"ParamType": 2
},
{
"$type": "ApplyModifier",
"ModifierName": "HoldCDModifier",
"Target": "Self"
}
],
"OnRemoved": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": false,
"ParamName": "Bool_HoldAttackA",
"ParamType": 2
}
]
}
},
"OnAbilityTrigger": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByDistance",
"CompareTarget": "SelfAttackTarget",
"CompareType": "GreaterEqual",
"Distance": 10,
"Target": "Self"
}
],
"FailureActions": [
{
"$type": "SetAnimCtrlerParamAction",
"ParamName": "Trigger_PressAttackA",
"ParamType": 1
}
],
"SuccessActions": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": false,
"ParamName": "Trigger_PressAttackA",
"ParamType": 1
},
{
"$type": "SetAnimCtrlerParamAction",
"ParamName": "Trigger_PressAttackB",
"ParamType": 1
}
]
}
]
}