81 lines
1.9 KiB
JSON
81 lines
1.9 KiB
JSON
{
|
|
"AbilityName": "Lisa_AutoBattle_5040108",
|
|
"AbilityStacking": "Unique",
|
|
"OnAbilityTrigger": [
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByOr",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByAnimatorStateNormalizedTime",
|
|
"AnimatorStateName": "Attack_Normal_03",
|
|
"FrameCountLow": 0,
|
|
"MaxFrameCountHigh": true
|
|
},
|
|
{
|
|
"$type": "ByAnimatorStateNormalizedTime",
|
|
"AnimatorStateName": "Attack_Normal_04",
|
|
"FrameCountLow": 0,
|
|
"MaxFrameCountHigh": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"FailureActions": [
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"ParamName": "Trigger_PressAttackA",
|
|
"ParamType": 1
|
|
},
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"BoolVal": false,
|
|
"ParamName": "Bool_IsMoving",
|
|
"ParamType": 2
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"ParamName": "Trigger_PressAttackB",
|
|
"ParamType": 1
|
|
},
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"BoolVal": true,
|
|
"ParamName": "Bool_IsMoving",
|
|
"ParamType": 2
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"OnAdded": [
|
|
{
|
|
"$type": "ApplyAbilityAction",
|
|
"AbilityName": "Player_AutoBattle"
|
|
},
|
|
{
|
|
"$type": "SetTargetAbilitySpecialAction",
|
|
"Params": [
|
|
{
|
|
"AbilityName": "Player_AutoBattle",
|
|
"AbilitySpecials": [
|
|
{
|
|
"ModifyFunction": "Replace",
|
|
"Param": "Lisa_AutoBattle_5040108",
|
|
"ParamName": "AS_AbilityName",
|
|
"ParamType": "String"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "WriteAIParamAction",
|
|
"FloatParamValue": 8,
|
|
"ParamName": "AttackDistance"
|
|
}
|
|
]
|
|
} |