ZenlessData/Data/Hitchspiker_SlaveHurtTrigger.json
2024-12-17 20:43:14 -03:00

450 lines
12 KiB
JSON

{
"AbilityMixins": [
{
"$type": "AttachZoneTagWithModifierMixin",
"ConfigList": [
{
"ModifierNameList": [
"TagSlaveHurtModifiers"
],
"ZoneTag": "Hit"
}
]
}
],
"AbilityName": "Hitchspiker_SlaveHurtTrigger",
"AbilityStacking": "Unique",
"Modifiers": {
"BackToMode1Modifer": {
"DelayHandlers": [
{
"DelayTime": 4.5,
"TimeUpActions": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"HitchspikerMode1"
],
"CustomKey": "AbilityTarget_Hitchspiker",
"IsAdd": true,
"Predicates": [
{
"$type": "ByAbilityTargetCount",
"AbilityTargetKey": "AbilityTarget_HitchspikerSlaveHurt",
"CompareType": "Equal",
"CompareValue": 0
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByOr",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"HitchspikerMode3"
],
"Target": "Self"
},
{
"$type": "ByIsInZoneTags",
"Tags": [
"HitchspikerMode4"
],
"Target": "Self"
}
],
"Target": "Self"
}
],
"Target": "Self"
}
],
"Target": "Custom"
},
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"HitchspikerMode2"
],
"CustomKey": "AbilityTarget_Hitchspiker",
"IsAdd": false,
"Predicates": [
{
"$type": "ByAbilityTargetCount",
"AbilityTargetKey": "AbilityTarget_HitchspikerSlaveHurt",
"CompareType": "Equal",
"CompareValue": 0
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByOr",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"HitchspikerMode3"
],
"Target": "Self"
},
{
"$type": "ByIsInZoneTags",
"Tags": [
"HitchspikerMode4"
],
"Target": "Self"
}
],
"Target": "Self"
}
],
"Target": "Self"
}
],
"Target": "Custom"
},
{
"$type": "TriggerAbilityAction",
"AbilityName": "Hitchspiker_ActionModeControl",
"CustomKey": "AbilityTarget_Hitchspiker",
"Predicates": [
{
"$type": "ByAbilityTargetCount",
"AbilityTargetKey": "AbilityTarget_HitchspikerSlaveHurt",
"CompareType": "Equal",
"CompareValue": 0,
"Target": "Self"
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByOr",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"HitchspikerMode3"
],
"Target": "Self"
},
{
"$type": "ByIsInZoneTags",
"Tags": [
"HitchspikerMode4"
],
"Target": "Self"
}
],
"Target": "Self"
}
],
"Target": "Self"
}
],
"Target": "Custom"
}
]
}
],
"Duration": 5,
"ModifierStacking": "Replace"
},
"MasterBeginAttackModifer": {
"Duration": -1,
"IgnoreTimeScale": false,
"ModifierStacking": "Replace",
"OnAdded": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"HitchspikerMode1"
],
"IsAdd": false,
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"HitchspikerMode3"
],
"Target": "Self"
}
],
"Target": "Self"
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"HitchspikerMode4"
],
"Target": "Self"
}
],
"Target": "Self"
}
],
"Target": "Self"
},
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"HitchspikerMode2"
],
"IsAdd": true,
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"HitchspikerMode3"
],
"Target": "Self"
}
],
"Target": "Self"
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"HitchspikerMode4"
],
"Target": "Self"
}
],
"Target": "Self"
}
],
"Target": "Self"
},
{
"$type": "TriggerAbilityAction",
"AbilityName": "Hitchspiker_ActionModeControl",
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"HitchspikerMode3"
],
"Target": "Self"
}
],
"Target": "Self"
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"HitchspikerMode4"
],
"Target": "Self"
}
],
"Target": "Self"
}
],
"Target": "Self"
}
],
"OnRemoved": [
{
"$type": "ApplyModifier",
"ModifierName": "BackToMode1Modifer",
"Predicates": [
{
"$type": "ByAbilityTargetCount",
"AbilityTargetKey": "AbilityTarget_HitchspikerSlaveHurt",
"CompareType": "Equal",
"CompareValue": 0,
"Target": "Self"
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"HitchspikerMode3"
],
"Target": "Self"
}
],
"Target": "Self"
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"HitchspikerMode4"
],
"Target": "Self"
}
],
"Target": "Self"
}
],
"Target": "Self"
},
{
"$type": "SetAttackTargetBySpecificTargetAction",
"ForceOverride": true,
"IgnoreSetAttackTargetCD": true,
"NewLockTarget": "Custom",
"NewLockTargetCustomKey": "AbilityTarget_HitchspikerSlaveHurt",
"Predicates": [
{
"$type": "ByAbilityTargetCount",
"AbilityTargetKey": "AbilityTarget_HitchspikerSlaveHurt",
"CompareType": "GreaterEqual",
"CompareValue": 1,
"Target": "Self"
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"HitchspikerMode3"
],
"Target": "Self"
}
],
"Target": "Self"
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"HitchspikerMode4"
],
"Target": "Self"
}
],
"Target": "Self"
}
],
"Target": "Self"
}
]
},
"TagSlaveHurtModifiers": {
"Duration": -1,
"ModifierStacking": "Replace",
"OnAdded": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"HitchspikerSlaveHurt"
],
"IsAdd": true,
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"AlreadyBeingSlave"
],
"Target": "Self"
}
],
"Target": "Self"
}
],
"Target": "Self"
},
{
"$type": "ApplyModifier",
"CustomKey": "AbilityTarget_Hitchspiker",
"ModifierName": "MasterBeginAttackModifer",
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"AlreadyBeingSlave"
],
"Target": "Self"
}
],
"Target": "Self"
}
],
"Target": "Custom"
}
],
"OnRemoved": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"HitchspikerSlaveHurt"
],
"IsAdd": false,
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"AlreadyBeingSlave"
],
"Target": "Self"
}
],
"Target": "Self"
}
],
"Target": "Self"
},
{
"$type": "RemoveModifier",
"CustomKey": "AbilityTarget_Hitchspiker",
"ModifierName": "MasterBeginAttackModifer",
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"AlreadyBeingSlave"
],
"Target": "Self"
}
],
"Target": "Self"
}
],
"Target": "Custom"
}
]
}
}
}