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

399 lines
11 KiB
JSON

{
"AbilityMixins": [
{
"$type": "AttachStateWithModifierMixin",
"ConfigList": [
{
"AnimatorStateName": "Hit_L_F",
"FrameCountHigh": 15,
"FrameCountLow": 0,
"LayerIndex": 0,
"MaxFrameCountHigh": false,
"ModifierNameList": [
"DamageAccumulateModifier_Reset"
]
},
{
"AnimatorStateName": "Hit_L_B",
"FrameCountHigh": 15,
"FrameCountLow": 0,
"LayerIndex": 0,
"MaxFrameCountHigh": false,
"ModifierNameList": [
"DamageAccumulateModifier_Reset"
]
},
{
"AnimatorStateName": "Hit_H_F",
"FrameCountHigh": 30,
"FrameCountLow": 0,
"LayerIndex": 0,
"MaxFrameCountHigh": false,
"ModifierNameList": [
"DamageAccumulateModifier_Reset"
]
},
{
"AnimatorStateName": "Hit_H_B",
"FrameCountHigh": 30,
"FrameCountLow": 0,
"LayerIndex": 0,
"MaxFrameCountHigh": false,
"ModifierNameList": [
"DamageAccumulateModifier_Reset"
]
},
{
"AnimatorStateName": "HitFly_F",
"FrameCountHigh": 42,
"FrameCountLow": 0,
"LayerIndex": 0,
"MaxFrameCountHigh": false,
"ModifierNameList": [
"DamageAccumulateModifier_Reset"
]
},
{
"AnimatorStateName": "HitFly_B",
"FrameCountHigh": 42,
"FrameCountLow": 0,
"LayerIndex": 0,
"MaxFrameCountHigh": false,
"ModifierNameList": [
"DamageAccumulateModifier_Reset"
]
}
],
"IsSeam": false
}
],
"AbilityName": "Unagi_Card_S_01",
"AbilitySpecials": {
"AS_LostHP_CurHit": {
"Value": 0
},
"AS_LostHP_Total_01": {
"Value": 0
},
"AS_LostHP_Total_02": {
"Value": 0
},
"AS_RecoverHP_Final": {
"Value": 0
},
"AS_RecoverHP_Ratio": {
"Value": 0.8
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnAdded": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Bool_Unagi_Card_S_01",
"ParamType": 2,
"Target": "Self"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "0",
"ParamName": "AS_LostHP_Total_01",
"ValueType": "Float"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "0",
"ParamName": "AS_LostHP_Total_02",
"ValueType": "Float"
}
],
"OnAnimTransit": [
{
"$type": "RecoverHPAction",
"Amount": "%AS_RecoverHP_Final",
"Percentage": 0,
"Predicates": [
{
"$type": "ByOr",
"Predicates": [
{
"$type": "ByTransitionName",
"TransitionName": "Hit_H_F -> Attack_Rush_03"
},
{
"$type": "ByTransitionName",
"TransitionName": "Hit_H_B -> Attack_Rush_03"
},
{
"$type": "ByTransitionName",
"TransitionName": "HitFly_F -> Attack_Rush_03"
},
{
"$type": "ByTransitionName",
"TransitionName": "HitFly_B -> Attack_Rush_03"
}
],
"Target": "Self"
}
],
"Target": "Self"
},
{
"$type": "FireEffect",
"EffectPattern": "Buff_Common_Recover",
"Predicates": [
{
"$type": "ByOr",
"Predicates": [
{
"$type": "ByTransitionName",
"TransitionName": "Hit_H_F -> Attack_Rush_03"
},
{
"$type": "ByTransitionName",
"TransitionName": "Hit_H_B -> Attack_Rush_03"
},
{
"$type": "ByTransitionName",
"TransitionName": "HitFly_F -> Attack_Rush_03"
},
{
"$type": "ByTransitionName",
"TransitionName": "HitFly_B -> Attack_Rush_03"
}
],
"Target": "Self"
}
],
"Target": "Self"
},
{
"$type": "ModifyMaterialPropertyAction",
"Predicates": [
{
"$type": "ByOr",
"Predicates": [
{
"$type": "ByTransitionName",
"TransitionName": "Hit_H_F -> Attack_Rush_03"
},
{
"$type": "ByTransitionName",
"TransitionName": "Hit_H_B -> Attack_Rush_03"
},
{
"$type": "ByTransitionName",
"TransitionName": "HitFly_F -> Attack_Rush_03"
},
{
"$type": "ByTransitionName",
"TransitionName": "HitFly_B -> Attack_Rush_03"
}
],
"Target": "Self"
}
],
"Tag": "Common_MA_Buff_Recover_RimGlow_01",
"Target": "Self",
"key": "Common_MA_Buff_Recover_RimGlow_01"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "0",
"ParamName": "AS_RecoverHP_Final",
"Predicates": [
{
"$type": "ByOr",
"Predicates": [
{
"$type": "ByTransitionName",
"TransitionName": "Hit_H_F -> Attack_Rush_03"
},
{
"$type": "ByTransitionName",
"TransitionName": "Hit_H_B -> Attack_Rush_03"
},
{
"$type": "ByTransitionName",
"TransitionName": "HitFly_F -> Attack_Rush_03"
},
{
"$type": "ByTransitionName",
"TransitionName": "HitFly_B -> Attack_Rush_03"
}
],
"Target": "Self"
}
],
"ValueType": "Float"
},
{
"$type": "ApplyModifier",
"ModifierName": "InvincibleBuffModifier",
"Predicates": [
{
"$type": "ByOr",
"Predicates": [
{
"$type": "ByTransitionName",
"TransitionName": "Hit_H_F -> Attack_Rush_03"
},
{
"$type": "ByTransitionName",
"TransitionName": "Hit_H_B -> Attack_Rush_03"
},
{
"$type": "ByTransitionName",
"TransitionName": "HitFly_F -> Attack_Rush_03"
},
{
"$type": "ByTransitionName",
"TransitionName": "HitFly_B -> Attack_Rush_03"
}
],
"Target": "Self"
}
],
"Target": "Self"
}
],
"OnBeAttackLanded": [
{
"$type": "SetAbilitySpecialByAttackData",
"AttackDataType": "HpDamage",
"DoRefresh": true,
"ModifyFunction": "Replace",
"ParamName": "AS_LostHP_CurHit",
"Target": "Self"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(AS_LostHP_Total_01)+specials(AS_LostHP_CurHit)",
"ParamName": "AS_LostHP_Total_01",
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByOr",
"Predicates": [
{
"$type": "ByTargetHitEffect",
"HitEffectKind": "FinalHitEffect",
"TargetHitEffects": [
"Shake"
]
},
{
"$type": "ByTargetHitEffect",
"HitEffectKind": "FinalHitEffect",
"TargetHitEffects": [
"Mute"
]
}
],
"Target": "Self"
}
],
"Target": "Self"
}
],
"ValueType": "Float"
}
],
"OnRemoved": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": false,
"ParamName": "Bool_Unagi_Card_S_01",
"ParamType": 2,
"Target": "Self"
}
]
},
"Modifiers": {
"DamageAccumulateModifier_Reset": {
"Duration": -1,
"IgnoreTimeScale": true,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(AS_LostHP_Total_01)",
"ParamName": "AS_LostHP_Total_02",
"ValueType": "Float"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(AS_LostHP_Total_02)*specials(AS_RecoverHP_Ratio)",
"ParamName": "AS_RecoverHP_Final",
"ValueType": "Float"
}
],
"OnBeAttackLanded": [
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(AS_LostHP_Total_02)+specials(AS_LostHP_CurHit)",
"ParamName": "AS_LostHP_Total_02",
"ValueType": "Float"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(AS_LostHP_Total_02)*specials(AS_RecoverHP_Ratio)",
"ParamName": "AS_RecoverHP_Final",
"ValueType": "Float"
}
],
"OnRemoved": [
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "0",
"ParamName": "AS_LostHP_Total_01",
"ValueType": "Float"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "0",
"ParamName": "AS_LostHP_Total_02",
"ValueType": "Float"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "0",
"ParamName": "AS_LostHP_CurHit",
"ValueType": "Float"
}
]
},
"InvincibleBuffModifier": {
"Duration": 0.5,
"ModifierStacking": "Refresh",
"OnAdded": [
{
"$type": "PushInvincibleAction",
"Tag": "Unagi_Card_S_01",
"Target": "Self"
}
],
"OnRemoved": [
{
"$type": "PopInvincibleAction",
"Tag": "Unagi_Card_S_01",
"Target": "Self"
}
]
}
}
}