mirror of
https://git.mero.moe/dimbreath/ZenlessData.git
synced 2024-11-08 19:48:44 +08:00
59 lines
1.4 KiB
JSON
59 lines
1.4 KiB
JSON
{
|
|
"AbilityName": "Card_Chessboard_1001018",
|
|
"AbilitySpecials": {
|
|
"AddedDamageTake": {
|
|
"Value": 0
|
|
},
|
|
"AddedDamageTakeRatio": {
|
|
"Value": -30
|
|
},
|
|
"CurseItem": {
|
|
"Value": 0
|
|
}
|
|
},
|
|
"AbilityStacking": "Unique",
|
|
"DefaultModifier": {
|
|
"ModifierStacking": "Unique",
|
|
"OnAdded": [
|
|
{
|
|
"$type": "SetAbilitySpecialByExpression",
|
|
"DoRefresh": true,
|
|
"Expression": "sceneproperty(Stamina)*specials(AddedDamageTakeRatio)",
|
|
"ParamName": "AddedDamageTake",
|
|
"ValueType": "Float"
|
|
},
|
|
{
|
|
"$type": "SetAbilitySpecialByExpression",
|
|
"DoRefresh": true,
|
|
"Expression": "itemtype(32)",
|
|
"ParamName": "CurseItem",
|
|
"ValueType": "Float"
|
|
},
|
|
{
|
|
"$type": "SetAbilitySpecialByExpression",
|
|
"DoRefresh": true,
|
|
"Expression": "sceneproperty(Stamina_Max)*specials(AddedDamageTakeRatio)",
|
|
"ParamName": "AddedDamageTake",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByAbilitySpecial",
|
|
"CompareType": "Equal",
|
|
"Param": 5,
|
|
"ParamName": "CurseItem",
|
|
"ParamType": "Float",
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"ValueType": "Float"
|
|
}
|
|
],
|
|
"OnBeingHit": [
|
|
{
|
|
"$type": "ModifyAttackDataAction",
|
|
"PropertyKey": "Actor_DamageTakeRatio",
|
|
"PropertyValue": "%AddedDamageTake",
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
}
|
|
} |