ZenlessData/Data/Monster_Common_Teleport.json
2024-09-23 09:11:37 -03:00

216 lines
5.9 KiB
JSON

{
"AbilityName": "Monster_Common_Teleport",
"AbilityStacking": "Unique",
"Modifiers": {
"RandomAreaTeleportDelayModifier": {
"Duration": 0.3,
"ModifierStacking": "Unique",
"OnRemoved": [
{
"$type": "InterruptDitherFadeAction",
"Tag": "Monster_Teleport_Dither_Fade"
},
{
"$type": "ApplyLogicMoveAction",
"MovementConfig": {
"$type": "ConfigMovementTarget",
"DefaultOffset": {
"x": 0,
"y": 0,
"z": 5
},
"Duration": 0.1,
"Gravity": 0,
"HitNormalRatio": 1,
"HitTangentialRatio": 1,
"MoveType": {
"$type": "MovementTypeInstant",
"CorrectionReferTarget": "LocalAvatar",
"NeedRayCastCheck": false,
"NeedRayCastGround": true,
"NeedTargetPositionCorrection": true
},
"ReachTargetStop": true,
"TargetPosRot": {
"CoordsOption": "ReferTarget",
"NeedRaycastGround": true,
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"IsClampOffsetDistance": false,
"PositionOffset": {
"x": 1,
"y": 0,
"z": 0.5
},
"RandomPositionRange": {
"x": 2,
"y": 0,
"z": 2
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"OffsetReferTarget": "Camera"
}
},
"TargetUpdateMode": "Always",
"TimesUpMoveOption": "Stop"
},
"RotationConfig": {
"$type": "ConfigRotationToTarget",
"Duration": 0.1,
"ReachTargetStop": true,
"RotateSpeed": 1,
"RotateType": "Instant",
"TargetPosRot": {
"CoordsOption": "Camera",
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"PositionOffset": {
"x": 0,
"y": 0,
"z": 9999
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"OffsetReferTarget": "LocalAvatar"
}
},
"TargetUpdateMode": "Always"
},
"Target": "Self"
}
]
},
"TeleportDelayModifier": {
"Duration": 0.3,
"ModifierStacking": "Unique",
"OnRemoved": [
{
"$type": "InterruptDitherFadeAction",
"Tag": "Monster_Teleport_Dither_Fade"
},
{
"$type": "ApplyLogicMoveAction",
"MovementConfig": {
"$type": "ConfigMovementTarget",
"DefaultOffset": {
"x": 0,
"y": 0,
"z": 5
},
"Duration": 0.1,
"Gravity": 0,
"HitNormalRatio": 1,
"HitTangentialRatio": 1,
"MoveType": {
"$type": "MovementTypeInstant",
"CorrectionReferTarget": "LocalAvatar",
"NeedRayCastCheck": false,
"NeedRayCastGround": true,
"NeedTargetPositionCorrection": true
},
"ReachTargetStop": true,
"TargetPosRot": {
"CoordsOption": "ReferTarget",
"NeedRaycastGround": true,
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"IsClampOffsetDistance": false,
"PositionOffset": {
"x": 1,
"y": 0,
"z": 0.5
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"OffsetReferTarget": "Camera"
}
},
"TargetUpdateMode": "Always",
"TimesUpMoveOption": "Stop"
},
"RotationConfig": {
"$type": "ConfigRotationToTarget",
"Duration": 0.1,
"ReachTargetStop": true,
"RotateSpeed": 1,
"RotateType": "Instant",
"TargetPosRot": {
"CoordsOption": "Camera",
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"PositionOffset": {
"x": 0,
"y": 0,
"z": 9999
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"OffsetReferTarget": "LocalAvatar"
}
},
"TargetUpdateMode": "Always"
},
"Target": "Self"
}
]
}
},
"OnAbilityStart": [
{
"$type": "DitherFadeAction",
"DitherFadeKey": "Monster_Teleport_Dither_Fade",
"Tag": "Monster_Teleport_Dither_Fade",
"Target": "Self"
},
{
"$type": "ApplyModifier",
"ModifierName": "TeleportDelayModifier",
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByTags",
"TagList": [
"AllyFollower"
]
}
]
}
]
},
{
"$type": "ApplyModifier",
"ModifierName": "RandomAreaTeleportDelayModifier",
"Predicates": [
{
"$type": "ByTags",
"TagList": [
"AllyFollower"
]
}
]
}
]
}