92 lines
2.3 KiB
JSON
92 lines
2.3 KiB
JSON
{
|
|
"AbilityName": "Alice_ExSpecial_Savepoint",
|
|
"AbilityStacking": "Unique",
|
|
"OnAbilityTrigger": [
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByHasSelfAttackTarget",
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "ByDistance",
|
|
"CompareTarget": "LastSelfAttackTarget",
|
|
"CompareType": "Less",
|
|
"Distance": 15,
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "ByDistance",
|
|
"CompareTarget": "LastSelfAttackTarget",
|
|
"CompareType": "GreaterEqual",
|
|
"Distance": 5,
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"FailureActions": [
|
|
{
|
|
"$type": "CreateSavePointAction",
|
|
"PointName": "Alice_ExSpecial_Savepoint",
|
|
"TargetPosRot": {
|
|
"CoordsOption": "Self",
|
|
"Offset": {
|
|
"AngleOffset": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"PositionOffset": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 15
|
|
}
|
|
},
|
|
"TargetOption": {
|
|
"$type": "ConfigPosRotReferTarget",
|
|
"BackupOffsetReferTarget": "Self",
|
|
"OffsetReferTarget": "Self"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "CreateSavePointAction",
|
|
"PointName": "Alice_ExSpecial_Savepoint",
|
|
"TargetPosRot": {
|
|
"CoordsOption": "ReferTarget",
|
|
"Offset": {
|
|
"AngleOffset": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"IsUseRotationXZ": true,
|
|
"IsUseRotationY": true,
|
|
"PositionOffset": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"RandomAngleRange": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"RandomPositionRange": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
}
|
|
},
|
|
"TargetOption": {
|
|
"$type": "ConfigPosRotReferTarget",
|
|
"OffsetReferTarget": "SelfAttackTarget"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |