{ "AbilityName": "MazingerGoldenBomb_Combo_Hit", "AbilityStacking": "Unique", "DefaultModifier": { "OnBeingHit": [ { "$type": "WriteAIParamAction", "BoolParamValue": true, "ParamName": "Bool_BeHit", "Target": "Self" } ], "OnIndirectHitOther": [ { "$type": "SetAnimCtrlerParamAction", "BoolVal": true, "ParamName": "Trigger_AttackLanded", "ParamType": 1, "Predicates": [ { "$type": "ByAnimEventIDs", "AnimEventIDs": [ "Monster_MazingerGoldenBomb_ATK06_Detect" ] } ], "Target": "Self" }, { "$type": "BranchOperator", "Conditions": [ { "$type": "ByAnimEventIDs", "AnimEventIDs": [ "Monster_MazingerGoldenBomb_ATK03_Detect" ] } ], "SuccessActions": [ { "$type": "RandomOperator", "Odds": 0.5, "OnFailure": [ { "$type": "SetAnimCtrlerParamAction", "IntVal": 3, "ParamName": "Int_AttackIndex", "ParamType": 3, "Target": "Self" }, { "$type": "SetAnimCtrlerParamAction", "IntVal": 3, "ParamName": "Int_SubIndex", "ParamType": 3, "Target": "Self" } ], "OnSuccess": [ { "$type": "RandomOperator", "Odds": 0.5, "OnFailure": [ { "$type": "BranchOperator", "Conditions": [ { "$type": "ByIsInZoneTags", "Tags": [ "MazingerGoldenBomb_GoldenArmor" ] } ], "FailureActions": [ { "$type": "SetAnimCtrlerParamAction", "IntVal": 2, "ParamName": "Int_AttackIndex", "ParamType": 3, "Target": "Self" }, { "$type": "SetAnimCtrlerParamAction", "IntVal": 4, "ParamName": "Int_SubIndex", "ParamType": 3, "Target": "Self" } ], "SuccessActions": [ { "$type": "SetAnimCtrlerParamAction", "IntVal": 9, "ParamName": "Int_AttackIndex", "ParamType": 3, "Target": "Self" }, { "$type": "SetAnimCtrlerParamAction", "IntVal": 1, "ParamName": "Int_SubIndex", "ParamType": 3, "Target": "Self" } ] } ], "OnSuccess": [ { "$type": "SetAnimCtrlerParamAction", "IntVal": 2, "ParamName": "Int_AttackIndex", "ParamType": 3, "Target": "Self" }, { "$type": "SetAnimCtrlerParamAction", "IntVal": 3, "ParamName": "Int_SubIndex", "ParamType": 3, "Target": "Self" } ] } ], "Predicates": [ { "$type": "ByAIParam", "CompareType": "Equal", "IntParamValue": 23, "ParamName": "Int_ComboAction", "Target": "Self" } ] }, { "$type": "RandomOperator", "Odds": 0.5, "OnFailure": [ { "$type": "RandomOperator", "Odds": 0.5, "OnFailure": [ { "$type": "BranchOperator", "Conditions": [ { "$type": "ByIsInZoneTags", "Tags": [ "MazingerGoldenBomb_GoldenArmor" ] } ], "FailureActions": [ { "$type": "SetAnimCtrlerParamAction", "IntVal": 3, "ParamName": "Int_AttackIndex", "ParamType": 3, "Target": "Self" }, { "$type": "SetAnimCtrlerParamAction", "IntVal": 3, "ParamName": "Int_SubIndex", "ParamType": 3, "Target": "Self" } ], "SuccessActions": [ { "$type": "SetAnimCtrlerParamAction", "IntVal": 9, "ParamName": "Int_AttackIndex", "ParamType": 3, "Target": "Self" }, { "$type": "SetAnimCtrlerParamAction", "IntVal": 1, "ParamName": "Int_SubIndex", "ParamType": 3, "Target": "Self" } ] } ], "OnSuccess": [ { "$type": "SetAnimCtrlerParamAction", "IntVal": 3, "ParamName": "Int_AttackIndex", "ParamType": 3, "Target": "Self" }, { "$type": "SetAnimCtrlerParamAction", "IntVal": 3, "ParamName": "Int_SubIndex", "ParamType": 3, "Target": "Self" } ] } ], "OnSuccess": [ { "$type": "RandomOperator", "Odds": 0.5, "OnFailure": [ { "$type": "BranchOperator", "Conditions": [ { "$type": "ByIsInZoneTags", "Tags": [ "MazingerGoldenBomb_GoldenArmor" ] } ], "FailureActions": [ { "$type": "SetAnimCtrlerParamAction", "IntVal": 2, "ParamName": "Int_AttackIndex", "ParamType": 3, "Target": "Self" }, { "$type": "SetAnimCtrlerParamAction", "IntVal": 4, "ParamName": "Int_SubIndex", "ParamType": 3, "Target": "Self" } ], "SuccessActions": [ { "$type": "SetAnimCtrlerParamAction", "IntVal": 9, "ParamName": "Int_AttackIndex", "ParamType": 3, "Target": "Self" }, { "$type": "SetAnimCtrlerParamAction", "IntVal": 1, "ParamName": "Int_SubIndex", "ParamType": 3, "Target": "Self" } ] } ], "OnSuccess": [ { "$type": "SetAnimCtrlerParamAction", "IntVal": 2, "ParamName": "Int_AttackIndex", "ParamType": 3, "Target": "Self" }, { "$type": "SetAnimCtrlerParamAction", "IntVal": 3, "ParamName": "Int_SubIndex", "ParamType": 3, "Target": "Self" } ] } ], "Predicates": [ { "$type": "ByAIParam", "CompareType": "Equal", "IntParamValue": 24, "ParamName": "Int_ComboAction", "Target": "Self" } ] }, { "$type": "SetAnimCtrlerParamAction", "IntVal": 9, "ParamName": "Int_AttackIndex", "ParamType": 3, "Predicates": [ { "$type": "ByAIParam", "CompareType": "Equal", "IntParamValue": 26, "ParamName": "Int_ComboAction", "Target": "Self" } ], "Target": "Self" }, { "$type": "SetAnimCtrlerParamAction", "IntVal": 1, "ParamName": "Int_SubIndex", "ParamType": 3, "Predicates": [ { "$type": "ByAIParam", "CompareType": "Equal", "IntParamValue": 26, "ParamName": "Int_ComboAction", "Target": "Self" } ], "Target": "Self" }, { "$type": "SetAnimCtrlerParamAction", "IntVal": 3, "ParamName": "Int_AttackIndex", "ParamType": 3, "Predicates": [ { "$type": "ByAIParam", "CompareType": "Equal", "IntParamValue": 27, "ParamName": "Int_ComboAction", "Target": "Self" } ], "Target": "Self" }, { "$type": "SetAnimCtrlerParamAction", "IntVal": 3, "ParamName": "Int_SubIndex", "ParamType": 3, "Predicates": [ { "$type": "ByAIParam", "CompareType": "Equal", "IntParamValue": 27, "ParamName": "Int_ComboAction", "Target": "Self" } ], "Target": "Self" }, { "$type": "SetAnimCtrlerParamAction", "BoolVal": true, "ParamName": "Trigger_ComboAttack", "ParamType": 1, "Target": "Self" } ] }, { "$type": "SendBehaviorTreeEventAction", "EventName": "Evade_F_Check_Hit", "Predicates": [ { "$type": "ByAnimEventIDs", "AnimEventIDs": [ "Monster_MazingerGoldenBomb_Evade_F_Detect" ] } ], "Target": "Self" }, { "$type": "WriteAIParamAction", "BoolParamValue": true, "ModifyFunction": "Replace", "ParamName": "Bool_ForceTick", "Predicates": [ { "$type": "ByAnimEventIDs", "AnimEventIDs": [ "Monster_MazingerGoldenBomb_Evade_F_Detect" ] } ], "Target": "Self" }, { "$type": "SendBehaviorTreeEventAction", "EventName": "Evade_F_Extend_Check_Hit", "Predicates": [ { "$type": "ByAnimEventIDs", "AnimEventIDs": [ "Monster_MazingerGoldenBomb_Evade_F_Extend_Detect" ] } ], "Target": "Self" } ] } }