1
0
ZenlessData/Data/_unsorted/Arcavor_ChangeMode.json

138 lines
3.0 KiB
JSON

{
"AbilityMixins": [
{
"$type": "AttachZoneTagWithModifierMixin",
"ConfigList": [
{
"ModifierNameList": [
"Arcavor_TurretMode_Modifier"
],
"ZoneTag": "ArcavorTurretMode"
}
]
}
],
"AbilityName": "Arcavor_ChangeMode",
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnAdded": [
{
"$type": "ApplyAbilityAction",
"AbilityName": "Arcavor_AidTriggerControl",
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"ArcavorRangeMode"
]
}
]
}
],
"Target": "Self"
},
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"ArcavorTurretMode"
],
"IsAdd": true,
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"ArcavorRangeMode"
]
}
]
}
],
"OnCustomEventReceived": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"ArcavorRangeMode"
]
},
{
"$type": "ByCustomEvent",
"EventKey": "SwitchNormalMode"
}
],
"SuccessActions": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"ArcavorTurretMode"
],
"IsAdd": false
},
{
"$type": "SetAlertValueAction",
"AlertValue": 100,
"Target": "Self"
}
]
}
],
"OnEnterBattleStateChange": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"ArcavorTurretMode"
],
"IsAdd": true,
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"ArcavorRangeMode"
]
},
{
"$type": "ByEnterBattleStateChange",
"ChangeType": "Enter",
"State": "Idle"
}
]
}
]
},
"Modifiers": {
"Arcavor_TurretMode_Modifier": {
"Duration": -1,
"ModifierStacking": "Replace",
"OnAdded": [
{
"$type": "RemoveAbilityAction",
"AbilityName": "Arcavor_AidTriggerControl",
"Target": "Self"
},
{
"$type": "MuteRootMotionAction",
"EnableMute": true,
"Target": "Self"
}
],
"OnRemoved": [
{
"$type": "ApplyAbilityAction",
"AbilityName": "Arcavor_AidTriggerControl",
"IsAutoTrigger": false,
"Target": "Self"
},
{
"$type": "MuteRootMotionAction",
"EnableMute": false,
"Target": "Self"
}
]
}
}
}