1
0
ZenlessData/Data/TestGraph_DoLineTrace.json
2025-01-21 21:25:26 -03:00

291 lines
5.6 KiB
JSON

{
"AbilityName": "TestGraph_DoLineTrace",
"AbilityStacking": "Unique",
"EventGraph": {
"EditorOnlyData": {
"Event": {
"OnAbilityTrigger": {
"Position": {
"x": 457,
"y": 381
}
}
},
"Graph": {
"Pan": {
"x": -893,
"y": -289
},
"Zoom": 2
},
"Group": [
],
"Node": [
{
"Position": {
"x": 820,
"y": 380
}
},
{
"Position": {
"x": 1950,
"y": 400
}
},
{
"Position": {
"x": 1110,
"y": 410
}
},
{
"Position": {
"x": 1340,
"y": 400
}
},
{
"Position": {
"x": 1580,
"y": 540
}
},
{
"Position": {
"x": 2360,
"y": 400
}
},
{
"Position": {
"x": 2690,
"y": 400
}
},
{
"Position": {
"x": 2920,
"y": 400
}
},
{
"Position": {
"x": 3220,
"y": 400
}
}
]
},
"EventMap": {
"OnAbilityTrigger": {
"$type": "ConfigAbilityGraphEvent",
"EventNodeBind": 0,
"ParametersBind": [
]
}
},
"NodeList": [
{
"$type": "TimerNode",
"Complete": -1,
"Count": {
"DefaultValue": 120
},
"CurCount": {
"$type": "ConfigOutputValue"
},
"DefaultOutBind": -1,
"IntervalTime": {
"DefaultValue": 1
},
"OnInterval": 2
},
{
"$type": "DoLineTrace",
"CanHitDodgeDummy": {
},
"CanHitGround": {
},
"CanHitOther": {
},
"CanHitWall": {
},
"DefaultOutBind": 5,
"EndPos": {
"BindId": 1001
},
"Entity": {
"$type": "ConfigOutputValue"
},
"HitLayer": "AllCollider",
"HitPoint": {
"$type": "ConfigOutputValue"
},
"Normal": {
"$type": "ConfigOutputValue"
},
"PreActionBind": [
4
],
"StartPos": {
"BindId": 1002
},
"Sucess": {
"$type": "ConfigOutputValue",
"BindId": [
1005
]
}
},
{
"$type": "GetEntityPosRot",
"AttachPoint": {
},
"DefaultOutBind": 3,
"Position": {
"$type": "ConfigOutputValue",
"BindId": [
1002,
1003
]
},
"Rotation": {
"$type": "ConfigOutputValue"
},
"Target": {
"$type": "ConfigInputValue",
"BindId": 0
}
},
{
"$type": "GetEntityDirection",
"DefaultOutBind": 1,
"Forward": {
"$type": "ConfigOutputValue",
"BindId": [
1000
]
},
"Right": {
"$type": "ConfigOutputValue"
},
"Target": {
"$type": "ConfigInputValue",
"BindId": 0
},
"Up": {
"$type": "ConfigOutputValue"
}
},
{
"$type": "VectorMulNum",
"DefaultOutBind": -1,
"Num": {
"DefaultValue": 100
},
"Result": {
"$type": "ConfigOutputValue",
"BindId": [
1001,
1004
]
},
"Vector": {
"BindId": 1000
}
},
{
"$type": "CreateEffectNode",
"DefaultOutBind": 6,
"EffectID": {
"$type": "ConfigOutputValue"
},
"Key": {
"DefaultValue": "Eff_Avatar_LevelUp_01"
},
"Position": {
"BindId": 1003
},
"Rotation": {
"$type": "ConfigInputValue",
"BindId": 0
},
"Scale": {
"DefaultValue": {
"x": 1,
"y": 1,
"z": 1
}
}
},
{
"$type": "CreateEffectNode",
"DefaultOutBind": 7,
"EffectID": {
"$type": "ConfigOutputValue"
},
"Key": {
"DefaultValue": "Eff_Avatar_LevelUp_01"
},
"Position": {
"BindId": 1004
},
"PreActionBind": [
4
],
"Rotation": {
"$type": "ConfigInputValue",
"BindId": 0
},
"Scale": {
"DefaultValue": {
"x": 1,
"y": 1,
"z": 1
}
}
},
{
"$type": "BranchNode",
"Condition": {
"BindId": 1005
},
"DefaultOutBind": -1,
"FalseBind": -1,
"TrueBind": 8
},
{
"$type": "CreateEffectNode",
"DefaultOutBind": -1,
"EffectID": {
"$type": "ConfigOutputValue"
},
"Key": {
"DefaultValue": "Eff_Avatar_LevelUp_02"
},
"Position": {
"DefaultValue": {
"x": 1,
"y": 1,
"z": 1
}
},
"Rotation": {
"$type": "ConfigInputValue",
"BindId": 0
},
"Scale": {
}
}
],
"VariableRegisterList": [
]
},
"OnAbilityTrigger": [
{
"$type": "CallGraphEvent",
"EventName": "OnAbilityTrigger"
}
]
}