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

396 lines
11 KiB
JSON

{
"OnInitSequece": [],
"OnStartSequece": [
{
"TaskList": [
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefPropState"
},
"Cases": [
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Open",
"OnSuccess": [
{
"$type": "RPG.GameCore.PropSetVisibility",
"SpecifiedRelativePaths": [],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"OnSuccess": []
}
]
}
]
},
{
"IsLoop": true,
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEvent",
"EventName": {
"Value": "SwitchHand_GetCoin"
},
"OnEvent": [
{
"$type": "RPG.GameCore.PropCurveMoveStop",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"Duration": {
"FixedValue": {
"Value": 0
}
}
},
{
"$type": "RPG.GameCore.SwitchHandCoinFlyTo",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvLocalPlayer"
},
"TargetPoint": {
"Value": "Root"
},
"Duration": 0.25
},
{
"$type": "RPG.GameCore.TriggerEntityEvent",
"EventName": {
"Value": "SwitchHand_ChangeCoinState"
},
"InstanceID": {
"FixedValue": {
"Value": 0
}
}
}
],
"InstanceID": {
"FixedValue": {
"Value": 0
}
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEvent",
"EventName": {
"Value": "SwitchHand_ChangeCoinState"
},
"OnEvent": [
{
"$type": "RPG.GameCore.PropReqInteract",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"InteractID": {
"FixedValue": {
"Value": 1010
}
}
}
],
"InstanceID": {
"FixedValue": {
"Value": 0
}
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEventV2",
"EventName": {
"Value": "SwitchHand_ CoinStartFly"
},
"OnEvent": [
{
"$type": "RPG.GameCore.PropCurveSetStartPoint",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"TargetCurve": {
"Custom": true,
"Key": "CurveRef",
"Value": {
"$type": "RPG.GameCore.GameLevelObjectRefConfig"
}
},
"CurvePointIndex": {
"Custom": true,
"Key": "StartPointIndex"
},
"Duration": {
"FixedValue": {
"Value": 0
}
},
"UseCurveRotationYaw": false,
"ForceTick": true
},
{
"$type": "RPG.GameCore.PropCurveMoveStart",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"MoveMode": {
"$type": "RPG.GameCore.PropCurveMoveStartMode_Circle",
"Positive": true
},
"MoveType": "Speed",
"MoveTypeValue": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQAR",
"FixedValues": [],
"DynamicHashes": [
-315470624
]
}
},
"InterpHalfTime": {
"FixedValue": {
"Value": 0
}
},
"CurveRotationOffset": {
"X": 270
},
"UseCurveRotationYaw": false
},
{
"$type": "RPG.GameCore.AdvSetupCustomTaskTrigger",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"TriggerName": "InteractTrigger",
"OnEnter": [
{
"$type": "RPG.GameCore.TriggerEntityEvent",
"EventName": {
"Value": "SwitchHand_GetCoin"
},
"InstanceID": {
"FixedValue": {
"Value": 0
}
}
}
],
"DisableAfterTriggered": true,
"IsOverrideValidGuestConfig": true,
"OverridedValidGuestConfig": {
"Teammember": false,
"FakePlayer": true
}
},
{
"$type": "RPG.GameCore.TriggerEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Flags": [],
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/InteractiveProp/Eff_Chap04_Prop_HandCoin_01_CoinIdle_Lod0.prefab",
"SubObjectModifyDataList": [],
"SyncPropState": true
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEventV2",
"EventName": {
"Value": "SwitchHand_ CoinToPosition"
},
"OnEvent": [
{
"$type": "RPG.GameCore.PropMoveToV2",
"MoveToTarget": {
"$type": "RPG.GameCore.PropMoveToV2TargetAnchor",
"DynamicAnchor": {
"Custom": true,
"Key": "FlyStartAnchor"
}
},
"WaitFinish": true,
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Duration": {
"FixedValue": {
"Value": 2
}
}
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"FixedValue": {
"Value": 2
}
}
},
{
"$type": "RPG.GameCore.TriggerEntityEventV2",
"EventName": {
"Value": "SwitchHand_ CoinStartFly"
},
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"IsLoop": true,
"TaskList": [
{
"$type": "RPG.GameCore.PropStateChangeServerListenerConfig"
}
]
},
{
"IsLoop": true,
"TaskList": [
{
"$type": "RPG.GameCore.WaitPropStateChange",
"ToState": "Open",
"OnChange": [
{
"$type": "RPG.GameCore.TriggerEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Flags": [],
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/InteractiveProp/Eff_Chap04_Prop_HandCoin_01_GetCoin_Lod0.prefab",
"AttachPoint": "Root",
"SubObjectModifyDataList": [],
"SyncPropState": true
},
{
"$type": "RPG.GameCore.AnimSetParameter",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ParameterName": "TriggerGet",
"ParameterType": "Trigger"
},
{
"$type": "RPG.GameCore.TriggerEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Flags": [],
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/InteractiveProp/Eff_Chap04_Prop_HandCoin_01_GetCoin_Lod0.prefab",
"AttachPoint": "Root",
"SubObjectModifyDataList": [],
"SyncPropState": true
},
{
"$type": "RPG.GameCore.RemoveEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/InteractiveProp/Eff_Chap04_Prop_HandCoin_01_CoinIdle_Lod0.prefab",
"Flags": []
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"FixedValue": {
"Value": 1
}
}
},
{
"$type": "RPG.GameCore.PropSetVisibility",
"SpecifiedRelativePaths": [],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
}
]
}
],
"ValueSource": {
"Values": [
{
"$type": "RPG.GameCore.SharedString",
"Value": "FSV_GetCoinNum",
"Key": "FSV_GetCoinNum"
},
{
"$type": "RPG.GameCore.SharedString",
"Value": "FCV_isRocketPunch",
"Key": "FCV_isRocketPunch"
},
{
"$type": "RPG.GameCore.SharedJsonConfig",
"Value": {
"$type": "RPG.GameCore.GameLevelObjectRefConfig"
},
"Key": "CurveRef"
},
{
"$type": "RPG.GameCore.SharedFloat",
"Value": 5,
"Key": "FlyingSpeed"
},
{
"$type": "RPG.GameCore.SharedString",
"Value": "0",
"Key": "StartPointIndex"
},
{
"$type": "RPG.GameCore.SharedString",
"Value": "1",
"Key": "EndPointIndex"
},
{
"$type": "RPG.GameCore.SharedString",
"Key": "FlyStartAnchor"
}
]
},
"Type": "Entity",
"EntityEventList": [
{
"Name": "SwitchHand_GetCoin"
},
{
"Name": "SwitchHand_ChangeCoinState"
},
{
"Name": "SwitchHand_ CoinStartFly"
},
{
"Name": "SwitchHand_ CoinToPosition"
}
]
}