1
0
ZenlessData/Data/Astra_SingAttack_01_Controller.json
2025-01-21 21:25:26 -03:00

480 lines
13 KiB
JSON

{
"AbilityMixins": [
{
"$type": "AttachStateWithModifierMixin",
"ConfigList": [
{
"AnimatorStateName": "Attack_Branch_01_Release",
"FrameCountHigh": 0,
"FrameCountLow": 33,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"ClickListenerModifier"
]
},
{
"AnimatorStateName": "Attack_Branch_01_Hold_Release",
"FrameCountHigh": 0,
"FrameCountLow": 33,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"ClickListenerModifier"
]
},
{
"AnimatorStateName": "Attack_Branch_02_Release",
"FrameCountHigh": 0,
"FrameCountLow": 38,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"ClickListenerModifier"
]
},
{
"AnimatorStateName": "Attack_Branch_02_Hold_Release",
"FrameCountHigh": 0,
"FrameCountLow": 33,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"ClickListenerModifier"
]
},
{
"AnimatorStateName": "Attack_Branch_02_Singing_Start",
"FrameCountHigh": 0,
"FrameCountLow": 0,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"ClickListenerModifier"
]
},
{
"AnimatorStateName": "Attack_Branch_02_Singing_Loop",
"FrameCountHigh": 0,
"FrameCountLow": 0,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"ClickListenerModifier"
]
},
{
"AnimatorStateName": "Attack_Branch_02_Singing_Evade",
"FrameCountHigh": 0,
"FrameCountLow": 0,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"ClickListenerModifier"
]
},
{
"AnimatorStateName": "Attack_Branch_02_Singing_Attack_Start",
"FrameCountHigh": 0,
"FrameCountLow": 0,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"ClickListenerModifier"
]
},
{
"AnimatorStateName": "Attack_Branch_02_Singing_Attack_01_01",
"FrameCountHigh": 0,
"FrameCountLow": 0,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"ClickListenerModifier"
]
},
{
"AnimatorStateName": "Attack_Branch_02_Singing_Attack_01_02",
"FrameCountHigh": 0,
"FrameCountLow": 0,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"ClickListenerModifier"
]
},
{
"AnimatorStateName": "Attack_Branch_02_Singing_Attack_03_01",
"FrameCountHigh": 0,
"FrameCountLow": 0,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"ClickListenerModifier"
]
},
{
"AnimatorStateName": "Attack_Branch_02_Singing_Attack_03_02",
"FrameCountHigh": 0,
"FrameCountLow": 0,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"ClickListenerModifier"
]
}
]
}
],
"AbilityName": "Astra_SingAttack_01_Controller",
"AbilitySpecials": {
"AS_ThunderAttack_Count": {
"Value": 1,
"ValueType": "Integer"
}
},
"AbilityStacking": "Unique",
"Modifiers": {
"ClickListenerModifier": {
"Duration": -1,
"ModifierMixins": [
{
"$type": "SkillBtnListenerMixin",
"BtnListeners": [
{
"BtnOperations": [
{
"ListenerType": "Click",
"Target": "Self",
"TriggerActions": [
{
"$type": "ApplyModifier",
"ModifierName": "ThunderAttackModifier_01",
"Predicates": [
{
"$type": "ByApplyPredicate",
"PredicateName": "ThunderAttack_Predicates"
},
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 1,
"ParamName": "AS_ThunderAttack_Count",
"ParamType": "Integer",
"Target": "Self"
}
],
"Target": "Self"
}
]
},
{
"ListenerType": "Click",
"Target": "Self",
"TriggerActions": [
{
"$type": "ApplyModifier",
"ModifierName": "ThunderAttackModifier_02",
"Predicates": [
{
"$type": "ByApplyPredicate",
"PredicateName": "ThunderAttack_Predicates"
},
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 2,
"ParamName": "AS_ThunderAttack_Count",
"ParamType": "Integer",
"Target": "Self"
}
],
"Target": "Self"
}
]
},
{
"ListenerType": "Click",
"Target": "Self",
"TriggerActions": [
{
"$type": "ApplyModifier",
"ModifierName": "ThunderAttackModifier_03",
"Predicates": [
{
"$type": "ByApplyPredicate",
"PredicateName": "ThunderAttack_Predicates"
},
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 3,
"ParamName": "AS_ThunderAttack_Count",
"ParamType": "Integer",
"Target": "Self"
}
],
"Target": "Self"
}
]
}
],
"SkillBtnIndex": 0
}
],
"Target": "Self"
}
],
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 1,
"ParamName": "AS_ThunderAttack_Count",
"ParamType": "Integer"
},
{
"$type": "RemoveModifier",
"ModifierName": "IntervalCDModifier_01",
"Target": "Self"
},
{
"$type": "RemoveModifier",
"ModifierName": "IntervalCDModifier_02",
"Target": "Self"
},
{
"$type": "RemoveModifier",
"ModifierName": "IntervalCDModifier_03",
"Target": "Self"
},
{
"$type": "ApplyModifier",
"ModifierName": "IntervalCDModifier_01",
"Target": "Self"
}
]
},
"IntervalCDModifier_01": {
"Duration": 0.5,
"IgnoreTimeScale": false,
"ModifierStacking": "Unique",
"NotIgnoreList": [
"World",
"Owner"
]
},
"IntervalCDModifier_02": {
"Duration": 0.5,
"IgnoreTimeScale": false,
"ModifierStacking": "Unique",
"NotIgnoreList": [
"World",
"Owner"
]
},
"IntervalCDModifier_03": {
"Duration": 0.75,
"IgnoreTimeScale": false,
"ModifierStacking": "Unique",
"NotIgnoreList": [
"World",
"Owner"
]
},
"ThunderAttackModifier_01": {
"Duration": 1,
"ModifierStacking": "Replace",
"OnAdded": [
{
"$type": "TriggerAbilityAction",
"AbilityName": "Astra_SingAttack_01",
"InitAbilitySpecialList": [
{
"SpecialName": "AS_AttackIndex",
"Value": 1,
"ValueType": "Integer"
}
],
"Target": "Self"
},
{
"$type": "ApplyModifier",
"ModifierName": "IntervalCDModifier_01",
"Target": "Self"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 2,
"ParamName": "AS_ThunderAttack_Count",
"ParamType": "Integer"
}
]
},
"ThunderAttackModifier_02": {
"Duration": 1,
"ModifierStacking": "Replace",
"OnAdded": [
{
"$type": "TriggerAbilityAction",
"AbilityName": "Astra_SingAttack_01",
"InitAbilitySpecialList": [
{
"SpecialName": "AS_AttackIndex",
"Value": 2,
"ValueType": "Integer"
}
],
"Target": "Self"
},
{
"$type": "ApplyModifier",
"ModifierName": "IntervalCDModifier_02",
"Target": "Self"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 3,
"ParamName": "AS_ThunderAttack_Count",
"ParamType": "Integer"
}
]
},
"ThunderAttackModifier_03": {
"DelayHandlers": [
{
"DelayTime": 0.2,
"TimeUpActions": [
{
"$type": "TriggerAbilityAction",
"AbilityName": "Astra_SingAttack_01",
"InitAbilitySpecialList": [
{
"SpecialName": "AS_AttackIndex",
"Value": 4,
"ValueType": "Integer"
}
],
"Target": "Self"
}
]
}
],
"Duration": 1,
"IgnoreTimeScale": false,
"MaxStackingNumber": 99,
"ModifierStacking": "Multiple",
"NotIgnoreList": [
"World",
"Owner"
],
"OnAdded": [
{
"$type": "TriggerAbilityAction",
"AbilityName": "Astra_SingAttack_01",
"InitAbilitySpecialList": [
{
"SpecialName": "AS_AttackIndex",
"Value": 3,
"ValueType": "Integer"
}
],
"Target": "Self"
},
{
"$type": "ApplyModifier",
"ModifierName": "IntervalCDModifier_03",
"Target": "Self"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 1,
"ParamName": "AS_ThunderAttack_Count",
"ParamType": "Integer"
}
]
}
},
"Predicates": {
"ThunderAttack_Predicates": {
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByOr",
"Predicates": [
{
"$type": "ByHasModifier",
"ModifierNameList": [
"IntervalCDModifier_01"
],
"Target": "Self"
},
{
"$type": "ByHasModifier",
"ModifierNameList": [
"IntervalCDModifier_02"
],
"Target": "Self"
},
{
"$type": "ByHasModifier",
"ModifierNameList": [
"IntervalCDModifier_03"
],
"Target": "Self"
}
]
}
],
"Target": "Self"
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByAnimatorStateNormalizedTime",
"AnimatorStateName": "Attack_Branch_02_Singing_Evade",
"FrameCountHigh": 21,
"FrameCountLow": 0,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": false,
"MaxFrameCountLow": false
}
],
"Target": "Self"
}
]
}
}
}