ZenlessData/Data/Monster_Common_Teleport.json
2024-08-13 22:59:23 -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.0,
"y": 0.0,
"z": 5.0
},
"Duration": 0.1,
"Gravity": 0.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.0,
"y": 0.0,
"z": 0.0
},
"IsClampOffsetDistance": false,
"PositionOffset": {
"x": 1.0,
"y": 0.0,
"z": 0.5
},
"RandomPositionRange": {
"x": 2.0,
"y": 0.0,
"z": 2.0
}
},
"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.0,
"y": 0.0,
"z": 0.0
},
"PositionOffset": {
"x": 0.0,
"y": 0.0,
"z": 9999.0
}
},
"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.0,
"y": 0.0,
"z": 5.0
},
"Duration": 0.1,
"Gravity": 0.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.0,
"y": 0.0,
"z": 0.0
},
"IsClampOffsetDistance": false,
"PositionOffset": {
"x": 1.0,
"y": 0.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.0,
"y": 0.0,
"z": 0.0
},
"PositionOffset": {
"x": 0.0,
"y": 0.0,
"z": 9999.0
}
},
"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"
]
}
]
}
]
}