1
0
ZenlessData/Data/_unsorted/Zhenzhen_SwitchPhase_Attack.json
2025-12-30 00:30:43 +01:00

244 lines
5.9 KiB
JSON

{
"AbilityMixins": [
{
"$type": "AttachZoneTagWithModifierMixin",
"ConfigList": [
{
"ModifierNameList": [
"InExecuteModifier"
],
"ZoneTag": "Avatar_InExecute"
}
]
}
],
"AbilityName": "Zhenzhen_SwitchPhase_Attack",
"AbilitySpecials": {
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnCustomEventReceived": [
{
"$type": "ApplyModifier",
"ModifierName": "ControlSwitchInModifier",
"Predicates": [
{
"$type": "ByCustomEvent",
"EventKey": "Zhenzhen_ApplySwitchPhase_Attack"
}
],
"Target": "Self"
},
{
"$type": "RemoveModifier",
"ModifierName": "ControlSwitchInModifier",
"Predicates": [
{
"$type": "ByCustomEvent",
"EventKey": "Zhenzhen_RemoveSwitchPhase_Attack"
}
],
"Target": "Self"
}
]
},
"Modifiers": {
"AllowSwitchInModifier": {
"OnAdded": [
{
"$type": "PushForceEnableNormalSwitchInAction",
"ForceEnabled": true,
"Tag": "Zhenzhen_SwitchPhase_NormalSwitch",
"Target": "Self",
"TryKeepInPosition": false
}
],
"OnRemoved": [
{
"$type": "PopForceEnableNormalSwitchInAction",
"Tag": "Zhenzhen_SwitchPhase_NormalSwitch",
"Target": "Self"
}
]
},
"ControlSwitchInModifier": {
"Duration": -1,
"IgnoreTimeScale": false,
"ModifierMixins": [
{
"$type": "AttachZoneTagWithModifierMixin",
"ConfigList": [
{
"ModifierNameList": [
"AllowSwitchInModifier"
],
"ZoneTag": "Zhenzhen_NormalMode"
}
]
}
],
"ModifierStacking": "Multiple",
"OnAdded": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Bool_SwitchPhase_Attack",
"ParamType": 2,
"Target": "Self"
},
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Bool_BattleEnter",
"ParamType": 2,
"Predicates": [
{
"$type": "ByInOutBattleStatus",
"IsInBattle": true,
"Target": "Self"
}
],
"Target": "Self"
},
{
"$type": "ApplyModifier",
"ModifierName": "AllowSwitchInModifier",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"Zhenzhen_NormalMode"
]
}
],
"Target": "Self"
},
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"Zhenzhen_SwitchPhase_Attack_Ready"
],
"IsAdd": true
}
],
"OnBattleEnter": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Bool_BattleEnter",
"ParamType": 2,
"Target": "Self"
}
],
"OnBattleExit": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": false,
"ParamName": "Bool_BattleEnter",
"ParamType": 2,
"Target": "Self"
}
],
"OnRemoved": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": false,
"ParamName": "Bool_SwitchPhase_Attack",
"ParamType": 2,
"Target": "Self"
},
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": false,
"ParamName": "Bool_BattleEnter",
"ParamType": 2,
"Target": "Self"
},
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"Zhenzhen_SwitchPhase_Attack_Ready"
],
"IsAdd": false
},
{
"$type": "RemoveModifier",
"ModifierName": "AllowSwitchInModifier",
"Target": "Self"
}
],
"OnSkillStart": [
{
"$type": "RemoveModifier",
"ModifierName": "ControlSwitchInModifier",
"Predicates": [
{
"$type": "ByFromSkillID",
"SkillID": "Zhenzhen_SwitchPhase_Attack",
"Target": "Self"
}
],
"Target": "Self"
}
]
},
"InExecuteModifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Bool_InExecute",
"ParamType": 2,
"Target": "Self"
}
],
"OnRemoved": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": false,
"ParamName": "Bool_InExecute",
"ParamType": 2,
"Target": "Self"
}
]
},
"SwitchPhaseModifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 1,
"ParamName": "AS_RepeatCounter",
"ParamType": "Integer"
},
{
"$type": "SetAnimCtrlerParamAction",
"FloatVal": 1.5,
"ParamName": "Float_AttackSpeed_P2_03_Enhance",
"ParamType": 4
}
],
"OnRemoved": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 1,
"ParamName": "AS_RepeatCounter",
"ParamType": "Integer"
},
{
"$type": "SetAnimCtrlerParamAction",
"FloatVal": 1,
"ParamName": "Float_AttackSpeed_P2_03_Enhance",
"ParamType": 4
}
]
}
},
"OnAbilityStart": [
]
}