Files
turnbasedgamedata/Config/Level/Props/Chap04/InitLevelGraph_Prop_Chap04_MPRecoverBox_01.json
2025-02-24 07:50:34 -03:00

200 lines
5.5 KiB
JSON

{
"OnInitSequece": [],
"OnStartSequece": [
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitCustomString",
"CustomString": {
"Value": "OnFlyToPlayerFinish"
},
"WaitOwnerOnly": true
},
{
"$type": "RPG.GameCore.RemoveEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvProp",
"TargetIsOwner": true,
"MultiGroupFetch": []
},
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/Interactive Object/Eff_Chap02_MAZ_Prop_MPRecover_01_Trail.prefab",
"Flags": []
},
{
"$type": "RPG.GameCore.TriggerEffectList",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvLocalPlayer"
},
"EffectList": [
{
"EffectPath": "Effects/Eff_Prefab/Eff_Common/Eff_Common_MAZ_RecoverMP.prefab",
"AttachPoint": "Origin"
}
]
},
{
"$type": "RPG.GameCore.AdventureResumeTeamDataRefresh"
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefGraphDynamicFloat",
"Name": "RotationType"
},
"Cases": [
{
"$type": "RPG.GameCore.NumberCaseContainer",
"Case": {
"FixedValue": {
"Value": 0
}
},
"OnSuccess": [
{
"$type": "RPG.GameCore.SetupEffectTransformParams",
"FloatingFrequency": {
"FixedValue": {
"Value": 0
}
},
"FloatingDistance": {
"FixedValue": {
"Value": 0
}
},
"OverrideRotating": true,
"RotatingFrequency": {
"FixedValue": {
"Value": 0
}
},
"RotatingSpeed": {
"FixedValue": {
"Value": 0
}
}
}
]
},
{
"$type": "RPG.GameCore.NumberCaseContainer",
"Case": {
"FixedValue": {
"Value": 1
}
},
"OnSuccess": [
{
"$type": "RPG.GameCore.SetupEffectTransformParams",
"FloatingFrequency": {
"FixedValue": {
"Value": 0
}
},
"FloatingDistance": {
"FixedValue": {
"Value": 0
}
},
"OverrideRotating": true,
"RotatingFrequency": {
"FixedValue": {
"Value": 0.1
}
},
"RotatingSpeed": {
"FixedValue": {
"Value": 5
}
}
}
]
},
{
"$type": "RPG.GameCore.NumberCaseContainer",
"Case": {
"FixedValue": {
"Value": 2
}
},
"OnSuccess": [
{
"$type": "RPG.GameCore.SetupEffectTransformParams",
"FloatingFrequency": {
"FixedValue": {
"Value": 0
}
},
"FloatingDistance": {
"FixedValue": {
"Value": 0
}
},
"OverrideRotating": true,
"RotatingFrequency": {
"FixedValue": {
"Value": 100
}
},
"RotatingSpeed": {
"FixedValue": {
"Value": 360
}
}
}
]
},
{
"$type": "RPG.GameCore.NumberCaseContainer",
"Case": {
"FixedValue": {
"Value": 3
}
},
"OnSuccess": [
{
"$type": "RPG.GameCore.SetupEffectTransformParams",
"OverrideFloating": true,
"FloatingFrequency": {
"FixedValue": {
"Value": 0
}
},
"FloatingDistance": {
"FixedValue": {
"Value": 0
}
},
"OverrideRotating": true,
"RotatingFrequency": {
"FixedValue": {
"Value": 0
}
},
"RotatingSpeed": {
"FixedValue": {
"Value": 0
}
}
}
]
}
]
}
]
}
],
"ValueSource": {
"Values": [
{
"$type": "RPG.GameCore.SharedInt",
"Key": "RotationType"
}
]
},
"Type": "Entity"
}