turnbasedgamedata/Config/Props/Chap02/Prop_Chap02_Vine_01_Config.json
2024-10-21 03:16:22 -03:00

97 lines
2.4 KiB
JSON

{
"States": [
{
"AnimName": "Idle"
},
{
"State": "Open",
"AnimName": "Dissolved"
}
],
"DisableAnimEventLayers": [
"Dissolve Layer"
],
"AnimatorStateGroupEvents": [
{
"States": [
{
"Name": "Idle"
}
],
"OnEnter": [
{
"$type": "RPG.GameCore.TriggerEffectList",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EffectList": [
{
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/Interactive Object/Eff_Chap02_GameplayProp_DestroyRootPuzzle_Root_04_Contamination.prefab",
"AttachPoint": "EffectPoint"
}
]
},
{
"$type": "RPG.GameCore.TriggerSound",
"SoundName": {
"Value": "Ev_sfx_xianzhou_destroyrootpuzzle_tree_idle"
}
}
],
"OnExit": [
{
"$type": "RPG.GameCore.TriggerSound",
"SoundName": {
"Value": "Ev_sfx_xianzhou_destroyrootpuzzle_tree_idle_stop"
}
}
]
},
{
"States": [
{
"Name": "Dissolved"
}
],
"OnEnter": [
{
"$type": "RPG.GameCore.RemoveEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/Interactive Object/Eff_Chap02_GameplayProp_DestroyRootPuzzle_Root_04_Contamination.prefab"
},
{
"$type": "RPG.GameCore.TriggerSound",
"SoundName": {
"Value": "Ev_sfx_xianzhou_destroyrootpuzzle_dissolve"
}
}
]
},
{
"States": [
{
"Name": "Chap02_GameplayProp_DestroyRootPuzzle_Root_01_Dissolved"
}
],
"OnEnter": [
{
"$type": "RPG.GameCore.RemoveEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/Interactive Object/Eff_Chap02_GameplayProp_DestroyRootPuzzle_Root_04_Contamination.prefab"
},
{
"$type": "RPG.GameCore.TriggerSound",
"SoundName": {
"Value": "Ev_sfx_xianzhou_destroyrootpuzzle_dissolve"
}
}
]
}
]
}