388 lines
9.9 KiB
JSON
388 lines
9.9 KiB
JSON
{
|
|
"AbilityMixins": [
|
|
{
|
|
"$type": "AttachStateWithModifierMixin",
|
|
"ConfigList": [
|
|
{
|
|
"AnimatorStateName": "Attack_Branch_Loop",
|
|
"FrameCountLow": 0,
|
|
"IsLoop": true,
|
|
"MaxFrameCountHigh": true,
|
|
"ModifierNameList": [
|
|
"ChargeModifier"
|
|
]
|
|
}
|
|
],
|
|
"IsSeam": false
|
|
},
|
|
{
|
|
"$type": "AttachZoneTagWithModifierMixin",
|
|
"ConfigList": [
|
|
{
|
|
"ModifierNameList": [
|
|
"ThemeSpaceModifier"
|
|
],
|
|
"ZoneTag": "ThemeSpace"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"AbilityName": "XiaoZhao_ChargeAttackControl",
|
|
"AbilitySpecials": {
|
|
"AS_AddedAttackDelta": {
|
|
"Value": 0
|
|
},
|
|
"AS_ChargeDamageRatio_Talent06": {
|
|
"Value": 1.5
|
|
},
|
|
"AS_DamageRatioBase": {
|
|
"Value": 0.2
|
|
},
|
|
"AS_DamageRatioPerLevel": {
|
|
"Value": 0.01
|
|
}
|
|
},
|
|
"AbilityStacking": "Unique",
|
|
"ActionGroups": [
|
|
{
|
|
"Actions": [
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "AllowSwitchInModifier",
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "PushMuteAidAttackSwitchTypeAction",
|
|
"SwitchTypeList": [
|
|
"BeHitAid",
|
|
"ParryAid",
|
|
"NoEnergyPerfectSwitchAid"
|
|
],
|
|
"Tag": "XiaoZhao_Singing_Aid",
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "PushMuteAidAttackSwitchTypeAction",
|
|
"SwitchTypeList": [
|
|
"CommonAid"
|
|
],
|
|
"Tag": "XiaoZhao_Singing_CommonAid",
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "PushMuteAidAttackSwitchTypeAction",
|
|
"SwitchTypeList": [
|
|
"ChainAid"
|
|
],
|
|
"Tag": "XiaoZhao_Singing_ChainAid",
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "HullColliderModifier",
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"GroupName": "SetToBackStage"
|
|
}
|
|
],
|
|
"DefaultModifier": {
|
|
"OnAdded": [
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"BoolVal": true,
|
|
"ParamName": "Bool_FrontStage",
|
|
"ParamType": 2,
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByIsLocalAvatar",
|
|
"IsLocalAvatar": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"OnHitOther": [
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByPlayerPropertyValue",
|
|
"CompareType": "Greater",
|
|
"CustomNumerator": "ChargeTime",
|
|
"Numerator": "Custom",
|
|
"Val1": 0
|
|
},
|
|
{
|
|
"$type": "ByAnimEventIDs",
|
|
"AnimEventIDs": [
|
|
"XiaoZhao_Attack_AssaultAid_AttackProperty_05",
|
|
"XiaoZhao_Attack_Branch_End_AttackProperty_06",
|
|
"XiaoZhao_SwitchIn_Attack_AttackProperty_10",
|
|
"XiaoZhao_Attack_Branch_End_02_AttackProperty_10"
|
|
]
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "SetAbilitySpecialByExpression",
|
|
"Expression": "property(MaxHP)*property(ChargeTime)*(specials(AS_DamageRatioBase)+specials(AS_DamageRatioPerLevel)*avatarskilllevel(0))",
|
|
"ParamName": "AS_AddedAttackDelta"
|
|
},
|
|
{
|
|
"$type": "SetAbilitySpecialByExpression",
|
|
"Expression": "property(MaxHP)*property(ChargeTime)*(specials(AS_DamageRatioBase)+specials(AS_DamageRatioPerLevel)*avatarskilllevel(0))*specials(AS_ChargeDamageRatio_Talent06)",
|
|
"ParamName": "AS_AddedAttackDelta",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByAvatarTalentIndex",
|
|
"TalentIndex": 6
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "ModifyAttackDataAction",
|
|
"PropertyKey": "Actor_AddedAttackDelta",
|
|
"PropertyValue": "%AS_AddedAttackDelta",
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"OnPatternAttackLanded": [
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByPlayerPropertyValue",
|
|
"CompareType": "Greater",
|
|
"CustomNumerator": "ChargeTime",
|
|
"Numerator": "Custom",
|
|
"Val1": 0
|
|
},
|
|
{
|
|
"$type": "ByAnimEventIDs",
|
|
"AnimEventIDs": [
|
|
"XiaoZhao_Attack_AssaultAid_AttackProperty_05",
|
|
"XiaoZhao_Attack_Branch_End_AttackProperty_06",
|
|
"XiaoZhao_SwitchIn_Attack_AttackProperty_10",
|
|
"XiaoZhao_Attack_Branch_End_02_AttackProperty_10"
|
|
]
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "ModifyProperty",
|
|
"Amount": 0,
|
|
"CustomPropertyType": "ChargeTime",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByNot",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByAvatarTalentIndex",
|
|
"TalentIndex": 6
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PropertyModifyFunction": "Replace",
|
|
"PropertyType": "Custom"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"OnSwitchTriggerInInstant": [
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"BoolVal": true,
|
|
"ParamName": "Bool_FrontStage",
|
|
"ParamType": 2
|
|
}
|
|
],
|
|
"OnSwitchTriggerOutInstant": [
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"BoolVal": false,
|
|
"ParamName": "Bool_FrontStage",
|
|
"ParamType": 2
|
|
}
|
|
]
|
|
},
|
|
"Modifiers": {
|
|
"AllowSwitchInModifier": {
|
|
"ModifierStacking": "Unique",
|
|
"OnAdded": [
|
|
{
|
|
"$type": "PushForceEnableNormalSwitchInAction",
|
|
"ForceEnabled": true,
|
|
"Tag": "XiaoZhao_Singing_NormalSwitch",
|
|
"Target": "Self",
|
|
"TryKeepInPosition": false
|
|
},
|
|
{
|
|
"$type": "HandleAnimatorZoneTagsAction",
|
|
"AnimatorStateTags": [
|
|
"AllowSwitchIn"
|
|
],
|
|
"IsAdd": true,
|
|
"Target": "Caster"
|
|
}
|
|
],
|
|
"OnRemoved": [
|
|
{
|
|
"$type": "PopForceEnableNormalSwitchInAction",
|
|
"Tag": "XiaoZhao_Singing_NormalSwitch",
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "HandleAnimatorZoneTagsAction",
|
|
"AnimatorStateTags": [
|
|
"AllowSwitchIn"
|
|
],
|
|
"IsAdd": false,
|
|
"Target": "Caster"
|
|
}
|
|
]
|
|
},
|
|
"ChargeModifier": {
|
|
"ModifierMixins": [
|
|
{
|
|
"$type": "SmoothChangePropertyMixin",
|
|
"ExactDuration": 5,
|
|
"OnTimeUpAction": [
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"BoolVal": true,
|
|
"ParamName": "Bool_ChargeEnd",
|
|
"ParamType": 2
|
|
}
|
|
],
|
|
"PropertyItems": [
|
|
{
|
|
"Amount": 1,
|
|
"CustomPropertyType": "ChargeTime",
|
|
"PropertyModifyFunction": "Add",
|
|
"PropertyType": "Custom"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"OnAdded": [
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"BoolVal": true,
|
|
"ParamName": "Bool_ChargeSwitchIn",
|
|
"ParamType": 2
|
|
},
|
|
{
|
|
"$type": "ApplyActionGroupAction",
|
|
"GroupName": "SetToBackStage",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByIsLocalAvatar",
|
|
"IsLocalAvatar": false,
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"OnRemoved": [
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"BoolVal": false,
|
|
"ParamName": "Bool_ChargeEnd",
|
|
"ParamType": 2
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "ChargeSwitchInControl"
|
|
},
|
|
{
|
|
"$type": "PopMuteAidAttackSwitchTypeAction",
|
|
"Tag": "XiaoZhao_Singing_Aid",
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "PopMuteAidAttackSwitchTypeAction",
|
|
"Tag": "XiaoZhao_Singing_CommonAid",
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "PopMuteAidAttackSwitchTypeAction",
|
|
"Tag": "XiaoZhao_Singing_ChainAid",
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"ModifierName": "AllowSwitchInModifier",
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"ModifierName": "BackStageEffectModifier",
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"ModifierName": "HullColliderModifier",
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"OnSwitchTriggerOutInstant": [
|
|
{
|
|
"$type": "ApplyActionGroupAction",
|
|
"GroupName": "SetToBackStage"
|
|
}
|
|
]
|
|
},
|
|
"ChargeSwitchInControl": {
|
|
"Duration": 0.1,
|
|
"ModifierStacking": "Unique",
|
|
"OnRemoved": [
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"BoolVal": false,
|
|
"ParamName": "Bool_ChargeSwitchIn",
|
|
"ParamType": 2
|
|
}
|
|
]
|
|
},
|
|
"HullColliderModifier": {
|
|
"Duration": -1,
|
|
"ModifierStacking": "Unique",
|
|
"OnAdded": [
|
|
{
|
|
"$type": "PushHullColliderEnable",
|
|
"HullColliderEnable": false,
|
|
"Tag": "XiaoZhao_Singing_HullCollider",
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"OnRemoved": [
|
|
{
|
|
"$type": "PopHullColliderEnable",
|
|
"Tag": "XiaoZhao_Singing_HullCollider",
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
},
|
|
"ThemeSpaceModifier": {
|
|
"OnAdded": [
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"BoolVal": true,
|
|
"ParamName": "Bool_ThemeSpace",
|
|
"ParamType": 2
|
|
}
|
|
],
|
|
"OnRemoved": [
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"BoolVal": false,
|
|
"ParamName": "Bool_ThemeSpace",
|
|
"ParamType": 2
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |