{ "AbilityMixins": [ { "$type": "SwitchPhaseMixin", "CanSwitchPhase": "%AS_CanSwitchPhase", "ClearStunProperty": true, "DisableAI": true, "ForceRBL": 999, "HeavyHitEffect": true, "HideHealthBar": true, "HideUI": true, "Invincible": true, "LockHPRatio": "%AS_LockHPRatio", "LockHPValue": 1, "MuteBeSelected": true, "MuteElementAbnormal": true, "MuteStunProperty": true, "OnSwitchPhaseDone": [ { "$type": "SendBehaviorTreeEventAction", "EventName": "BossRush_BT_Recover", "Target": "Self" }, { "$type": "TriggerAbilityAction", "AbilityName": "Nineveh_BossRush_VineTimedRetrieval", "Target": "Self" }, { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "UltimateSkillReady" ], "IsAdd": false, "Target": "Self" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Add", "Param": 1, "ParamName": "AS_TargetPhase", "ParamType": "Integer" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Add", "Param": 1, "ParamName": "AS_CurrentPhase", "ParamType": "Integer" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": false, "ParamName": "AS_CanSwitchPhase", "ParamType": "Boolean", "Predicates": [ { "$type": "ByAbilitySpecial", "CompareType": "GreaterEqual", "Param": 5, "ParamName": "AS_CurrentPhase", "ParamType": "Integer", "Target": "Self" } ], "Target": "Self" }, { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "Nineveh_BossRush_InSwitchPhase" ], "IsAdd": false, "Target": "Self" }, { "$type": "TriggerAbilityAction", "AbilityName": "Nineveh_BossRush_MonsterHPAdjust", "Target": "Self" }, { "$type": "TriggerAbilityAction", "AbilityName": "Nineveh_BossRush_MonsterAIAdjust", "Target": "Self" }, { "$type": "BranchOperator", "Conditions": [ { "$type": "BySwitchPhaseValue", "Target": "Self", "TargetPhase": 2, "ValueCompareType": "Equal" } ], "FailureActions": [ { "$type": "BranchOperator", "Conditions": [ { "$type": "BySwitchPhaseValue", "CompareType": "GreaterEqual", "Target": "Self", "TargetPhase": 3 } ], "SuccessActions": [ { "$type": "WriteAIParamAction", "IntParamValue": 3, "ModifyFunction": "Replace", "ParamName": "Int_BossRush_AI_PhaseNumber", "Target": "Self" } ] } ], "SuccessActions": [ { "$type": "WriteAIParamAction", "IntParamValue": 2, "ModifyFunction": "Replace", "ParamName": "Int_BossRush_AI_PhaseNumber", "Target": "Self" } ] } ], "OnSwitchPhaseStart": [ { "$type": "OperateLevelTimerAction", "Key": "Nineveh_BossRush_LevelCountdown", "OpCode": "Pause" }, { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "Nineveh_BossRush_NotTransitioned" ], "IsAdd": false, "Predicates": [ { "$type": "ByIsInZoneTags", "Tags": [ "Nineveh_BossRush_NotTransitioned" ], "Target": "Self" } ], "Target": "Self" }, { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "Nineveh_BossRush_InSwitchPhase" ], "IsAdd": true, "Target": "Self" }, { "$type": "LDListenEntityAction", "Predicates": [ { "$type": "BySwitchPhaseValue", "CompareType": "Equal", "Target": "Self", "TargetPhase": 1 } ], "TargetKey": "Nineveh_BossRush_MusicChange" }, { "$type": "LDListenEntityAction", "TargetKey": "Nineveh_BossRush_ChangePhase_TurnOnTips" }, { "$type": "SetLevelExtVariableAction", "ModifyFunction": "Replace", "Param": "%AS_CurrentPhase", "ParamName": "BossRush_SwitchPhaseValue", "ParamType": "Integer" }, { "$type": "SetLevelExtVariableAction", "ModifyFunction": "Add", "Param": 1, "ParamName": "BossRush_TotalBossDefeats", "ParamType": "Integer" }, { "$type": "TriggerLevelCustomConditions", "LevelConditionsID": 1601 }, { "$type": "TriggerSoundAction", "Target": "Self", "soundActionKey": "BossRush_StateChange_On" } ], "ProtectTime": 60, "RecoverHPRatio": 1.0, "RecoverStunProperty": true, "SourcePhase": "%AS_CurrentPhase", "SwitchPhaseTag": "Nineveh_BossRush_SwitchPhase", "TargetHPRatio": -1.0, "TargetHPValue": 1, "TargetPhase": "%AS_TargetPhase", "TriggerTimesConstraint": 4 } ], "AbilityName": "Nineveh_BossRush_SwitchPhase", "AbilitySpecials": { "AS_CanSwitchPhase": { "Value": true, "ValueType": "Boolean" }, "AS_CurrentPhase": { "Value": 1, "ValueType": "Integer" }, "AS_LockHPRatio": { "Value": -1.0 }, "AS_RecoverHPRatio": { "Value": 1.0 }, "AS_TargetHPRatio": { "Value": -1.0 }, "AS_TargetPhase": { "Value": 2, "ValueType": "Integer" } }, "AbilityStacking": "Unique" }