{ "AbilityMixins": [ { "$type": "LockLifePropertyMixin", "PerformBeHitEffect": true, "RatioLockList": [ { "LockType": "Total", "LockValue": 1 } ] } ], "AbilityName": "Coop_Lighter_AutoBattle", "AbilityStacking": "Unique", "OnAbilityTrigger": [ { "$type": "BranchOperator", "Conditions": [ { "$type": "ByPlayerPropertyValue", "CompareType": "GreaterEqual", "IsUsePercent": false, "Numerator": "CurSP", "Val1": 40 } ], "FailureActions": [ { "$type": "SetAnimCtrlerParamAction", "ParamName": "Trigger_PressAttackA", "ParamType": 1 } ], "SuccessActions": [ { "$type": "SetAnimCtrlerParamAction", "ParamName": "Trigger_PressAttackB", "ParamType": 1 } ] } ], "OnAdded": [ { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "Coop_AIBot_AutoBattle" ], "IsAdd": true, "Target": "Self" }, { "$type": "TriggerSoundAction", "Target": "Self", "soundActionKey": "SA_AudioEventReplaceParam_Start_lighterAI" }, { "$type": "ApplyAbilityAction", "AbilityName": "Player_AutoBattle", "IsAutoTrigger": false }, { "$type": "SetTargetAbilitySpecialAction", "Params": [ { "AbilityName": "Player_AutoBattle", "AbilitySpecials": [ { "ModifyFunction": "Replace", "Param": "Coop_Lighter_AutoBattle", "ParamName": "AS_AbilityName", "ParamType": "String" } ] } ] } ], "OnRemoved": [ { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "Coop_AIBot_AutoBattle" ], "IsAdd": false, "Target": "Self" } ] }