{ "AbilityMixins": [ { "$type": "ActionsOnPropertyChangeMixin", "PropertyActions": [ { "IsUsePercentage": false, "PropertyType": "CurSP", "ReferMaxPropertyType": "MaxSP", "ValueRangeActions": [ { "LowToValueActions": [ { "$type": "SetAnimCtrlerParamAction", "IntVal": 1, "ParamName": "Int_BranchIndex", "ParamType": 3, "Target": "Self" } ], "Val": 80 }, { "Val": 80, "ValueToLowActions": [ { "$type": "SetAnimCtrlerParamAction", "IntVal": 0, "ParamName": "Int_BranchIndex", "ParamType": 3, "Target": "Self" } ] } ] }, { "IsUsePercentage": true, "PropertyChangeActions": [ { "$type": "SetAbilitySpecialByExpression", "Expression": "property(MaxHP)*(specials(AS_HpRecoverPercentage)+specials(AS_HpRecoverPercentage_PerLevel)*avatarskilllevel(1))", "ParamName": "AS_RecoverAmount", "ValueType": "Float" } ], "PropertyType": "MaxHP" } ] }, { "$type": "ActwithStateFrameMixin", "ConfigList": [ { "ActionList": [ { "$type": "ApplyModifier", "ModifierName": "ControlModifier", "Target": "Self" } ], "AnimatorStateName": "Attack_Branch_01", "ForceTriggerOnTransitionIn": true, "Frame": 0 }, { "ActionList": [ { "$type": "ApplyModifier", "ModifierName": "ControlModifier", "Target": "Self" } ], "AnimatorStateName": "Attack_Branch_02", "ForceTriggerOnTransitionIn": true, "Frame": 0 } ] } ], "AbilityName": "XiaoZhao_SpecialSkill", "AbilitySpecials": { "AS_HPCostFinal": { "Value": 0 }, "AS_HpRecoverPercentage": { "Value": 0.1 }, "AS_HpRecoverPercentage_PerLevel": { "Value": 0.0005 }, "AS_RecoverAmount": { "Value": 0 }, "AS_RecoverCD": { "Value": 10 }, "AS_RecoverHpDuration": { "Value": 10 }, "AS_SpHPCost": { "Value": 0.3 } }, "AbilityStacking": "Unique", "DefaultModifier": { "OnAdded": [ { "$type": "SetUIArrowAction", "position": 80 }, { "$type": "SetAbilitySpecialByExpression", "Expression": "property(MaxHP)*(specials(AS_HpRecoverPercentage)+specials(AS_HpRecoverPercentage_PerLevel)*avatarskilllevel(1))", "ParamName": "AS_RecoverAmount", "ValueType": "Float" } ] }, "Modifiers": { "ControlModifier": { "Duration": "%AS_RecoverCD", "ModifierStacking": "Unique", "OnAdded": [ { "$type": "SetAbilitySpecialByExpression", "Expression": "property(CurHP)*specials(AS_SpHPCost)", "ParamName": "AS_HPCostFinal" }, { "$type": "DecreaseHPAction", "Amount": "%AS_HPCostFinal", "IgnoreInvincible": true }, { "$type": "ApplyModifier", "ModifierName": "RecoverHpModifier", "Target": "TeamAvatars" } ] }, "RecoverHpModifier": { "Duration": "%AS_RecoverHpDuration", "ModifierMixins": [ { "$type": "SmoothRecoverHPMixin", "ExactDuration": "%AS_RecoverHpDuration", "OnTimeUpAction": [ { "$type": "RemoveModifier", "ModifierName": "RecoverHpModifier", "Target": "Self" } ], "PropertyItem": { "Amount": "%AS_RecoverAmount", "PropertyModifyFunction": "Add" } } ] }, "ShieldModifier": { "Duration": "%AS_ShieldDuration", "ModifierMixins": [ { "$type": "HpShieldMixin", "Duration": -1, "Priority": 0, "RecoverPercentage": 0, "Tag": "XiaoZhao_Shield", "TotalValueConfig": { "Amount": "%AS_ShieldAmount", "Percentage": 0 } } ], "ModifierStacking": "Refresh" } } }