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

51 lines
1.1 KiB
JSON

{
"AbilityName": "Curse_AbyssDMGTakeAdjustByCoin",
"AbilitySpecials": {
"AS_DamageTakeRatio": {
"Value": 0.5
},
"CurCoin": {
"Value": 0
},
"GoldLimit": {
"Value": 1500
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "item(1)",
"ParamName": "CurCoin",
"ValueType": "Float"
},
{
"$type": "ApplyModifier",
"ModifierName": "DamageTakeUpModifier",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Less",
"Param": "%GoldLimit",
"ParamName": "CurCoin",
"ParamType": "Float",
"Target": "Self"
}
],
"Target": "Self"
}
]
},
"Modifiers": {
"DamageTakeUpModifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"Properties": {
"Actor_DamageTakeRatio": "%AS_DamageTakeRatio"
}
}
}
}