ZenlessData/Data/Card_Strength_2002405.json
2024-09-23 09:11:37 -03:00

77 lines
1.9 KiB
JSON

{
"AbilityName": "Card_Strength_2002405",
"AbilitySpecials": {
"AS_CurrentHp": {
"Value": 0
},
"AS_LosedHpToShieldRatio": {
"Value": 0.5
},
"ShieldAmountByHp": {
"Value": 0
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnSkillStart": [
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(AS_LosedHpToShieldRatio)*(1-property(CurHP)\/property(MaxHP))",
"ParamName": "ShieldAmountByHp",
"Predicates": [
{
"$type": "ByFromSkillType",
"SkillType": "ExQTE"
}
],
"ValueType": "Float"
},
{
"$type": "ApplyModifier",
"ModifierName": "Card_2002405_ShieldModifier",
"Predicates": [
{
"$type": "ByFromSkillType",
"SkillType": "ExQTE"
}
],
"Target": "Self"
}
]
},
"Modifiers": {
"Card_2002405_ShieldModifier": {
"ModifierMixins": [
{
"$type": "HpShieldMixin",
"AddedActions": [
{
"$type": "FireEffect",
"EffectPattern": "Buff_Common_Defense",
"Target": "Self"
},
{
"$type": "ModifyMaterialPropertyAction",
"Tag": "CommonDefenseMaterial",
"Target": "Self",
"key": "Common_MA_Buff_Defence_RimGlow_01"
}
],
"Duration": -1,
"IfTakeRestDamageWhenEmpty": true,
"Priority": 1,
"RecoverAmount": 0,
"RecoverPercentage": 0,
"Tag": "CardStrength",
"TotalValueConfig": {
"Amount": 0,
"Percentage": "%ShieldAmountByHp",
"PropertyType": "MaxHP"
}
}
],
"ModifierStacking": "Replace"
}
}
}