82 lines
1.8 KiB
JSON
82 lines
1.8 KiB
JSON
{
|
|
"AbilityName": "Player_AutoBattle",
|
|
"AbilitySpecials": {
|
|
"AS_AbilityName": {
|
|
"Value": "",
|
|
"ValueType": "String"
|
|
}
|
|
},
|
|
"AbilityStacking": "Unique",
|
|
"OnAbilityTrigger": [
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByAbilitySpecial",
|
|
"CompareType": "Equal",
|
|
"Param": "",
|
|
"ParamName": "AS_AbilityName",
|
|
"ParamType": "String"
|
|
}
|
|
],
|
|
"FailureActions": [
|
|
{
|
|
"$type": "TriggerAbilityAction",
|
|
"AbilityName": "%AS_AbilityName"
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByPlayerPropertyValue",
|
|
"CompareType": "GreaterEqual",
|
|
"IsUsePercent": false,
|
|
"Numerator": "CurSP",
|
|
"Val1": 80
|
|
}
|
|
],
|
|
"FailureActions": [
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"ParamName": "Trigger_PressAttackA",
|
|
"ParamType": 1
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"ParamName": "Trigger_PressAttackB",
|
|
"ParamType": 1
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"OnAdded": [
|
|
{
|
|
"$type": "TriggerBehaviorTreeAction",
|
|
"Enable": true
|
|
},
|
|
{
|
|
"$type": "PushMuteGamepadRumble",
|
|
"Tag": "AutoBattle_MuteGamepadRumble"
|
|
},
|
|
{
|
|
"$type": "PushMuteCameraShake",
|
|
"Tag": "AutoBattle_MuteCameraShake"
|
|
}
|
|
],
|
|
"OnRemoved": [
|
|
{
|
|
"$type": "PopMuteGamepadRumble",
|
|
"Tag": "AutoBattle_MuteGamepadRumble"
|
|
},
|
|
{
|
|
"$type": "PopMuteCameraShake",
|
|
"Tag": "AutoBattle_MuteCameraShake"
|
|
}
|
|
]
|
|
} |