ZenlessData/Data/Aokaku_FlagEndInvincible.json

99 lines
2.2 KiB
JSON
Raw Normal View History

{
"AbilityMixins": [
{
"$type": "AttachStateWithModifierMixin",
"ConfigList": [
{
"AnimatorStateName": "Flag_End",
"FrameCountHigh": 0,
"FrameCountLow": 0,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"PredicateModifier"
]
}
]
}
],
"AbilityName": "Aokaku_FlagEndInvincible",
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnSwitchOutFinish": [
{
"$type": "RemoveModifier",
"ModifierName": "InvincibleModifier",
"Target": "Self"
}
],
"OnSwitchTriggered": [
{
"$type": "ApplyModifier",
"ModifierName": "InvincibleModifier",
"Predicates": [
{
"$type": "ByAnimatorStateNormalizedTime",
"AnimatorStateName": "Flag_End",
"LayerIndex": 0,
"NormalizedTimeHigh": 1,
"NormalizedTimeLow": 0,
"Target": "Self"
}
],
"Target": "Self"
}
]
},
"Modifiers": {
"InvincibleModifier": {
"Duration": 3,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "PushInvincibleAction",
"Tag": "Aokaku_FlagEndInvincible",
"Target": "Self"
}
],
"OnRemoved": [
{
"$type": "PopInvincibleAction",
"Tag": "Aokaku_FlagEndInvincible",
"Target": "Self"
}
]
},
"PredicateModifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "ApplyModifier",
"ModifierName": "InvincibleModifier",
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsLocalAvatar",
"IsLocalAvatar": true,
"Target": "Self"
}
]
}
],
"Target": "Self"
}
],
"OnRemoved": [
{
"$type": "RemoveModifier",
"ModifierName": "InvincibleModifier",
"Target": "Self"
}
]
}
}
}