{ "AbilityMixins": [ { "$type": "WatchEntityMixin", "EntityTypes": [ "Avatar" ], "OnEntityAwaked": [ { "$type": "ApplyModifier", "ModifierName": "CheckModifier", "Target": "TeamAvatars" } ], "Relationships": [ "Allied" ] }, { "$type": "ActionsOnPropertyChangeMixin", "PropertyActions": [ { "CustomPropertyType": "SwitchPoint", "PropertyType": "Custom", "ValueRangeActions": [ { "LowToValueActions": [ { "$type": "ApplyModifier", "ModifierName": "FastSwitchInAttackControl", "Target": "Self" } ], "Val": 100 } ] } ] }, { "$type": "ActwithStateFrameMixin", "ConfigList": [ { "ActionList": [ { "$type": "ModifyProperty", "Amount": -100, "CustomKey": "AbilityTarget_XiaoZhao", "CustomPropertyType": "SwitchPoint", "PropertyModifyFunction": "Add", "PropertyType": "Custom", "Target": "Custom" }, { "$type": "EndThemeSpaceAction", "Target": "TeamEntity", "ThemeSpaceID": 1 }, { "$type": "TriggerAbilityAction", "AbilityName": "Player_ThemeSpace_Type_01", "Target": "Self" }, { "$type": "ApplyModifier", "ModifierName": "Modifier_AidAttackTag" }, { "$type": "RemoveModifier", "ModifierName": "FastSwitchInAttackControl", "Target": "Self" } ], "AnimatorStateName": "SwitchIn_Attack_Normal", "ForceTriggerOnTransitionIn": true, "Frame": 0 }, { "ActionList": [ { "$type": "ModifyProperty", "Amount": "%AS_RecoverSwitchPoint_QTE", "CustomKey": "AbilityTarget_XiaoZhao", "CustomPropertyType": "SwitchPoint", "PropertyModifyFunction": "Add", "PropertyType": "Custom", "Target": "Custom" }, { "$type": "BranchOperator", "Conditions": [ { "$type": "ByPlayerPropertyValue", "CompareType": "GreaterEqual", "CustomNumerator": "SwitchPoint", "Numerator": "Custom", "Val1": 100 } ], "SuccessActions": [ { "$type": "ModifyProperty", "Amount": -100, "CustomKey": "AbilityTarget_XiaoZhao", "CustomPropertyType": "SwitchPoint", "PropertyModifyFunction": "Add", "PropertyType": "Custom", "Target": "Custom" }, { "$type": "EndThemeSpaceAction", "Target": "TeamEntity", "ThemeSpaceID": 1 }, { "$type": "TriggerAbilityAction", "AbilityName": "Player_ThemeSpace_Type_01", "Target": "Self" }, { "$type": "RemoveModifier", "ModifierName": "FastSwitchInAttackControl", "Target": "Self" }, { "$type": "ApplyModifier", "ModifierName": "Modifier_AidAttackTag" } ] }, { "$type": "ApplyModifier", "ModifierName": "Modifier_AidAttackTag", "Predicates": [ { "$type": "ByIsInZoneTags", "Tags": [ "ThemeSpace" ] } ] } ], "AnimatorStateName": "SwitchIn_Attack", "Frame": 117 }, { "ActionList": [ { "$type": "ModifyProperty", "Amount": "%AS_RecoverSwitchPoint_ExQTE", "CustomKey": "AbilityTarget_XiaoZhao", "CustomPropertyType": "SwitchPoint", "PropertyModifyFunction": "Add", "PropertyType": "Custom", "Target": "Custom" }, { "$type": "BranchOperator", "Conditions": [ { "$type": "ByPlayerPropertyValue", "CompareType": "GreaterEqual", "CustomNumerator": "SwitchPoint", "Numerator": "Custom", "Val1": 100 } ], "SuccessActions": [ { "$type": "ModifyProperty", "Amount": -100, "CustomKey": "AbilityTarget_XiaoZhao", "CustomPropertyType": "SwitchPoint", "PropertyModifyFunction": "Add", "PropertyType": "Custom", "Target": "Custom" }, { "$type": "EndThemeSpaceAction", "Target": "TeamEntity", "ThemeSpaceID": 1 }, { "$type": "TriggerAbilityAction", "AbilityName": "Player_ThemeSpace_Type_01", "Target": "Self" }, { "$type": "RemoveModifier", "ModifierName": "FastSwitchInAttackControl", "Target": "Self" }, { "$type": "ApplyModifier", "ModifierName": "Modifier_AidAttackTag" } ] }, { "$type": "ApplyModifier", "ModifierName": "Modifier_AidAttackTag", "Predicates": [ { "$type": "ByIsInZoneTags", "Tags": [ "ThemeSpace" ] } ] } ], "AnimatorStateName": "SwitchIn_Attack_Ex", "Frame": 62 }, { "ActionList": [ { "$type": "ModifyProperty", "Amount": "%AS_RecoverSwitchPoint_ExSP", "CustomKey": "AbilityTarget_XiaoZhao", "CustomPropertyType": "SwitchPoint", "PropertyModifyFunction": "Add", "PropertyType": "Custom", "Target": "Custom" }, { "$type": "BranchOperator", "Conditions": [ { "$type": "ByPlayerPropertyValue", "CompareType": "GreaterEqual", "CustomNumerator": "SwitchPoint", "Numerator": "Custom", "Val1": 100 } ], "SuccessActions": [ { "$type": "ModifyProperty", "Amount": -100, "CustomKey": "AbilityTarget_XiaoZhao", "CustomPropertyType": "SwitchPoint", "PropertyModifyFunction": "Add", "PropertyType": "Custom", "Target": "Custom" }, { "$type": "EndThemeSpaceAction", "Target": "TeamEntity", "ThemeSpaceID": 1 }, { "$type": "TriggerAbilityAction", "AbilityName": "Player_ThemeSpace_Type_01", "Target": "Self" }, { "$type": "RemoveModifier", "ModifierName": "FastSwitchInAttackControl", "Target": "Self" }, { "$type": "ApplyModifier", "ModifierName": "Modifier_AidAttackTag" } ] }, { "$type": "ApplyModifier", "ModifierName": "Modifier_AidAttackTag", "Predicates": [ { "$type": "ByIsInZoneTags", "Tags": [ "ThemeSpace" ] } ] } ], "AnimatorStateName": "Attack_Branch_02", "ForceTriggerOnTransitionIn": true, "Frame": 0 }, { "ActionList": [ { "$type": "BranchOperator", "Conditions": [ { "$type": "ByPlayerPropertyValue", "CompareType": "GreaterEqual", "CustomNumerator": "SwitchPoint", "Numerator": "Custom", "Val1": 100 } ], "SuccessActions": [ { "$type": "ModifyProperty", "Amount": -100, "CustomKey": "AbilityTarget_XiaoZhao", "CustomPropertyType": "SwitchPoint", "PropertyModifyFunction": "Add", "PropertyType": "Custom", "Target": "Custom" }, { "$type": "EndThemeSpaceAction", "Target": "TeamEntity", "ThemeSpaceID": 1 }, { "$type": "TriggerAbilityAction", "AbilityName": "Player_ThemeSpace_Type_01", "Target": "Self" }, { "$type": "RemoveModifier", "ModifierName": "FastSwitchInAttackControl", "Target": "Self" }, { "$type": "ApplyModifier", "ModifierName": "Modifier_AidAttackTag" } ] }, { "$type": "ApplyModifier", "ModifierName": "Modifier_AidAttackTag", "Predicates": [ { "$type": "ByIsInZoneTags", "Tags": [ "ThemeSpace" ] } ] } ], "AnimatorStateName": "Attack_AssaultAid", "Frame": 56 }, { "ActionList": [ { "$type": "BranchOperator", "Conditions": [ { "$type": "ByPlayerPropertyValue", "CompareType": "GreaterEqual", "CustomNumerator": "SwitchPoint", "Numerator": "Custom", "Val1": 100 } ], "SuccessActions": [ { "$type": "ModifyProperty", "Amount": -100, "CustomKey": "AbilityTarget_XiaoZhao", "CustomPropertyType": "SwitchPoint", "PropertyModifyFunction": "Add", "PropertyType": "Custom", "Target": "Custom" }, { "$type": "EndThemeSpaceAction", "Target": "TeamEntity", "ThemeSpaceID": 1 }, { "$type": "TriggerAbilityAction", "AbilityName": "Player_ThemeSpace_Type_01", "Target": "Self" }, { "$type": "RemoveModifier", "ModifierName": "FastSwitchInAttackControl", "Target": "Self" }, { "$type": "ApplyModifier", "ModifierName": "Modifier_AidAttackTag" } ] }, { "$type": "SetAnimCtrlerParamAction", "BoolVal": false, "ParamName": "Bool_ForceCharge", "ParamType": 2, "Target": "Self" } ], "AnimatorStateName": "Attack_Branch_End", "Frame": 0 }, { "ActionList": [ { "$type": "BranchOperator", "Conditions": [ { "$type": "ByPlayerPropertyValue", "CompareType": "GreaterEqual", "CustomNumerator": "SwitchPoint", "Numerator": "Custom", "Val1": 100 } ], "SuccessActions": [ { "$type": "ModifyProperty", "Amount": -100, "CustomKey": "AbilityTarget_XiaoZhao", "CustomPropertyType": "SwitchPoint", "PropertyModifyFunction": "Add", "PropertyType": "Custom", "Target": "Custom" }, { "$type": "EndThemeSpaceAction", "Target": "TeamEntity", "ThemeSpaceID": 1 }, { "$type": "TriggerAbilityAction", "AbilityName": "Player_ThemeSpace_Type_01", "Target": "Self" }, { "$type": "RemoveModifier", "ModifierName": "FastSwitchInAttackControl", "Target": "Self" }, { "$type": "ApplyModifier", "ModifierName": "Modifier_AidAttackTag" } ] }, { "$type": "SetAnimCtrlerParamAction", "BoolVal": false, "ParamName": "Bool_ForceCharge", "ParamType": 2, "Target": "Self" } ], "AnimatorStateName": "Attack_Branch_End_02", "Frame": 0 }, { "ActionList": [ { "$type": "SetAnimCtrlerParamAction", "BoolVal": false, "ParamName": "Bool_ForceCharge", "ParamType": 2, "Target": "Self" } ], "AnimatorStateName": "Attack_Branch_Start", "ForceTriggerOnTransitionIn": true, "Frame": 0 } ] }, { "$type": "AttachStateWithModifierMixin", "ConfigList": [ { "AnimatorStateName": "SwitchIn_Attack_Normal", "FrameCountLow": 0, "MaxFrameCountHigh": true, "ModifierNameList": [ "ForceChargeControl" ] }, { "AnimatorStateName": "SwitchIn_Attack_Normal_End", "FrameCountLow": 0, "MaxFrameCountHigh": true, "ModifierNameList": [ "ForceChargeControl" ] }, { "AnimatorStateName": "Attack_Branch_02", "FrameCountLow": 0, "MaxFrameCountHigh": true, "ModifierNameList": [ "ForceChargeControl" ] }, { "AnimatorStateName": "Attack_Branch_02_End", "FrameCountLow": 0, "MaxFrameCountHigh": true, "ModifierNameList": [ "ForceChargeControl" ] }, { "AnimatorStateName": "SwitchIn_Attack", "FrameCountLow": 0, "MaxFrameCountHigh": true, "ModifierNameList": [ "ForceChargeControl" ] }, { "AnimatorStateName": "SwitchIn_Attack_End", "FrameCountLow": 0, "MaxFrameCountHigh": true, "ModifierNameList": [ "ForceChargeControl" ] }, { "AnimatorStateName": "SwitchIn_Attack_Ex", "FrameCountLow": 0, "MaxFrameCountHigh": true, "ModifierNameList": [ "ForceChargeControl" ] }, { "AnimatorStateName": "SwitchIn_Attack_Ex_End", "FrameCountLow": 0, "MaxFrameCountHigh": true, "ModifierNameList": [ "ForceChargeControl" ] }, { "AnimatorStateName": "Attack_AssaultAid", "FrameCountLow": 0, "MaxFrameCountHigh": true, "ModifierNameList": [ "ForceChargeControl" ] }, { "AnimatorStateName": "Attack_AssaultAid_End", "FrameCountLow": 0, "MaxFrameCountHigh": true, "ModifierNameList": [ "ForceChargeControl" ] }, { "AnimatorStateName": "Attack_Branch_End", "FrameCountLow": 0, "MaxFrameCountHigh": true, "ModifierNameList": [ "ForceChargeControl", "BranchEndControl" ] }, { "AnimatorStateName": "Attack_Branch_End_02", "FrameCountLow": 0, "MaxFrameCountHigh": true, "ModifierNameList": [ "ForceChargeControl", "BranchEndControl" ] } ], "IsSeam": false }, { "$type": "AttachZoneTagWithModifierMixin", "ConfigList": [ { "ModifierNameList": [ "InExecuteModifier" ], "ZoneTag": "Avatar_InExecute" } ] } ], "AbilityName": "XiaoZhao_SwitchInAttackControl", "AbilitySpecials": { "AS_RecoverCD_Kill": { "Value": 50 }, "AS_RecoverCD_Stun": { "Value": 50 }, "AS_RecoverSwitchPointCD": { "Value": 180, "ValueType": "Float" }, "AS_RecoverSwitchPointCD_Cache": { "Value": 0, "ValueType": "Float" }, "AS_RecoverSwitchPointCD_Real": { "Value": 0, "ValueType": "Float" }, "AS_RecoverSwitchPoint_ExQTE": { "Value": 40 }, "AS_RecoverSwitchPoint_ExSP": { "Value": 20 }, "AS_RecoverSwitchPoint_Hit": { "Value": 5 }, "AS_RecoverSwitchPoint_QTE": { "Value": 20 } }, "AbilityStacking": "Unique", "DefaultModifier": { "OnAdded": [ { "$type": "ApplyModifier", "ModifierName": "CheckModifier", "Target": "TeamAvatars" }, { "$type": "BranchOperator", "Conditions": [ { "$type": "ByGameContextType", "GameType": "StreamingGame", "SubGameType": "All" } ], "FailureActions": [ { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": 0, "ParamName": "AS_RecoverSwitchPointCD_Real", "ParamType": "Float" } ], "SuccessActions": [ { "$type": "SetAbilitySpecialByExpression", "Expression": "scenevar(AS_RecoverSwitchPointCD_Real)", "ParamName": "AS_RecoverSwitchPointCD_Real", "Target": "Self", "ValueType": "Float" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": "%AS_RecoverSwitchPointCD_Real", "ParamName": "AS_RecoverSwitchPointCD_Cache", "ParamType": "Float" } ] }, { "$type": "BranchOperator", "Conditions": [ { "$type": "ByAbilitySpecial", "CompareType": "LessEqual", "Param": 0, "ParamName": "AS_RecoverSwitchPointCD_Real", "ParamType": "Float" } ], "FailureActions": [ { "$type": "ApplyModifier", "ModifierName": "SmoothDecreaseCDModifier", "Target": "Self" } ], "SuccessActions": [ { "$type": "ModifyProperty", "Amount": 100, "CustomKey": "AbilityTarget_XiaoZhao", "CustomPropertyType": "SwitchPoint", "PropertyModifyFunction": "Add", "PropertyType": "Custom", "Target": "Custom" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": "%AS_RecoverSwitchPointCD", "ParamName": "AS_RecoverSwitchPointCD_Real", "ParamType": "Float" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": "%AS_RecoverSwitchPointCD", "ParamName": "AS_RecoverSwitchPointCD_Cache", "ParamType": "Float" }, { "$type": "ApplyModifier", "ModifierName": "SmoothDecreaseCDModifier", "Target": "Self" } ] } ] }, "Modifiers": { "AidAttackListenModifier": { "OnSkillStart": [ { "$type": "SetAnimCtrlerParamAction", "BoolVal": true, "CustomKey": "AbilityTarget_XiaoZhao", "ParamName": "Bool_ForceCharge", "ParamType": 2, "Predicates": [ { "$type": "ByOr", "Predicates": [ { "$type": "ByFromSkillType", "SkillType": "BeHitAid", "Target": "Self" }, { "$type": "ByFromSkillType", "SkillType": "CommonAid", "Target": "Self" } ] } ], "Target": "Custom" } ] }, "BranchEndControl": { "Duration": -1, "ModifierStacking": "Unique", "OnAdded": [ { "$type": "BranchOperator", "Conditions": [ { "$type": "ByDistance", "CompareTarget": "SelfAttackTarget", "CompareType": "GreaterEqual", "Distance": 3, "Target": "Caster" } ], "SuccessActions": [ { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "Xiaozhao_BranchEnd_Move" ], "IsAdd": true }, { "$type": "DitherFadeAction", "DitherFadeKey": "Avatar_XiaoZhao_BranchEnd_Dither_Fade", "Tag": "Avatar_XiaoZhao_BranchEnd_Dither_Fade" } ] } ], "OnRemoved": [ { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "Xiaozhao_BranchEnd_Move" ], "IsAdd": false }, { "$type": "InterruptDitherFadeAction", "Tag": "Avatar_XiaoZhao_BranchEnd_Dither_Fade" } ] }, "CheckModifier": { "Duration": -1, "ModifierStacking": "Unique", "OnHitOther": [ { "$type": "BranchOperator", "Conditions": [ { "$type": "ByIsLocalAvatar", "IsLocalAvatar": true, "Target": "Self" } ], "SuccessActions": [ { "$type": "ApplyModifier", "ModifierName": "RecoverSwitchPoint", "Target": "Caster" } ] } ] }, "DelayCloseModifier": { "Duration": 1.5, "ModifierStacking": "Refresh", "OnRemoved": [ { "$type": "RemoveModifier", "ModifierName": "AidAttackListenModifier", "Target": "TeamAvatars" } ], "TimeScale": "Owner" }, "FastSwitchInAttackControl": { "Duration": -1, "ModifierStacking": "Unique", "OnAdded": [ { "$type": "SetAnimCtrlerParamAction", "BoolVal": true, "ParamName": "Bool_FastSwitchInAttack", "ParamType": 2, "Predicates": [ { "$type": "ByInOutBattleStatus", "IsInBattle": true, "Target": "Self" } ], "Target": "Self" }, { "$type": "ModifyProperty", "Amount": 1, "CustomPropertyType": "IsEnhance", "PropertyModifyFunction": "Replace", "PropertyType": "Custom", "Target": "Self" } ], "OnBattleEnter": [ { "$type": "SetAnimCtrlerParamAction", "BoolVal": true, "ParamName": "Bool_FastSwitchInAttack", "ParamType": 2, "Target": "Self" } ], "OnBattleExit": [ { "$type": "SetAnimCtrlerParamAction", "BoolVal": false, "ParamName": "Bool_FastSwitchInAttack", "ParamType": 2, "Target": "Self" } ], "OnRemoved": [ { "$type": "SetAnimCtrlerParamAction", "BoolVal": false, "ParamName": "Bool_FastSwitchInAttack", "ParamType": 2, "Target": "Self" }, { "$type": "ModifyProperty", "Amount": 0, "CustomPropertyType": "IsEnhance", "PropertyModifyFunction": "Replace", "PropertyType": "Custom", "Target": "Self" } ] }, "ForceChargeControl": { "OnRemoved": [ { "$type": "SetAnimCtrlerParamAction", "BoolVal": false, "ParamName": "Bool_ForceCharge", "ParamType": 2, "Target": "Self" }, { "$type": "RemoveModifier", "ModifierName": "DelayCloseModifier", "Target": "Self" } ] }, "InExecuteModifier": { "OnAdded": [ { "$type": "SetAnimCtrlerParamAction", "BoolVal": true, "ParamName": "Bool_InExecute", "ParamType": 2, "Target": "Self" } ], "OnRemoved": [ { "$type": "SetAnimCtrlerParamAction", "BoolVal": false, "ParamName": "Bool_InExecute", "ParamType": 2, "Target": "Self" } ] }, "Modifier_AidAttackTag": { "Duration": 0.3, "IgnoreTimeScale": false, "ModifierStacking": "Refresh", "OnAdded": [ { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "AidAttack_Common" ], "IsAdd": true, "Target": "Self" }, { "$type": "ApplyModifier", "ModifierName": "AidAttackListenModifier", "Target": "TeamAvatars" } ], "OnRemoved": [ { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "AidAttack_Common" ], "IsAdd": false, "Target": "Self" }, { "$type": "ApplyModifier", "ModifierName": "DelayCloseModifier", "Target": "Self" } ] }, "RecoverSwitchPoint": { "Duration": 3, "ModifierStacking": "Unique", "OnAdded": [ { "$type": "ModifyProperty", "Amount": "%AS_RecoverSwitchPoint_Hit", "CustomKey": "AbilityTarget_XiaoZhao", "CustomPropertyType": "SwitchPoint", "PropertyModifyFunction": "Add", "PropertyType": "Custom", "Target": "Custom" } ] }, "SmoothDecreaseCDModifier": { "Duration": "%AS_RecoverSwitchPointCD", "ModifierMixins": [ { "$type": "SmoothBlendAbilitySpecialMixin", "AbilitySpecial": "AS_RecoverSwitchPointCD_Real", "BlendCurve": "Linear", "BlendTime": "%AS_RecoverSwitchPointCD_Cache", "TargetValue": 0 } ], "ModifierStacking": "Unique", "OnThinkInterval": [ { "$type": "RemoveModifier", "ModifierName": "SmoothDecreaseCDModifier", "Predicates": [ { "$type": "ByAbilitySpecial", "CompareType": "LessEqual", "Param": 0, "ParamName": "AS_RecoverSwitchPointCD_Real", "ParamType": "Float" } ], "Target": "Self" } ], "ThinkInterval": 0.1 } } }