152 lines
4.2 KiB
JSON
152 lines
4.2 KiB
JSON
{
|
|
"AbilityName": "Palicus_ExAttack_Melee_LogicMove",
|
|
"AbilitySpecials": {
|
|
"AS_FlipFlopSign": {
|
|
"Value": 0,
|
|
"ValueType": "Integer"
|
|
}
|
|
},
|
|
"AbilityStacking": "Unique",
|
|
"OnAbilityStart": [
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByAbilitySpecial",
|
|
"CompareType": "Equal",
|
|
"Param": 0,
|
|
"ParamName": "AS_FlipFlopSign",
|
|
"ParamType": "Integer"
|
|
}
|
|
],
|
|
"FailureActions": [
|
|
{
|
|
"$type": "ApplyLogicMoveAction",
|
|
"MovementConfig": {
|
|
"$type": "ConfigMovementTarget",
|
|
"Duration": 0.3,
|
|
"Gravity": 0,
|
|
"HitNormalRatio": 1,
|
|
"HitTangentialRatio": 1,
|
|
"MoveType": {
|
|
"$type": "MovementTypeInstant",
|
|
"NeedRayCastCheck": true,
|
|
"NeedRayCastGround": true
|
|
},
|
|
"ReachTargetStop": true,
|
|
"TargetPosRot": {
|
|
"CoordsOption": "Camera",
|
|
"Offset": {
|
|
"PositionOffset": {
|
|
"x": -3,
|
|
"y": 0,
|
|
"z": 1
|
|
}
|
|
},
|
|
"TargetOption": {
|
|
"$type": "ConfigPosRotReferTarget",
|
|
"OffsetReferTarget": "LocalAvatar"
|
|
}
|
|
},
|
|
"TargetUpdateMode": "Always",
|
|
"TimesUpMoveOption": "Stop"
|
|
},
|
|
"RotationConfig": {
|
|
"$type": "ConfigRotationToTarget",
|
|
"Duration": 0.1,
|
|
"ReachTargetStop": true,
|
|
"RotateSpeed": 1,
|
|
"RotateType": "Instant",
|
|
"TargetPosRot": {
|
|
"CoordsOption": "Relative",
|
|
"Offset": {
|
|
"PositionOffset": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 1
|
|
}
|
|
},
|
|
"TargetOption": {
|
|
"$type": "ConfigPosRotReferTarget",
|
|
"OffsetReferTarget": "LocalAvatar"
|
|
}
|
|
},
|
|
"TargetUpdateMode": "Always"
|
|
},
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "SetAbilitySpecialAction",
|
|
"ModifyFunction": "Replace",
|
|
"Param": 0,
|
|
"ParamName": "AS_FlipFlopSign",
|
|
"ParamType": "Integer"
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "ApplyLogicMoveAction",
|
|
"MovementConfig": {
|
|
"$type": "ConfigMovementTarget",
|
|
"Duration": 0.3,
|
|
"Gravity": 0,
|
|
"HitNormalRatio": 1,
|
|
"HitTangentialRatio": 1,
|
|
"MoveType": {
|
|
"$type": "MovementTypeInstant",
|
|
"NeedRayCastCheck": true,
|
|
"NeedRayCastGround": true
|
|
},
|
|
"ReachTargetStop": true,
|
|
"TargetPosRot": {
|
|
"CoordsOption": "Camera",
|
|
"Offset": {
|
|
"PositionOffset": {
|
|
"x": 3,
|
|
"y": 0,
|
|
"z": 1
|
|
}
|
|
},
|
|
"TargetOption": {
|
|
"$type": "ConfigPosRotReferTarget",
|
|
"OffsetReferTarget": "LocalAvatar"
|
|
}
|
|
},
|
|
"TargetUpdateMode": "Always",
|
|
"TimesUpMoveOption": "Stop"
|
|
},
|
|
"RotationConfig": {
|
|
"$type": "ConfigRotationToTarget",
|
|
"Duration": 0.1,
|
|
"ReachTargetStop": true,
|
|
"RotateSpeed": 1,
|
|
"RotateType": "Instant",
|
|
"TargetPosRot": {
|
|
"CoordsOption": "Relative",
|
|
"Offset": {
|
|
"PositionOffset": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 1
|
|
}
|
|
},
|
|
"TargetOption": {
|
|
"$type": "ConfigPosRotReferTarget",
|
|
"OffsetReferTarget": "LocalAvatar"
|
|
}
|
|
},
|
|
"TargetUpdateMode": "Always"
|
|
},
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "SetAbilitySpecialAction",
|
|
"ModifyFunction": "Replace",
|
|
"Param": 1,
|
|
"ParamName": "AS_FlipFlopSign",
|
|
"ParamType": "Integer"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |