ZenlessData/Data/Card_Chessboard_1001008.json
2024-08-13 22:59:23 -03:00

55 lines
1.2 KiB
JSON

{
"AbilityName": "Card_Chessboard_1001008",
"AbilitySpecials": {
"AddedDamage": {
"Value": 0
},
"AddedDamageRatio": {
"Value": 0.3
},
"CurCoin": {
"Value": 0
},
"Gold": {
"Value": 250
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "item(1)",
"ParamName": "CurCoin",
"ValueType": "Float"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(AddedDamageRatio)",
"ParamName": "AddedDamage",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Less",
"Param": "%Gold",
"ParamName": "CurCoin",
"ParamType": "Float",
"Target": "Self"
}
],
"ValueType": "Float"
}
],
"OnHitOther": [
{
"$type": "ModifyAttackDataAction",
"PropertyKey": "Actor_AddedDamageRatio",
"PropertyValue": "%AddedDamage",
"Target": "Self"
}
]
}
}