ZenlessData/Data/Card_Chessboard_1001021.json

58 lines
1.4 KiB
JSON
Raw Permalink Normal View History

{
"AbilityName": "Card_Chessboard_1001021",
"AbilitySpecials": {
"CurseItem": {
"Value": 0
},
"SpRecover": {
"Value": 0
},
"SpRecoverRatio": {
"Value": 1
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(SpRecoverRatio)*property(MaxSP)*sceneproperty(Stamina)",
"ParamName": "SpRecover",
"ValueType": "Float"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "itemtype(32)",
"ParamName": "CurseItem",
"ValueType": "Float"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "sceneproperty(Stamina_Max)*specials(SpRecoverRatio)*property(MaxSP)",
"ParamName": "SpRecover",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 5,
"ParamName": "CurseItem",
"ParamType": "Float",
"Target": "Self"
}
],
"ValueType": "Float"
},
{
"$type": "RecoverSPAction",
"Amount": "%SpRecover",
"IgnoreRatio": false,
"Percentage": 0,
"Target": "Self"
}
]
}
}